/* ===================================================================
   MODERN EVENTS SECTION STYLES
   K-9 Internacional - Quinquenios Event Page
   =================================================================== */

/* Hero Section - Enhanced */
.events-hero-section {
    background: #192339;
    padding: 60px 0 60px 0;
    position: relative;
    overflow: hidden;
    /* min-height: 60vh; */
    display: flex;
    align-items: center;
    z-index: 1;
}

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

.events-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 40px 0;
}

.events-breadcrumb {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.7;
    color: #ffffff;
}

.events-subtitle {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.8;
    color: #ffffff;
}

.events-title {
    font-size: 72px;
    font-weight: 700;
    margin: 20px 0 30px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    letter-spacing: -1px;
}

.events-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #ff974f 0%, #ffb347 100%);
    margin: 30px auto;
    border-radius: 2px;
}

.events-description {
    font-size: 18px;
    line-height: 32px;
    max-width: 900px;
    margin: 30px auto 0 auto;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* Animations - DISABLED */

/* Quinquenios Section */
.quinquenios-section {
    padding: 20px 0;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.event-info-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.event-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff974f 0%, #ff6b35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(255, 151, 79, 0.3);
}

.event-badge i {
    font-size: 36px;
    color: white;
}

.event-info-card h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff974f 0%, #ffb347 100%);
    margin: 20px 0 30px 0;
    border-radius: 2px;
}

.divider-white {
    width: 100px;
    height: 3px;
    background: white;
    margin: 20px auto 30px auto;
    border-radius: 2px;
}

.event-info-card p {
    font-size: 16px;
    line-height: 28px;
    color: #666;
    margin-bottom: 20px;
}

.event-highlights {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.event-highlights h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    padding: 12px 0;
    font-size: 16px;
    color: #555;
    border-bottom: 1px solid #e9ecef;
}

.highlights-list li:last-child {
    border-bottom: none;
}

.highlights-list li i {
    color: #ff974f;
    margin-right: 15px;
    font-size: 18px;
}

/* Recognition Levels */
.recognition-levels {
    height: 100%;
}

.recognition-levels h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.level-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #ddd;
}

.bronze-level {
    border-left-color: #cd7f32;
}

.blue-level {
    border-left-color: #2f80ed;
}

.silver-level {
    border-left-color: #c0c0c0;
}

.gold-level {
    border-left-color: #ffd700;
}

.platinum-level {
    border-left-color: #e5e4e2;
}

.level-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.bronze-level .level-icon {
    background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
}

.blue-level .level-icon {
    background: linear-gradient(135deg, #2f80ed 0%, #1e6bd8 100%);
}

.silver-level .level-icon {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
}

.gold-level .level-icon {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.platinum-level .level-icon {
    background: linear-gradient(135deg, #e5e4e2 0%, #8e8e90 100%);
}

.level-icon i {
    font-size: 28px;
    color: white;
}

.level-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.level-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ff974f;
    margin: 0 0 10px 0;
}

.level-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 22px;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: linear-gradient(
            135deg,
            rgba(15, 15, 15, 0.97) 0%,
            rgba(34, 34, 34, 0.94) 100%
        ),
        url("/images/slider/1.jpg") center center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    position: relative;
}

.values-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.values-content {
    position: relative;
    z-index: 2;
}

.values-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.values-content .lead {
    font-size: 20px;
    font-weight: 300;
}

.values-grid {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.value-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 151, 79, 0.9);
    border-radius: 50%;
    margin: 0 auto 25px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 36px;
    color: white;
}

.value-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.value-card p {
    font-size: 15px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.9);
}

/* Gallery Section */
.events-gallery-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

.events-gallery-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.gallery-intro {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.gallery-grid {
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        transparent 100%
    );
    padding: 30px 20px;
}

.gallery-overlay h3 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

/* Testimonials Section */
.events-testimonials-section {
    padding: 100px 0;
}

.events-testimonials-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 60px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    height: 100%;
    position: relative;
}

.quote-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff974f 0%, #ff6b35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.quote-icon i {
    color: white;
    font-size: 20px;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 28px;
    color: #555;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 14px;
    color: #ff974f;
    font-weight: 600;
}

/* Next Event Section */
.next-event-section {
    padding: 100px 0;
    background: white;
}

.next-event-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.date-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff974f 0%, #ff6b35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
}

