/* 
    GOU RESTAURANT - CUSTOM CSS 
    Theme: Modern Haitian Premium
*/

:root {
    --deep-blue: #0b1a31;
    --royal-blue: #1E56A0;
    --haitian-red: #C6283E;
    --warm-cream: #F7F1E8;
    --soft-ivory: #FFF9F2;
    --charcoal: #222222;
    --gold: #D4A64A;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    font-family: var(--font-body);
    color: var(--charcoal);
    line-height: 1.6;
    background-color: var(--soft-ivory);
}

section {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
    font-weight: 800;
}

.text-red {
    color: var(--haitian-red);
}

.bg-cream {
    background-color: var(--warm-cream);
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: transparent;
    transition: var(--transition);
    z-index: 1050;
    overflow-x: hidden;
}

@media (max-width: 767px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}

.logo-block {
    background-color: #fff;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    min-width: 180px;
}

.header-right-side {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.top-bar {
    font-size: 0.85rem;
    font-weight: 500;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 25px 15px !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--haitian-red) !important;
}

.nav-cta-primary {
    background-color: var(--haitian-red);
    color: white !important;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(198, 40, 62, 0.3);
}

.nav-cta-primary:hover {
    background-color: #a01f31;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 40, 62, 0.4);
}

/* --- MOBILE BOTTOM NAV --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--haitian-red);
    z-index: 1050;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition);
    gap: 4px;
    padding: 10px 0;
}

.mobile-nav-item i {
    font-size: 1.5rem;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: white;
    transform: translateY(-2px);
}

/* --- MORE DRAWER --- */
.more-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.more-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.more-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #0c1c2c;
    /* Match Navy Brand Color */
    z-index: 1070;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.more-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.drawer-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.drawer-link i {
    font-size: 1.4rem;
    color: var(--haitian-red);
}

.drawer-link:hover {
    color: white !important;
    padding-left: 10px;
}

/* --- HERO SECTION --- */
.hero-wrapper {
    position: relative;
    height: 100vh;
    min-height: 800px;
    background-color: #1a0b0b;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg-brick {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/hero-brick-bg.png') center/cover no-repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.hero-welcome-text {
    font-weight: 900;
    color: var(--haitian-red);
    letter-spacing: 2px;
    font-size: 1.1rem;
    display: inline-block;
}

.hero-headline-new {
    font-size: clamp(4rem, 10vw, 7.5rem);
    font-weight: 900;
    line-height: 0.9;
    max-width: 900px;
    text-transform: uppercase;
}

.hero-wrapper {
    position: relative;
    height: 100vh;
    min-height: 800px;
    background-color: #1a0b0b;
    overflow: hidden;
    padding-top: 100px;
    display: flex;
    align-items: center;
}

.hero-bg-brick {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%),
        url('../images/hero-brick-bg.png') center/cover no-repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 20;
    color: white;
}

.hero-welcome-text {
    font-weight: 800;
    color: #ff5722;
    /* Vibrant orange as in reference */
    letter-spacing: 1px;
    font-size: 1.25rem;
    display: inline-block;
}

.hero-headline-new {
    font-size: clamp(4rem, 12vw, 5rem);
    font-weight: 900;
    line-height: 0.85;
    text-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    text-transform: capitalize;
}

/* Clean Professional Hero Images */
.hero-image-container {
    position: absolute;
    top: 55%;
    right: 0;
    transform: translateY(-55%);
    width: 55%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-img-main {
    width: 80%;
    max-width: 750px;
    margin-right: 5%;
    object-fit: contain;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.8));
    transform: perspective(1000px) rotateX(10deg) rotateY(-10deg);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: simpleFloat 5s ease-in-out infinite alternate;
    pointer-events: auto;
}

.hero-img-leaf {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 140px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
    opacity: 1;
    animation: simpleFloat 6s ease-in-out infinite alternate;
}

/* Red Button Styling */
.btn-hero-order {
    background-color: #ff0033;
    color: white !important;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 3px 3px 3px 30px !important;
    border-radius: 4px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.3);
}

.btn-hero-order .arrow-box {
    background: white;
    color: #ff0033;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    margin-left: 25px;
}

