/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 45px;
    width: auto;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0;
}

.logo .tagline {
    color: #d4af37;
    font-size: 0.8rem;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #d4af37;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 46px;
    width: 93%;
    height: 100%;
    display: flex;
}

.slide {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    background: #791314;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #fff;
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #791314;
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.about-img-main {
    grid-column: 1 / -1;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-img-1,
.about-img-2 {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Food Section */
.food {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.food h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #791314;
    text-align: center;
    margin-bottom: 3rem;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.food-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    padding: 15px;
}

.food-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.food-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.food-card:hover img {
    transform: scale(1.08);
}

.food-card-content {
    padding: 1.5rem;
}

.food-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #791314;
    margin-bottom: 0.75rem;
}

.food-card-content p {
    color: #666;
    line-height: 1.6;
}

.food-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.food-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #E4E0D4;
    color: #791314;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.food-prep-time {
    display: inline-block;
    font-size: 0.85rem;
    color: #8b0000;
    font-weight: 600;
}

.food-prep-time i {
    margin-right: 4px;
}

.food-footer {
    text-align: center;
    margin-top: 3.5rem;
}

.food-more-btn {
    display: inline-block;
    background: #791314;
    color: #fff;
    padding: 14px 42px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(121, 19, 20, 0.25);
    letter-spacing: 0.5px;
}

.food-more-btn:hover {
    background: #2c5530;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
}

/* Partners Section */
.partners {
    padding: 100px 0;
    background: #fff;
}

.partners h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #791314;
    text-align: center;
    margin-bottom: 1rem;
}

.partners-intro {
    text-align: center;
    color: #666;
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.partner-card .partner-img-link {
    display: block;
    overflow: hidden;
}

.partner-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.partner-card:hover img {
    transform: scale(1.04);
}

.partner-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c5530;
    margin: 1rem 0 0.5rem;
    padding: 0 1rem;
}

.partner-card h3 a {
    color: #2c5530;
    text-decoration: none;
    transition: color 0.2s ease;
}

.partner-card h3 a:hover {
    color: #791314;
}

.partner-card .partner-url {
    margin: 0.25rem 1rem 0;
    font-size: 0.9rem;
    word-break: break-all;
}

.partner-card .partner-url a {
    color: #791314;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.partner-card .partner-url a:hover {
    color: #2c5530;
    text-decoration: underline;
}

/* Reviews Section */
/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #d4af37;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4af37;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    display: inline-block;
}

.social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.2s ease-in-out;
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer-dining-partners {
    margin-top: 1.5rem;
}

.footer-dining-partners .footer-partners-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #d4af37;
    margin-bottom: 0.75rem;
}

.footer-partners-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-partners-list li {
    margin-bottom: 0.45rem;
}

.footer-partners-list a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-partners-list a:hover {
    color: #d4af37;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background-color: #791314;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h2 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-slideshow {
        flex-direction: column;
    }

    .slide {
        background-position: center;
    }

    .about {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-images {
        order: -1;
    }

    .about-img-main {
        height: 220px;
    }

    .about-img-1,
    .about-img-2 {
        height: 150px;
    }

    .food {
        padding: 60px 0;
    }

    .food-grid {
        grid-template-columns: 1fr;
    }

    .food-card img {
        height: 220px;
    }

    .partners {
        padding: 60px 0;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-card img {
        height: 160px;
    }

    .reviews {
        min-height: auto;
        padding: 60px 0;
    }

    .reviews .container {
        padding: 0 15px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 15px;
        margin: 30px auto 0;
    }

    .review-card:nth-child(odd),
    .review-card:nth-child(even) {
        grid-column: 1;
        margin: 0;
        transform: rotate(1deg);
    }

    .review-card:nth-child(even) {
        margin-top: 0;
    }

    .reviews-footer {
        margin-top: 30px;
    }

    html.mobile-logo-first,
    body.mobile-logo-first {
        overflow: hidden;
        height: 100vh;
        height: 100dvh;
        overscroll-behavior: none;
    }

    .logo-section {
        min-height: 100vh !important;
        min-height: -webkit-fill-available !important;
        min-height: 100dvh !important;
        height: 100vh !important;
        height: -webkit-fill-available !important;
        height: 100dvh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        background-color: #ffffff !important;
    }

    #logoLink {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 320px !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .logo-bar {
        width: 65vw !important;
        max-width: 280px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
        transition: transform 0.2s ease, opacity 0.3s ease;
    }

    #logoLink:active .logo-bar {
        transform: scale(0.96);
    }

    .hero-slideshow {
        left: 0 !important;
        width: 100% !important;
        flex-direction: column;
    }
    .hero-content h2 {
        font-size: 2.2rem !important;
    }
    .about-images {
        display: flex !important;
        flex-direction: column;
        gap: 15px;
    }
    .about-img-main, .about-img-1, .about-img-2 {
        height: auto !important;
        min-height: 200px;
    }
    .reviews-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        width: 100%;
    }
    .review-card {
        width: 100% !important;
        max-width: 400px;
        margin: 0 auto !important;
        transform: none !important;
    }
    .review-card:nth-child(even) {
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .about h2,
    .food h2,
    .partners h2,
    .reviews h2 {
        font-size: 1.8rem;
    }

    .about {
        padding: 40px 0;
    }

    .food {
        padding: 40px 0;
    }

    .partners {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }

    .logo-section {
        min-height: 100vh !important;
        min-height: -webkit-fill-available !important;
        min-height: 100dvh !important;
        height: 100vh !important;
        height: -webkit-fill-available !important;
        height: 100dvh !important;
        padding: 15px !important;
    }

    .logo-bar {
        width: 70vw !important;
        max-width: 260px !important;
        height: auto !important;
        margin: 0 auto !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-text,
.food-card,
.partner-card,
.review-card {
    animation: fadeInUp 0.8s ease-out;
}

@media (min-width: 769px) {
    .logo-section {
        position: relative;
        width: 100%;
    }

    #logoLink {
        display: block;
        text-decoration: none;
        cursor: pointer;
    }

    .logo-bar {
        opacity: 1;
        height: 50%;
        width: 33%;
        margin-left: 35%;
        margin-top: 9%;
        margin-bottom: 6%;
        cursor: pointer;
    }
}

/* --- Board Container Effect --- */
.reviews {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f5f0eb;
}

.reviews .container {
    width: 100%;
    padding: 80px 0;
}

.reviews h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    color: #791314;
    margin-bottom: 0;
}

