/* --- DJ LUQICA FERRARI & JAMES HYPE THEME --- */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Orbitron:wght@500;700;900&family=Rajdhani:wght@500;600;700;900&family=Share+Tech+Mono&family=Titillium+Web:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #050507;
    --bg-darker: #000000;
    --text-primary: #ffffff;
    --text-secondary: #8e8e93;
    
    /* Ferrari Theme Colors */
    --ferrari-red: #d1121d;
    --ferrari-red-glow: rgba(209, 18, 29, 0.4);
    --ferrari-red-dim: rgba(209, 18, 29, 0.15);
    
    /* Carbon & Chrome Metallic accents */
    --carbon-gray: #121215;
    --carbon-border: rgba(255, 255, 255, 0.08);
    --silver-chrome: #f2f2f7;
    --silver-chrome-dim: rgba(242, 242, 247, 0.4);
    
    /* Fonts */
    --font-main: 'Titillium Web', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    --font-dj: 'Orbitron', sans-serif;
}

/* --- RESET & BODY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        linear-gradient(rgba(209, 18, 29, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(209, 18, 29, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-attachment: fixed;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--ferrari-red-glow);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ferrari-red);
    box-shadow: 0 0 10px var(--ferrari-red-glow);
}

/* --- NAVIGATION --- */
.dj-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    padding: 15px 30px;
    background: rgba(18, 18, 21, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--carbon-border);
    border-radius: 6px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.dj-nav:hover {
    border-color: var(--ferrari-red);
    box-shadow: 0 0 25px rgba(209, 18, 29, 0.15);
}

/* TYPOGRAPHIC LOGO DESIGN (DJ LUQICA) */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dj {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--ferrari-red);
    color: #fff;
    padding: 2px 6px;
    border-radius: 2px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 8px var(--ferrari-red-glow);
}

.logo-name {
    font-family: var(--font-dj);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.logo-accent {
    color: var(--ferrari-red);
    text-shadow: 0 0 10px var(--ferrari-red-glow);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    padding: 6px 15px;
    border-radius: 4px;
}

.back-btn:hover {
    color: var(--ferrari-red);
    border-color: var(--ferrari-red);
    background: rgba(209, 18, 29, 0.05);
    text-shadow: 0 0 8px var(--ferrari-red-glow);
    box-shadow: 0 0 12px rgba(209, 18, 29, 0.1);
}

/* --- HERO SECTION --- */
.hero-dj {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 40px 20px;
    position: relative;
}

.visual-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
    z-index: 10;
}

.deck-wrap {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jog-wheel {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #2a2a30 0%, #151518 40%, #08080a 70%, #020203 100%);
    border-radius: 50%;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.9),
        0 0 20px var(--ferrari-red-glow),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    position: relative;
    border: 4px solid #1c1c1f;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Outer ring platter ticks animation (techy rotation) */
.jog-outer-ring {
    position: absolute;
    top: 6%; left: 6%; right: 6%; bottom: 6%;
    border-radius: 50%;
    border: 3px dashed rgba(209, 18, 29, 0.5);
    animation: spinRecord 15s linear infinite;
    box-shadow: 0 0 10px rgba(209, 18, 29, 0.15);
}

/* Center LCD display screen */
.jog-display {
    position: absolute;
    width: 48%;
    height: 48%;
    background: #020204;
    border-radius: 50%;
    border: 2px solid #1c1c1f;
    box-shadow: 
        inset 0 0 12px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(209, 18, 29, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    font-family: var(--font-mono);
}

.jog-bpm {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.jog-label {
    font-size: 0.65rem;
    color: var(--ferrari-red);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 2px;
}

.jog-status {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 6px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

.jog-status i {
    color: var(--ferrari-red);
    font-size: 0.6rem;
}

/* Equalizer overlay around vinyl */
.eq-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 1;
    --eq-radius: 135px; /* Default desktop radius */
}

.eq-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 3px;
    height: 30px;
    background: linear-gradient(to top, var(--silver-chrome), var(--ferrari-red));
    transform-origin: bottom center;
    border-radius: 3px;
    opacity: 0.7;
    /* Center the bar bottom on eq-container center, rotate it, and translate outwards */
    transform: translate(-50%, -100%) rotate(var(--angle, 0deg)) translateY(calc(-1 * var(--eq-radius)));
    transition: height 0.1s ease;
}

/* Main Titles */
.dj-title {
    font-family: var(--font-dj);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.dj-subtitle {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* Booking & Contacts Card */
.dj-card {
    background: rgba(18, 18, 21, 0.85);
    border: 1px solid var(--carbon-border);
    border-radius: 6px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Ferrari racing red trim at top */
.dj-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ferrari-red);
}

.dj-card:hover {
    border-color: rgba(209, 18, 29, 0.3);
    box-shadow: 0 12px 40px rgba(209, 18, 29, 0.08);
}

.contact-info-list {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.contact-info-list li a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-mono);
    transition: color 0.3s;
}

.contact-info-list li a:hover {
    color: var(--ferrari-red);
    text-shadow: 0 0 8px var(--ferrari-red-glow);
}

.contact-info-list li i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--ferrari-red);
    box-shadow: inset 0 0 10px rgba(209, 18, 29, 0.05);
}

