/* Reset y Variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores */
    --primary-500: #D97706;
    --primary-700: #B45309;
    --primary-100: #FEF3C7;
    --page-background: #FDFBF8;
    --surface-background: #FFFFFF;
    --text-primary: #291D11;
    --text-secondary: #6B5A4B;
    --success: #10B981;
    --error: #EF4444;
    
    /* Tipografía */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Espaciado */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 96px;
    --space-xxxl: 128px;
    
    /* Bordes */
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;
    
    /* Sombras */
    --shadow-md: 0 4px 12px rgba(41, 29, 17, 0.08);
    --shadow-lg: 0 10px 25px rgba(41, 29, 17, 0.12);
    
    /* Breakpoints */
    --container-width: 1280px;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--page-background);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 40px;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

p {
    margin-bottom: var(--space-sm);
}

/* Button Styles */
.cta-button {
    display: inline-block;
    padding: 14px var(--space-lg);
    background-color: var(--primary-500);
    color: var(--surface-background);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 200ms ease-out;
}

.cta-button:hover {
    background-color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
.section {
    padding: var(--space-xxxl) 0;
}

.bg-light {
    background-color: var(--surface-background);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xxl);
}

.section-title {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--surface-background);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all 300ms ease;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    color: var(--primary-500);
    font-size: 24px;
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 200ms ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-500);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-500);
    transition: width 300ms ease;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: 300ms;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--surface-background);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 7, 4, 0.6) 0%,
        rgba(11, 7, 4, 0.3) 50%,
        rgba(11, 7, 4, 0.1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 var(--space-md);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--primary-500);
    margin-bottom: var(--space-sm);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background-color: var(--page-background);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 200ms ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 24px;
    color: var(--primary-500);
    margin-top: 5px;
}

.feature h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.feature p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* About Gallery - Taller Images */
.about-gallery {
    margin: var(--space-xl) 0;
    text-align: center;
}

.about-gallery h4 {
    color: var(--primary-500);
    margin-bottom: var(--space-lg);
    font-size: 28px;
}

.taller-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.taller-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 300ms ease, box-shadow 300ms ease;
    cursor: pointer;
}

.taller-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(41, 29, 17, 0.15);
}

.taller-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform 300ms ease;
}

.taller-item:hover .taller-image {
    transform: scale(1.05);
}

.taller-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(41, 29, 17, 0.9) 0%,
        rgba(41, 29, 17, 0.6) 50%,
        transparent 100%
    );
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform 300ms ease;
}

.taller-item:hover .taller-overlay {
    transform: translateY(0);
}

.taller-overlay p {
    color: var(--surface-background);
    font-weight: 500;
    margin-bottom: 0;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for about gallery */
@media (max-width: 768px) {
    .taller-gallery {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .taller-image {
        height: 250px;
    }
    
    .taller-overlay {
        padding: var(--space-md);
    }
    
    .taller-overlay p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .about-gallery h4 {
        font-size: 24px;
    }
    
    .taller-gallery {
        grid-template-columns: 1fr;
    }
    
    .taller-image {
        height: 200px;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background-color: var(--surface-background);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 300ms ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
}

.service-icon i {
    font-size: 32px;
    color: var(--primary-500);
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    color: var(--text-secondary);
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: bold;
}

/* Gallery Section */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.filter-btn {
    padding: 12px var(--space-md);
    background-color: var(--surface-background);
    color: var(--text-primary);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 250ms ease-out;
    white-space: nowrap;
}

.filter-btn:hover {
    background-color: var(--primary-100);
    color: var(--primary-700);
}

.filter-btn.active {
    background-color: var(--primary-500);
    color: var(--surface-background);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 300ms ease-in-out;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: transform 300ms ease-in-out;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 50%,
        rgba(11, 7, 4, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity 300ms ease-in-out;
}

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

.gallery-overlay h4 {
    color: var(--surface-background);
    font-size: 20px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 0;
}

/* Gallery Item Hide Animation */
.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: start;
}

.contact-info h3 {
    color: var(--primary-500);
    margin-bottom: var(--space-sm);
}

.contact-item {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: var(--space-sm);
    background-color: var(--page-background);
    border-radius: var(--radius-md);
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-500);
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background-color: var(--surface-background);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px var(--space-sm);
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 200ms ease;
    background-color: var(--surface-background);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
}

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

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 64px;
    height: 64px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--surface-background);
    border-radius: var(--radius-full);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 200ms ease-out;
    animation: pulse 2s infinite;
}

