/* ===================================
   Events Page - Elite Premium Design
   Inspired by FBO Page Quality
   =================================== */

/* Hero Section */
#events-hero {
    position: relative;
    height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.events-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.events-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
    rgba(2, 26, 71, 0.85) 0%,
    rgba(2, 26, 71, 0.7) 50%,
    transparent 100%
    );
    z-index: 1;
}

.events-hero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
}

.events-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.events-hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 60px;
}

.events-hero-text {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 30px 35px 35px 35px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.events-hero-badge {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    color: #fff;
    background: linear-gradient(135deg, #AB966C 0%, #8a7555 100%);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(171, 150, 108, 0.45);
}

.events-hero-badge::before {
    content: '★';
    margin-right: 6px;
    font-size: 12px;
}

.events-hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
}

.events-hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}


/* Section Headers */
.events-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.events-section-badge {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #AB966C 0%, #8B7A5A 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(171, 150, 108, 0.3);
}

.events-section-title {
    font-size: 48px;
    font-weight: 700;
    color: #2D5085;
    margin-bottom: 16px;
    line-height: 1.2;
    font-family: 'Cormorant Garamond', serif;
}

.events-section-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* About Section */
.events-about-section {
    padding: 100px 0;
    background: transparent;
}

.events-about-content {
    padding-right: 40px;
}

.events-about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
}

.events-about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.events-about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.events-about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Amenities Section - Compact */
.events-amenities-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.events-amenities-section .events-section-header {
    margin-bottom: 35px;
}

.events-amenities-section .events-section-badge {
    width: 45px;
    height: 45px;
    font-size: 20px;
    margin-bottom: 16px;
}

.events-amenities-section .events-section-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.events-amenities-section .events-section-subtitle {
    font-size: 15px;
}

.events-amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.events-amenity-card {
    background: transparent;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: none;
}

.events-amenity-card:hover {
    transform: translateY(-3px);
}

.events-amenity-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #AB966C 0%, #8B7A5A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    margin: 0 auto 14px;
    box-shadow: 0 6px 15px rgba(171, 150, 108, 0.25);
}

.events-amenity-title {
    font-size: 16px;
    font-weight: 700;
    color: #2D5085;
    margin-bottom: 6px;
    font-family: 'Cormorant Garamond', serif;
}

.events-amenity-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* Gallery Slider */
.events-gallery-slider-wrapper {
    margin-top: 60px;
}

.events-gallery-swiper {
    padding: 20px 0 60px;
}

.events-gallery-slide {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.events-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.events-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
    transparent 0%,
    rgba(2, 26, 71, 0.3) 50%,
    rgba(2, 26, 71, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.events-gallery-slide:hover .events-gallery-overlay {
    opacity: 1;
}

.events-gallery-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
}

.events-gallery-swiper .swiper-pagination-bullet {
    background: #2D5085;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.events-gallery-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #AB966C;
}

.events-gallery-swiper .swiper-button-prev,
.events-gallery-swiper .swiper-button-next {
    color: #2D5085;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.events-gallery-swiper .swiper-button-prev:after,
.events-gallery-swiper .swiper-button-next:after {
    font-size: 20px;
}

.events-gallery-swiper .swiper-button-prev:hover,
.events-gallery-swiper .swiper-button-next:hover {
    background: #2D5085;
    color: #fff;
}

/* Planning Section */
.events-planning-section {
    padding: 100px 0;
    background: transparent;
}

.events-planning-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.events-planning-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.events-planning-image img {
    width: 100%;
    height: auto;
    display: block;
}

.events-planning-content {
    padding-left: 40px;
}

.events-planning-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
}

/* CTA Section */
.events-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2D5085 0%, #1A3A5F 100%);
    position: relative;
    overflow: hidden;
}

.events-cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(171, 150, 108, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.events-cta-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(171, 150, 108, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.events-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.events-cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Cormorant Garamond', serif;
}

.events-cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.events-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: #29378c;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(14, 26, 43, 0.25);
}

.events-cta-btn:hover {
    background: #1f2a6b;
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(14, 26, 43, 0.35);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 991px) {
    #events-hero {
        height: auto;
        min-height: unset;
    }

    .events-hero-bg-img {
        position: relative;
        height: 420px;
        width: 100%;
        object-fit: cover;
        z-index: 0;
    }

    .events-hero-overlay {
        display: none;
    }

    .events-hero-inner {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 30px 50px;
        gap: 30px;
        background: #fff;
        z-index: 1;
    }

    .events-hero-bottom {
        position: relative;
        padding-bottom: 0;
        margin-bottom: 0;
        order: 1;
        width: 100%;
    }

    .events-hero-text {
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .events-hero-title {
        font-size: 38px;
        color: #0D1B3E;
    }

    .events-hero-subtitle {
        font-size: 16px;
        color: #555;
    }

    .events-section-title {
        font-size: 38px;
    }

    .events-about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .events-planning-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .events-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-cta-content h2 {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    #events-hero {
        height: auto;
        min-height: unset;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .events-hero-bg-img {
        position: relative;
        height: 280px;
        width: 100%;
        object-fit: cover;
        z-index: 0;
    }

    .events-hero-overlay {
        display: none;
    }

    .events-hero-inner {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        padding: 36px 20px 40px;
        background: #fff;
        min-height: unset;
    }

    .events-hero-bottom {
        position: relative;
        padding-bottom: 0;
        margin-bottom: 30px;
        order: 1;
    }

    .events-hero-text {
        padding: 0;
        max-width: 100%;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        text-align: left;
        margin: 0;
    }

    .events-hero-badge {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .events-hero-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 12px;
        color: #0D1B3E;
    }

    .events-hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        color: #555;
    }

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

    .events-section-badge {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .events-about-text,
    .events-planning-text {
        font-size: 16px;
    }

    .events-amenities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .events-gallery-slide {
        height: 300px;
    }

    .events-cta-content h2 {
        font-size: 32px;
    }

    .events-cta-content p {
        font-size: 18px;
    }
}

/* ===============================
   VENUE SHOWCASE GALLERY - MASONRY STYLE
================================ */

.events-venue-gallery-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.events-venue-gallery-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(171, 150, 108, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

/* Masonry Grid */
.venue-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 20px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.venue-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Masonry Sizes */
.venue-gallery-item.large {
    grid-column: span 2;
}

.venue-gallery-item.tall {
    grid-row: span 2;
}

.venue-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.venue-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.venue-gallery-overlay h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.venue-gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

/* Hover Effects */
.venue-gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

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

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

/* Gold Accent Border on Hover */
.venue-gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    border-radius: 16px;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.venue-gallery-item:hover::before {
    border-color: #AB966C;
}

.venue-gallery-item.visible {
    opacity: 1;
    pointer-events: all;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .venue-masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        grid-auto-rows: 230px;
    }
}

@media (max-width: 991px) {
    .events-venue-gallery-section {
        padding: 80px 0;
    }

    .venue-masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-auto-rows: 220px;
        gap: 15px;
    }

    .venue-gallery-overlay h4 {
        font-size: 20px;
    }

    .venue-gallery-overlay p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .venue-masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-auto-rows: 200px;
        gap: 12px;
    }

    .venue-gallery-item.large {
        grid-column: span 1;
    }

    .venue-gallery-item.tall {
        grid-row: span 1;
    }

    .venue-gallery-overlay {
        padding: 20px;
    }

    .venue-gallery-overlay h4 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .events-venue-gallery-section {
        padding: 60px 0;
    }

    .venue-masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        padding: 0 15px;
    }

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

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