/* Part 1: Variables and Base Theme from index.css */
:root {
    /* Dark theme optimized for audiovisual/event production */
    --background: 225 25% 5%;
    --foreground: 210 40% 98%;

    --card: 225 25% 8%;
    --card-foreground: 210 40% 98%;

    /* Primary: Electric amber/gold - brand color */
    --primary: 42 95% 55%;
    --primary-foreground: 225 25% 5%;

    /* Secondary: Cool blue tech accent */
    --secondary: 200 100% 50%;
    --secondary-foreground: 225 25% 5%;

    --muted: 225 20% 15%;
    --text-muted: hsl(215, 20%, 55%);
    /* Adapted for standard CSS usage */

    --accent: 280 80% 60%;

    --border: 225 20% 18%;

    /* Custom properties for the event production theme */
    --glow-primary: 42 95% 55%;
    --glow-secondary: 200 100% 50%;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(225, 25%, 5%, 0.95) 0%, hsl(225, 25%, 10%, 0.85) 100%);
    --gradient-card: linear-gradient(180deg, hsl(225, 25%, 10%) 0%, hsl(225, 25%, 6%) 100%);
    --gradient-text: linear-gradient(135deg, hsl(42, 95%, 60%) 0%, hsl(42, 95%, 45%) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities from index.css converted to standard CSS */
.glow-primary {
    box-shadow: 0 0 40px hsl(var(--glow-primary) / 0.4),
        0 0 80px hsl(var(--glow-primary) / 0.2);
}

.text-glow {
    text-shadow: 0 0 20px hsl(var(--glow-primary) / 0.6);
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.border-glow {
    position: relative;
}

/* Utility Classes for Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Components adapted to new theme */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    /* More angular for tech feel */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 0 20px hsl(var(--primary) / 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 40px hsl(var(--primary) / 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid hsl(var(--primary));
    color: hsl(var(--primary));
}

.btn-outline:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 0 20px hsl(var(--primary) / 0.4);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    /* Bebas is condensed, needs larger size */
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s;
    background: hsl(var(--background) / 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-family: 'Bebas Neue', sans-serif;
    color: hsl(var(--foreground));
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 2px;
}

.logo span {
    color: hsl(var(--primary));
    text-shadow: 0 0 15px hsl(var(--primary) / 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: hsl(var(--primary));
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    /* Noise overlay simulated */
    background-color: hsl(var(--background));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        var(--gradient-hero),
        url('../img/hero-event-DUvYFshM.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: 900px;
    z-index: 2;
}

.hero h1 {
    font-size: 5.5rem;
    /* Larger for Bebas */
    line-height: 0.9;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

.hero h1 span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    filter: drop-shadow(0 0 20px hsl(var(--primary) / 0.3));
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: hsl(var(--background));
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 100%;
    gap: 30px;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border));
    padding: 40px 30px;
    border-radius: 12px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    padding: 0;
    /* Removing padding to allow full-width image */
    display: flex;
    flex-direction: column;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: hsl(var(--primary) / 0.5);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.service-icon {
    font-size: 3rem;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px hsl(var(--primary) / 0.3);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
}

/* About Section (New styles integrated) */
.about {
    padding: 100px 0;
    background: hsl(225, 25%, 3%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 2.5rem;
    /* Updated for Bebas */
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
    line-height: 1;
}

.about-text h2.section-title {
    /* Override for specific placement */
    text-align: left;
    font-size: 1.5rem;
    color: hsl(var(--primary));
    letter-spacing: 2px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.about-features li {
    margin-bottom: 15px;
    color: hsl(var(--foreground));
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.about-features li i {
    color: hsl(var(--primary));
}

.about-cards {
    display: grid;
    gap: 20px;
}

.about-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    padding: 25px;
    border-left: 3px solid hsl(var(--primary));
    border-radius: 8px;
    /* Slightly rounded */
}

.about-card h4 {
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.about-card p {
    color: var(--text-muted);
}

/* Portfolio/Gallery */
.portfolio {
    padding: 100px 0;
    background-color: hsl(var(--background));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s;
}

.gallery-item:hover {
    border-color: hsl(var(--primary));
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, hsl(var(--background)), transparent);
    transform: translateY(100%);
    transition: 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: hsl(var(--primary));
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(hsl(var(--background) / 0.9), hsl(var(--background) / 0.9)), url('https://images.unsplash.com/photo-1514525253440-b393452e8d26?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item h2 {
    font-size: 4rem;
    color: hsl(var(--primary));
    margin-bottom: 5px;
    text-shadow: 0 0 20px hsl(var(--primary) / 0.4);
}

.stat-item p {
    font-size: 1.1rem;
    color: hsl(var(--foreground));
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: hsl(var(--background));
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
    line-height: 1;
}

.contact-info span {
    color: hsl(var(--primary));
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.2);
    border-radius: 8px;
    /* Squared */
    display: flex;
    justify-content: center;
    align-items: center;
    color: hsl(var(--primary));
    font-size: 1.2rem;
    margin-right: 20px;
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: hsl(var(--foreground));
}

.info-text p {
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

.contact-form {
    background: hsl(var(--card));
    padding: 40px;
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
}

.form-control {
    width: 100%;
    padding: 15px;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: 6px;
    color: hsl(var(--foreground));
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: hsl(225, 25%, 3%);
    padding: 80px 0 30px;
    border-top: 1px solid hsl(var(--border));
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: hsl(var(--foreground));
    margin-bottom: 0;
    display: block;
}

.social-links {
    display: flex;
    gap: 10px;
    /* Space between icons */
}


.footer-logo img {
    height: 60px;
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    transition: 0.3s;
    color: var(--text-muted);
}

.social-link:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

.footer-links h4 {
    color: hsl(var(--foreground));
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: hsl(var(--primary));
    padding-left: 5px;
}

.copyright {
    padding-top: 30px;
    border-top: 1px solid hsl(var(--border));
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

.mobile-toggle {
    color: hsl(var(--foreground));
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1.0s;
}

/* Pantallas Panorámicas y Computador (Boxed Layout) */
@media (min-width: 1024px) {
    html {
        background-color: #020204;
        /* Darker background for the "frame" */
    }

    body {
        margin: 0 5%;
        position: relative;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
        /* Depth effect */
        border-left: 1px solid hsl(var(--border));
        border-right: 1px solid hsl(var(--border));
    }

    header {
        width: 90%;
        /* Matches the 5% margin on each side (100% - 10%) */
        left: 5%;
        border-radius: 0 0 10px 10px;
        /* Slight rounded corners for the boxed feel */
    }
}