.whatsapp-float .fab {
    font-size: 32px;
    margin-bottom: 2px;
}

.whatsapp-text {
    font-size: 8px;
    font-weight: 600;
    color: white;
    line-height: 1;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: var(--surface-background);
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-section h3,
.footer-section h4 {
    color: var(--surface-background);
    margin-bottom: var(--space-sm);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-section ul li a:hover {
    color: var(--primary-500);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Footer WhatsApp Button */
.footer-whatsapp {
    margin-top: var(--space-sm);
}

.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 200ms ease;
    border: 2px solid transparent;
}

.footer-whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-whatsapp-btn i {
    font-size: 18px;
    margin-right: 8px;
}

.footer-whatsapp-btn span {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--surface-background);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: var(--space-lg) 0;
        gap: var(--space-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Sections */
    .section {
        padding: var(--space-xxl) 0;
    }
    
    .hero {
        height: 450px;
    }
    
    .hero-content {
        padding: 0 var(--space-sm);
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--space-sm);
    }
    
    .gallery-filters {
        gap: 5px;
        padding: 0 var(--space-sm);
    }
    
    .filter-btn {
        padding: 10px var(--space-sm);
        font-size: 14px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* WhatsApp Button */
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

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

/* Loading Animation for Gallery Items */
.gallery-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

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

/* ========================================== */
/* LOGO BS TRADICIONAL - RESPETANDO IDENTIDAD VISUAL */
/* ========================================== */

/* Logo BS Tipo 1: Tradicional con Madera */
.logo-bs-tipo1 {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    padding: 8px 0;
}

.logo-bs-tipo1-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    border: 3px solid #654321;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 3px 8px rgba(101, 67, 33, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-bs-tipo1-icon::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.1) 0%, transparent 50%, rgba(205, 133, 63, 0.1) 100%);
    border-radius: 4px;
}

.logo-bs-tipo1-letter {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    letter-spacing: -1px;
}

.logo-bs-tipo1-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-bs-tipo1-main {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #8B4513;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.logo-bs-tipo1-brand {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #654321;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

/* Hover effects */
.logo-bs-tipo1:hover .logo-bs-tipo1-icon {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(101, 67, 33, 0.4);
    border-color: #5D3A1A;
}

.logo-bs-tipo1:hover .logo-bs-tipo1-icon::before {
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.2) 0%, transparent 50%, rgba(205, 133, 63, 0.2) 100%);
}

.logo-bs-tipo1:hover .logo-bs-tipo1-brand {
    color: #5D3A1A;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .logo-bs-tipo1 {
        gap: 10px;
    }
    
    .logo-bs-tipo1-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-bs-tipo1-letter {
        font-size: 1.1rem;
    }
    
    .logo-bs-tipo1-main {
        font-size: 1rem;
    }
    
    .logo-bs-tipo1-brand {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo-bs-tipo1-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-bs-tipo1-letter {
        font-size: 1rem;
    }
    
    .logo-bs-tipo1-main {
        font-size: 0.9rem;
    }
    
    .logo-bs-tipo1-brand {
        font-size: 0.75rem;
    }
}

/* ==========================================
   LIGHTBOX OPTIMIZADO
   ========================================== */

.lightbox {
    /* Los estilos base ya están definidos en JavaScript inline */
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    background: transparent !important;
    padding: 15px 20px !important;
    text-align: center;
    max-width: 80%;
    margin-top: 10px;
    border-radius: 0;
}

.lightbox-caption h4 {
    color: white !important;
    font-size: 1.2rem !important;
    margin: 0 0 8px 0 !important;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.lightbox-caption p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    padding: 15px 20px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -50px;
    color: white !important;
    font-size: 30px !important;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

/* Responsive para móviles */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 98vw;
        max-height: 98vh;
    }
    
    .lightbox-image {
        max-height: 80vh;
    }
    
    .lightbox-caption {
        max-width: 90% !important;
        padding: 10px 15px !important;
    }
    
    .lightbox-caption h4 {
        font-size: 1rem !important;
    }
    
    .lightbox-caption p {
        font-size: 0.85rem !important;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 20px !important;
        padding: 12px 16px !important;
        width: 50px;
        height: 50px;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
    
    .lightbox-close {
        top: -40px;
        right: -40px;
        font-size: 24px !important;
        width: 35px;
        height: 35px;
    }
}
}