/* DJ BUTTONS (Tactile racing performance style) */
.dj-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 30px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: var(--ferrari-red);
    border: 1px solid #e31824;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--ferrari-red-glow);
}

.dj-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(209, 18, 29, 0.5);
    background: #e31824;
    border-color: #ff3b46;
}

.dj-btn:active {
    transform: translateY(1px);
}

/* --- BOOKING MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: rgba(18, 18, 21, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 50px rgba(209, 18, 29, 0.25), inset 0 0 20px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ferrari-red);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--ferrari-red-glow);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--ferrari-red);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-input {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 12px 15px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    border-color: var(--ferrari-red);
    box-shadow: 0 0 10px rgba(209, 18, 29, 0.2);
}

textarea.form-input {
    resize: none;
    height: 120px;
}

.modal-btn-submit {
    width: 100%;
    padding: 14px 20px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: var(--ferrari-red);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--ferrari-red-glow);
}

.modal-btn-submit:hover {
    background: #ff1a25;
    box-shadow: 0 0 25px rgba(209, 18, 29, 0.5);
    transform: translateY(-1px);
}

/* Equalizer visual animation footer on booking card */
.dj-eq-footer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
    margin-top: 30px;
}

.eq-bar-static {
    width: 4px;
    background-color: var(--ferrari-red);
    border-radius: 2px;
    animation: danceEq 1.5s ease-in-out infinite alternate;
}

/* Animations mapping */
.eq-bar-static:nth-child(2) {
    background-color: #ff3b46;
    animation-delay: 0.2s;
    animation-duration: 1.2s;
}

.eq-bar-static:nth-child(3) {
    background-color: var(--silver-chrome);
    animation-delay: 0.4s;
    animation-duration: 1.8s;
}

.eq-bar-static:nth-child(4) {
    background-color: var(--ferrari-red);
    animation-delay: 0.1s;
    animation-duration: 1.4s;
}

.eq-bar-static:nth-child(5) {
    background-color: var(--silver-chrome);
    animation-delay: 0.3s;
    animation-duration: 1.6s;
}

/* --- ANIMATIONS KEYFRAMES --- */
@keyframes spinRecord {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseGlow {
    from {
        text-shadow: 0 0 5px var(--ferrari-red-glow);
    }
    to {
        text-shadow: 0 0 15px rgba(209, 18, 29, 0.8), 0 0 25px rgba(209, 18, 29, 0.5);
    }
}

@keyframes danceEq {
    0% {
        height: 5px;
    }
    100% {
        height: 28px;
    }
}

/* Responsive constraints */
@media (max-width: 768px) {
    .dj-nav {
        justify-content: center;
        padding: 12px 24px;
        width: 95%;
    }
    
    .back-btn {
        display: none !important;
    }
    
    .dj-title {
        font-size: clamp(2.2rem, 7vw, 4rem);
        letter-spacing: 3px;
        margin-top: 15px;
    }
    
    .deck-wrap {
        width: 200px;
        height: 200px;
    }
    
    .eq-container {
        width: 240px;
        height: 240px;
        --eq-radius: 105px; /* Mobile radius matching 200px deck-wrap */
    }

    .jog-bpm {
        font-size: 1.2rem;
    }

    .jog-label {
        font-size: 0.55rem;
    }

    .jog-status {
        font-size: 0.6rem;
        margin-top: 4px;
    }
    
    .dj-card {
        padding: 25px 15px;
    }

    .modal-card {
        padding: 30px 20px;
        width: 95%;
    }
}