/*
Theme Name: Akshayapatra
Theme URI: https://seiten.pw
Author: seiTen
Author URI: https://seiten.pw
Description: Custom Restaurant Theme with WooCommerce Integration
Version: 1.0
License: GPL v2 or later
Text Domain: akshayapatra
*/

/* ========== ROOT COLORS ========== */
:root {
    --body-color: #0e1317;
    --header-color: #F89823;
    --text-color: #ffffff;
    --button-color: #b99272;
}

html {
    scroll-behavior: smooth;
}

/* ========== GLOBAL ========== */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--body-color);
    color: var(--text-color);
}

a {
    color: var(--text-color);
    text-decoration: none;
}

button,
.btn {
    background: var(--button-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
}

/* ================= HEADER ================= */

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(14, 19, 23, 0.4); /* dark transparent for logo visibility */
    backdrop-filter: blur(8px);
}

/* inner layout */
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 40px;
}

/* LEFT MENU */
.left-menu {
    display: flex;
    justify-content: end;
    /* padding-right: 50px; */ /* ðŸ”¥ space from logo */
    white-space: nowrap;
}
.left-menu ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* RIGHT SECTION */
.right-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    /* padding-left: 50px; */ /* ðŸ”¥ space from logo */
    white-space: nowrap;
}

/* RIGHT MENU */
.right-menu ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.left-menu ul,
.right-menu ul {
    display: flex;
    gap: 25px;
    flex-wrap: nowrap; /* 🔥 IMPORTANT */
}

.left-menu ul li,
.right-menu ul li {
    white-space: nowrap;
}

/* LOGO */
.logo img {
    max-width: 120px;
    width: 100%;
    height:auto;
    padding: 0 15px;
}

/* BUTTON RIGHT EDGE */
.order-btn {
    margin-left: auto; /* push to far right */
    background: var(--button-color);
    padding: 8px 18px;
    border-radius: 4px;
    white-space: nowrap;
}

/* MENU LINKS */
.left-menu ul li a,
.right-menu ul li a {
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

/* HOVER COLOR (ORANGE) */
.left-menu ul li a:hover,
.right-menu ul li a:hover {
    color: #F89823;
}

/* ACTIVE MENU COLOR */
.left-menu ul li.current-menu-item a,
.right-menu ul li.current-menu-item a {
    color: #F89823;
}

/* UNDERLINE EFFECT */
.left-menu ul li a::after,
.right-menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #F89823;
    transition: width 0.3s ease;
}

/* HOVER UNDERLINE */
.left-menu ul li a:hover::after,
.right-menu ul li a:hover::after {
    width: 100%;
}

/* ACTIVE UNDERLINE */
.left-menu ul li.current-menu-item a::after,
.right-menu ul li.current-menu-item a::after {
    width: 100%;
}

/* ================= HEADER SCROLL EFFECT ================= */

/* default transparent */
.site-header {
    transition: all 0.3s ease;
}

/* when scrolled */
.site-header.scrolled {
    background: rgba(14, 19, 23, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* shrink logo on scroll */
.site-header.scrolled .logo img {
    max-width: 90px;
}

/* reduce padding on scroll */
.site-header.scrolled .header-inner {
    padding: 5px 40px;
}

/* ================= NEXT LEVEL HEADER ================= */

/* ===== MENU HOVER LIFT ===== */
.left-menu ul li,
.right-menu ul li {
    transition: transform 0.3s ease;
}

.left-menu ul li:hover,
.right-menu ul li:hover {
    transform: translateY(-2px);
}

/* ===== UNDERLINE GLOW EFFECT ===== */
.left-menu ul li a::after,
.right-menu ul li a::after {
    box-shadow: 0 0 8px rgba(248, 152, 35, 0.6);
}

/* ===== BUTTON PREMIUM HOVER ===== */
.order-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* shine effect */
.order-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transition: all 0.5s ease;
}

.order-btn:hover::before {
    left: 100%;
}

/* button hover scale */
.order-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ===== HEADER GRADIENT OVERLAY ===== */
.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4),
        rgba(0,0,0,0)
    );
    pointer-events: none;
}

/* ===== SMOOTH SCROLL TRANSITION ===== */
.site-header,
.site-header * {
    transition: all 0.3s ease;
}

