/* KOPIZZA - Pro Ultra-HUD Design System */

:root {
    --bg-color: #030303;
    --primary: #FFD700;    /* Kopizza Logo Yellow */
    --secondary: #FFD700;  /* Replaced Orange with Uniform Logo Yellow */
    --accent: #00f3ff;     /* Cyber Cyan */
    --text-main: #ffffff;
    --text-dim: #ffffff;
    --hud-border: 1px solid rgba(255, 215, 0, 0.15);
    --neon-glow: 0 0 15px rgba(255, 215, 0, 0.4);
    --accent-glow: 0 0 15px rgba(0, 243, 255, 0.3);
    --circuit-bg: url('../img/vibe/circuit_bg.png');
    --honeycomb: url('../img/vibe/honeycomb_overlay.png');
}

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

body {
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(rgba(3, 3, 3, 0.75), rgba(3, 3, 3, 0.75)),
        var(--circuit-bg);
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

p {
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.7;
}

/* Honeycomb Corner Accents */
body::before, body::after {
    content: '';
    position: fixed;
    width: 300px;
    height: 300px;
    background-image: var(--honeycomb);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

body::before { top: 0; left: 0; }
body::after { bottom: 0; right: 0; transform: rotate(180deg); }

h1, h2, h3, .nav-link, .hud-title {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.glow-text {
    color: var(--primary);
    text-shadow: var(--neon-glow);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- HUD COMPONENT SYSTEM --- */

/* Tactical Brackets Panel */
.hud-panel {
    position: relative;
    background: rgba(10, 10, 10, 0.6);
    border: var(--hud-border);
    padding: 40px;
    backdrop-filter: blur(8px);
    margin-bottom: 40px;
}

.hud-panel::before, .hud-panel::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
}

/* Top-Left and Bottom-Right Brackets */
.hud-panel::before {
    top: -2px; left: -2px;
    border-top: 3px solid var(--primary);
    border-left: 3px solid var(--primary);
}

.hud-panel::after {
    bottom: -2px; right: -2px;
    border-bottom: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
}

/* Corner Brackets for Cards */
.hud-card {
    position: relative;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.1);
    padding: 25px;
    transition: all 0.3s ease;
}

.hud-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.hud-card::before, .hud-card::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    opacity: 0;
    transition: 0.3s;
}

.hud-card::before {
    top: 5px; left: 5px;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
}

.hud-card::after {
    bottom: 5px; right: 5px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

.hud-card:hover::before, .hud-card:hover::after {
    opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--primary); box-shadow: 0 0 10px var(--primary); }

/* --- TYPOGRAPHY UTILS --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    width: 100%;
}

/* --- SECTIONS --- */

section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 3, 3, 0.9);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    padding: 15px 0;
}

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

/* Hamburger Menu Base */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: 0.3s;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    transition: 0.3s;
}

.nav-link:hover, .nav-link.active { 
    color: #fff; 
    text-shadow: 0 0 10px #fff; 
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.nav-logo {
    width: 150px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    transition: 0.3s ease;
}

.hero-btns {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 85px);
    padding: 0;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 50px;
    align-items: flex-start;
}

.hero-content, .hero-visual {
    display: flex;
}

.hero-content .hud-panel, .hero-visual .hud-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-main-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: none;
    padding: 0;
    background: transparent;
}

/* Highlights Section */
.menu-category-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 60px auto 30px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 15px;
    text-align: center;
    width: fit-content;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Staggered Scroll Animation for Desktop and Mobile Grid */
section .highlight-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.highlights-grid.visible .highlight-card {
    opacity: 1;
    transform: translateY(0);
}
.highlights-grid.visible .highlight-card:nth-child(1) { transition-delay: 0.15s; }
.highlights-grid.visible .highlight-card:nth-child(2) { transition-delay: 0.35s; }
.highlights-grid.visible .highlight-card:nth-child(3) { transition-delay: 0.55s; }
.highlights-grid.visible .highlight-card:nth-child(4) { transition-delay: 0.75s; }

