/* Custom properties / Design tokens */
:root {
    --bg-dark: #05050a;
    --bg-dark-gray: #0b0b14;
    --bg-card: rgba(18, 18, 30, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover-cyan: rgba(0, 242, 254, 0.4);
    --border-hover-magenta: rgba(255, 0, 127, 0.4);
    
    --primary-cyan: #00f2fe;
    --primary-magenta: #ff007f;
    --text-primary: #ffffff;
    --text-secondary: #a2a2b5;
    
    --gradient-glow: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-magenta) 100%);
    --gradient-dark: radial-gradient(circle at top, #140d25 0%, var(--bg-dark) 80%);
    
    --shadow-cyan: 0 0 15px rgba(0, 242, 254, 0.5);
    --shadow-magenta: 0 0 15px rgba(255, 0, 127, 0.5);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background-image: var(--gradient-dark);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1f1f33;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan);
}

/* Typography & Accent Text */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

p {
    font-weight: 300;
}

.highlight {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 0, 127, 0.2);
}

.highlight-cyan {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.highlight-magenta {
    color: var(--primary-magenta);
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

/* Header & Social Navigation */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-dj {
    color: var(--primary-cyan);
    text-shadow: var(--shadow-cyan);
}

.logo-pablo {
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-cyan);
    transform: translateY(-3px);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    background: url('assets/hero-bg.png') no-repeat center center/cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 5, 10, 0.4) 0%, rgba(5, 5, 10, 0.95) 90%),
                linear-gradient(0deg, var(--bg-dark) 0%, rgba(5, 5, 10, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: 900px;
    text-align: center;
    z-index: 2;
    padding-top: 5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-cyan);
    border: 1px solid var(--primary-cyan);
    border-radius: 50px;
    background: rgba(0, 242, 254, 0.05);
    margin-bottom: 2rem;
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.5);
    box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1);
    animation: pulse-border 2s infinite alternate;
}

@keyframes pulse-border {
    0% { border-color: rgba(0, 242, 254, 0.4); box-shadow: 0 0 5px rgba(0, 242, 254, 0.1); }
    100% { border-color: rgba(0, 242, 254, 1); box-shadow: 0 0 15px rgba(0, 242, 254, 0.3); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* Sound Wave Animation in Hero */
.sound-wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    z-index: 2;
    opacity: 0.7;
}

.sound-wave .bar {
    width: 4px;
    height: 10px;
    background: var(--gradient-glow);
    border-radius: 10px;
    animation: bounce 1.2s ease-in-out infinite alternate;
}

.sound-wave .bar:nth-child(2) { animation-delay: 0.15s; height: 18px; }
.sound-wave .bar:nth-child(3) { animation-delay: 0.3s; height: 28px; }
.sound-wave .bar:nth-child(4) { animation-delay: 0.45s; height: 40px; }
.sound-wave .bar:nth-child(5) { animation-delay: 0.6s; height: 50px; }
.sound-wave .bar:nth-child(6) { animation-delay: 0.45s; height: 40px; }
.sound-wave .bar:nth-child(7) { animation-delay: 0.3s; height: 28px; }
.sound-wave .bar:nth-child(8) { animation-delay: 0.15s; height: 18px; }
.sound-wave .bar:nth-child(9) { animation-delay: 0.05s; height: 12px; }
.sound-wave .bar:nth-child(10) { animation-delay: 0.25s; height: 22px; }

@keyframes bounce {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1.1); }
}

/* Button System */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 2px;
    padding: 1.1rem 2.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gradient-glow);
    border: none;
    color: #000000;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5), 0 0 10px rgba(255, 0, 127, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-magenta);
    color: #ffffff;
    box-shadow: var(--shadow-magenta);
    transform: translateY(-3px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Stats Bar */
.stats-bar {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(11, 11, 20, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.stat-item {
    text-align: center;
    flex: 1 1 200px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-magenta);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Layout Sections */
.section {
    padding: 7rem 5% 6rem;
    overflow: hidden;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title.text-left {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Services Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-cyan);
    transition: all 0.4s ease;
}

.service-card:nth-child(2) .service-icon-wrapper {
    background: rgba(255, 0, 127, 0.06);
    border-color: rgba(255, 0, 127, 0.2);
    color: var(--primary-magenta);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover-cyan);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 15px rgba(0, 242, 254, 0.1);
    background: rgba(22, 22, 38, 0.8);
}

.service-card:nth-child(2):hover {
    border-color: var(--border-hover-magenta);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 15px rgba(255, 0, 127, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
    box-shadow: var(--shadow-cyan);
    background: var(--primary-cyan);
    color: #000000;
}

.service-card:nth-child(2):hover .service-icon-wrapper {
    box-shadow: var(--shadow-magenta);
    background: var(--primary-magenta);
    color: #ffffff;
}

/* Bio Section Layout */
.bio-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 4rem;
}

.bio-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.bio-content .btn {
    margin-top: 1rem;
}

.bio-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Spinning Vinyl animation */
.vinyl-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #222 20%, #111 60%, #000 100%);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 
                0 0 30px rgba(255, 0, 127, 0.2), 
                inset 0 0 20px rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vinyl-disc {
    width: 96%;
    height: 96%;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle,
        #111,
        #111 2px,
        #222 3px,
        #222 5px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 10s linear infinite;
}

.vinyl-center {
    width: 32%;
    height: 32%;
    background: var(--gradient-glow);
    border-radius: 50%;
    border: 3px solid #000000;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
    position: relative;
}

.vinyl-center::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: #000000;
    border-radius: 50%;
}

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

.glow-sphere {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--gradient-glow);
    filter: blur(80px);
    opacity: 0.25;
    z-index: -1;
    border-radius: 50%;
}

/* Testimonials Grid & Cards */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    line-height: 1.7;
}

.testimonial-text::before {
    content: '“';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(255, 0, 127, 0.15);
    position: absolute;
    top: -2.5rem;
    left: -1rem;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.author-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-cyan);
}

.author-event {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-card:hover {
    border-color: var(--border-hover-magenta);
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Footer Section */
.footer {
    background: #030307;
    border-top: 1px solid var(--border-color);
    padding: 5rem 5% 2.5rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-social-icon {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    color: var(--primary-cyan);
    border-bottom: 1px solid var(--primary-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Modal Booking Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 3, 7, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1rem;
}

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

.modal-card {
    background: rgba(13, 13, 25, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8), 0 0 30px rgba(0, 242, 254, 0.15);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: var(--primary-magenta);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Modal Form Styles */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.9rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.form-group select option {
    background: #0f0f1d;
    color: var(--text-primary);
}

.form-group textarea {
    resize: none;
}

/* Success State for Modal */
.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.15);
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    box-shadow: var(--shadow-cyan);
    animation: scale-up-bounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scale-up-bounce {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-message h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

.success-message p {
    color: var(--text-secondary);
    max-width: 400px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* CSS Scroll Reveal (Simple fade-in class triggers via JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1.2s forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }
.fade-in:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInAnimation {
    to {
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .bio-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .section-title.text-left {
        text-align: center;
    }
    .vinyl-wrapper {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem 5%;
    }
    .stats-bar {
        padding: 1.5rem 1rem;
        width: 92%;
    }
    .stat-item {
        flex: 1 1 120px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .modal-card {
        padding: 2.5rem 1.8rem;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
    }
    .hero-content {
        padding-top: 7rem;
    }
    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .footer-socials {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .footer-social-icon {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}
