/* Font Import */
@font-face {
    font-family: 'Rollgates Luxury';
    src: url('../font/Rollgates Luxury.ttf') format('truetype'),
        url('../font/Rollgates Luxury.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rollgates Luxury';
    src: url('../font/Rollgates Luxury Italic.ttf') format('truetype'),
        url('../font/Rollgates Luxury Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Variables */
:root {
    --burgundy: #7D1F1F;
    --dark-burgundy: #5A1515;
    --cream: #F8F4EA;
    --light-cream: #FFF7F0;
    --gold: #C9A66B;
    --text-dark: #333;
    --text-light: #F8F4EA;
    --spacing: 2rem;
}

.select-language {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    background-color: unset;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    padding: 0.5rem 1rem;
    border-radius: 50px;
    outline: none;
    border: none;
    font-size: 2.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    transition: 200ms ease-in-out;
    color: var(--burgundy);
}

/* .select-language:hover {
    background-color: var(--burgundy);
    color: var(--text-light);
} */

#en-btn, #fr-btn {
    cursor: pointer;
}

#en-btn:hover, #fr-btn:hover {
    text-decoration: underline;
}

@media screen and (min-width: 768px) {
    .select-language {
        font-size: 1.8rem;
    }
    
}

.logo {
    width: 200px;
    height: auto;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    /* 10px base size for easier rem calculation */
    scroll-behavior: smooth;
}

body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-cream);
    background-image: url('../images/1 (2).svg');
    background-repeat: repeat;
    background-size: 100%;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: overlay;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Rollgates Luxury', serif;
    font-weight: normal;
    line-height: 1.2;
    color: var(--burgundy);
    margin-bottom: 2rem;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing) 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid;
    margin: 1rem;
}

.btn.primary {
    background-color: var(--burgundy);
    color: var(--text-light);
    border-color: var(--burgundy);
}

.btn.primary:hover {
    background-color: var(--dark-burgundy);
    border-color: var(--dark-burgundy);
}

.btn.secondary {
    background-color: transparent;
    color: var(--burgundy);
    border-color: var(--burgundy);
}

.btn.secondary:hover {
    background-color: rgba(125, 31, 31, 0.1);
}

/* Hero Section */
.hero {
    min-height: 326px;
    background-color: #7d1f1f;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.hero-content {
    width: 100%;
    z-index: 2;
}

.logo-oval {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem;
    margin: 0 auto;
}

.logo-container {
    background-image: url('../images/Hero/hero-section.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-description {
    overflow: hidden;
    position: relative;
    padding: 4rem 2.5rem;
}

.hero-description .pattern-1 {
    position: absolute;
    left: 0;
    top: 0%;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-description .pattern-2 {
    position: absolute;
    right: 0;
    bottom: 0%;
    transform: translateY(25%);
    pointer-events: none;
}

.hero h1 {
    font-family: 'Rollgates Luxury', serif;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 8rem;
    font-weight: 700;
    /* <-- Force bold weight */
}


.hero p {
    font-size: 3rem;
    margin-bottom: 3rem;
    line-height: 1.5;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    /* <-- Force bold weight */

}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--light-cream);
}

.hero .btn {
    min-width: 200px;
    padding: 1.5rem 3rem;
    font-size: 2rem;
}

.hero .btn.primary {
    background-color: #FFF7F0;
    color: #862C24;
    border-color: #fff;
}

.hero .btn.primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

.hero .btn.secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.hero .btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* What Makes It Miette Section */
.what-makes {
    background-color: #FFF9F5;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}
/* 
.what-makes::before {
    content: '';
    position: absolute;
    right: 0%;
    top: 0;
    width: 100%;
    height: 100%;
    transform: translateX(0%);
    background-image: url('../images/4.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center left;
    opacity: 0.8;
    z-index: 0;
} */

.what-makes .pattern {
    position: absolute;
    left: 0;
    top: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-25%, -25%);
    object-fit: contain;
    scale: 2;
    opacity: 0.25;
    z-index: 9;
    pointer-events: none;
}

.what-makes .container {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    text-align: left;
}

.what-makes h2 {
    color: #6E2018;
    font-size: 6rem;
    margin-bottom: -10px;
    position: relative;
    display: inline-block;
    text-align: left;
    font-weight: 700;
    /* <-- Force bold weight */

}
.what-makes .line {
    width: 70px;
    height: 2px;
    background-color: #6E2018;
    margin-bottom: 3px;
}
.what-makes .line-1 {
    width: 40px;
}
/* .what-makes h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background-color: #6E2018;
    margin: 5px 0 0 0;
} */

.subtitle {
    font-family: "Rollgates Luxury", serif;
    font-size: 2rem;
    color: #6E2018;
    margin-bottom: 2rem;
    font-weight: bold;
    /* <-- Force bold weight */

}

