:root {
    --bg-primary: #050505;
    --bg-secondary: #0f0f0f;
    --bg-accent: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent: #d4af37;
    --accent-dark: #aa8c2c;
    --accent-glow: rgba(212, 175, 55, 0.25);
    --surface-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --nav-height: 70px;
    --top-header-height: 72px;
    --content-max-width: 1600px;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* --- APP LAYOUT --- */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* --- TOP HEADER (Desktop & Mobile) --- */
.top-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.top-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 30px;
    height: var(--top-header-height);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-logo {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    white-space: nowrap;
}

.header-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding-left: 14px;
    border-left: 1px solid var(--border-glass);
    white-space: nowrap;
}

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


.header-right {
    display: flex;
    align-items: center;
}

/* Top Navigation */
.top-nav {
    display: flex;
    gap: 6px;
}

.top-nav-item {
    background: none;
    border: none;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.top-nav-item:hover {
    background: var(--surface-glass);
    color: #fff;
}

.top-nav-item.active {
    background: var(--surface-glass);
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.icon-btn {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1rem;
    flex-shrink: 0;
}

.icon-btn:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* --- CONTENT AREA (Full Width) --- */
.content {
    padding: 28px 30px;
    max-width: var(--content-max-width);
    width: 100%;
    margin: 0 auto;
    flex-grow: 1;
}

/* --- HOME VIEW --- */
.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Zone Grid - 4 columns full width */
.zone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.zone-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.zone-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.zone-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

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

.zone-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,1) 5%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.zone-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-top: 4px;
}

.zone-count {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- ZONE VIEW --- */
.zone-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-top: 8px;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .zone-description {
        font-size: 1.05rem;
        margin-top: 6px;
        margin-bottom: 30px;
    }
}

.brand-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
}

.brand-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.brand-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.brand-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.brand-card:hover .brand-image img {
    transform: scale(1.08);
}

.brand-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.brand-info {
    padding: 18px 22px;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.brand-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- DETAIL VIEW (PC Standard) --- */
.view-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 44px;
    align-items: start;
}

.detail-media {
    position: sticky;
    top: 100px;
}

.detail-hero {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-glass);
}

.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-glass);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}

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

.detail-content {
    padding-top: 10px;
}

.detail-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 18px;
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.detail-meta-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.detail-meta-row span i {
    color: var(--accent);
    margin-right: 8px;
}

.detail-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
}

.detail-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.detail-info-item i {
    color: var(--accent);
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.detail-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
}

.detail-actions {
    display: flex;
    gap: 16px;
}

.cta-btn {
    height: 60px;
    padding: 0 34px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px var(--accent-glow);
    background: #fff;
}

.btn-secondary {
    background: var(--surface-glass);
    color: #fff;
    border: 1px solid var(--border-glass);
}

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

/* --- FOOTER --- */
.site-footer {
    border-top: 1px solid var(--border-glass);
    background: var(--bg-secondary);
    padding: 22px 30px;
    margin-top: auto;
}

.footer-inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.footer-inner .logo-accent {
    color: var(--accent);
    font-weight: 600;
}

/* --- BOTTOM NAV (Mobile Only) --- */
.bottom-nav {
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(25px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--border-glass);
    z-index: 1000;
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 60px;
    height: 50px;
}

.nav-item.active {
    color: var(--accent);
}

/* --- RESPONSIVE --- */

/* Tablet: 2 columns */
@media (max-width: 1100px) {
    .zone-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 column, hide top nav, show bottom nav */
@media (max-width: 768px) {
    .top-header-inner {
        padding: 0 16px;
        height: 64px;
    }
    
    .header-logo {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .header-title {
        font-size: 1.05rem;
    }
    
    .top-nav {
        display: none;
    }
    
    .content {
        padding: 16px 16px 100px;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 16px;
        padding-bottom: 8px;
    }
    
    .section-title::after {
        width: 32px;
        height: 2px;
    }
    
    .zone-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .zone-card {
        aspect-ratio: 4/3;
        border-radius: var(--radius-md);
    }
    
    .zone-overlay {
        padding: 18px;
    }
    
    .zone-name {
        font-size: 1.6rem;
    }
    
    .zone-count {
        font-size: 0.85rem;
    }
    
    .brand-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .brand-image {
        height: 220px;
    }
    
    .brand-info {
        padding: 16px 20px;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .brand-meta {
        font-size: 1rem;
    }
    
    .view-detail {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .detail-media {
        position: static;
    }
    
    .detail-hero {
        height: 280px;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
        border-radius: 0;
        margin-bottom: 16px;
    }
    
    .gallery-grid {
        gap: 8px;
    }
    
    .detail-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .detail-meta-row {
        gap: 14px;
        font-size: 1rem;
        margin-bottom: 14px;
    }
    
    .detail-info-grid {
        padding: 16px;
        margin-bottom: 18px;
        gap: 10px;
    }
    
    .detail-info-item {
        font-size: 1rem;
    }
    
    .detail-desc {
        font-size: 1.05rem;
        margin-bottom: 28px;
        line-height: 1.7;
    }
    
    .detail-actions {
        position: fixed;
        bottom: calc(var(--nav-height) + 10px);
        left: 16px;
        right: 16px;
        z-index: 100;
        background: rgba(10, 10, 10, 0.8);
        backdrop-filter: blur(10px);
        padding: 12px;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-glass);
        gap: 10px;
    }
    
    .cta-btn {
        height: 54px;
        font-size: 1rem;
        padding: 0 16px;
        gap: 8px;
    }
    
    .site-footer {
        padding: 22px 16px 90px;
    }
    
    .bottom-nav {
        display: flex;
    }
    
    .nav-item {
        font-size: 1.6rem;
        width: 64px;
        height: 54px;
    }
}

/* Desktop: hide bottom nav, show top nav */
@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
}

/* Loader */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--surface-glass);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.5, 0.1, 0.1, 0.5) infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* --- VIDEO GALLERY ITEMS --- */
.video-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.video-thumb-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    transition: var(--transition-fast);
}

.video-play-icon i {
    font-size: 1.8rem;
    color: #fff;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.8);
    transition: var(--transition-fast);
}

.gallery-item:hover .video-play-icon i {
    transform: scale(1.15);
    background: var(--accent);
}

/* --- LIGHTBOX --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

.lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-video {
    max-width: 100%;
    max-height: 95vh;
    height: 95vh;
    border-radius: 8px;
    width: auto;
    aspect-ratio: 9/16;
}

@media (max-width: 768px) {
    .lightbox-video {
        width: 100%;
        height: auto;
        max-height: 100vh;
        aspect-ratio: 9/16;
    }
    
    .lightbox-content {
        width: 100%;
        max-width: 100vw;
    }
}
