/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 40px;
    z-index: 1000;
    background: transparent;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 60px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 85px;
    transition: transform 0.3s ease;
}

.menu-icon {
    position: absolute;
    left: 40px;
    top: 30px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon:hover {
    color: #ff6a00;
}

.nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 70vh;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    transition: top 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
    top: 0;
}

.nav-columna {
    flex: 0.7;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    transition-delay: calc(0.05s * var(--i, 0));
}

.nav-menu.active .nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.nav-item {
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    color: #ff6a00;
}

.menu-footer {
    margin-top: 40px;
}

.menu-social {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.menu-social a {
    color: #888;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    transition: color 0.3s ease;
}

.menu-social a:hover {
    color: #ff6a00;
}

.menu-carrusel {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.carrusel-track {
    display: flex;
    gap: 20px;
    padding: 20px 40px;
}

.carrusel-item {
    flex-shrink: 0;
    width: 160px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    filter: brightness(0.7);
    transform: scale(0.92);
}

.carrusel-item .placeholder-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carrusel-item[data-categoria="deportes"] .placeholder-img {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.carrusel-item[data-categoria="mascotas"] .placeholder-img {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.carrusel-item[data-categoria="espacios"] .placeholder-img {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.carrusel-item[data-categoria="retratos"] .placeholder-img {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.carrusel-item[data-categoria="natural"] .placeholder-img {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.carrusel-item {
    flex-shrink: 0;
    width: 160px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    filter: brightness(0.7);
    transform: scale(0.92);
}

.carrusel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrusel-item .item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 15px 10px;
    color: white;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    text-align: center;
}

.carrusel-item:hover {
    filter: brightness(1);
    transform: scale(1.08);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== SLIDESHOW HERO ========== */
.slideshow-hero {
    height: 60vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
    padding: 20px;
}

.hero-texto h1 {
    font-family: "Oooh Baby", cursive;
    font-size: 64px;
    margin-bottom: 15px;
}

.hero-texto p {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-subtext {
    font-size: 14px !important;
    opacity: 0.8;
    letter-spacing: 1px !important;
}

/* ========== ACCESO ========== */
.acceso {
    padding: 60px 8%;
    background: #ffffff;
}

.acceso-container {
    max-width: 600px;
    margin: 0 auto;
}

.acceso-info {
    text-align: center;
}

.acceso-icono {
    width: 70px;
    height: 70px;
    background: #ff6a00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
}

.acceso-icono i {
    font-size: 32px;
    color: white;
}

.acceso-info h2 {
    font-family: "Oooh Baby", cursive;
    font-size: 40px;
    color: #333;
    margin-bottom: 15px;
}

.acceso-info p {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.acceso-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 5px 20px;
    transition: all 0.3s ease;
    background: white;
}

.input-group i {
    font-size: 18px;
    color: #999;
    margin-right: 12px;
}

.input-group .toggle-password {
    margin-right: 0;
    margin-left: 8px;
    cursor: pointer;
    padding: 12px;
    margin-top: -12px;
    margin-bottom: -12px;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease;
}

.input-group .toggle-password:hover,
.input-group .toggle-password:focus-visible {
    color: #ff6a00;
    background: rgba(255, 106, 0, 0.08);
    outline: none;
}

.input-group input {
    flex: 1;
    border: none;
    padding: 15px 0;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.input-group:focus-within {
    border-color: #ff6a00;
    box-shadow: 0 0 5px rgba(255, 106, 0, 0.3);
}

.btn-ingresar {
    background: #ff6a00;
    border: none;
    color: white;
    padding: 14px 32px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.btn-ingresar:hover {
    background: #e05e00;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.45);
}

.btn-ingresar:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.acceso-nota {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 12px;
    margin-top: 20px;
}

.acceso-nota i {
    font-size: 18px;
    color: #ff6a00;
}

.acceso-nota p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* ========== CARACTERÍSTICAS ========== */
.caracteristicas {
    background: #f8f8f8;
    padding: 60px 8%;
}

.caracteristicas-container {
    max-width: 1200px;
    margin: 0 auto;
}

.caracteristicas-container h2 {
    text-align: center;
    font-family: "Oooh Baby", cursive;
    font-size: 40px;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.caracteristicas-container h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff6a00;
    border-radius: 3px;
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.caracteristica-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.caracteristica-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.caracteristica-item i {
    font-size: 48px;
    color: #ff6a00;
    margin-bottom: 15px;
}

.caracteristica-item span {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.caracteristica-item p {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

/* ===== FOOTER ===== */
.footer {
    background: transparent;
    padding: 40px 8%;
    font-family: 'Raleway', sans-serif;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-copyright p {
    color: #666;
    font-size: 13px;
}

.footer-redes {
    display: flex;
    gap: 25px;
}

.footer-redes a {
    color: #333;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-redes a:hover {
    color: #ff6a00;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .caracteristicas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 25px;
    }
    
    .logo {
        margin-top: 40px;
    }
    
    .logo img {
        width: 55px;
    }
    
    .menu-icon {
        left: 20px;
        font-size: 24px;
    }
    
    .nav-menu {
        flex-direction: column;
        height: auto;
        min-height: 80vh;
        padding: 80px 30px 40px;
    }
    
    .slideshow-hero {
        min-height: 350px;
    }
    
    .hero-texto h1 {
        font-size: 42px;
    }
    
    .hero-texto p {
        font-size: 14px;
    }
    
    .acceso-info h2 {
        font-size: 32px;
    }
    
    .caracteristicas-container h2 {
        font-size: 32px;
    }
    
    .caracteristicas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .caracteristica-item {
        padding: 20px 12px;
    }
    
    .caracteristica-item i {
        font-size: 36px;
    }
    
    .caracteristica-item span {
        font-size: 15px;
    }
    
    .caracteristica-item p {
        font-size: 12px;
    }
    
    .footer {
        padding: 30px 5%;
    }
    
    .footer-contenido {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .menu-carrusel {
        width: 100%;
        padding-left: 0;
        margin-top: 20px;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }

    .carrusel-track {
        gap: 10px;
        padding: 10px 15px 15px 15px;
        width: max-content;
    }

    .carrusel-item {
        width: 110px;
        height: 145px;
    }

    .carrusel-item .item-overlay {
        font-size: 10px;
        padding: 8px 5px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 45px;
    }

    .hero-texto h1 {
        font-size: 32px;
    }
    
    .hero-texto p {
        font-size: 12px;
    }
    
    .acceso-info h2 {
        font-size: 28px;
    }
    
    .input-group input {
        font-size: 14px;
    }
    
    .btn-ingresar {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .caracteristicas-grid {
        gap: 10px;
    }
    
    .caracteristica-item {
        padding: 16px 8px;
    }
    
    .caracteristica-item i {
        font-size: 30px;
    }
    
    .caracteristica-item span {
        font-size: 13px;
    }
    
    .caracteristica-item p {
        font-size: 11px;
    }
}

/* Ajuste logo/ícono hamburguesa para tablets (iPad, iOS 12+) */
@media (min-width: 769px) and (max-width: 1024px) {
    .logo {
        margin-top: 40px;
    }

    .logo img {
        width: 55px;
    }

    .menu-icon {
        left: 20px;
        font-size: 24px;
    }
}
/* ===== FALLBACK DE ESPACIADO PARA iOS 12 / SAFARI ANTIGUO ===== */
/* Estos navegadores no soportan "gap" en flexbox (llego en Safari 14.1 / iOS 14.5).
   Sin este fallback, los enlaces del menu, el carrusel y los iconos del footer
   se ven pegados entre si en iPad Air y otros dispositivos con iOS 12. */
@supports not (gap: 1px) {
    .menu-social a:not(:last-child) {
        margin-right: 24px;
    }
    .carrusel-track .carrusel-item:not(:last-child) {
        margin-right: 20px;
    }
    .footer-redes a:not(:last-child) {
        margin-right: 25px;
    }
}