/* 
   =========================================
   DJ V1RAL | EDM Brand Theme
   =========================================
*/

:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #00ffcc; /* Neon Cyan */
    --accent-hover: #00ccaa;
    
    --font-main: 'Inter', sans-serif;
    
    --nav-height: 80px;
    --transition-fast: 0.2s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

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

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4 {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
}

/* =========================================
   Buttons
   ========================================= */
.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-color);
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    transition: var(--transition-fast);
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 100px; /* Kept the same */
    width: auto;
    max-height: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-social-links {
    position: absolute;
    top: var(--nav-height);
    left: 5%; /* Align with navbar padding */
    padding-top: 20px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.hero-social-links a {
    color: #aaaaaa;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero-social-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/DJV1RAL_Fence_Grayscale.png');
    background-size: cover;
    background-position: center center;
    z-index: 0;
}

/* Dark gradient overlay for readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    max-width: 90%;
    width: 100%;
}

.hero-logo-img {
    max-width: 90vw;
    width: 600px;
    height: 120px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.hero .subtitle {
    font-size: clamp(10px, 1.8vw, 1.2rem);
    white-space: nowrap;
    color: var(--accent-color);
    letter-spacing: clamp(1px, 0.8vw, 6px);
    margin-bottom: 2rem;
    font-weight: 700;
}

/* =========================================
   Music Section
   ========================================= */
.music-section {
    padding: 100px 5%;
    background-color: var(--bg-color);
    position: relative;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.sc-players {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.player-wrapper iframe {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* =========================================
   Responsive / Mobile
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: rgba(5, 5, 5, 0.95);
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.nav-active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--text-primary);
    }

    .hero-logo-img {
        width: 100%;
        max-width: 350px;
        height: 70px;
    }
    
    .hero .subtitle {
        font-size: 0.6rem;
        letter-spacing: 2px;
        white-space: nowrap;
    }
}

/* --- About Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease;
}
.modal-overlay.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}
.about-modal-content {
    background: #000;
    width: 100vw;
    max-width: none;
    height: 100vh;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    margin: 0;
}
.about-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.about-modal-bg img {
    width: 50vw;
    height: 100vh;
    object-fit: cover;
    object-position: top center;
}
.about-modal-bg::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, transparent 30%, rgba(0,0,0,1) 50%, rgba(0,0,0,1) 100%);
    pointer-events: none;
}
.about-modal-text-overlay {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5vw;
    z-index: 2;
    width: 45%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    padding-right: 15px;
}
.about-modal-text-overlay::-webkit-scrollbar {
    width: 6px;
}
.about-modal-text-overlay::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}
.about-modal-logo {
    max-width: 350px;
    width: 100%;
    margin-bottom: 2rem;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.8));
    margin-left: 0;
}
.about-modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 4px rgba(0,0,0,0.8);
}
.about-modal-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 100;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}
.about-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .about-modal-content {
        height: 100vh;
        flex-direction: column;
        display: flex;
    }
    .about-modal-bg {
        position: relative;
        height: 40vh;
        width: 100%;
        flex-shrink: 0;
    }
    .about-modal-bg img {
        width: 100%;
        height: 100%;
        object-position: center;
    }
    .about-modal-bg::after {
        background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,1) 100%);
    }
    .about-modal-text-overlay {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        height: 60vh;
        padding: 0 20px 40px 20px;
        background: #000;
        text-shadow: none;
        max-height: none;
        overflow-y: auto;
    }
    .about-modal-logo {
        max-width: 200px;
        margin: 0 auto 1.5rem auto;
    }
    .about-modal-text-overlay h2, .about-modal-body p {
        text-shadow: none;
    }
    .about-modal-close-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* =========================================
   Contact Section & Form
   ========================================= */

.contact-section {
    padding: 60px 0;
    background-color: var(--bg-darker);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 25px;
    text-align: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-form-container {
    background-color: var(--bg-color);
    width: 100%;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}



.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 12px 15px;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 255, 204, 0.05);
}

/* Fix webkit calendar icon color in dark mode */
::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.w-100 {
    width: 100%;
}

.form-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-status:not(:empty) {
    display: block;
}

.status-success {
    background-color: rgba(0, 255, 204, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.status-error {
    background-color: rgba(255, 50, 50, 0.1);
    color: #ff4444;
    border: 1px solid #ff4444;
}

@media (max-width: 600px) {
    .contact-form-container {
        padding: 25px;
    }
    .form-row {
        flex-direction: column;
        gap: 1.2rem;
    }
}
