/* ----------------------------------------------
   Load ROBOTO font
---------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

/* -----------------------------------------------------
   LIGHT THEME (default)
----------------------------------------------------- */
:root,
[data-bs-theme="light"] {
    --bs-primary: #8a454e;
    --bs-primary-muted: #8a454e77;
    --bs-primary-rgb: 138, 69, 78;

    --bs-primary-text-emphasis: #733a41;
    --bs-primary-bg-subtle: #fff0de;
    --bs-primary-border-subtle: #733a41;

    --bs-white: #fff;
    --bs-black: #000;

    --bs-body-bg: #fff0de; /* lightest color */
    --bs-body-bg-alpha-op: rgba(255, 240, 222, 0.6);
    --bs-body-bg-alpha: rgba(255, 240, 222, 0.4);
    --bs-body-color: #733a41; /* darkest of your 3 colors */

    --bs-secondary: #733a41;
    --bs-secondary-rgb: 115, 58, 65;

    --bs-link-color: #8a454e;
    --bs-link-hover-color: #733a41;

    --bs-btn-bg: #8a454e;
    --bs-btn-border-color: #8a454e;
    --bs-btn-border-color-lower-opacity: #8a454e7d;

    --bs-link-color-rgb: 138, 69, 78;

    --bs-font-sans-serif: "Roboto", sans-serif;

    --bs-navbar-toggler-icon-bg: "data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=";
}

/* -----------------------------------------------------
   DARK THEME
----------------------------------------------------- */
[data-bs-theme="dark"] {
    --bs-body-bg: #1a0f11;
    --bs-body-color: #fff0de;

    --bs-primary: #8a454e;
    --bs-primary-rgb: 138, 69, 78;

    --bs-primary-text-emphasis: #fff0de;
    --bs-primary-bg-subtle: #3f2125;
    --bs-primary-border-subtle: #733a41;

    --bs-secondary: #733a41;
    --bs-secondary-rgb: 115, 58, 65;

    --bs-link-color: #fff0de;
    --bs-link-hover-color: #8a454e;

    --bs-card-bg: #251517;
    --bs-border-color: #402225;

    --bs-font-sans-serif: "Roboto", sans-serif;

    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-dark,
.navbar[data-bs-theme="dark"],
[data-bs-theme="dark"] .navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Dark mode button override */
.btn-primary[data-bs-theme="dark"],
[data-bs-theme="dark"] .btn-primary {
    background-color: #8a454e !important;
    border-color: #8a454e !important;
}
[data-bs-theme="dark"] .btn-primary:hover {
    background-color: #733a41 !important;
    border-color: #733a41 !important;
}

/* Global body styles */
body {
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
    font-family: var(--bs-font-sans-serif) !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--bs-primary) !important;
    font-weight: 900;
}

h1,
h2,
h3,
h4,
h5,
h6,
span,
p {
    font-family: var(--bs-font-sans-serif) !important;
}

.section-title {
    position: relative;
    text-align: center;
    padding: 12px 0; /* spacing similar to screenshot */
    /* Text */
    font-weight: 700;
    color: var(--bs-primary);
}

/* .navbar .logo {
    height: 50px;
    max-height: 70px;
} */

/* smaller logo for mobile */
/* @media screen and (max-width: 576px) {
    .navbar .logo {
        height: 37px;
        max-height: 50px;
    }
} */

.footer {
    background-color: var(--bs-body-color);
    color: var(--bs-body-bg);
}

.footer h4,
.footer h5 {
    color: var(--bs-body-bg) !important;
    /* color: var(--bs-white) !important; */
}

.footer .footer-socials a {
    color: var(--bs-body-bg);
    font-size: x-large;
}

.footer .footer-logo {
    height: 100px;
    max-height: 110px;
}

.footer .footer-logo-wide {
    height: 65px;
    max-height: 70px;
}

/* Smaller logo for mobile */
@media screen and (max-width: 576px) {
    .footer .footer-logo {
        height: 100px;
        max-height: 110px;
    }
}

