/* Import Playfair Display font for an elegant look */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background-color: #d8c5b1; /* Light beige background */
}

body::-webkit-scrollbar {
    display: none;
}

body {
    padding-top: 70px;
    scrollbar-width: none;
}

/* Hero Section with Background Logo */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 200px 20px;
    height: 30vh;
    color: #2b2b2b;
    background-color: transparent;
    z-index: 1;
    gap: 10px;
}

/* Background Logo */
.background-logo {
    background-image: url('img/index/stamp.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center 10vh;
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    margin-top: -30px;
}

.hero-content h1 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    color: #2b2b2b;
    margin: 0;
}

.sub-quote {
    font-size: 1.2rem;
    color: #2b2b2b;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* View Menu + Order Online Buttons (Shared Style) */
.view-menu-button {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1rem;
    color: #d8c5b1;
    background-color: #c1442e;
    padding: 10px 20px;
    width: 160px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    box-sizing: border-box;
}

.hero-content .view-menu-button + .view-menu-button {
    margin-left: 80px;
}

/* Top and Bottom Borders */
.view-menu-button::before {
    content: '';
    position: absolute;
    top: -3px;
    bottom: -3px;
    left: -14px;
    right: -14px;
    border-top: 1px solid #c1442e;
    border-bottom: 1px solid #c1442e;
    pointer-events: none;
    z-index: 1;
}

/* Left and Right Borders */
.view-menu-button::after {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -3px;
    right: -3px;
    border-left: 1px solid #c1442e;
    border-right: 1px solid #c1442e;
    pointer-events: none;
    z-index: 1;
}

/* Hover Effect */
.view-menu-button:hover {
    background-color: transparent;
    color: #c1442e;
}

/* About Us Section */
.about-us-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background-color: transparent;
    position: relative;
    gap: 20px;
    flex-wrap: wrap;
}

.about-us-image {
    position: relative;
    left: 5%;
    width: 100%;
    max-width: 600px;
    height: auto;
    transition: left 0.3s ease;
    z-index: 1;
}

.about-us-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 0.5vw; /* Space between the image and border */
    background-color: #d8c5b1;
    box-sizing: border-box;
}

/* Top-Bottom border pseudo-element */
.about-us-image::before {
    content: '';
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -14px;
    right: -14px;
    border-top: 1px solid #c1442e;
    border-bottom: 1px solid #c1442e;
    pointer-events: none;
    z-index: 2;
}

/* Left-Right border pseudo-element */
.about-us-image::after {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -2px;
    right: -2px;
    border-left: 1px solid #c1442e;
    border-right: 1px solid #c1442e;
    pointer-events: none;
    z-index: 2;
}

.about-us-textbox {
    background-color: #fff;
    padding: 15px 40px;
    max-width: 500px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Playfair Display', serif;
    color: #2b2b2b;
    border: 1px solid #c1a588;
    z-index: 2;
    text-align: center;
}

.about-us-textbox h2 {
    font-size: 1.4rem;
    color: #c1442e;
    margin-top: 0;
}

.about-us-textbox p {
    font-size: 0.9rem;
    margin: 15px 0;
    color: #333;
}

.learn-more-link {
    font-family: 'Playfair Display', serif;
    color: #c1442e;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.learn-more-link:hover {
    transform: translateY(-3px);
    color: #a63522;
    transition: transform 0.3s ease;
}

/* Explore Section */
.explore-section {
    padding: 50px 20px;
}

/* Heading Style for Explore Section */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Space between elements */
    position: relative;
    margin: 30px 0;
}

.section-heading::before,
.section-heading::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: #c1442e; /* Line color matching button */
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: bold;
    color: #2b2b2b;
    margin: 0;
    padding: 0 15px;
    text-align: center;
}

.section-heading .dot {
    width: 12px;
    height: 12px;
    background-color: #c1442e;
    border-radius: 50%;
}


.dish-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 20px 0;
}

.dish-text {
    flex: 1;
    max-width: 500px;
    text-align: left;
    font-family: 'Playfair Display', serif;
}

.dish-text h2 {
    color: #c1442e;
    font-size: 1.6rem;
}

.dish-text p {
    color: #2b2b2b;
    font-size: 1rem;
    margin-top: 10px;
}

