/* Variables globales */
:root {
    --primary-color: #0a0a0a;
    --secondary-color: #0052cc;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 5%;
    background: #000;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: auto;
}

.logo {
    flex: 0 0 auto;
    padding: 2px 0;
    max-width: 400px;
    display: flex;
    align-items: center;
    background: #000;
}

.logo a {
    display: block;
    text-decoration: none;
    width: 100%;
    background: #000;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: left;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-link {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Burger Menu (Mobile) */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0.2rem 1rem;
    }

    .logo img {
        height: 80px;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 60px;
        height: calc(100vh - 60px);
        background: #000;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.5s;
        padding: 2rem;
        margin: 0;
        gap: 1rem;
    }

    .nav-links.active {
        right: 0;
    }

    .social-icons {
        display: none;
    }

    .burger {
        display: block;
    }

    .logo {
        max-width: 320px;
    }

    .logo img {
        height: 100px;
    }
}

/* Catalog Section */
.catalog-section {
    padding: 80px 5%;
    background-color: #000000;
    position: relative;
    z-index: 1;
}

.catalog-container {
    max-width: 1600px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
    padding: 2rem;
}

.car-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 340px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.car-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background-color: #111;
}

.car-card .card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

.car-card h3 {
    margin: 0;
    font-size: 1rem;
    color: white;
    font-weight: 500;
}

.car-card .price {
    margin: 0;
    color: #0066ff;
    font-size: 1.5rem;
    font-weight: bold;
}