.footer .footer-ar-text {
    height: 75px;
    max-height: 90px;
}

.footer .footer-contact-info a {
    color: var(--bs-body-bg) !important;
    text-decoration: none;
}

/***********************************************************************************
Custom CSS Styles For Home Page
************************************************************************************/
.navbar {
    --bs-navbar-bg-color: var(--bs-body-bg-alpha-op);
}

/* Touché theme applies transparency before scroll → override */
.navbar.navbar-dark:not(.navbar-scrolled) {
    background-color: var(--bs-body-bg-alpha-op) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M5 7h20M5 15h20M5 23h20'/%3E%3C/svg%3E") !important;
}

/* When navbar has nav-dark-red — override everything */
.navbar.nav-dark-red {
    background-color: var(--bs-primary) !important;
    color: var(--bs-body-bg) !important;
}

/* Force brand, links, icons inside the red navbar */
.navbar.nav-dark-red .navbar-brand,
.navbar.nav-dark-red .nav-link,
.navbar.nav-dark-red .navbar-nav .nav-link,
.navbar.nav-dark-red .navbar-brand img {
    color: var(--bs-body-bg) !important;
    fill: var(--bs-body-bg) !important;
}

/* Toggler icon when NOT red (default) */
.navbar:not(.nav-dark-red) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M5 7h20M5 15h20M5 23h20'/%3E%3C/svg%3E") !important;
}

/* Toggler icon when nav is dark red – beige lines */
.navbar.nav-dark-red .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23f5f5dc' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M5 7h20M5 15h20M5 23h20'/%3E%3C/svg%3E") !important;
}

.navbar.nav-dark-red.navbar-dark:not(.navbar-scrolled) {
    background-color: var(--bs-primary) !important;
}

.navbar .navbar-nav .nav-link {
    color: var(--bs-link-hover-color);
    font-size: 18px;
}

/* Make font smaller for smaller screens */
@media screen and (max-width: 768px) {
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
    }
}

/* Make font smaller for mobile */
@media screen and (max-width: 576px) {
    .navbar .navbar-nav .nav-link {
        font-size: 14px;
    }
}

/* ======================================================
   MENU PAGE — DISABLE TOUCHE SCROLL OVERLAY COMPLETELY
====================================================== */
.page-menu .navbar,
.page-menu .navbar.navbar-dark,
.page-menu .navbar.navbar-scrolled {
    background-color: var(--bs-primary) !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* Prevent Touché from re-applying transparency */
.page-menu .navbar:not(.navbar-scrolled),
.page-menu .navbar.navbar-dark:not(.navbar-scrolled) {
    background-color: var(--bs-primary) !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* ======================================================
   MENU PAGE — KILL TOUCHE NAVBAR OVERLAY LAYER
====================================================== */
.page-menu .navbar::before,
.page-menu .navbar.navbar-scrolled::before {
    content: none !important;
    display: none !important;
    background: none !important;
    backdrop-filter: none !important;
}

/* Base: smallest screens */
#headerVideoSection {
    height: 65vh; /* smallest default */
    max-height: 65vh;
}

/* ≥576px */
@media (min-width: 576px) {
    #headerVideoSection {
        height: 65vh;
        max-height: 65vh;
    }
}

/* ≥768px */
@media (min-width: 768px) {
    #headerVideoSection {
        height: 70vh;
        max-height: 70vh;
    }
}

/* ≥992px */
@media (min-width: 992px) {
    #headerVideoSection {
        height: 90vh;
        max-height: 90vh;
    }
}

/* ≥1200px */
@media (min-width: 1200px) {
    #headerVideoSection {
        height: 100vh;
        max-height: 100vh;
    }
}

/* Video */
.header-video {
    position: relative;
    z-index: 0;
}

.header-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.header-video-overlay {
    position: relative;
    z-index: 1;
}

.main-header .social-links {
    position: absolute;
    top: 40%; /* distance from top */
    right: 20px; /* distance from right */
    z-index: 10;
}

.main-header .social-links ul li {
    display: block;
    margin-bottom: 15px;
    font-size: large;
}