.dish-image {
    flex: 1;
    max-width: 500px;
    width: 100%;
    height: auto; 
    aspect-ratio: 16/9; /* Maintains uniformity across screens */
    position: relative;
    padding: 0.5vw;
    background-color: #d8c5b1; /* Space background */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style for the inner image */
.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Top-Bottom border pseudo-element */
.dish-image::before {
    content: '';
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -14px;
    right: -14px;
    border-top: 1px solid #c1442e;
    border-bottom: 1px solid #c1442e;
    pointer-events: none;
    z-index: 1;
}

/* Left-Right border pseudo-element */
.dish-image::after {
    content: '';
    position: absolute;
    top: -28px;
    bottom: -28px;
    left: -2px;
    right: -2px;
    border-left: 1px solid #c1442e;
    border-right: 1px solid #c1442e;
    pointer-events: none;
    z-index: 1;
}

/* Gallery Section */
.gallery-section {
    padding: 50px 20px;
    text-align: center;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: bold;
    color: #2b2b2b;
    margin: 0;
    padding: 0 15px;
    text-align: center;
}

/* Gallery Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.gallery-tab {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #d8c5b1;
    color: #2b2b2b;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* Underline for Active Tab */
.gallery-tab.active {
    background-color: transparent;
    color: #c1442e;
}

.gallery-tab.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: currentColor; /* Matches the current color */
    width: 100%;
}

/* Inner Text Hover Effect */
.gallery-tab span {
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover Effect on Text Only */
.gallery-tab:hover span {
    transform: translateY(-3px); /* Lifts the text only */
    color: #c1442e; /* Change color on hover */
}

/* Gallery Display Area */
.gallery-display {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    margin-top: 20px;
    padding: 0 50px; /* Space for arrows on the left and right */
}

/* Gallery Display */
.gallery-images {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    justify-content: center;
}

/* Responsive Gallery Images */
.gallery-images img {
    object-fit: cover;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    max-width: 100%;
}

/* Portrait Style for Food Images - Thinner and Taller */
.gallery-images.food img {
    aspect-ratio: 2 / 3; /* Thinner and taller */
    width: calc(28% - 10px); /* 3 images per row on large screens */
}

/* Wider Style for Menu Images */
.gallery-images.menu img {
    aspect-ratio: 3 / 4;
    width: calc(36% - 20px); /* Reduces width to about 80% of the original size */
    height: auto;
}

/* Landscape for Ambience Images */
.gallery-images.ambience img {
    aspect-ratio: 16 / 9;
    width: calc(33.33% - 20px);
}

/* Gallery Arrow Buttons */
.gallery-arrow {
    font-size: 2rem;
    background: none;
    border: none;
    color: #c1442e;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

/* Fullscreen Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 100; /* Make sure it overlays other elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Black background with opacity */
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


/* Responsive Adjustments */
@media (max-width: 1024px) {
    /* Change width for 2 images per row on medium screens */
    .gallery-images.food img {
        width: calc(40% - 20px);
        aspect-ratio: 2 / 3;
    }

    .gallery-images.menu img,
    .gallery-images.ambience img {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    /* Stack hero buttons vertically */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .view-menu-button {
        width: 160px !important;
        font-size: 0.9rem;
        padding: 8px 14px;
        margin-left: 0 !important;
    }

    .hero-content .view-menu-button + .view-menu-button {
        margin-left: 0;
    }

    /* Gallery - 1 image per row */
    .gallery-images img {
        width: 90%;
        margin: 0 auto;
    }

    .gallery-images.food img {
        aspect-ratio: 3 / 5;
        width: 80%;
    }

    .gallery-images.menu img {
        aspect-ratio: 4 / 5;
        width: 80%;
    }

    .gallery-images.ambience img {
        aspect-ratio: 16 / 10;
        width: 80%;
    }

    /* About Section Adjustments */
    .about-us-section {
        flex-direction: column;
        padding: 30px 10px;
        text-align: center;
    }

    .about-us-image, .dish-image {
        left: 0%;
        margin-bottom: 20px;
    }

    .about-us-textbox {
        margin-top: -20px;
    }

    .dish-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .dish-row.reverse {
        flex-direction: column-reverse;
    }

    /* Font Size Adjustments */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .sub-quote {
        font-size: 1rem;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .dish-text h2 {
        font-size: 1.4rem;
    }

    .dish-text p {
        font-size: 0.9rem;
    }

    .dish-image {
        max-width: 100%;
        height: 200px;
    }

    .dish-image img {
        aspect-ratio: 4 / 3;
    }

    .dish-text {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .view-menu-button {
        width: 140px !important;
        font-size: 0.85rem;
        padding: 8px 14px;
        margin-left: 0 !important;
    }

    .hero-content .view-menu-button + .view-menu-button {
        margin-left: 0 !important;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .sub-quote {
        font-size: 0.9rem;
    }

    .about-us-image, .dish-image {
        left: 0%;
        margin-bottom: 15px;
    }

    .about-us-textbox h2 {
        font-size: 1.5rem;
    }

    .about-us-textbox p {
        font-size: 0.9rem;
    }

    .learn-more-link {
        font-size: 0.9rem;
    }

    .section-heading h2 {
        font-size: 1.5rem;
    }

    .dish-text h2 {
        font-size: 1.2rem;
    }

    .dish-text p {
        font-size: 0.8rem;
    }

    .dish-image {
        height: 180px;
    }

    .gallery-images img {
        width: 85%;
        margin: 0 auto;
    }

    .gallery-images.food img {
        aspect-ratio: 3 / 5;
    }
}