/* ===== LOGO HOVER EFFECT ===== */
.logo img {
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* ===== MENU SPACING POLISH ===== */
.left-menu ul li a,
.right-menu ul li a {
    letter-spacing: 0.5px;
}

/* ===== ACTIVE MENU BOLD ===== */
.left-menu ul li.current-menu-item a,
.right-menu ul li.current-menu-item a {
    font-weight: 600;
}

/* ===== MOBILE HAMBURGER BASE ===== */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== RESPONSIVE PREP ===== */
@media (max-width: 992px) {

    .menu-toggle {
        display: block;
        color: #fff;
    }

    .left-menu,
    .right-menu {
        display: none;
    }
}

/* ================= MENU ICON  ================= */

/* menu link layout */
.right-menu ul li a,
.left-menu ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ICON SIZE FIX */
.menu-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ================= PREMIUM ICON STYLE ================= */

/* make icons look like app buttons */
.right-menu ul li a {
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* hover effect */
.right-menu ul li a:hover {
    background: rgba(255,255,255,0.1);
}

/* optional: slightly bigger icons for order platforms */
.right-menu .menu-icon {
    width: 22px;
    height: 22px;
}

/* ================= ICON ONLY MODE (OPTIONAL) ================= */
/* Uncomment if you want ONLY icons */
/*
.right-menu ul li span {
    display: none;
}
*/

/* ================= BRANDED MENU ICONS ================= */

/* base style */
.right-menu ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* icon */
.right-menu .menu-icon {
    width: 33px;
    height: 33px;
    object-fit: contain;
}

/* ================= BRAND COLORS ================= */

/* EZCATER */
.right-menu ul li a[href*="ezcater"] {
    background: rgba(6, 193, 103, 0.35);
}
.right-menu ul li a[href*="ezcater"]:hover {
    background: #06C167;
    color: #fff;
}

/* DOORDASH */
.right-menu ul li a[href*="doordash"] {
    background: rgba(235, 23, 0, 0.35);
}
.right-menu ul li a[href*="doordash"]:hover {
    background: #EB1700;
    color: #fff;
}

/* GRUBHUB */
.right-menu ul li a[href*="grubhub"] {
    background: rgba(255, 69, 0, 0.35);
}
.right-menu ul li a[href*="grubhub"]:hover {
    background: #FF4500;
    color: #fff;
}

/* UBEREATS */
.right-menu ul li a[href*="ubereats"] {
    background: rgba(6, 193, 103, 0.35);
}
.right-menu ul li a[href*="ubereats"]:hover {
    background: #06C167;
    color: #fff;
}

/* ================= HOVER EFFECT ================= */

.right-menu ul li a:hover {
    transform: translateY(-2px);
}

/* icon turns white on hover */
.right-menu ul li a:hover .menu-icon {
    filter: brightness(0) invert(1);
}

/* ================= HERO ================= */

/* HERO FIX */
.hero-slider {
    height: 100vh;
    width: 100%;
}

.heroSwiper,
.swiper-wrapper,
.swiper-slide {
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* overlay */
.swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

/* content */
.hero-content {
    position: absolute;
    bottom: 25%;
    left: 8%;
    z-index: 2;
    max-width: 500px;
}

/* ================= MENU ALIGN FIX ================= */

.site-header a {
    font-weight: 500;
}

/* ================= RESPONSIVE QUICK FIX ================= */

@media (max-width: 992px) {

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .left-menu {
        display: none;
    }

    .right-menu {
        display: none;
    }

    .order-btn {
        margin-left: 0;
    }
}

/* ========== HERO SECTION ========== */

/* ================= HERO ================= */

.hero-slider {
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.heroSwiper,
.swiper-wrapper,
.swiper-slide {
    height: 100%;
}

/* SLIDE BACKGROUND */
.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* DARK OVERLAY */
.swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

/* CONTENT */
.hero-content {
    position: absolute;
    bottom: 20%;
    left: 8%;
    max-width: 500px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
}

.hero-content p {
    margin: 15px 0;
}

/* BUTTON */
.hero-content .btn {
    display: inline-block;
    background: var(--button-color);
    padding: 10px 20px;
    border-radius: 4px;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-content {
        left: 5%;
        right: 5%;
        bottom: 15%;
    }

    .hero-content h1 {
        font-size: 28px;
    }
}

/* FOOTER GRID FIX */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ================= MOBILE APP NAV ================= */

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {

    .mobile-nav {
        display: block !important; /* 🔥 FORCE SHOW */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background: #0e1317;
        z-index: 99999; /* 🔥 above everything */
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .mobile-nav ul {
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        height: 100%;
    }

    .mobile-nav li {
        list-style: none;
    }

    .mobile-nav li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        color: #fff;
        gap: 2px;
        height: 100%;
    }

    .mobile-nav i,
    .mobile-nav img {
        font-size: 18px;
        width: 20px;
        height: 20px;
    }

    /* CENTER BUTTON */
    /*.mobile-nav li:nth-child(3) a {*/
    /*    position: relative;*/
    /*    top: -18px;*/
    /*    background: var(--button-color);*/
    /*    width: 55px;*/
    /*    height: 55px;*/
    /*    border-radius: 50%;*/
    /*}*/

    /*.mobile-nav li:nth-child(3) span {*/
    /*    display: none;*/
    /*}*/
}




/* ================= RESPONSIVE HEADER ================= */

/* TABLET FIX */
@media (max-width: 1200px) {

    .header-inner {
        grid-template-columns: auto auto auto;
        padding: 10px 20px;
    }

    .left-menu ul {
        gap: 15px;
    }

    .right-menu ul {
        gap: 12px;
    }

    .logo img {
        max-width: 100px;
    }
}

/* ================= MOBILE DRAWER ================= */

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: #0e1317;
    z-index: 99999;

    padding: 20px 15px;
    box-shadow: 5px 0 20px rgba(0,0,0,0.5);

    transition: left 0.3s ease;
}

/* ACTIVE */
.mobile-drawer.active {
    left: 0;
}

/* OVERLAY (REAL ELEMENT, NOT ::before) */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99998;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
/* overlay */
/*.mobile-drawer::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}*/

.mobile-drawer.active::before {
    opacity: 1;
    pointer-events: auto;
}

/* drawer panel */
.mobile-drawer {
    background: #0e1317;
    padding: 20px 15px;
    box-shadow: 5px 0 20px rgba(0,0,0,0.5);
}

/* header */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.drawer-header img {
    max-width: 100px;
    width: 100%;
    height: auto;
}

.close-drawer {
    font-size: 28px;
    cursor: pointer;
}

/* menu */
.mobile-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-drawer li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 10px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

/* hide drawer on desktop */
@media (min-width: 769px) {
    .mobile-drawer {
        display: none;
    }
}

/* ================= MOBILE ================= */
/*@media (max-width: 768px) {*/
/*    body {*/
/*        padding-bottom: 70px;*/
/*    }*/
/*    .header-inner {*/
/*        display: flex;*/
/*        justify-content: space-between;*/
/*        align-items: center;*/
/*    }*/

    /* LOGO LEFT */
/*    .logo {*/
/*        order: 1;*/
/*    }*/

/*    .logo img {*/
/*        max-width: 90px;*/
/*    }*/

    /* HIDE MENUS */
/*    .left-menu,*/
/*    .right-section {*/
/*        display: none;*/
/*    }*/

    /* SHOW TOGGLE */
/*    .menu-toggle {*/
/*        display: block;*/
/*        order: 2;*/
/*        font-size: 24px;*/
/*        color: #fff;*/
/*        cursor: pointer;*/
/*    }*/

    /* REMOVE GRID BEHAVIOR */
/*    .header-inner > * {*/
/*        width: auto;*/
/*    }*/
    
/*    .header-inner {*/
/*        display: flex;*/
/*        justify-content: space-between;*/
       /* align-items: flex-start;*/ /* 🔥 important */
/*    }*/

    /* LOGO LEFT */
/*    .logo {*/
/*        order: 1;*/
/*    }*/

    /* RIGHT CONTAINER */
/*    .mobile-right {*/
/*        display: flex;*/
/*        flex-direction: column;*/
/*        align-items: flex-end;*/
/*        gap: 6px;*/
/*        order: 2;*/
/*    }*/

    /* HAMBURGER */
/*    .menu-toggle {*/
/*        font-size: 24px;*/
/*        color: #fff;*/
/*        cursor: pointer;*/
/*    }*/

    /* BUTTON BELOW */
/*    .mobile-order-btn {*/
/*        background: var(--button-color);*/
/*        color: #fff;*/
/*        padding: 6px 12px;*/
/*        font-size: 12px;*/
/*        border-radius: 4px;*/
/*        white-space: nowrap;*/
/*    }*/
.mobile-right {
    display: none;
}

.mobile-order-btn {
    display: none;
}

/* MOBILE ONLY */
@media (max-width: 768px) {

    /* FORCE HEADER LAYOUT */
    .header-inner {
        display: flex !important;
        justify-content: space-between;
        /*align-items: flex-start !important;*/
    }

    /* LOGO LEFT */
    .logo {
        order: 1;
    }

    /* RIGHT SIDE (TOGGLE + BUTTON STACK) */
    .mobile-right {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        order: 2;
    }

    /* HAMBURGER */
    .menu-toggle {
        display: block !important;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
    }

    /* 🔥 BUTTON BELOW HAMBURGER */
    .mobile-order-btn {
        display: inline-block !important;
        background: var(--button-color);
        color: #fff;
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 4px;
        white-space: nowrap;
    }
    /* HIDE DESKTOP ELEMENTS */
    .left-menu,
    .right-section {
        display: none;
    }

    .order-btn {
        display: none;
    }
}

/* ================= PREMIUM ABOUT ================= */

.about-section {
    padding: 120px 20px;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
}

/* ================= MASONRY GRID ================= */

.about-images.masonry {
    column-count: 2;
    column-gap: 20px;
}

/* ITEM */
.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;

    transform: translateY(40px);
    opacity: 1;
    transition: all 0.8s ease;
}

/* IMAGE FIT (FIXES ALL UX ISSUES) */
.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* HOVER ZOOM */
.masonry-item:hover img {
    transform: scale(1.08);
}

/* ================= MOVING BORDER ================= */

.masonry-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;

    background: linear-gradient(
        120deg,
        transparent,
        #F89823,
        transparent,
        #F89823,
        transparent
    );

    background-size: 300% 300%;

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    animation: borderFlow 4s linear infinite;
    pointer-events: none;
}

@keyframes borderFlow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* ================= SHINE EFFECT ================= */

.masonry-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.5),
        transparent
    );
    transition: 0.7s;
}