.description {
    font-family: "Montserrat", sans-serif;
    /* font-weight: bold; */
    font-size: 1.57rem;
    line-height: 1.2;
    text-align: justify;
    color: #6E2018;
    margin-bottom: 5rem;
    font-weight: 500;
}

.features {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
}

.feature {
    flex: 1;
    min-width: 0;
    max-width: 25%;
    padding: 0 1rem;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-icon {
    margin-bottom: 0;
    margin-right: 1.5rem;
    /*background-color: #E5CDC5;*/
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    box-shadow: 0 5px 15px rgba(192, 172, 165, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 172, 165, 0.45);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 172, 165, 0.45);
    transition: all 0.3s ease;
}


.feature-icon img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    fill: var(--burgundy);
    filter: brightness(0) saturate(100%) invert(10%) sepia(84%) saturate(2619%) hue-rotate(347deg) brightness(94%) contrast(101%);
    /* soft outline only */
}


.feature-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    color: #6E2018;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: left;
}

.feature p {
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #6E2018;
    text-align: left;
    font-weight: 500;
}

/* Signature Sandwiches Section */
.signature-sandwiches {
    background-color: var(--burgundy);
    color: var(--text-light);
    padding: 8rem 0;
    text-align: center;
    background-color: #76231A;
    /* background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 75%, transparent); */
    background-size: 100px 100px;
}

