/* ===== CUSTOM PROPERTIES ===== */
:root {
    --orange: #E8830C;
    --orange-light: #f5a623;
    --black: #1a1a1a;
    --dark: #111111;
    --gray-900: #222222;
    --gray-800: #333333;
    --gray-600: #666666;
    --gray-400: #999999;
    --gray-200: #e0e0e0;
    --white: #ffffff;
    --bamboo: #c8935a;
    --nav-height: 70px;
    --section-padding: 100px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--white);
    background: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

.section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--gray-400);
    max-width: 560px;
    margin: 0 auto 64px;
}

/* ===== ANIMATIONS ===== */
.animate-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-400);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../Images/Bar-Gallery-12.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(17, 17, 17, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-logo {
    max-width: 400px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-200);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--orange);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ===== FEATURES ===== */
.features {
    background: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(232, 131, 12, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--orange);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ===== DESIGN ===== */
.design {
    background: var(--black);
}

.design-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.design-block:last-child {
    margin-bottom: 0;
}

.design-block.reverse {
    direction: rtl;
}

.design-block.reverse > * {
    direction: ltr;
}

.design-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.design-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.design-block:hover .design-image img {
    transform: scale(1.03);
}

.design-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--orange);
}

.design-text p {
    font-size: 1.05rem;
    color: var(--gray-400);
    line-height: 1.8;
}

/* ===== APP SECTION ===== */
.app-section {
    background: var(--dark);
}

.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.app-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.app-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(232, 131, 12, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    padding: 10px;
}

.app-feature-icon svg {
    width: 100%;
    height: 100%;
}

.app-feature h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.app-feature p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* Tablet Mockup */
.tablet-mockup {
    display: flex;
    justify-content: center;
}

.tablet-frame {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 3;
    background: var(--gray-900);
    border-radius: 20px;
    padding: 16px;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.08),
        0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
}

.tablet-frame::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.tablet-screen {
    width: 100%;
    height: 100%;
    background: var(--gray-800);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tablet Carousel */
.tablet-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.tablet-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.tablet-slide.active {
    opacity: 1;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-600);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background: var(--orange);
    transform: scale(1.3);
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

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

.gallery-item:hover::after {
    background: rgba(232, 131, 12, 0.15);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 2.5rem;
    padding: 16px;
    transition: color 0.3s ease, transform 0.2s ease;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--orange);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 24px;
    font-size: 3rem;
}

.lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    height: 60px;
    margin: 0 auto 16px;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.footer-links {
    margin-bottom: 32px;
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--orange);
    font-size: 1.05rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .design-block {
        gap: 40px;
    }

    .design-image img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 32px 20px;
    }

    .design-block,
    .design-block.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        direction: ltr;
    }

    .design-image img {
        height: 240px;
    }

    .design-text h3 {
        font-size: 1.4rem;
    }

    .app-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tablet-frame {
        max-width: 360px;
    }

    .hero-logo {
        max-width: 280px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 2.5rem;
    }

    .section-subtitle {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PRIVACY POLICY PAGE ===== */
.privacy-page {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: var(--section-padding);
    min-height: 100vh;
}

.privacy-page h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 8px;
}

.privacy-date {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.privacy-page h2 {
    font-size: 1.3rem;
    color: var(--orange);
    margin-top: 36px;
    margin-bottom: 12px;
}

.privacy-page p {
    color: var(--gray-200);
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 800px;
}

.privacy-page ul {
    color: var(--gray-200);
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 24px;
    max-width: 800px;
}

.privacy-page ul li {
    margin-bottom: 8px;
}

.privacy-page a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-page a:hover {
    color: var(--orange-light);
}
