/* --- Global Styles & Typography --- */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #faf7f2;
    color: #333333;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    scroll-behavior: smooth; /* Smooth scrolling when clicking navigation links */
}

h1, h2, h3 {
    font-family: 'Lora', serif;
    font-weight: 800;
    color: #2c221e;
}

/* --- Hero Header with Background Image --- */
.hero-header {
    /* To use a background image like Medina, put an image named 'hero-bg.jpg' in your folder */
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 2rem 1rem 4rem 1rem;
}

/* --- Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.navbar a:hover {
    color: #d4b59d; /* Warm accent tint on hover */
}

/* --- Hero Content --- */
.hero-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 1rem;
}

.hero-header h1 {
    font-family: 'Lora', serif;
    font-size: 4rem;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.tagline {
    font-size: 1.1rem;
    color: #e0dcd5;
    margin: 0;
}

/* --- Main Layout & Cards --- */
.main-content {
    max-width: 800px;
    margin: -2rem auto 2rem auto; /* Pulls content slightly over the hero bottom */
    padding: 0 1rem;
    position: relative;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card h2 {
    margin-top: 0;
}

/* --- Catering Image Styling --- */
.catering-img-container {
    margin: 1.5rem 0 1rem 0;
    text-align: center;
}

.catering-img {
    width: 100%;
    max-width: 550px;    /* Limits how wide the image can get */
    height: auto;
    border-radius: 8px;
    border: 1px solid #e0dcd5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: inline-block;
}

/* --- Clean, Controlled Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 photos side-by-side */
    gap: 12px;
    margin-top: 1rem;
}

/* Forces all regular gallery photos to a neat, uniform size */
.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

/* Ensures the Instagram link container and its image match */
.gallery-grid .insta-link {
    display: block;
    position: relative;
}

.gallery-grid .insta-link img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}
.insta-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.8rem;
    text-align: center;
    padding: 4px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.insta-link:hover .insta-overlay {
    opacity: 1;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    transition: background-color 0.2s ease;
}

.primary-btn {
    background-color: #54524e;
    color: #ffffff;
}

.primary-btn:hover {
    background-color: #54524e;
}

.ubereats-btn {
    background-color: #45cca1;
    color: #ffffff;
}

.ubereats-btn:hover {
    background-color: #049d52;
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 2.5rem 1rem;
    background-color: #54524e;
    color: #e6dfd5;
    font-size: 1rem;
}

.site-footer a {
    color: #ffffff;
    text-decoration: underline;
}

/* --- Mobile Responsiveness (Phones) --- */
@media (max-width: 768px) {
    .hero-header h1 {
        font-size: 2.2rem;
    }
    .navbar {
        gap: 0.8rem;
        font-size: 0.85rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Switches gallery to 2 columns on phones */
    }
}/* --- Order Buttons Group --- */
.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Ritual Brand Styling (Usually a deep blue or dark sleek tone) */
.ritual-btn {
    background-color: #5081d6;
    color: #ffffff;
}

.ritual-btn:hover {
    background-color: #111722;
}
/* --- Side-by-Side Menu Layout --- */
.menu-content-wrapper {
    display: flex;
    align-items: center; /* Vertically centers the text alongside the photo */
    gap: 2rem;           /* Creates space between text and photo */
    margin-top: 1rem;
}

/* Equal width for left and right columns on desktop */
.menu-text, 
.card.menu-image {
    flex: 0 0 250px !important;
    width: 250px !important;
    text-align: center;
}

/* Menu image styling */
.card.menu-image img {
   width: 100% !important;
    max-width: 250px !important;
    height: 230px !important; /* Square 1:1 ratio for the cake photo */
    object-fit: cover !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: block !important;
}

/* --- Mobile Responsiveness (Phones) --- */
@media (max-width: 768px) {
    .menu-content-wrapper {
        flex-direction: column; /* Stacks text on top of photo on phone screens */
        gap: 1rem;
    }
}
/* --- Side-by-Side Cake Section Layout --- */
.card .cake-content-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
}

/* Forces text side to take up remaining space */
.card .cake-text {
    flex: 1 !important;
}

/* Forces image container to stay compact */
.card .cake-image {
    flex: 0 0 250px !important;
    width: 250px !important;
    text-align: center;
}

/* Controls the image size, cropping, and rounded corners */
.card .cake-image img {
    width: 100% !important;
    max-width: 250px !important;
    height: 230px !important; /* Square 1:1 ratio for the cake photo */
    object-fit: cover !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: block !important;
}

/* Stacks neatly on mobile phone screens */
@media (max-width: 768px) {
    .card .cake-content-wrapper {
        flex-direction: column !important;
    }
    .card .cake-image {
        width: 100% !important;
    }
}

/* --- Menu Section Side-by-Side Layout (Matches Cheesecake) --- */
#menu .menu-content-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: stretch !important; /* Stretches the image to match text block height */
    gap: 2rem !important;
    margin-top: 1rem !important;
}

/* Left text container expands to fill remaining space */
#menu .menu-text {
    flex: 1 !important;
}

/* Right image container fixed width */
#menu .menu-image {
    flex: 0 0 260px !important;
    width: 260px !important;
}

/* Menu image fills the full height and crops cleanly */
#menu .menu-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: 280px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block !important;
}

/* Stacks neatly on mobile phone screens */
@media (max-width: 768px) {
    #menu .menu-content-wrapper {
        flex-direction: column !important;
    }
    #menu .menu-image,
    #menu .menu-image img {
        width: 100% !important;
        height: 220px !important;
    }
}/* --- Fix Text Alignment for Menu Section --- */
#menu .menu-text {
    text-align: left !important;
}

#menu .menu-text p {
    text-align: left !important;
}

#menu .menu-text .btn {
    display: inline-block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}