.signature-sandwiches h2,
.signature-sandwiches h3 {
    color: var(--text-light);
    font-size: 6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.signature-sandwiches p {
    font-family: "Montserrat", sans-serif;
    max-width: 1000px;
    margin: 0 auto 4rem;
    font-size: 1.8rem;
    line-height: 1.5;
}

.sandwich-carousel {
    position: relative;
    margin: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-items {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding: 2rem 0;
    gap: 1rem;
    justify-content: center;
}

.carousel-items::-webkit-scrollbar {
    display: none;
}

.swiper {
  height: 300px;
}

@media screen and (min-width: 768px) {
  .swiper {
    height: 200px;
  }
}

.swiper-slide {
    transition: all;
}

@media screen and (min-width: 768px) {
.swiper-slide-active {
    scale: 1.2;
}
}

.swiper-button-prev::after, .swiper-button-next::after {
    content: none !important;
}

.swiper-button-prev, .swiper-button-next {
    color: var(--light-cream) !important;
    font-size: 2rem !important;
}

.carousel-item {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.carousel-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-arrow {
    background-color: transparent;
    color: var(--text-light);
    border: none;
    width: 40px;
    height: 40px;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 2;
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.sandwich-description {
    margin-top: 3rem;
    padding: 0 2rem;
}

.sandwich-description h3 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.sandwich-description p {
    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0;
}

.signature-sandwiches {
    position: relative;
    overflow: hidden;
}

.signature-sandwiches .pattern {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%) rotate(-45deg);
    width: 2800px;
    opacity: 0.2;
    pointer-events: none;
}

/* Food Gallery Section */
.food-gallery {
    position: relative;
    padding: 8rem 0;
    background-color: var(--light-cream);
    text-align: center;
    background-repeat: repeat;
    background-size: 100%;
    background-position: center;
    background-blend-mode: overlay;
    overflow: hidden;
}

.food-gallery .pattern {
    position: absolute;
    width: 1500px;
    opacity: 0.15;
    pointer-events: none;
}

.food-gallery .pattern-1 {
    top: 0;
    right: 0;
    transform: translate(25%, -47%) rotate(160deg);
}

.food-gallery .pattern-2 {
    top: 0;
    left: 0;
    transform: translate(-21%, -47%) rotate(50deg);
}

.food-gallery .pattern-3 {
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.food-gallery .pattern-4 {
    bottom: 20%;
    right: -10%;
    transform: translate(40%, 50%) rotate(-45deg);
}

@media screen and (max-width: 1200px) {
    .food-gallery .pattern-1, .food-gallery .pattern-3 {
        opacity: 0;
    }
}

.food-gallery h2 {
    font-size: 8rem;
    position: relative;
    display: inline-block;
    font-weight: bold;
    margin-bottom: -10px;
    color: var(--burgundy);
}

.food-gallery .line {
    height: 2px;
    width: 80px;
    background-color: var(--burgundy);
    margin: 3px auto;
    margin-top: 0;
}

.food-gallery .line-1 {
    width: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    margin: 4rem auto;
    margin-top: 6rem;
    max-width: 1100px;
    padding: 0 2rem;
}

.gallery-item {
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0;
}

.gallery-item.top-left {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 1.2;
}

.gallery-item.center-large {
    grid-column: 2;
    grid-row: 1 / span 2;
    aspect-ratio: 0.8;
}

.gallery-item.top-right {
    grid-column: 3;
    grid-row: 1;
    aspect-ratio: 1.2;
}

.gallery-item.bottom-left {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 0.8;
}

.gallery-item.bottom-center {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 1.2;
    z-index: 1;
    margin-top: auto;
}

.gallery-item.bottom-right {
    grid-column: 3;
    grid-row: 2;
    aspect-ratio: 0.8;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Media queries for food gallery */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item.top-left {
        grid-column: 1;
        grid-row: 1;
    }

    .gallery-item.center-large {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin-top: 0;
        margin-bottom: 0;
        aspect-ratio: 0.578;
    }

    .gallery-item.top-right {
        grid-column: 1;
        grid-row: 2;
    }

    .gallery-item.bottom-left {
        grid-column: 1;
        grid-row: 3;
    }

    .gallery-item.bottom-center {
        grid-column: 2;
        grid-row: 3;
        margin-top: 0;
        aspect-ratio: 0.8;
    }

    .gallery-item.bottom-right {
        grid-column: span 2;
        grid-row: 4;
        aspect-ratio: 2;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.top-left,
    .gallery-item.center-large,
    .gallery-item.top-right,
    .gallery-item.bottom-left,
    .gallery-item.bottom-center,
    .gallery-item.bottom-right {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 1.2;
        margin: 0;
    }
}

/* Delivery Promise Section */
.delivery-promise {
    background-color: #7F2318;
    color: var(--text-light);
    padding: 8rem 0;
    text-align: center;
}

.delivery-promise h2 {
    font-size: 5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.delivery-promise .line {
    height: 2px;
    width: 80px;
    background-color: var(--light-cream);
    margin: 3px auto;
    margin-top: 0;
}

.delivery-promise .line-1 {
    width: 60px;
}

.delivery-promise p {
    font-family: "Montserrat", sans-serif;
    max-width: 1000px;
    text-align: justify;
    margin: 0 auto;
    margin-top: 4rem;
    font-size: 2.5rem;
}

/* Call to Action Section */
.cta {
    position: relative;
    padding: 10rem 0;
    text-align: center;
    background-color: var(--cream);
    position: relative;
    overflow: hidden;
}

.cta .pattern {
    position: absolute;
    width: 1400px;
    opacity: 0.15;
    pointer-events: none;
}

.cta .pattern-1 {
    right: 0;
    bottom: 0;
    transform: translate(50%, 50%) rotate(45deg);
}

.cta .pattern-2 {
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.cta .pattern-3 {
    left: 0;
    bottom: 0;
    transform: translate(-30%, 55%) rotate(-55deg);
}

@media screen and (max-width: 1200px) {
    .cta .pattern-1, .cta .pattern-3 {
        opacity: 0;
    }
}

/* .cta::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/1 (2).svg');
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: left -10% center;
    opacity: 0.1;
    z-index: 0;
}

.cta::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/2 (1).svg');
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: right -10% center;
    opacity: 0.1;
    z-index: 0;
} */

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 8rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.cta p {
    font-family: "Montserrat", sans-serif;
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 4rem;
}

/* Footer */
footer {
    background-color: var(--burgundy);
    color: var(--text-light);
    padding: 0rem;
    padding-top: 2rem;
    text-align: center;
}

footer * {
    font-family: "Montserrat", sans-serif;
}

footer h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin: 0 0.5rem;
}

footer a {
    color: var(--text-light);
    margin: 0 0.5rem;
}

footer a:hover {
    color: var(--gold);
}

.footer-content {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    align-items: center;
}

footer .links {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 1rem;
}

.links nav {
    display: flex;
    width: 100%;
}

.contact-info {
    flex-grow: 1;
}

.quick-links,
.social-links {
    flex-grow: 1;
    min-width: 200px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

address p {
    margin-bottom: 1rem;
    text-wrap: nowrap;;
}

.footer-logo {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 250px;
}

@media (min-width: 768px) {
    .footer-logo {
        justify-content: end;
    }
}

.footer-logo img {
    height: auto;
    width: 150px;
}

footer .empty {
    flex-grow: 1;
}

.copyright {
    font-size: 1.4rem;
    font-weight: 600;
}

/* Animation */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (max-width: 576px) {
    .footer-logo, .footer-content {
        margin-bottom: 0rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    html {
        font-size: 55%;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .quick-links,
    .social-links,
    .footer-logo {
        text-align: center;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 4rem;
        /* <-- Force bold weight */
    }
    html {
        font-size: 50%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        margin: 1rem 0;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* Responsive adjustments for What Makes section */
@media (max-width: 1200px) {
    .features {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .feature {
        min-width: 45%;
        max-width: 45%;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .feature {
        min-width: 100%;
        max-width: 100%;
    }

    .what-makes h2 {
        font-size: 3.5rem;
    }

    .description {
        max-width: 100%;
    }

    .what-makes::before {
        background-size: 200%;
        opacity: 0.3;
    }

    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.center {
        grid-column: span 6;
    }

    .gallery-item.small {
        grid-column: span 3;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.small,
    .gallery-item.center {
        grid-column: span 1;
    }
}