.masonry-item:hover::after {
    left: 120%;
}

/* ================= CONTENT ================= */

.about-content > * {
    transform: translateY(40px);
    opacity: 1;
    transition: all 0.8s ease;
    display: flex;
    align-items: center;
}

.about-subtitle {
    color: #F89823;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-title {
    font-size: 40px;
    margin: 10px 0;
    line-height: 1.2;
}

.about-desc {
    margin: 20px 0;
    line-height: 1.7;
    color: #ccc;
}

/* BUTTON */
.about-btn {
    display: inline-block;
    background: var(--button-color);
    padding: 12px 24px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

/* BUTTON SHINE */
.about-btn::before {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.5),
        transparent
    );
    transition: 0.6s;
}

.about-btn:hover::before {
    left: 100%;
}

/* ================= SCROLL ANIMATION ================= */

.about-section.active .masonry-item {
    transform: translateY(0);
    opacity: 1;
}

/* STAGGER */
.about-section.active .masonry-item:nth-child(1) { transition-delay: 0.2s; }
.about-section.active .masonry-item:nth-child(2) { transition-delay: 0.4s; }
.about-section.active .masonry-item:nth-child(3) { transition-delay: 0.6s; }
.about-section.active .masonry-item:nth-child(4) { transition-delay: 0.8s; }