.reviews-loading,
.reviews-error {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

.reviews-grid {
    position: relative;
    display: flex;
    gap: 60px 40px;
    margin: 10px auto 0 auto;
    border-radius: 12px;
}

.reviews-footer {
    text-align: center;
    margin-top: 40px;
}

.reviews-more-btn {
    display: inline-block;
    background: #791314;
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.reviews-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* --- Zigzag / Stagger Layout Placement --- */
.review-card:nth-child(odd) {
    grid-column: 1;
    transform: rotate(-2deg);
    margin-right: 20px;
}
.review-card:nth-child(even) {
    grid-column: 2;
    transform: rotate(3deg);
    margin-left: 20px;
    margin-top: 80px; /* Forces the vertical staggered shift */
}
.review-card:hover {
    transform: scale(1.03) rotate(0deg) !important;
    z-index: 10;
}

/* --- Card Foundations --- */
.review-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 7px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-inner {
    border-radius: 18px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* --- The Dynamic Color Themes --- */
.card-orange .card-inner { background-color: #fff3eb; }
.card-blue .card-inner   { background-color: #edf0ff; }
.card-purple .card-inner { background-color: #f9efff; }

/* Dynamic Numbers (Handwritten look) */
.card-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}
.card-orange .card-number { color: #ff6b35; }
.card-blue .card-number   { color: #4361ee; }
.card-purple .card-number { color: #b5179e; }

/* --- Review Content --- */
.review-stars {
    color: #ffb703;
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.review-text {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1; /* Pushes author profiles evenly to the card bottom */
}

/* --- Author Details Section --- */
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 15px;
}
.review-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
}
.review-author div {
    display: flex;
    flex-direction: column;
}
.review-author strong {
    font-size: 0.9rem;
    color: #222;
}
.review-author span {
    font-size: 0.75rem;
    color: #777;
}

/* --- 3D Glassmorphic Pins --- */
.pin {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    z-index: 5;
    box-shadow: inset -3px -3px 8px rgba(0,0,0,0.25), 0 10px 12px rgba(0,0,0,0.18);
}
.pin::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    filter: blur(1px);
}
.card-orange .pin { background: radial-gradient(circle at 35% 35%, #ff9e79, #e64a19); }
.card-blue .pin   { background: radial-gradient(circle at 35% 35%, #799eff, #1976d2); }
.card-purple .pin { background: radial-gradient(circle at 35% 35%, #e079ff, #7b1fa2); }

@media (max-width: 768px) {
    /* 1. Stack the dashboard layout vertically instead of side-by-side */
    .dashboard-container {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    /* 2. Turn the sidebar into a compact top banner or scrolling bar */
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        border-right: none;
        border-bottom: 1px solid var(--border-color, #e9ecef);
    }

    /* Shift sidebar header and navigation menu items down nicely */
    .sidebar-header {
        justify-content: center;
        text-align: center;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0;
    }

    .sidebar-menu li {
        margin: 0;
    }

    .sidebar-menu a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .sidebar-footer {
        margin-top: 5px;
        text-align: center;
    }

    /* 3. Let the main content area expand to fill the device screen width */
    .content-area {
        width: 100%;
        padding: 15px;
        margin-left: 0; /* Clear any hardcoded desktop margins */
    }

    .header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 15px;
    }

    /* 4. Make desktop data tables readable on tiny phone touchscreens */
    .item-list-container {
        width: 100%;
        overflow-x: auto; /* Adds a clean side-scroll layer so fields don't smash */
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        min-width: 600px; /* Protects cell text boundaries from overlapping */
    }

    /* 5. Transform multi-item grids into linear single columns */
    .widgets-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}