/* Custom properties for easy color changes - BAKERY THEME */
:root {
    --primary-color: #E91E63; /* Deep Pink/Berry - Primary Accent */
    --secondary-color: #FFC0CB; /* Light Pink - Secondary Accent */
    --dark-color: #3E2723; /* Dark Brown - Text and Background */
    --light-color: #FFF3E0; /* Creamy White - Background */
    --white-color: #FFFFFF;
}

body {
    font-family: 'Georgia', serif; /* More classic/elegant font */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* --- Header & Navigation --- */
header {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 15px 0;
    border-bottom: 5px solid var(--primary-color);
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-family: 'Brush Script MT', cursive; /* Placeholder for a fun/script font */
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* --- Hero Section (Homepage) --- */
#hero {
    background:pink no-repeat center center/cover; 
    color: #E91E63;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#hero .hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    border: none;
    border-radius: 100px;
}

#hero h1 {
    font-size: 4em;
    margin-bottom: 5px;
    text-shadow: 2px 2px var(--dark-color);
    font-family: 'Brush Script MT', cursive;
}

#hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px; /* Pill shape for a softer look */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s;
    border: 2px solid var(--white-color);
}

.btn-primary:hover {
    background: #c2185b;
    transform: scale(1.05);
}

/* --- Main Content --- */
.main-content {
    padding: 40px 0;
}

h1, h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3 {
    color: var(--dark-color);
}

/* --- Services (Cake Menu) Page --- */
.services-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.services-list li {
    background: var(--white-color);
    border: 1px solid var(--secondary-color);
    padding: 20px;
    width: 300px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.services-list li:hover {
    transform: translateY(-8px) scale(1.02);
}

.menu-img-placeholder {
    width: 100%;
    height: 200px; /* Defines the height of the image box */
    background-color: var(--secondary-color);
    display: flex; 
    justify-content: center;
    align-items: center;
    color: var(--dark-color);
    font-size: 1em;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 2px dashed var(--primary-color);
    overflow: hidden; /* **CRUCIAL: Hides anything that spills out of the div** */
}

/* === IMAGE FIT FIX START === */
.menu-img-placeholder img {
    width: 100%; /* Forces the image to fill the width of the container */
    height: 100%; /* Forces the image to fill the height of the container */
    object-fit: cover; /* **CRUCIAL: Scales the image to cover the entire area without being distorted (crops if necessary)** */
    border-radius: 8px;
    border: none;
}
/* === IMAGE FIT FIX END === */

/* --- Contact Form --- */
#contactForm {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: var(--white-color);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    box-sizing: border-box;
}

#contactForm button {
    width: 100%;
    padding: 15px;
    background: var(--dark-color);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#contactForm button:hover {
    background: var(--primary-color);
}

/* --- Footer --- */
footer {
    background: var(--dark-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
}

/* --- Media Queries for Responsiveness --- */
@media(max-width: 768px) {
    .container {
        width: 95%;
    }

    nav ul {
        /* Simple hide for small screens */
        display: none; 
    }
    
    nav .logo {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .services-list li {
        width: 80%;
    }

    #hero h1 {
        font-size: 3em;
    }
}
