@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
    --primary: #041d33;
    --secondary: #faeeef;
    --accent: #d4d9a1;
    --white: #ffffff;
    --grey: #7da2c2;
    --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
    --font-serif: "Cormorant Garamond", "Playfair Display", serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--secondary);
    color: var(--primary);
    line-height: 1.6;

    h1,
    h2,
    h3,
    h4 {
        font-family: var(--font-serif);
        font-style: italic;
    }

    h1, h2 { font-weight: 350; }
    h3, h4 { font-weight: 600; }
}

/* Hero Section */
.hero-section {
    height: 85vh;
    background: linear-gradient(rgba(4, 29, 51, 0.4), rgba(4, 29, 51, 0.4)),
        url('../images/background.jpeg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary);
    text-align: center;
    padding: 4rem 0;
}

.hero-overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure overlay spans the full height of the hero */
    width: 100%;
}

.hero-bottom-group {
    margin-bottom: 2rem;
}

.hero-overlay h1 {
    font-size: clamp(3rem, 10vw, 6rem);
}

.hero-overlay h2 {
    font-weight: 300;
    letter-spacing: 3px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    background: var(--grey);
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s ease-in-out;
    top: -100px;
    width: 100%;
}

nav.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.nav_link {
    text-decoration: none;
    color: var(--primary);
    margin: 0 15px;
    font-weight: 700;
    font-size: 0.9rem;
}

#countdown {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    /* Subtle glass effect */
    padding: 20px 40px;
    border-radius: 20px;
    /* Rounded rectangle shape */
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    color: var(--secondary)
}

.countdown-number {
    font-size: 2rem;
    /* Larger for emphasis */
    font-weight: 500;
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Layout Containers */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.content-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Improved Grid with more breathing room */
.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Slightly larger area for the image */
    gap: 5rem; /* Increased gap for a cleaner look */
    align-items: center; /* Vertically centers the text against the image */
    max-width: 1100px;
    margin: 0 auto;
}

/* Text Container Adjustments */
.story-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.story-text-inner {
    border-left: 2px solid var(--accent); /* Subtle decorative line */
    padding-left: 2rem;
}

.story-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-align: justify;
}

/* A "Lead" paragraph style for impact */
.story-lead {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.6rem !important;
    color: var(--primary);
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

/* Responsive fix for mobile */
@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .story-text-inner {
        border-left: none;
        border-top: 2px solid var(--accent);
        padding-left: 0;
        padding-top: 2rem;
        text-align: center;
    }
}

/* Dots Navigation */
.dot-container {
    text-align: center;
    padding: 15px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--grey);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.active-dot, .dot:hover {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr; /* Stack on small screens */
    }
    
    .slideshow-container {
        order: -1; /* Keep images on top when stacked */
        max-width: 100%;
    }
}

/* Slideshow */
.slideshow-container {
    position: relative;
    max-width: 500px;
    margin: auto;
}

.mySlides img {
    width: 100%;
    border-radius: 8px;
}

/* Dark Summary Section Styling */
.dark-summary {
    background-color: var(--primary) !important;
    color: var(--white);
    padding: 5rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.dark-summary .section-title {
    color: var(--accent);
    margin-bottom: 3rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two distinct side-by-side parts */
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.summary-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-item h3 {
    color: var(--accent);
    font-size: 2.2rem; /* Larger heading */
    margin-bottom: 0.5rem;
}

.summary{
    font-size: 1.2rem;
    max-width: 400px;
    margin: 0 auto;
}

.summary-description {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--grey);
}

/* Vertical divider for desktop */
.summary-item:first-child {
    border-right: 1px solid rgba(212, 217, 161, 0.3);
    padding-right: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .summary-item:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(212, 217, 161, 0.3);
        padding-right: 0;
        padding-bottom: 3rem;
    }
}

/* Cards */
.info-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info-card.dark {
    background: var(--primary);
    color: var(--accent);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

/* Styling for address links */
.map-link {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 1rem;
    font-style: normal; /* Removes the default italic from <address> */
}

.map-link:hover {
    color: var(--grey);
}

/* Small secondary button style */
.btn-sm {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-sm:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Menu Specific Styling */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.menu-category h3 {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.4rem;
}

.menu-item {
    margin-bottom: 1.5rem;
}

.menu-item h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.menu-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.menu-note {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--secondary);
    border-radius: 4px;
    border: var(--accent) 1px solid;
    font-size: 0.9rem;
    text-align: center;
}

/* Q&A Accordion Styles */
.qa-item {
    border-bottom: 1px solid rgba(212, 217, 161, 0.3);
    /* Uses your --accent color */
    margin-bottom: 0.5rem;
}

.qa-question {
    background: none;
    border: none;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.qa-question:after {
    content: '+';
    font-size: 1.2rem;
}

.qa-question.active:after {
    content: '-';
}

.qa-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.qa-content p {
    padding-bottom: 1.5rem;
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

/* Button Styling */
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

.text-center {
    text-align: center;
}

footer {
    background: var(--primary);
    color: var(--accent);
    text-align: center;
    padding: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }

    .nav_link {
        margin: 5px;
        font-size: 0.7rem;
    }
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

#gallery img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#status {
    margin-top: 1rem;
    color: var(--grey);
    font-style: italic;
}