.btn-hero-order:hover {
    transform: scale(1.05);
    background-color: #d1002a;
    box-shadow: 0 15px 40px rgba(255, 0, 51, 0.5);
}

.btn-hero-order-sm {
    padding-left: 15px !important;
    font-size: 0.85rem;
    border-radius: 2px;
    margin: 4px auto !important;
}

.btn-hero-order-sm .arrow-box {
    width: 32px;
    height: 32px;
    margin-left: 15px;
}

.btn-hero-order-sm .arrow-box i {
    font-size: 0.9rem;
}

@keyframes simpleFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@media (max-width: 991px) {
    .hero-headline-new {
        font-size: 4rem;
        text-align: center;
        line-height: 1;
    }

    .hero-wrapper {
        min-height: 600px;
        text-align: center;
    }

    .hero-actions {
        justify-content: center !important;
    }
}

@media (max-width: 991px) {
    .hero-headline-new {
        font-size: 3.5rem;
        text-align: center;
    }

    .hero-wrapper {
        min-height: 600px;
        text-align: center;
    }

    .hero-actions {
        justify-content: center !important;
    }
}

/* --- POPULAR FOOD ITEMS CAROUSEL --- */
.section-padding {
    padding: 100px 0;
}



.popular-swiper {
    padding-bottom: 60px !important;
}

.swiper-container-relative {
    position: relative;
    padding: 0 50px;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--haitian-red);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.2rem;
    font-weight: 900;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--haitian-red);
    color: white;
    transform: scale(1.1);
}

.popular-prev {
    left: 0;
}

.popular-next {
    right: 0;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--haitian-red);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 10px;
    opacity: 1;
}

/* --- PRODUCT CARDS --- */
.dish-card {
    text-align: center;
    transition: var(--transition);
    padding: 110px 30px 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 35%);
    border-radius: 40px;
    position: relative;
    margin-top: 100px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
}

.dish-card-popular {
    text-align: center;
    transition: var(--transition);
    padding: 110px 30px 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 35%);
    border-radius: 40px;
    position: relative;
    margin-top: 100px;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.02);
}

.dish-img-wrapper {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    position: absolute;
    top: -110px;
    /* Half image overlaps */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px dashed var(--haitian-red);
    padding: 10px;
    background: var(--soft-ivory);
    /* Match page background container */
    transition: var(--transition);
    z-index: 2;
}

.dish-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.dish-name {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
    line-height: 1;
}

.dish-desc {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 500;
}

.dish-price {
    font-size: 1.6rem;
    font-family: var(--font-body);
    font-weight: 800;
    color: var(--haitian-red);
    margin: 0;
}

.dish-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.1);
}

.dish-card:hover .dish-img {
    transform: scale(1.05);
}

.dish-card:hover .dish-img-wrapper {
    border-style: solid;
    /* Changes from dashed to solid on hover for micro-interaction */
    transform: translateX(-50%) rotate(5deg);
}

.dish-card-popular:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -20px rgba(255, 255, 255, 1);
}

.dish-card-popular:hover .dish-img {
    transform: scale(1.05);
}

.dish-card-popular:hover .dish-img-wrapper {
    border-style: solid;
    /* Changes from dashed to solid on hover for micro-interaction */
    transform: translateX(-50%) rotate(5deg);
}



/* --- MENU TABS --- */
.menu-tab-btn {
    border: none;
    background: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    color: var(--deep-blue);
    border: 2px solid transparent;
}

.menu-tab-btn.active {
    background: var(--soft-ivory);
    color: var(--haitian-red);
    border-color: var(--haitian-red);
    box-shadow: 0 8px 20px rgba(198, 40, 62, 0.1);
}

.menu-tabs-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px;
    margin: 0 -15px;
    scrollbar-width: none;
    /* Firefox */
}

.menu-tabs-scroll-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.menu-tabs-container {
    padding: 0 15px;
    gap: 10px;
}