.highlight-card {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.highlight-card h3 {
    font-size: 1.1rem;
    margin: 10px 0 5px;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-card .btn-cta {
    display: block;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
}

.h-img-wrap {
    width: 100%;
    height: 220px;
    margin: 0 auto 20px;
    border-radius: 4px;
    overflow: hidden;
}

.h-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.4s ease;
}

.highlight-card:hover .h-img-wrap img {
    transform: scale(1.05);
}

.price-tag {
    color: var(--primary);
    text-shadow: var(--neon-glow);
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    margin-top: auto;
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    background: rgba(255, 215, 0, 0.02);
}

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

/* Concept Section Rows */
#concept {
    padding-bottom: 20px;
}
#highlights {
    padding-top: 40px;
}
.concept-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}
.concept-row:last-child {
    margin-bottom: 0;
}
.concept-row.reverse {
    flex-direction: row-reverse;
}
.concept-text {
    flex: 0 0 30%;
}
.concept-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
}
.concept-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 350px;
    border-radius: 4px;
}

/* Sports/Gaming Hybrid */
.hybrid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* UI Elements */
.sc-list { list-style: none; }
.sc-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
}
.sc-list li::before {
    content: '▶';
    color: var(--primary);
    margin-right: 15px;
    font-size: 0.7rem;
}

.live-indicator {
    color: #ff3c3c;
    font-family: 'Orbitron';
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.dot.blink {
    width: 8px; height: 8px;
    background: #ff3c3c;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff3c3c;
    animation: blink 1s infinite alternate;
}

@keyframes blink { from { opacity: 1; } to { opacity: 0.3; } }

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    background: #000;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.social-links a {
    color: var(--text-dim);
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover { color: var(--primary); }

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 14px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    font-family: 'Orbitron';
    box-shadow: var(--neon-glow);
}

.btn-secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 14px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Orbitron';
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    text-align: left;
}

/* DAFTAR TURNAMEN Floating Tactical Button */
.daftar-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--secondary), #ff3c3c);
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
    z-index: 9999;
    transition: 0.3s;
    border: 1px solid rgba(255, 215, 0, 0.3);
}
.daftar-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.6);
}

.order-float-mobile {
    display: none; /* hidden on non-mobile */
}

/* Responsive Desktop / Tablet */
@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    .hero-section {
        min-height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .hero-grid, .about-grid, .hybrid-grid, .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .concept-row, .concept-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .concept-text { margin-bottom: 10px; }
    .concept-text svg { margin: 0 auto; display: block; }

    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-description {
        margin: 0 auto 30px;
    }
    .hero-title { font-size: 2.5rem; }
    
    .nav-container {
        padding-bottom: 5px;
    }
    
    .hamburger {
        display: flex; /* Show Hamburger */
    }
    
    nav.nav-menu {
        display: none; /* Hide default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
        padding: 20px 0;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }
    
    nav.nav-menu.active {
        display: block;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .nav-logo {
        width: 110px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        display: block;
    }
}

/* Responsive Mobile */
@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }
    .hero-section {
        padding-top: 10px;
    }
    .container {
        padding: 0 10px;
    }
    .nav-logo {
        width: 90px;
    }
    .nav-links {
        gap: 10px;
    }
    .nav-link { font-size: 0.75rem; }
    .btn-cta {
        padding: 8px 15px;
        font-size: 0.75rem;
    }
    .hero-title { font-size: 2rem; }
    .hero-description { font-size: 0.95rem; margin-bottom: 20px;}

    .order-float-mobile {
        display: flex;
        position: fixed;
        bottom: 25px;
        left: 20px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: #000;
        padding: 10px 15px;
        border-radius: 50px;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        font-weight: 800;
        font-family: 'Orbitron';
        font-size: 0.8rem;
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
        z-index: 9999;
    }
    .daftar-float {
        padding: 10px 15px; /* scale down on mobile to fit both */
        font-size: 0.8rem;
        right: 20px;
    }

    .hud-panel {
        padding: 20px;
    }

    /* Ultra Compact 4x4 Mobile Menu */
    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .highlights-grid .hud-card {
        padding: 5px;
        border-width: 1px;
    }
    .highlight-card h3 {
        font-size: 0.55rem;
        min-height: 20px;
        margin: 5px 0 2px;
        line-height: 1.1;
    }
    .price-tag {
        font-size: 0.6rem;
        margin-bottom: 5px;
        margin-top: auto;
    }
    .highlight-card .btn-cta {
        padding: 5px 2px;
        font-size: 0.45rem;
        border-radius: 2px;
    }
    .h-img-wrap {
        height: 60px;
        margin-bottom: 5px;
        border-radius: 2px;
    }
    .menu-category-title {
        font-size: 1.2rem;
        margin: 30px 0 10px;
    }
}
