/*
   ===========================
   BODAS PAGE STYLES
   ===========================
*/

/* Hero Specific */
.bodas-hero {
    min-height: 100vh;
}

.bodas-hero .hero-content {
    text-align: left;
}

.bodas-hero .hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0 30px;
    max-width: 500px;
}

/* Intro Section */
.bodas-intro {
    padding: 80px 0;
    background: var(--light-color);
    text-align: center;
}

.bodas-intro .intro-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.bodas-intro .intro-content p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Gallery Section */
.bodas-gallery {
    padding: 60px 0 100px;
    background: var(--gray-color);
}

.container-fluid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background: var(--dark-color);
    aspect-ratio: 1 / 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

/* Gallery item sizes */
.gallery-item.tall {
    grid-row: span 2;
    aspect-ratio: 1 / 2;
}

.gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(63, 81, 181, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--light-color);
}

/* Video Item */
.video-item video {
    object-fit: cover;
}

/* CTA Card in Gallery */
.gallery-item.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    cursor: default;
}

.gallery-item.cta-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.cta-card .cta-content {
    color: var(--light-color);
}

.cta-card .cta-content i {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cta-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-card p {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-card .btn-cta {
    background: var(--light-color);
    color: var(--primary-color);
    border-color: var(--light-color);
}

.cta-card .btn-cta:hover {
    background: transparent;
    color: var(--light-color);
    border-color: var(--light-color);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.lightbox-content video {
    display: none;
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: var(--light-color);
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--light-color);
    cursor: pointer;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 10001;
    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);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-color);
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 25px;
}

/* Services/Packages Section */
.bodas-services {
    padding: 100px 0;
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-package {
    background: var(--light-color);
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.service-package:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.service-package.featured {
    border: 3px solid var(--primary-color);
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    transform: scale(1.05);
}

.service-package.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--light-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.package-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 2rem;
}

.service-package h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.package-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.package-features {
    list-style: none;
    margin-bottom: 35px;
    text-align: left;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

.btn-package {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-package:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(63, 81, 181, 0.3);
}

/* Testimonials Section */
.bodas-testimonials {
    padding: 100px 0;
    background: var(--gray-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    margin-bottom: 20px;
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #999;
}

/* CTA Final Section */
.bodas-cta-final {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.bodas-cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 10 L90 90 L10 90 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.cta-final-content {
    text-align: center;
    color: var(--light-color);
    position: relative;
    z-index: 1;
}

.cta-final-content i {
    font-size: 4rem;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.cta-final-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-final-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.1rem;
    background: var(--light-color);
    color: var(--primary-color);
    border: 3px solid var(--light-color);
}

.btn-large:hover {
    background: transparent;
    color: var(--light-color);
    border-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .gallery-item.tall,
    .gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1 / 1;
    }

    .bodas-intro .intro-content h2 {
        font-size: 2rem;
    }

    .bodas-intro .intro-content p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-package.featured {
        transform: scale(1);
    }

    .service-package.featured:hover {
        transform: scale(1.02) translateY(-10px);
    }

    .cta-final-content h2 {
        font-size: 2rem;
    }

    .cta-final-content p {
        font-size: 1.1rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .bodas-hero .hero-description {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bodas-intro {
        padding: 60px 0;
    }

    .bodas-services {
        padding: 60px 0;
    }

    .bodas-testimonials {
        padding: 60px 0;
    }

    .bodas-cta-final {
        padding: 80px 0;
    }

    .lightbox {
        padding: 20px;
    }

    .package-features li {
        font-size: 0.85rem;
    }

    .bodas-mas-trabajos {
        padding: 60px 0;
    }

    .mas-trabajos-links {
        flex-direction: column;
        gap: 15px;
    }

    .mas-trabajos-btn {
        width: 100%;
    }
}

/* ===========================
   VER MÁS TRABAJOS SECTION
   =========================== */
.bodas-mas-trabajos {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    text-align: center;
}

.mas-trabajos-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 15px;
}

.mas-trabajos-content > p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.mas-trabajos-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.mas-trabajos-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 40px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 220px;
}

.mas-trabajos-btn i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.mas-trabajos-btn span {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.mas-trabajos-btn small {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Vimeo Button */
.mas-trabajos-btn.vimeo {
    background: linear-gradient(135deg, #1ab7ea 0%, #162221 100%);
    color: white;
}

.mas-trabajos-btn.vimeo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 183, 234, 0.3);
}

/* Bodas.net Button */
.mas-trabajos-btn.bodas-net {
    background: linear-gradient(135deg, #ff6b81 0%, #c44569 100%);
    color: white;
}

.mas-trabajos-btn.bodas-net:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 129, 0.3);
}

/* Instagram Button */
.mas-trabajos-btn.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.mas-trabajos-btn.instagram:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.3);
}