@media screen and (max-width: 996px) {
    .main-header .social-links {
        top: 25%; /* distance from top */
    }
}

@media screen and (max-width: 768px) {
    .main-header .social-links {
        top: 25%; /* distance from top */
    }
}

@media screen and (max-width: 576px) {
    .main-header .social-links {
        top: 30%; /* distance from top */
    }
}

/* About */
#about-section {
    background-image: url("../img/19.jpg");
}

.about-info-block p {
    font-size: large;
}

@media screen and (max-width: 500px) {
    .about-info-block p {
        font-size: medium;
    }
}

/* Events */
#eventOne {
    background-image: url("../img/8.jpg");
}

#eventTwo {
    background-image: url("../img/9.jpg");
}

#eventThree {
    background-image: url("../img/10.jpg");
}

.menu-category-image {
    object-fit: cover;
    height: 250px;
    border-radius: 20px;
    max-width: 40%;
}

/* Add width for lower screen sizes */
@media (max-width: 768px) {
    .menu-category-image {
        max-width: 60%;
        height: 300px;
    }
}

/* Add more width for mobile */
@media (max-width: 480px) {
    .menu-category-image {
        max-width: 80%;
        height: 250px;
    }
}

/* MOBILE FIX — force vertical layout */
@media (max-width: 767.98px) {
    /* Force vertical mobile layout */
    .category-card {
        flex-direction: column !important;
    }

    .category-card img {
        width: 100% !important;
        order: 1;
    }

    .category-info {
        width: 100% !important;
        order: 2;
        text-align: center !important;
        align-items: center !important;
    }

    .category-info .info-inner {
        width: 100% !important;
        text-align: center !important;
    }

    .category-info .btn {
        align-self: center !important;
    }

    /* ⭐ NEW: center the <h5> only on mobile */
    .category-info h5 {
        text-align: center !important;
        width: 100%;
    }
}

/* -----------------------------------------
   Buttons
------------------------------------------ */
/* Button override */
.btn-primary {
    background-color: var(--bs-btn-bg) !important;
    border-color: var(--bs-btn-border-color) !important;
}

.btn-primary:hover {
    background-color: #733a41 !important;
    border-color: #733a41 !important;
}

/* Button override */
.btn-transparent {
    background-color: transparent !important;
    border-color: #000 !important;
    border-radius: 5px;

    padding: 5px 20px;
}

.btn-transparent.auto-width {
    display: inline-block !important;
    width: auto !important;
    margin-top: 25px;
}

.btn-transparent:hover {
    background-color: #733a41 !important;
    border-color: #733a41 !important;
    color: var(--bs-body-bg) !important;
}

/* -----------------------------------------
   MAIN CAROUSEL — FULLSCREEN + RESPONSIVE
------------------------------------------ */
/* Main carousel container */
.main-carousel {
    width: 100%;
    /* height: clamp(min, preferred, max) - adjusts responsively */
    height: clamp(60vh, 80vh, 100vh);
    overflow: hidden;
    position: relative;
}

/* Make carousel and slides fill the section */
.main-carousel .carousel,
.main-carousel .carousel-inner,
.main-carousel .carousel-item {
    height: 100%;
}

/* Each main-slide will act like a positioned background layer */
.main-slide {
    position: absolute; /* stacked on top of each other for crossfade */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 800ms ease-in-out, transform 800ms ease;
    will-change: opacity, transform;
    display: block;
}

/* active slide visible */
.main-slide.active {
    opacity: 1;
    transform: translateZ(0);
    position: relative; /* let active slide be in flow for accessibility */
}

/* Add a subtle dark overlay to make overlaid text readable */
.main-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.12));
    pointer-events: none;
    opacity: 1;
}

.carousel-p {
    max-width: 600px;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #fff;
    z-index: 2;
    font-size: x-large;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-p {
        max-width: 90%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 1rem;
        font-size: 1rem;
        line-height: 1.4;
        font-size: medium;
    }
}