.about-section.active .about-content > * {
    transform: translateY(0);
    opacity: 1;
}

.about-section.active .about-subtitle { transition-delay: 0.3s; }
.about-section.active .about-title { transition-delay: 0.5s; }
.about-section.active .about-desc { transition-delay: 0.7s; }
.about-section.active .about-btn { transition-delay: 0.9s; }

/* ================= FOOTER BASE ================= */
.site-footer {
    background: #0e1317;
    color: #fff;
}

/* ================= CUSTOM FOOTER ================= */
.custom-footer {
    padding: 80px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid #F89823;
}

/* GRID */
.footer-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

/* COLUMN */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* LOGO */
.footer-logo img {
    max-width: 140px;
    height: auto;
}

/* TEXT */
.footer-text {
    color: #aaa;
    line-height: 1.6;
    font-size: 14px;
}

/* ================= GALLERY ================= */

/* masonry-like grid */
.gallery-grid {
    column-count: 2;
    column-gap: 12px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
	border: solid 1px #F89823;
    padding: 5px;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ================= WIDGET FOOTER ================= */

.footer-widgets {
    padding: 40px 20px;
}

.footer-widgets-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ================= RESPONSIVE ================= */

/* MOBILE: HIDE CUSTOM FOOTER */
@media (max-width: 768px) {

    .custom-footer {
        display: none;
    }

    .footer-widgets-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-images.masonry {
        column-count: 2; /* FIX: now shows 2 images */
    }

    .about-title {
        font-size: 28px;
    }
}