/* Reset y Variables CSS - Tema Oscuro Elegante */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --accent-color: #ffd700;
    --text-color: #e8e8e8;
    --text-light: #b8b8b8;
    --background-color: #0f0f0f;
    --card-background: #1e1e1e;
    --border-color: #333333;
    --shadow-light: 0 2px 15px rgba(0,0,0,0.4);
    --shadow-medium: 0 4px 25px rgba(0,0,0,0.5);
    --shadow-heavy: 0 8px 40px rgba(0,0,0,0.6);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #f4e87c 100%);
    --dark-gradient: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Poppins', sans-serif;
    
    /* Colores dorados adicionales */
    --gold-primary: #d4af37;
    --gold-secondary: #ffd700;
    --gold-light: #f4e87c;
    --gold-dark: #b8941f;
    
    /* Fondos oscuros */
    --dark-primary: #0f0f0f;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #2d2d2d;
    --dark-quaternary: #3d3d3d;
    
    /* Tamaños del logo - AJUSTA ESTOS VALORES PARA CAMBIAR EL TAMAÑO */
    --logo-size-desktop: 240px;    /* Cambia este valor para desktop - DUPLICADO */
    --logo-size-mobile: 160px;     /* Cambia este valor para móvil - DUPLICADO */
    --footer-logo-size: 100px;     /* Tamaño del logo en footer - DUPLICADO */
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--gold-primary);
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
}

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

.logo-img {
    height: var(--logo-size-desktop);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(212, 175, 55, 0.5));
    transition: var(--transition);
}

.logo-img:hover {
    filter: drop-shadow(0 15px 35px rgba(212, 175, 55, 0.7));
    transform: scale(1.02);
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-secondary);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--dark-secondary) 50%, var(--dark-tertiary) 100%);
    overflow: hidden;
}

.hero-background {
    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 1000 1000"><defs><radialGradient id="gold1" cx="50%" cy="50%"><stop offset="0%" stop-color="%23d4af37" stop-opacity="0.15"/><stop offset="100%" stop-color="%23d4af37" stop-opacity="0"/></radialGradient><radialGradient id="gold2" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffd700" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffd700" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="120" fill="url(%23gold1)"/><circle cx="800" cy="300" r="180" fill="url(%23gold2)"/><circle cx="400" cy="700" r="150" fill="url(%23gold1)"/><circle cx="600" cy="100" r="100" fill="url(%23gold2)"/></svg>') no-repeat center center;
    background-size: cover;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.hero-logo-img {
    height: 300px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(212, 175, 55, 0.6));
    transition: var(--transition);
}

.hero-logo-img:hover {
    filter: drop-shadow(0 20px 50px rgba(212, 175, 55, 0.8));
    transform: scale(1.05);
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 15px 40px rgba(212, 175, 55, 0.6));
    }
    100% {
        filter: drop-shadow(0 15px 40px rgba(255, 215, 0, 0.8));
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gold-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--gold-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gold-gradient);
    color: var(--dark-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    border: 2px solid var(--gold-primary);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    background: var(--gold-secondary);
    border-color: var(--gold-light);
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    margin-top: 0;
    background: var(--background-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gold-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Container */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold-gradient);
    color: var(--dark-primary);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

/* Search Container */
.search-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto 3rem;
}

.search-container input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 1rem;
    background: var(--card-background);
    color: var(--text-color);
    transition: var(--transition);
}

.search-container input::placeholder {
    color: var(--text-light);
}

.search-container input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInGrid 0.6s ease-out forwards;
}

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

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-primary);
}

.gallery-item-inner {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.image-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--card-background);
    border: 2px dashed var(--border-color);
    text-align: center;
    padding: 1rem;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: white;
    width: 100%;
}

.gallery-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.gallery-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-view,
.btn-download {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-view {
    background: var(--gold-gradient);
    color: var(--dark-primary);
    border: 1px solid var(--gold-primary);
}

.btn-download {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.btn-view:hover,
.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Load More Button */
.load-more-container {
    text-align: center;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gold-gradient);
    color: var(--dark-primary);
    border: 2px solid var(--gold-primary);
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.load-more-btn:hover {
    background: var(--gold-secondary);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* Upload Section */
.upload-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.upload-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 2rem;
}

.upload-area:hover {
    border-color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.05);
}

.upload-area i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.upload-area p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.upload-area input[type="file"] {
    display: none;
}

.upload-options {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.upload-btn {
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.upload-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--dark-secondary);
    border-top: 2px solid var(--gold-primary);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gold-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: var(--card-background);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
}

.feature i {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

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

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--gold-gradient);
    color: var(--dark-primary);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    border: 2px solid var(--gold-primary);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2001;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.lightbox-image-container {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

.lightbox-info {
    text-align: center;
    color: white;
    max-width: 600px;
}

.lightbox-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.lightbox-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.lightbox-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.lightbox-download,
.lightbox-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-download:hover,
.lightbox-share:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-primary);
    color: var(--text-color);
    padding: 3rem 0 1rem;
    border-top: 3px solid var(--gold-primary);
    box-shadow: 0 -5px 20px rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.footer-logo-img {
    height: var(--footer-logo-size);
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Admin Toggle */
.admin-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gold-gradient);
    color: var(--dark-primary);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
    z-index: 1000;
}

.admin-toggle:hover {
    background: var(--gold-secondary);
    border-color: var(--gold-light);
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1500;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

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

.loading-spinner p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header .container {
        padding: 1rem 15px;
    }

    .nav ul {
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-logo-img {
        height: 200px;
    }

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

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

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

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

    .filter-container {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

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

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

    .about-stats {
        flex-direction: row;
        justify-content: space-between;
    }

    .stat {
        flex: 1;
        padding: 1.5rem 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        gap: 0.5rem;
    }

    .footer-logo-img {
        height: 40px;
    }

    .lightbox-content {
        padding: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        padding: 0.8rem;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .upload-form {
        margin: 0 15px;
        padding: 1.5rem;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

    .admin-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .about-stats {
        flex-direction: column;
    }

    .stat h3 {
        font-size: 1.8rem;
    }
}

/* Animaciones adicionales */
.gallery-item {
    animation-delay: calc(var(--animation-order) * 0.1s);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--gold-gradient);
    border-radius: 5px;
    border: 1px solid var(--gold-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-secondary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Print styles */
@media print {
    .header,
    .admin-toggle,
    .lightbox-modal {
        display: none !important;
    }
    
    .gallery-item {
        break-inside: avoid;
    }
}