.date-icon i {
    font-size: 36px;
    color: white;
}

.next-event-card h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.event-details {
    margin: 40px 0;
}

.event-detail-item {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.event-detail-item i {
    font-size: 24px;
    color: #ff974f;
    margin-right: 20px;
    width: 30px;
}

.event-detail-item span {
    font-size: 18px;
    color: #555;
    font-weight: 500;
}

.event-note {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #ff974f;
    margin: 30px 0;
    font-size: 15px;
    line-height: 26px;
    color: #555;
}

.event-note strong {
    color: #ff974f;
}

/* Responsive Design */
@media (max-width: 991px) {
    .events-title {
        font-size: 48px;
    }

    .event-info-card {
        padding: 30px;
        margin-bottom: 30px;
    }

    .recognition-levels {
        margin-top: 30px;
    }

    .values-section {
        background-attachment: scroll;
    }
}

@media (max-width: 767px) {
    .events-title {
        font-size: 36px;
    }

    .events-description {
        font-size: 16px;
        line-height: 26px;
    }

    .event-info-card h2,
    .recognition-levels h2,
    .events-gallery-section h2,
    .events-testimonials-section h2 {
        font-size: 28px;
    }

    .values-content h2,
    .next-event-card h2 {
        font-size: 32px;
    }

    .level-content h3 {
        font-size: 22px;
    }

    .next-event-card {
        padding: 40px 30px;
    }

    .value-card {
        margin-bottom: 20px;
    }
}

/* Smooth scrolling - DISABLED */

/* ===================================================================
   PIXIESET-STYLE GALLERY COMPONENT
   =================================================================== */

/* Gallery Filters */
.gallery-filters {
    margin: 50px 0 40px 0;
    padding: 20px 0;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: #555;
    padding: 12px 30px;
    margin: 5px 8px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
}

.filter-btn.active {
    background: linear-gradient(135deg, #ff974f 0%, #ff6b35 100%);
    border-color: #ff974f;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 151, 79, 0.4);
}

/* Pixieset Gallery Grid */
.pixieset-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Gallery Item Modern */
.gallery-item-modern {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #f0f0f0;
    aspect-ratio: 4/3;
}

.gallery-item-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery Overlay Modern */
.gallery-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 40%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0.85) 100%
    );
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

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

.overlay-content {
    color: white;
}

.overlay-content i {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.9;
}

.overlay-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: white;
}

.overlay-content p {
    font-size: 13px;
    margin: 0;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
}

/* Load More Button */
.btn-load-more {
    background: white;
    border: 2px solid #ff974f;
    color: #ff974f;
    padding: 15px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-load-more i {
    margin-right: 8px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

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

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
}

.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}

.lightbox-loading i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    color: rgba(255, 151, 79, 0.9);
}

.lightbox-loading p {
    font-size: 16px;
    margin: 0;
}

.lightbox-image-wrapper img.loaded ~ .lightbox-loading {
    display: none;
}

.lightbox-caption {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.lightbox-caption h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.lightbox-caption p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Lightbox Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    user-select: none;
    backdrop-filter: blur(10px);
}

.lightbox-close {
    top: 30px;
    right: 40px;
    font-size: 50px;
    line-height: 40px;
}

.lightbox-prev {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 151, 79, 0.9);
}

.lightbox-counter {
    position: absolute;
    top: 30px;
    left: 40px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

/* Gallery Animation States */
.gallery-item-modern {
    opacity: 1;
}

.gallery-item-modern.hidden {
    display: none;
}

/* Responsive Gallery */
@media (max-width: 1200px) {
    .pixieset-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .pixieset-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 12px;
        padding: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 12px;
        margin: 4px 5px;
    }

    .gallery-overlay-modern {
        padding: 15px;
    }

    .overlay-content h4 {
        font-size: 16px;
    }

    .overlay-content p {
        font-size: 12px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 10px 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 40px;
    }

    .lightbox-counter {
        top: 10px;
        left: 10px;
        font-size: 14px;
        padding: 8px 15px;
    }

    .events-title {
        font-size: 42px;
    }

    .events-hero-section {
        /* padding: 80px 0 60px 0; */
    }
}

@media (max-width: 480px) {
    .pixieset-gallery {
        grid-template-columns: 1fr;
    }

    .events-title {
        font-size: 32px;
    }
}
