/* Reset and base styles moved to base.css */
body {
    background-color: var(--dark);
    color: var(--light);
}

a {
    color: var(--light);
}

/* Header - Override for Dark Mode */
header {
    background-color: rgba(0, 0, 0, 0.95);
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.98);
}

.logo:after {
    background-color: var(--light);
}

.menu-toggle {
    color: var(--light);
}

.nav-menu {
    background-color: rgba(0, 0, 0, 0.98);
}

nav ul li a:after {
    background-color: var(--light);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--light);
}

.menu-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background-color: var(--dark);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.services h2 {
    color: var(--light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Services Carousel */
.services-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.services-carousel {
    display: flex;
    gap: 30px;
    width: max-content;
    will-change: transform;
}

.service-card {
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    background-color: #111;
    /* Slight contrast from bg */
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
    border-color: var(--accent);
}

.service-video {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    padding: 20px;
    text-align: center;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--light);
}

.service-info p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: transparent;
    color: var(--light);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid var(--light);
}

.service-button:hover {
    background-color: var(--light);
    color: var(--dark);
}

/* Carousel Navigation */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    font-size: 1rem;
}

.carousel-button:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

.carousel-button.prev {
    left: 15px;
}

.carousel-button.next {
    right: 15px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #333;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--accent);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--accent);
}

/* Ver más button */
.center-button {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

.ver-mas {
    display: inline-block;
    text-align: center;
    padding: 1rem 2rem;
    color: var(--light);
    font-size: 1.2rem;
    border: 2px solid var(--accent);
    border-radius: 2rem;
    transition: var(--transition);
    width: fit-content;
    font-weight: bold;
    letter-spacing: 1px;
}

.ver-mas:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(107, 72, 255, 0.4);
}

/* Contact Section - Same dark override logic */
.contact {
    padding: 5rem 5%;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.contact-info a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(107, 72, 255, 0.5);
}

.social-icons a {
    color: var(--gray);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(107, 72, 255, 0.5);
}

/* Contact Form - Reuse Premium Style */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid var(--gray);
    color: var(--light);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    border: 3px solid var(--accent);
    color: var(--light);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    border-radius: 2rem;
    font-weight: bold;
}

.submit-btn:hover {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 15px var(--accent);
    transform: translateY(-3px);
}

/* Media Queries */
@media (max-width: 1200px) {
    .contact-container {
        gap: 2rem;
    }

    .service-card {
        width: 280px;
    }
}

@media (max-width: 992px) {
    .service-card {
        width: 260px;
    }

    .carousel-button {
        width: 45px;
        height: 45px;
    }

    .contact h2,
    .services h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
    }

    .nav-menu.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
    }

    .service-card {
        width: 250px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-container {
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    .service-card {
        width: calc(100% - 30px);
        max-width: 320px;
        margin: 0 auto;
    }

    .carousel-button.prev {
        left: 5px;
    }

    .carousel-button.next {
        right: 5px;
    }

    .services h2 {
        font-size: 2rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.7rem;
        margin-bottom: 1.2rem;
    }

    .hero .cta-button {
        width: 100%;
        display: block;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8rem;
    }

    .carousel-indicators {
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .services-carousel {
        justify-content: center;
    }

    .service-card {
        flex: 0 0 90%;
    }
}