/*
 * Styles for the Home Page Sections
 * Path: /css/home.css
 */

 .home-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
}

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.3;
}

/* Scroll Down Arrow Styles */
.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: scrollArrow 2s ease-in-out infinite;
}

.arrow-text {
    font-family: var(--secondary-font);
    font-size: 1rem;
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.arrow-icon {
    width: 30px;
    height: 30px;
    stroke: var(--gold-color);
}

@keyframes scrollArrow {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.8; }
    50% { transform: translate(-50%, 10px); opacity: 1; }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    background-color: var(--gold-color);
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hero-cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--gold-color), #FFD700);
    color: var(--black-background);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--primary-font);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
    background: linear-gradient(45deg, #FFD700, var(--gold-color));
}

.home-hero .container {
    position: relative;
    z-index: 1;
    margin-top: 80px;
}

.home-hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.home-hero p {
    font-size: 1.5rem;
    font-family: var(--secondary-font);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.home-about,  .home-gallery, .home-packages, .home-specials-new, .home-events-new {
    padding: 80px 0 100px;
}

.home-about {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgb(0, 0, 0));
}

.home-about h2, .home-gallery h2, .home-packages h2, .home-specials-new h2, .home-events-new h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 3rem;
}

.home-about p, .home-packages p, .home-specials-new p, .home-events-new p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Image Showcase Styles */
.about-image-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.about-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    height: 400px;
}

.about-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 25px;
    color: var(--text-color);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.about-image-item:hover .image-overlay,
.gallery-item:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h3 {
    font-family: var(--primary-font);
    font-size: 1.9rem;
    color: var(--gold-color);
    margin-bottom: 12px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.image-overlay p {
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

/* Home Packages Styles */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
    align-items: stretch;
}

.package-card {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--gold-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.package-card:hover::before {
    opacity: 1;
}

.package-header h3 {
    font-size: 2.5rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.package-header .price {
    font-family: var(--primary-font);
    font-size: 2.2rem;
    color: #FFD700;
    font-weight: 700;
    margin-bottom: 25px;
}

.package-includes {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.package-includes h4 {
    font-size: 1.3rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 5px;
}

.package-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-includes li {
    font-family: var(--secondary-font);
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.package-includes li::before {
    content: '★';
    color: var(--gold-color);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
}

.book-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--gold-color), #FFD700);
    color: var(--black-background);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--primary-font);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.book-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
    background: linear-gradient(45deg, #FFD700, var(--gold-color));
}

/* Home Gallery Styles */
.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.gallery-item img, .gallery-item video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.gallery-item:hover img, .gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-item .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    padding: 20px;
    color: var(--text-color);
}


/*
 * Styles for the Upcoming Events Section (NEW)
 * These styles mirror the new specials section for consistent grid behavior.
 */

.events-slider-container-new {
    position: relative;
    max-width: 1200px; /* Adjust based on your container width */
    margin: 50px auto 0;
    padding: 0 50px; /* Add padding to prevent buttons from overlapping content */
    box-sizing: border-box;
}

.events-grid-new {
    display: grid;
    grid-auto-flow: column; /* Lay out items in a single row */
    grid-auto-columns: calc((100% / 3) - 20px); /* Show 3 cards by default, with gap */
    gap: 30px;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap scrolling */
    -ms-overflow-style: none;  /* Hide scrollbar IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar Firefox */
    padding-bottom: 20px; /* Space for scrollbar if it appears */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.events-grid-new::-webkit-scrollbar {
    display: none;
}

.event-card-new {
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 500px; /* Fixed height for all event cards */
    flex-shrink: 0; /* Ensure it doesn't shrink */
    scroll-snap-align: start; /* Snap to the start of each card */
    display: flex; /* Added to make the card a flex container */
    flex-direction: column; /* Stack image and content vertically */
}

.event-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.25);
}

.event-card-link-new {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%; /* Make the link fill the card */
}

.event-card-image-new {
    flex-grow: 1; /* This makes the image container take up all available space */
    overflow: hidden;
    position: relative;
}

.event-card-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image cover the container, cropping if necessary */
    transition: transform 0.4s ease;
}

.event-card-new:hover .event-card-image-new img {
    transform: scale(1.05);
}

