:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --accent-gold: #d4af37;
    --light-gold: #f0e6d2;
    --dark-gold: #b8941f;
    --text-light: #f5f5f5;
    --text-gray: #cccccc;
    --shadow-dark: rgba(0, 0, 0, 0.5);
    --shadow-gold: rgba(212, 175, 55, 0.3);
    --logo-bg: #f8f8f8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary-black);
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    color: var(--text-light);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-dark);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--primary-black);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 0;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px var(--shadow-gold);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: none;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    background: linear-gradient(45deg, var(--accent-gold), var(--light-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text p {
    font-size: 0.8rem;
    opacity: 0.8;
    color: var(--text-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 50%, var(--primary-black) 100%);
    color: var(--text-light);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23d4af37" stroke-width="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--accent-gold), var(--light-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 5px 15px var(--shadow-dark);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-gold), var(--dark-gold));
    color: var(--primary-black);
    box-shadow: 0 8px 25px var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--secondary-black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 1.5rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.feature p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--primary-black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 60px;
}

.service-card {
    background: var(--secondary-black);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Gallery Sections */
.gallery {
    padding: 80px 0;
    background: var(--secondary-black);
}

.gallery-secondary {
    background: var(--primary-black);
}

.gallery-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    background: var(--primary-black);
    aspect-ratio: 16 / 9;
    width: 100%;
    min-height: 300px; /* Altura mínima para evitar desalineación */
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--primary-black);
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.carousel-slide img,
.carousel-slide video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.loading-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: inherit; /* Hereda la altura mínima del contenedor */
    width: 100%;
}

.loading-content {
    text-align: center;
    color: var(--accent-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.loading-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.carousel-slide:not(.loaded) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.media-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    text-align: center;
    padding: 2rem;
}

.media-error i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-black);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    touch-action: manipulation;
}

.carousel-nav:hover {
    background: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-play-pause,
.carousel-sound {
    background: rgba(212, 175, 55, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: var(--primary-black);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    touch-action: manipulation;
}

.carousel-play-pause:hover,
.carousel-sound:hover {
    background: var(--accent-gold);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-gray);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
    min-width: 12px;
}

.carousel-indicator.active {
    background: var(--accent-gold);
    transform: scale(1.3);
    border-color: var(--light-gold);
}

.carousel-indicator:hover {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Estilos para mensajes de galería vacía */
.gallery-notice {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.gallery-notice.hidden {
    display: none !important;
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.notice-icon {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.gallery-notice p {
    color: var(--text-gray);
    margin: 0;
}

/* Estilos para galería vacía */
.gallery-empty-message {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(212, 175, 55, 0.03);
    border-radius: 15px;
    border: 1px dashed rgba(212, 175, 55, 0.2);
    margin-top: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.gallery-empty-message.hidden {
    display: none;
}

.empty-gallery-content {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.empty-gallery-content i {
    font-size: 3.5rem;
    color: rgba(212, 175, 55, 0.5);
    margin-bottom: 1rem;
}

.empty-gallery-content h3 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.empty-gallery-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent-gold);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 30px;
    margin-top: 5px;
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--text-gray);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--accent-gold);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-gold);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--primary-black);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* ============================================
   BOTÓN FLOTANTE DE ADMINISTRACIÓN
   ============================================ */

.admin-float-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    animation: fadeInAdmin 0.5s ease-out 1s forwards;
}

@keyframes fadeInAdmin {
    to {
        opacity: 1;
        visibility: visible;
    }
}

.admin-float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.admin-float-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* ============================================
   MODAL DE AUTENTICACIÓN
   ============================================ */

.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
    animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.admin-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-modal-content {
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--primary-black) 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: slideUpModal 0.4s ease-out;
}

@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.admin-modal-close:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.admin-modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.admin-modal-header i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.admin-modal-header h2 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.admin-modal-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ============================================
   FORMULARIO DE LOGIN
   ============================================ */

.admin-login-form .form-group {
    margin-bottom: 1.8rem;
}

.admin-login-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

.admin-login-form label i {
    color: var(--accent-gold);
    font-size: 1rem;
}

.admin-login-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.admin-login-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.admin-login-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Password input wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Error message */
.admin-error-message {
    display: none;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    animation: shakeError 0.5s ease-out;
}

