@charset "utf-8";

/* Cooper Fay */

body {
    background-color: #DFDFDF;
    font-family: Arial, Helvetica, sans-serif;
}

#PageHeader {
    background-color: #ffffff;
}

#PageHeader nav {
    text-align: center;
}

#PageHeader nav ul {
	padding-top: 20px;
    padding-bottom: 10px;
    text-align: center;
    list-style: none;
    margin: 0;
}

#PageHeader nav ul li {
	display: inline-block;
    vertical-align: middle;
}

#PageHeader nav ul li a {
	color: #152D46;
	font-weight: bold;
	font-size: 20px;
	text-decoration: none;
	padding: 10px 20px;
    display: inline-block; 
}

#PageHeader nav ul li a.current { 
    color: #E94D40;
}


#PageLogo {
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
}

#PageLogo img {
    width: 200px;
    height: auto;
    display: block;
}

#PageBanner {
    height: 360px;
    background-image: url("../images/web_images/Banner.jpg");
    background-size: cover;
    background-position: center center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.banner-text-content {
	background-color: rgba(255, 255, 255, 0.7);
    padding: 25px 40px;
    border-radius: 8px;
    display: inline-block;
	max-width: 500px;
}

#PageBanner h1 {
    font-size: 40px;
	margin-top: 0;
    margin-bottom: 5px;
  	color: #0C243C;
    font-weight: bold;
    line-height: 1.2;
}

#PageBanner h1 strong {
    display: block;
}

#PageBanner p {
    color: #0C243C;
    font-size: 20px;
	margin-top: 0;
	margin-bottom: 0;
}

#HomePageLogo  {
	display: block;
	width: 100%;
    max-width: 450px;
	height: auto;
	margin-top: 10px;
	margin-left: 30px;
}

#PageMain {
    max-width: 1200px;
    background-color: #ffffff;
    margin-right: auto;
    margin-left: auto;
    padding: 20px;
    overflow: auto;
}

.typography h2 {
    font-size: 28px;
    margin-bottom: 15px;
    margin-top: 25px;
    color: #0C243C;
}
.typography h2:first-child {
    margin-top: 0;
}

.typography h3 {
    color: #0C243C;
    font-size: 22px;
    padding-bottom: 4px;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 10px;
}

.typography h4 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #0C243C;
}

.typography p, .typography li {
    line-height: 1.7;
    font-size: 18px;
}

.typography p {
    margin-bottom: 20px;
}

.typography ul, .typography ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.typography .float-right {
	width: 600px;
    float: right;
    padding-left: 20px;
    padding-bottom: 20px;
}

.one-third-column  {
    float: left;
	width: 33.33%;
    padding: 0 10px;
    box-sizing: border-box;
}

.clear {
    clear: both;
}

.contact-info p {
    line-height: 1.6;
    margin-bottom: 8px;
}

.main-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.text-content {
    flex: 2;
    min-width: 300px;
    background-color: #fdfdfd;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.image-content {
    flex: 1;
    min-width: 250px;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.typography table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 17px;
}

.typography th, .typography td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid #eaeaea;
}

.typography th {
    background-color: #f0f0f0;
    font-weight: bold;
    color: #333;
}

.typography tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.typography tbody tr:hover {
    background-color: #f0f0f0;
}


form div {
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 16px;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

form input[type="submit"] {
    background-color: #BE2215;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

form input[type="submit"]:hover {
    background-color: #d43f31;
}

.cakes-for-sale-grid {
    display: grid;
	grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.cake-item {
    text-align: center;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.cake-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #152D46;
}

.cake-item h5 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #152D46;
}

.cake-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.cake-item a:hover img,
.cake-item a:focus img { 
    filter: brightness(90%);
	
}

#PageFooter {
    background-color: #EBEBEB;
	padding: 30px 20px;
	text-align: center;
    color: #152D46;
    margin-top: 30px;
}

.info-and-order-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    align-items: flex-start;
    width: 100%;
}

.price-table-container {
    flex: 1;
    min-width: 300px;
}

.order-form-container {
    flex: 1.5;
    min-width: 350px;
}

.price-table-container h3,
.order-form-container h2 {
    margin-top: 0;
}

#PageFooter a  {
    color: #E94D40;
    text-decoration: none;
}
#PageFooter a:hover {
    text-decoration: underline;
}

#PageFooter p {
    line-height: 1.6;
    margin-bottom: 8px;
}
#PageFooter p:last-child {
    margin-bottom: 0;
}

.hide {
    display: none;
	
}