.event-card-content-new {
    padding: 20px;
    background-color: #111; /* Slightly different background to separate from image */
    flex-shrink: 0; /* Prevent content from shrinking */
    text-align: left;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.event-card-title-new {
    font-family: var(--primary-font);
    font-size: 1.5rem;
    color: var(--gold-color);
    margin: 0 0 5px 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-card-date-new {
    font-family: var(--secondary-font);
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0 0 10px 0;
    opacity: 0.8;
}

.event-card-excerpt-new {
    font-family: var(--secondary-font);
    color: rgba(224, 224, 224, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    /* Truncate text to 2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Slider Buttons for Events */
.slider-button {
    display: block; /* Make slider buttons visible */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(218, 165, 32, 0.8);
    color: var(--black-background);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-button:hover {
    background-color: #FFD700;
    transform: translateY(-50%) scale(1.05);
}

.events-prev-new {
    left: 0;
}

.events-next-new {
    right: 0;
}


/* Hero Peek Cards (Vibrant Update) */
.hero-peek-cards-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.hero-peek-card {
    position: absolute;
    width: 250px;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.3);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    filter: saturate(110%) brightness(105%);
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: filter 0.3s ease, box-shadow 0.3s ease;
}

.hero-peek-card:hover {
    filter: saturate(120%) brightness(110%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.5);
}

.hero-peek-card-1 {
    top: 15%;
    left: 50px;
    background-image: url('../images/club-image-5.jpg');
    transform: translate(-100%, 0) rotate(-10deg);
}

.hero-peek-card-2 {
    bottom: 10%;
    left: 60px;
    width: 200px;
    height: 280px;
    background-image: url('../images/club-image-1.jpg');
    transform: translate(-100%, 0) rotate(5deg);
}

.hero-peek-card-3 {
    top: 20%;
    right: 50px;
    background-image: url('../images/club-image-2.jpg');
    transform: translate(100%, 0) rotate(15deg);
}

.hero-peek-card-4 {
    bottom: 5%;
    right: 60px;
    width: 220px;
    height: 300px;
    background-image: url('../images/club-image-3.jpg');
    transform: translate(100%, 0) rotate(-8deg);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .events-grid-new {
        grid-auto-columns: calc((100% / 2) - 15px); /* Show 2 cards */
    }
}


@media (max-width: 768px) {
    .home-hero {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    .home-hero .container {
        margin-top: 50px;
    }
    .home-hero h1 {
        font-size: 3rem;
    }
    .home-hero p {
        font-size: 1.2rem;
    }
    .home-about, .home-gallery, .home-packages, .home-specials-new, .home-events-new {
        padding: 60px 0 80px;
    }
    .home-about h2, .home-gallery h2, .home-packages h2, .home-specials-new h2, .home-events-new h2 {
        font-size: 2.5rem;
    }

    .gallery-showcase, .about-image-showcase, .packages-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item, .about-image-item {
        height: 350px;
    }
    .package-card {
        padding: 20px;
    }
    .package-header h3 {
        font-size: 2rem;
    }
    .package-header .price {
        font-size: 1.8rem;
    }
    .book-button {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .hero-peek-cards-container {
        display: none;
    }

    .hero-particle {
        width: 4px !important;
        height: 4px !important;
    }

    .scroll-down-arrow {
        bottom: 20px;
    }
    .arrow-text {
        font-size: 0.9rem;
    }
    .arrow-icon {
        width: 24px;
        height: 24px;
    }

    /* Events slider responsive */
    .events-slider-container-new {
        padding: 0 15px; /* Reduce padding for smaller screens */
    }

    .events-grid-new {
        grid-auto-columns: 85%; /* Show 1 card, with a peek of the next one */
        gap: 15px;
    }

    .slider-button.events-prev-new,
    .slider-button.events-next-new {
        display: none; /* Hide buttons on mobile where swipe is natural */
    }

    .event-card-new {
        height: 450px; /* Adjust height for smaller screens */
    }
    .event-card-title-new {
        font-size: 1.3rem;
    }

}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-peek-card {
        width: 180px;
        height: 250px;
    }
    .hero-peek-card-1 { top: 10%; left: -50px; }
    .hero-peek-card-2 { bottom: 5%; left: -60px; width: 150px; height: 200px; }
    .hero-peek-card-3 { top: 15%; right: -50px; }
    .hero-peek-card-4 { bottom: 3%; right: -60px; width: 170px; height: 230px; }
    .about-image-showcase {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Use auto-fit for flexibility */
    }
    .gallery-showcase {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .gallery-item {
        height: 400px;
    }
}