/* Slide content goes above overlay */
.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .main-carousel {
        height: clamp(55vh, 72vh, 90vh);
    }
    .slide-content {
        padding: 1.5rem;
    }
}
@media (max-width: 768px) {
    .main-carousel {
        height: 60vh;
    }
    .slide-content {
        padding: 1rem;
    }
    .slide-content .display-4 {
        font-size: 1.6rem;
        line-height: 1.1;
    }
}
@media (max-width: 420px) {
    .main-carousel {
        height: 55vh;
    }
    .slide-content {
        padding: 0.75rem;
    }
}

/* Accessibility: hide non-active slides from screen readers */
.main-slide:not(.active) {
    visibility: hidden;
}
.main-slide.active {
    visibility: visible;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* WIDE ratio fix for your tall images */
.timeline-image {
    width: 100%;
    padding-top: 70%;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 12px;
    overflow: hidden;

    opacity: 0;
    transform: scale(0.95);
    transition: all 0.7s ease;
}

/* Lower the padding for smaller screen size */
@media screen and (max-width: 768px) {
    .timeline-image {
        padding-top: 60%;
    }
}

/* Lower the padding for mobile */
@media screen and (max-width: 500px) {
    .timeline-image {
        padding-top: 50%;
    }
}

.timeline-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.timeline-item:hover .timeline-image {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Year label */
.timeline-year {
    position: absolute;
    bottom: 10px;
    left: 14%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    z-index: 2;
}

.timeline-text h3 {
    font-weight: 700;
}

.timeline-text p {
    text-align: start;
    opacity: 0.87;
}

@media screen and (max-width: 500px) {
    .timeline-image {
        width: 100%;
        padding-top: 60%;
    }

    .timeline-text p {
        font-size: small;
    }
}

.timeline-image {
    position: relative;
    background-size: cover;
    background-position: center;
}

.timeline-image .timeline-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--overlay-opacity));
    z-index: 1;
}

/* Default: Desktop */
.timeline-mobile {
    display: none;
}

/* Mobile only */
@media (max-width: 768px) {
    .timeline-desktop {
        display: none;
    }

    .timeline-mobile {
        display: block;
    }
}

/* Dim non-selected slides */
.testimonials .flickity-slider > .is-selected {
    opacity: 1;
}