@media (max-width: 991px) {
    .menu-tabs-container {
        justify-content: flex-start !important;
    }

    .menu-tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

.menu-pane {
    display: none;
}

.menu-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-list-item {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.menu-item-thumb-wrapper {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-list-item:hover .menu-item-thumb {
    transform: scale(1.15);
}

/* Mobile Swiper Styling */
.menu-mobile-swiper {
    padding: 20px 10px 50px;
}

.menu-item-thumb-wrapper-mobile {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 3px solid white;
}

.menu-item-name-mobile {
    font-family: var(--font-heading);
    font-weight: 800;
}

.swiper-pagination-bullet-active {
    background-color: var(--haitian-red);
}

.item-oos {
    opacity: 0.5;
    filter: grayscale(1);
}

.menu-item-name {
    font-weight: 800;
    color: var(--deep-blue);
    font-size: 1.1rem;
}

.menu-list-item:hover:not(.item-oos) .menu-item-name {
    color: var(--haitian-red);
}

.menu-item-price {
    font-weight: 800;
    color: var(--haitian-red);
    font-size: 1.1rem;
    white-space: nowrap;
}

/* --- FOOTER --- */
.footer-main {
    background-color: var(--deep-blue);
    color: white;
    padding: 100px 0 30px;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
    padding-left: 10px;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.9);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* Micro-interactions */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.hover-glow:hover {
    box-shadow: 0 15px 40px rgba(198, 40, 62, 0.3);
}

.img-zoom-hover {
    overflow: hidden;
}

.img-zoom-hover img {
    transition: all 0.6s ease;
}

.img-zoom-hover:hover img {
    transform: scale(1.1);
}

/* --- PROMO BANNER SECTION --- */
.promo-section {
    background: #0f0f0f;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.burger-arch-wrapper {
    position: relative;
    z-index: 5;
    padding: 40px 0;
}

.burger-arch {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 110%;
    height: 80%;
    background: #ff5722;
    /* Vibrant orange arch */
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: -1;
    opacity: 0.9;
}

.burger-img {
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
    max-width: 100%;
    transform: scale(1.1);
}

.promo-offer-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 5;
}

@media (min-width: 992px) {
    .promo-offer-box {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: 550px;
    }
}

.promo-label {
    color: #ff5722;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.promo-title {
    font-size: clamp(1.8rem, 8vw, 4rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    color: white;
}

.promo-validity {
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
}

.btn-promo-now {
    background: #ff0033;
    color: white !important;
    padding: 15px 40px;
    font-weight: 900;
    border-radius: 4px;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.btn-promo-now i {
    background: white;
    color: #ff0033;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 0.8rem;
}

.btn-promo-now:hover {
    background: white;
    color: #ff0033 !important;
    transform: translateY(-5px);
}

.btn-promo-now:hover i {
    background: #ff0033;
    color: white;
}

@media (max-width: 991px) {
    .promo-section {
        padding: 60px 0;
        text-align: center;
    }

    .burger-arch-wrapper {
        padding: 0;
        margin-bottom: 30px;
    }

    .promo-offer-box {
        padding: 40px 20px;
        background: rgba(0, 0, 0, 0.4); /* Darker backdrop on mobile for better contrast */
    }
}

.ticker-ribbon {
    background: var(--haitian-red);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    user-select: none;
    z-index: 5;
    box-shadow: 0 10px 40px rgba(198, 40, 62, 0.2);
}

.ticker-wrapper {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 25s linear infinite;
    gap: 50px;
}

.ticker-item {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    letter-spacing: 2px;
}

.ticker-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    margin-right: 30px;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* RESPONSIVE */
@media (max-width: 991px) {
    body {
        padding-bottom: 80px;
        /* Space for bottom nav */
    }

    .navbar-collapse {
        display: none !important;
    }

    .header-cta-item {
        display: block !important;
    }

    .header-right-side {
        justify-content: center;
    }

    .logo-block {
        padding: 5px 15px;
        min-width: 120px;
    }

    .logo-block img {
        height: 55px;
    }

    .hero-wrapper {
        padding-top: 140px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }

    .swiper-container-relative {
        padding: 0 15px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

.btn-danger {
    background-color: var(--haitian-red);
    border-color: var(--haitian-red);
}

.btn-danger:hover {
    background-color: #a01f31;
    border-color: #a01f31;
}

.rounded-pill {
    border-radius: 50px !important;
}