/* * Titan's Mating Services - Responsive Stylesheet
 * Mobile-first responsive design approach */
/* Base mobile styles are in style.css */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        max-width: var(--container-sm);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Video styles */
.video-container {
    /* Establece la relación de aspecto del video (9:16) */
    position: relative;
    padding-bottom: 177.77%;
    height: 0;
    overflow: hidden;
    max-width: 500px;

    /* Limita el ancho del video en pantallas grandes */
    margin: 0 auto;

    /* Centra el contenedor en la pantalla */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* El video llenará el espacio, eliminando las franjas blancas */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: var(--container-md);
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

    .hamburger {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: static;
        box-shadow: none;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: var(--container-lg);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: var(--container-xl);
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }
}

/* Specific responsive adjustments */
/* Adjust header padding for larger screens */
@media (min-width: 768px) {
    .navbar {
        padding: var(--spacing-md) 0;
    }
}

/* Make testimonials display side by side on larger screens */
@media (min-width: 768px) {
    .testimonials-slider {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (min-width: 992px) {
    .testimonials-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Adjust service cards on medium screens */
@media (min-width: 768px) and (max-width: 991px) {
    .service-image {
        height: 180px;
    }
}

/* Adjust gallery item height on different screens */
@media (min-width: 576px) {
    .gallery-item {
        height: 200px;
    }
}

@media (min-width: 992px) {
    .gallery-item {
        height: 220px;
    }
}

/* Map responsive styles */
.map-container {
    width: 100%;
    height: 300px;
    margin-top: var(--spacing-lg);
}

@media (min-width: 768px) {
    .map-container {
        height: 400px;
    }
}

@media (min-width: 992px) {
    .map-container {
        height: 500px;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        width: 100%;
    }

    a {
        text-decoration: underline;
        color: #000;
    }

    .section {
        page-break-inside: avoid;
        margin-bottom: 20pt;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    nav,
    .site-nav,
    header {
        position: fixed;

        /* si ya lo tienes, se mantiene */
        top: 0;
        left: 0;
        right: 0;
        z-index: 99999 !important;
    }
}