.testimonials .flickity-slider > div {
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.testimonials .testimonial-slide {
    width: 80%;
    margin: 0 20px;
    background-color: var(--bs-btn-border-color);
    border-radius: 8px;
    padding: 1rem;
    color: var(--bs-primary-bg-subtle);
}

.testimonials-splide-wrapper {
    width: 100%;
}

@media (max-width: 567px) {
    .testimonials-splide-wrapper {
        width: 90% !important;
    }

    .testimonials-splide-wrapper .splide__arrow--next {
        right: -15px !important;
    }

    .testimonials-splide-wrapper .splide__arrow--prev {
        left: -15px !important;
    }
}

.testimonials-splide .splide__track {
    overflow: hidden;
}

.testimonials-splide .splide__slide {
    display: flex;
    justify-content: center;
}

.testimonials-splide .testimonial-slide {
    width: 100%;
    max-width: 900px;
}

.testimonials .testimonial-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonials .testimonial-figure {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
    justify-content: space-between;
}

/* Justify center for mobile */
@media (max-width: 567px) {
    .testimonials .testimonial-figure {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

.gifts .gift-item {
    background-color: var(--bs-btn-border-color);
    color: var(--bs-body-bg);
    font-size: large;
    font-weight: 500;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.gifts .gift-item .gift-image {
    background-size: cover;
    background-position: center;
    height: 200px;
    border-radius: 20px 20px 0px 0px;
}

.gifts .gift-item img {
    border-radius: 20px 0px;
}

.gallery .hide-for-mobile {
    display: block;
}

@media screen and (max-width: 576px) {
    .gallery .hide-for-mobile {
        display: none;
    }
}

/***********************************************************************************
Custom CSS Styles For About Page
************************************************************************************/

/***********************************************************************************
Custom CSS Styles For Contact Page
************************************************************************************/
#contact-us-header {
    background-image: url("../img/39.jpg");
    max-height: 50vh;
}

.contact-page-head {
    height: 40vh;
}

/* Lower height for tablet */
@media (max-width: 992px) {
    .contact-page-head {
        height: 35vh;
    }
}
/* Lower height for mobile */
@media (max-width: 576px) {
    .contact-page-head {
        height: 30vh;
    }
}

#contact-us-header h1 {
    font-weight: 900;
    color: var(--bs-primary) !important;
}

#contact-us-header p {
    font-weight: 500;
    color: var(--bs-primary);
}

.contact .branch-row h3 {
    margin-bottom: 1px;
    color: var(--bs-primary);
    font-weight: 400;
}

.contact .branch-row ul {
    margin-top: 10px;
    margin-left: 0px;
    font-size: large;
    font-weight: 200;
    color: var(--bs-primary);
    list-style: none; /* remove default bullet */
}

.contact .branch-row ul li::before {
    content: "•"; /* custom bullet */
    font-weight: 200; /* lighter dot */
    margin-right: 3px;
}

.contact .branch-row ul li {
    margin-bottom: 5px;
}

.contact .contact-form h1 {
    font-weight: 900;
    color: var(--bs-primary);
    margin-bottom: 5px;
}

.contact .contact-form p {
    font-weight: 300;
    color: var(--bs-primary);
}

.contact form input,
.contact form textarea {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 400;
}

.contact .contact-socials {
    background-color: var(--bs-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

#contact .social-icons a {
    font-size: 24px;
}

/***********************************************************************************
Custom CSS Styles For Menu Page
************************************************************************************/
#menu-header {
    background-image: url("../img/25.jpg");
}

.menu-content .card img {
    height: 160px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}

.menu-content .card:hover {
    transform: translateY(-4px);
    transition: all 0.2s ease-in-out;
}

.menu-content .category-checkbox {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.menu-content .category-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.menu-content .category-checkbox .checkmark {
    height: 16px;
    width: 16px;
    border: 2px solid #999;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.2s ease;
}

.menu-content .category-checkbox input:checked ~ .checkmark {
    background-color: var(--bs-body-color);
    border-color: var(--bs-body-color);
}

#products-grid .product-item .card {
    border: 2px solid var(--bs-primary);
    border-radius: 12px;
    padding: 15px 12px;
}

#products-grid .product-item .product-img {
    height: 180px;
    min-height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/***********************************************************************************
Custom CSS Styles For Map
************************************************************************************/
.map .mapTabs {
    border: none;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.map .mapTabs li {
    margin-right: 15px;
}

.map .mapTabs li a {
    font-size: large;
    color: var(--bs-primary-muted);
    font-weight: 900;
}

.map .mapTabs .active {
    color: var(--bs-primary);
}

@media screen and (max-width: 600px) {
    .map .mapTabs {
        flex-direction: column;
    }
}

/***********************************************************************************
Custom CSS Styles For ISO
************************************************************************************/
.iso {
    background-color: var(--bs-primary);
}

.iso h1,
.iso h2,
.iso p,
.iso button {
    color: var(--bs-body-bg) !important;
}

.iso button {
    border: 1px solid;
    border-color: var(--bs-body-bg) !important;
}
.iso h1,
.iso h2,
.iso p,
.iso button {
    color: var(--bs-body-bg) !important;
}

.iso button {
    border: 1px solid;
    border-color: var(--bs-body-bg) !important;
}

.categories .category-img {
    object-fit: cover;
    max-height: 180px;
    width: 100%;
}

.categories-gif-wrapper {
    background-color: #fff1e2; /* MATCH PAGE BACKGROUND */
    padding: 20px; /* creates controlled room for shadow */
    max-height: 66vh;
}

.categories-gif {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: -20px 20px 0 var(--bs-body-color);
}

/* Mobile */
@media (max-width: 768px) {
    .categories-gif {
        box-shadow: -10px 10px 0 var(--bs-body-color);
    }
}