@keyframes shakeError {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.admin-error-message.active {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-error-message::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
}

/* Login button */
.btn-admin-login {
    width: 100%;
    padding: 16px 30px;
    font-size: 1.1rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-admin-login span {
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-admin-login.loading span {
    opacity: 0;
    transform: translateY(-20px);
}

.btn-admin-login.loading .spinner {
    display: block !important;
}

/* Spinner */
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(10, 10, 10, 0.3);
    border-top-color: var(--primary-black);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========== RESPONSIVE DESIGN MEJORADO ========== */

/* Tablets y Desktop pequeño */
@media (max-width: 1024px) {
    .carousel-container {
        max-width: 90%;
    }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    .admin-float-btn {
        bottom: 75px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .admin-modal {
        padding: 15px;
    }

    .admin-modal-content {
        padding: 2.5rem 1.8rem;
        border-radius: 15px;
    }

    .admin-modal-header h2 {
        font-size: 1.5rem;
    }

    .admin-modal-header i {
        font-size: 2.5rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-black);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .gallery-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 1rem;
    }

    /* CARRUSEL PARA TABLETS */
    .carousel-container {
        margin: 0 1rem;
        border-radius: 10px;
        min-height: 250px; /* Ajuste para móviles */
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    .carousel-controls {
        bottom: 15px;
        right: 15px;
    }

    .carousel-play-pause,
    .carousel-sound {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .carousel-indicators {
        gap: 0.6rem;
        margin-top: 1.5rem;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
        min-width: 10px;
    }

    .gallery-notice {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        margin: 1.5rem 1rem 0;
    }

    .gallery-empty-message {
        padding: 3rem 1.5rem;
        min-height: 200px;
    }

    .empty-gallery-content i {
        font-size: 2.5rem;
    }

    .empty-gallery-content h3 {
        font-size: 1.5rem;
    }

    .empty-gallery-content p {
        font-size: 1rem;
    }

    .notice-icon {
        font-size: 1.2rem;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .admin-float-btn {
        bottom: 70px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .admin-modal-content {
        padding: 2rem 1.5rem;
    }

    .admin-modal-header {
        margin-bottom: 2rem;
    }

    .admin-login-form .form-group {
        margin-bottom: 1.5rem;
    }

    .admin-login-form input {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .btn-admin-login {
        padding: 14px 25px;
        font-size: 1rem;
    }

    .nav-container,
    .hero-container,
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    /* CARRUSEL OPTIMIZADO PARA MÓVILES */
    .gallery {
        padding: 60px 0;
    }

    .carousel-container {
        margin: 0;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        min-height: 200px; /* Altura mínima reducida para móviles */
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        opacity: 0.95;
    }

    .carousel-nav:active {
        transform: translateY(-50%) scale(0.95);
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-controls {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }

    .carousel-play-pause,
    .carousel-sound {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        opacity: 0.95;
    }

    .carousel-play-pause:active,
    .carousel-sound:active {
        transform: scale(0.95);
    }

    .carousel-indicators {
        gap: 0.5rem;
        margin-top: 1.2rem;
        padding: 0 0.5rem;
    }

    .carousel-indicator {
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
        border-width: 1px;
    }

    .carousel-indicator.active {
        transform: scale(1.4);
    }

    .gallery-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .gallery-empty-message {
        padding: 2rem 1rem;
        min-height: 180px;
        margin-top: 1rem;
    }

    .empty-gallery-content i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .empty-gallery-content h3 {
        font-size: 1.3rem;
    }

    .empty-gallery-content p {
        font-size: 0.9rem;
    }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
    .nav-menu {
        gap: 0.5rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }

    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }

    .carousel-controls {
        bottom: 8px;
        right: 8px;
        gap: 6px;
    }

    .carousel-play-pause,
    .carousel-sound {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .carousel-indicator {
        width: 7px;
        height: 7px;
        min-width: 7px;
    }

    .gallery-notice p,
    .gallery-empty-message p {
        font-size: 0.9rem;
    }
}

/* Orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 100px 0 60px;
    }

    .carousel-container {
        aspect-ratio: 21 / 9;
    }

    .nav-menu {
        max-height: 70vh;
        overflow-y: auto;
    }

    .gallery-empty-message {
        min-height: 150px;
        padding: 1.5rem;
    }
}

/* Pantallas muy anchas */
@media (min-width: 1400px) {
    .carousel-container {
        max-width: 1200px;
    }
}