/* 
    Taxi Burger Premium Design System
    Theme: Luxury Modern
    Color Palette: White, Light Gray, Gold
*/

:root {
    --primary: #ffffff;
    --secondary: #f8f8f8;
    --accent: #c59d5f;
    --accent-dark: #a88a4d;
    --text: #111111;
    --subtext: #777777;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --border: rgba(0, 0, 0, 0.05);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial;
    /* Lenis handles this */
}

body {
    font-family: var(--font-body);
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 100px 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.section-tag {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: clamp(20px, 4vw, 40px);
}

.section-title span {
    color: var(--accent);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    font-size: 2rem;
    margin-bottom: 20px;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: #eee;
    overflow: hidden;
}

.loader-bar span {
    display: block;
    width: 0%;
    height: 100%;
    background: var(--accent);
    transition: width 0.5s ease;
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
    display: none;
    /* Hidden on mobile */
}

@media (min-width: 1024px) {
    .custom-cursor {
        display: block;
    }
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.logo span {
    color: var(--accent);
}

.logo:hover {
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: var(--primary) !important;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(197, 157, 95, 0.2);
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 157, 95, 0.3);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    /* Above mobile menu overlay */
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition);
}

.burger-menu:hover {
    background: rgba(0, 0, 0, 0.05);
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 100px;
    /* More padding for mobile/desktop flexibility */
}

#three-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-title span {
    color: var(--accent);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #e1c08a);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Floating Cards (Added for Wow Factor) */
.hero-glass-card {
    position: absolute;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: floating-slight 4s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
}

.hero-glass-card i {
    color: var(--accent);
    font-size: 1.5rem;
}

.hero-glass-card span {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

@keyframes floating-slight {

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

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

.hero-description {
    font-size: 1.1rem;
    color: var(--subtext);
    max-width: 500px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 157, 95, 0.3);
}

.btn-secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--primary);
}

.hero-image-box {
    position: relative;
}

.hero-image-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(197, 157, 95, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.floating-img {
    width: 100%;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.15));
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {

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

    50% {
        transform: translateY(-30px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--subtext);
    font-weight: 500;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    animation: mouse-scroll 1.5s infinite;
}

@keyframes mouse-scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.counter-item h4 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.counter-item span {
    font-size: 0.9rem;
    color: var(--subtext);
    text-transform: uppercase;
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-card {
    background: var(--secondary);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border);
    text-align: center;
}

.menu-card:hover {
    background: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-img img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.menu-card:hover .card-img img {
    transform: scale(1.1) rotate(5deg);
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.card-content p {
    color: var(--subtext);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price {
    display: block;
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 20px;
}

.order-btn {
    display: block;
    padding: 12px;
    background: #000;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
}

/* Offers Section */
.offers-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    cursor: grab;
}

.offers-slider::-webkit-scrollbar {
    display: none;
}

.offer-card {
    min-width: 350px;
    background: #111;
    color: var(--primary);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: center;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.offer-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.offer-card p {
    color: #888;
    margin-bottom: 30px;
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.location-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.location-info i {
    color: var(--accent);
}

.location-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Footer */
footer {
    background: var(--secondary);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 50px;
}

.footer-about p {
    margin-top: 20px;
    color: var(--subtext);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c59d5f;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* FAB */
.fab-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1001;
    align-items: flex-end;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
}

.fab.whatsapp {
    background: #25d366;
}

.fab.call {
    background: #007bff;
}

.fab.order {
    width: auto;
    padding: 0 25px;
    border-radius: 50px;
    background: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero .container {
        gap: 30px;
    }
}

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

    .navbar .nav-links {
        display: none;
        /* Mobile menu implementation in JS */
    }

    .burger-menu {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        padding-top: 0;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        order: 2;
        padding-top: 20px;
    }

    .hero-image-box {
        order: 1;
        margin-bottom: 40px;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    .hero-glass-card {
        padding: 10px 15px;
        gap: 8px;
    }

    .hero-glass-card i {
        font-size: 1.1rem;
    }

    .hero-glass-card span {
        font-size: 0.75rem;
    }

    .card-1 {
        top: 10%;
        right: -10%;
    }

    .card-2 {
        bottom: 10%;
        left: -10%;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
        padding: 18px 30px;
        /* Larger touch target */
    }

    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        opacity: 0;
        /* JS will animate this */
        transform: translateY(-50px);
    }

    .nav-links.active li {
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-links.active li a {
        font-size: 2rem;
        font-family: var(--font-heading);
        font-weight: 700;
        padding: 10px 0;
        display: block;
    }

    .burger-menu.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger-menu.open span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .about-grid,
    .menu-grid,
    .location-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero .container {
        padding-top: 80px;
        gap: 20px;
    }

    .about-text {
        text-align: center;
    }

    .counters {
        justify-content: center;
    }

    .offers-slider {
        padding-left: 0;
    }

    .offer-card {
        min-width: 90vw;
        padding: 30px;
    }
}

/* Additional Sections Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item img {
    transition: var(--transition);
}

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

.reviews-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.review-card {
    background: var(--secondary);
    padding: 40px;
    border-radius: 20px;
}

.contact-form {
    background: var(--secondary);
    padding: clamp(25px, 5vw, 50px);
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(197, 157, 95, 0.1);
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}