.car-card .specs {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1.2em;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.car-card .specs span {
    display: flex;
    align-items: center;
    gap: 0.3em;
    color: inherit;
    font-weight: 400;
    font-size: 0.9rem;
}

.car-card .specs .icon-year::before {
    content: "\1F4C5";
    color: #0d6efd;
    font-weight: 500;
    margin-right: 0.2em;
}

.car-card .specs .icon-km::before {
    content: "\1F6E3";
    color: #0d6efd;
    font-weight: 500;
    margin-right: 0.2em;
}

.car-card .specs .icon-cv::before {
    content: "\26A1";
    color: #0d6efd;
    font-weight: 500;
    margin-right: 0.2em;
}

.car-card .specs .icon-km {
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.car-card .btn {
    background: #0066ff;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.car-card .btn:hover {
    background: #0052cc;
}

.car-card:hover {
    transform: translateY(-10px);
}

.car-number {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.car-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.car-card:hover .car-overlay {
    opacity: 1;
}

.details-btn {
    padding: 12px 30px;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.details-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.car-info {
    padding: 25px;
    background: #111111;
}

.car-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 500;
}

.car-price {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.car-info .car-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.car-specs {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #888;
}

.car-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.car-specs i {
    color: var(--secondary-color);
}

@media (max-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para las páginas individuales de coches */
.car-details-page {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #000;
}

.car-details-hero {
    background-color: #000;
    padding: 2rem 0;
    width: 100%;
}

.car-details-hero .carousel-item {
    background-color: #000;
}

.car-details-hero video {
    width: 100%;
    max-height: 90vh;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 8px;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.car-details-hero video:hover {
    transform: scale(1.02);
}

.car-details-hero .carousel-item img {
    width: 100%;
    max-height: 90vh;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 8px;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.car-details-hero .carousel-item img:hover {
    transform: scale(1.02);
}

.carousel {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
}

.carousel-indicator.active {
    background: white;
}

.car-details-content {
    width: 100%;
    min-height: 100vh;
    background: #000;
    padding: 4rem 0;
    margin-top: 0;
}

.car-details-info {
    color: white;
    width: 100%;
}

.car-details-info h1 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.car-details-info .car-price {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin: 2rem 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.car-specs-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.5);
}

.spec-item .spec-label {
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-item .spec-value {
    color: white;
    font-size: 1.4rem;
    font-weight: 500;
}

.spec-item i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.car-description {
    margin-bottom: 3rem;
}

.car-description h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.car-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1rem;
}

.contact-section {
    text-align: center;
    margin-top: 3rem;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.contact-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #0066ff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .car-details-hero {
        height: 60vh;
    }

    .car-details-info h1 {
        font-size: 2rem;
    }
    
    .car-details-info .car-price {
        font-size: 2.8rem;
    }

    .car-specs-detailed {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .car-description h2 {
        font-size: 1.8rem;
    }

    .car-description p {
        font-size: 1rem;
    }
}

/* Estilos para el modal de detalles del coche */
.car-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.car-modal.active {
    opacity: 1;
}

.car-modal .car-details-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: #111;
    border-radius: 10px;
    overflow: auto;
    max-height: 90vh;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.car-modal.active .car-details-container {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .car-modal {
        padding: 10px;
    }

    .car-modal .car-details-container {
        max-height: 95vh;
    }
}

/* Estilos para el video de presentación */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 100px;
    background: #000;
}

.hero-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform-origin: center center;
    transform: scale(1.001);
    transition: transform 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    perspective: 1000;
    -webkit-perspective: 1000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0.4) 100%);
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.catalog-btn {
    padding: 1.2rem 2.8rem;
    font-size: 1.5rem;
    background: #007bff;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    transition: background 0.2s, color 0.2s, border 0.2s, transform 0.2s;
    display: inline-block;
    border: 2px solid #007bff;
    outline: none;
    cursor: pointer;
}

.catalog-btn:hover {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    transform: scale(1.07);
    box-shadow: 0 0 0 2px #007bff33;
}

/* Responsive design para el hero video */
@media (max-width: 768px) {
    .hero-video {
        height: 60vh;
        margin-top: 80px;
    }

    .catalog-btn {
        padding: 12px 30px;
        font-size: 1rem;
        bottom: 30px;
    }
}

/* Estilos para la sección de presentación */
.intro-section {
    background-color: #000;
    padding: 4rem 0;
    text-align: center;
}

.intro-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.intro-section p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.intro-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.about-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 250px;
    text-align: center;
}

.about-btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .intro-section {
        padding: 3rem 0;
    }

    .intro-section h2 {
        font-size: 2rem;
    }

    .intro-section p {
        font-size: 1rem;
    }

    .intro-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .about-btn {
        width: 100%;
        max-width: 300px;
        margin: 0;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Estilos para la página Quiénes Somos */
.about-hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/about-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 100px;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.about-hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.about-content {
    background: #000;
    padding: 5rem 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-section {
    margin-bottom: 5rem;
}

.about-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 1px;
}

.about-text {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member-info {
    padding: 1.5rem;
    text-align: center;
}

.team-member h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.team-member p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
}

.values-section {
    background: rgba(0, 0, 0, 0.5);
    padding: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .team-member img {
        height: 250px;
    }

    .value-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 40vh;
        margin-top: 80px;
    }

    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .about-hero-content p {
        font-size: 1rem;
    }

    .about-content {
        padding: 3rem 0;
    }

    .about-section h2 {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .values-grid {
        gap: 1.5rem;
    }

    .team-grid {
        gap: 2rem;
    }

    .member-photo {
        width: 150px;
        height: 150px;
    }
}

/* Estilos del Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #000;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1000;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding: 8px 0;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: #ffffff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: color 0.2s ease;
}

.dropdown-content a:hover {
    color: var(--secondary-color);
}

@media screen and (max-width: 768px) {
    .dropdown-content {
        position: static;
        background: #000;
        min-width: 100%;
        box-shadow: none;
        transform: none;
        padding: 0;
    }

    .dropdown:hover .dropdown-content {
        transform: none;
    }

    .dropdown-content a {
        padding: 10px 20px;
    }
}

/* Estilos para las nuevas secciones */
.reviews-section {
    padding: 4rem 0;
    background: #111;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.review-card {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-info h3 {
    margin: 0;
    font-size: 16px;
    color: #202124;
    font-weight: 500;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.stars {
    color: #FFC107;
    font-size: 14px;
}

.review-date {
    color: #70757a;
    font-size: 14px;
}

.google-icon {
    width: 20px;
    height: 20px;
    margin-left: 12px;
}

.review-text {
    color: #202124;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.google-reviews-embed {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.facilities-section {
    padding: 4rem 0;
    background: #111;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.facility-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
}

.facility-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facility-info {
    padding: 1.5rem;
}

.facility-info h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.facility-info p {
    color: #ccc;
    margin-bottom: 1rem;
}

.facility-features {
    list-style: none;
    padding: 0;
}

.facility-features li {
    color: #ccc;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.facility-features i {
    color: #007bff;
    margin-right: 0.5rem;
}

.map-section {
    padding: 4rem 0;
    background: #111;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
    }

    .dropdown-content a {
        padding: 8px 16px;
    }

    .reviews-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* Estilos para la sección de reseñas de Google */
.google-reviews-section {
    padding: 4rem 0;
    background: #111;
}

.google-reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.google-reviews-header h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.google-reviews-embed {
    margin-bottom: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.google-reviews-cta {
    text-align: center;
    margin-top: 3rem;
}

.review-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #4285f4;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.review-btn:hover {
    background: #3367d6;
}

.review-btn i {
    font-size: 1.2rem;
}

.location-section {
    padding: 4rem 0;
    background: #111;
}

.location-section h2 {
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .google-reviews-header h2,
    .location-section h2 {
        font-size: 2rem;
    }

    .google-reviews-embed iframe {
        height: 500px;
    }
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.stars {
    color: #FFD700;
    font-size: 24px;
}

.rating-number {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* Estilos para la página del equipo */
.team-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/team-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 100px;
}

.team-hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.team-hero-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.company-philosophy {
    color: white;
    position: relative;
    padding: 2rem;
}

.company-philosophy p {
    font-size: 1.5rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0 2rem;
}

.company-philosophy i {
    font-size: 2rem;
    color: var(--secondary-color);
    position: absolute;
}

.company-philosophy i.fa-quote-left {
    top: 0;
    left: 0;
}

.company-philosophy i.fa-quote-right {
    bottom: 0;
    right: 0;
}

/* Sección CEO */
.ceo-section {
    background: #111;
    padding: 5rem 0;
}

.ceo-profile {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.ceo-image {
    flex: 0 0 400px;
}

.ceo-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.ceo-info {
    flex: 1;
    color: white;
}

.ceo-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.ceo-info h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.ceo-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ccc;
}

.ceo-social a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.ceo-social a:hover {
    color: var(--secondary-color);
}

/* Sección Equipo */
.team-section {
    background: #000;
    padding: 5rem 0;
}

.team-section h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-member {
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.member-info p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.member-social a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.member-social a:hover {
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .team-hero {
        height: 50vh;
        margin-top: 80px;
    }

    .team-hero-content h1 {
        font-size: 2.5rem;
    }

    .company-philosophy p {
        font-size: 1.2rem;
    }

    .ceo-profile {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .ceo-image {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .member-image {
        height: 250px;
    }
}

/* Facilities Page Styles */
.facilities-hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/facilities-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 111px;
}

.facilities-hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.facilities-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.facilities-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.video-section {
    padding: 5rem 0;
    background: #000;
    color: var(--white);
}

.video-container {
    width: 100%;
    height: calc(100vh - 100px);
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.facilities-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.facilities-description h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.facilities-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.facilities-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .facilities-hero {
        height: 40vh;
        margin-top: 80px;
    }

    .facilities-hero h1 {
        font-size: 2rem;
    }

    .facilities-hero p {
        font-size: 1rem;
    }

    .video-section {
        padding: 3rem 0;
    }

    .facilities-description h2 {
        font-size: 2rem;
    }

    .feature-item {
        padding: 1.5rem;
    }
}

/* Estilos para la página de contacto */
.contact-hero {
    height: 50vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 100px;
}

.contact-hero-content {
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.contact-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-section {
    padding: 5rem 0;
    background: #000;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    background: #111;
    padding: 2rem;
    text-align: left;
    border-radius: 15px;
}

.contact-info h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.info-item div {
    text-align: left;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--white);
    font-size: 1.2rem;
}

.info-item p {
    margin: 0;
    color: var(--white);
    line-height: 1.5;
}

.info-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    background: #111;
    padding: 2rem;
    border-radius: 15px;
}

.contact-form h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255,255,255,0.15);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-container input {
    width: auto;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #0066ff;
    transform: translateY(-3px);
}

.map-section {
    padding: 5rem 0;
    background: #000;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-container iframe {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .contact-hero {
        height: 40vh;
        margin-top: 80px;
    }

    .contact-hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .info-item {
        margin-bottom: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }
}

.car-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--secondary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.video-container {
    width: 100%;
    height: calc(100vh - 100px);
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 10px;
}

.video-placeholder i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.video-placeholder span {
    font-size: 1rem;
    color: #ccc;
}

.carousel-item::before {
    content: none !important;
}

.carousel-item::after {
    content: none !important;
}

.carousel-counter {
    display: none !important;
}

/* Asegurarnos que cualquier otro contador similar también se oculte */
[class*="counter"],
[class*="number-indicator"] {
    display: none !important;
}

.high-quality-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
    -webkit-filter: brightness(1.05) contrast(1.1) saturate(1.1);
    transform: scale(1.001);
    -webkit-transform: scale(1.001);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    perspective: 1000;
    -webkit-perspective: 1000;
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    shape-rendering: geometricPrecision;
    animation: videoEnhance 0.5s ease-out;
}

@keyframes videoEnhance {
    0% {
        filter: brightness(1) contrast(1) saturate(1);
        transform: scale(1);
    }
    100% {
        filter: brightness(1.05) contrast(1.1) saturate(1.1);
        transform: scale(1.001);
    }
}

@media (min-width: 1920px) {
    .hero-video video {
        transform: scale(1.002);
    }
}

@media (min-width: 2560px) {
    .hero-video video {
        transform: scale(1.003);
    }
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 100px;
    background: #000;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    transform-origin: center center;
    transform: scale(1.001);
    transition: transform 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    perspective: 1000;
    -webkit-perspective: 1000;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0.4) 100%);
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.high-quality-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
    -webkit-filter: brightness(1.05) contrast(1.1) saturate(1.1);
    transform: scale(1.001);
    -webkit-transform: scale(1.001);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    perspective: 1000;
    -webkit-perspective: 1000;
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    shape-rendering: geometricPrecision;
    animation: imageEnhance 0.5s ease-out;
}

@keyframes imageEnhance {
    0% {
        filter: brightness(1) contrast(1) saturate(1);
        transform: scale(1);
    }
    100% {
        filter: brightness(1.05) contrast(1.1) saturate(1.1);
        transform: scale(1.001);
    }
}

@media (min-width: 1920px) {
    .hero-image img {
        transform: scale(1.002);
    }
}

@media (min-width: 2560px) {
    .hero-image img {
        transform: scale(1.003);
    }
}

.hero-image video.high-quality-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
    background: #000;
    border-radius: 0;
    box-shadow: none;
    max-width: 100vw;
    max-height: 100vh;
}

.blog-section.instalaciones-blog {
    padding: 3rem 0 2rem 0;
    background: #fafbfc;
}
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-header h1 {
    font-size: 2.7rem;
    margin-bottom: 0.5rem;
    color: #222;
    text-align: center;
}
.section-header p {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin-bottom: 2.5rem;
}
.blog-featured-video {
    text-align: center;
    margin-bottom: 2.5rem;
}
.blog-video {
    max-width: 700px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.blog-video-desc {
    margin-top: 0.5rem;
    color: #666;
    font-size: 1rem;
}
.blog-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.blog-gallery-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    object-fit: cover;
    background: #eee;
}
@media (max-width: 768px) {
    .section-header h1 { font-size: 2rem; }
    .blog-video { max-width: 100%; }
} 