/* Custom styles for event pages like letitgo.html */

/* Ensure the hero section takes full viewport height and positions content */
#hero-event {
    width: 100%;
    height: 100vh; /* Replace with your actual hero background image */
    background-size: cover;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center; /* Center content vertically within the hero */
    justify-content: center; /* Center content horizontally */
    text-align: center;
    color: #fff; /* White text for readability over dark background */
    overflow: hidden; /* Hide anything that overflows */
    background-image: url(../img/hero-let-it-go.jpg);
    background-position: center center;
}

/* Hero Overlay to ensure countdown visibility */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Lighter overlay for better visibility of background image */
    z-index: 1; /* Below content, above background */
}

/* Content within the hero to be above the overlay */
#hero-event .container {
    position: relative;
    z-index: 2; /* Ensures content is above the overlay */
    padding-bottom: 5vh; /* Padding to push content up from the bottom */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to the bottom of the container */
    align-items: center;
    min-height: 100vh; /* Ensure container itself respects 100vh for positioning */
    padding-top: 100px; /* Adjust based on header height */
}

/* Removed #hero-event h1 styles as the element is being removed from HTML */

/* Countdown Styling */
.countdown-wrapper {
    width: 100%;
    max-width: 900px; /* Increased max-width for larger countdown */
    text-align: center;
    z-index: 3; /* Ensure it's on top of other hero content if needed */
    margin-bottom: 20px; /* Reduced space between countdown and buttons */
    /* Position the countdown further down in the hero */
    position: absolute;
    bottom: 15vh; /* Adjusted this value to move it up from the very bottom */
    left: 50%;
    transform: translateX(-50%);
}

/* Removed .countdown-pretext styles as the element is being removed from HTML */

.countdown-timer {
    font-family: 'Bebas Neue', sans-serif; /* Use a strong, clear font */
    font-size: 20vw; /* Significantly larger responsive font size for desktop */
    color: #fff;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    line-height: 1; /* Compact line height */
    white-space: nowrap; /* Prevent breaking across lines */
    display: inline-block; /* Allows text-align to work on it */
}

.countdown-timer span {
    display: inline-block; /* Allows vertical alignment for number and label */
    margin: 0 5px; /* Reduced margin between number and label */
}

.countdown-timer .value {
    font-size: 1em; /* Value is the main font size */
    display: block;
}

.countdown-timer .label {
    font-size: 0.15em; /* Even smaller label relative to value */
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px; /* Adjusted letter spacing for label */
    color: #eee;
}


/* Call to Action Buttons (only "Buy Tickets Now" remains in hero) */
.hero-ctas {
    margin-top: 0; /* Spacing handled by countdown-wrapper margin-bottom */
    position: absolute; /* Position relative to hero-event */
    bottom: 10vh; /* Position above the very bottom, below countdown */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2; /* Place them above the overlay */
}

.btn-buy-tickets,
.btn-call-info {
    font: 700 20px "Raleway", sans-serif;
    letter-spacing: 1px;
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 0 5px;
    border: 2px solid #F20544; /* Match site's primary color */
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

.btn-buy-tickets {
    background: #F20544;
    font-weight: 800;
}

.btn-buy-tickets:hover {
    background: #e0043c;
    color: #fff;
    text-decoration: none;
}

.btn-call-info {
    color: #fff;
    background-color: rgba(1,169,215,1.00);
}

.btn-call-info:hover {
    background: #F20544;
    color: #fff;
    text-decoration: none;
}

/* Return to Main Website Link in Header */
#header .navbar ul li .nav-link {
    color: #555; /* Default header link color */
    font-weight: 600;
}

#header .navbar ul li .nav-link:hover {
    color: #F20544; /* Hover color */
}

/* New section for CTAs below the hero */
#event-contact-ctas {
    padding: 30px 15px; /* Padding for the new section */
    background-color: #f0f0f0; /* A subtle background to distinguish it */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Space between buttons */
}

#event-contact-ctas .btn-call-info,
#event-contact-ctas .btn-secondary-cta {
    /* Reusing existing button styles, adjusting margin */
    margin: 0; /* Remove default button margins */
    width: 100%; /* Full width on small screens */
    max-width: 300px; /* Max width for buttons */
    text-align: center;
}

/* Event Details Section */
.event-details {
    padding: 60px 0;
    background: #f8f8f8;
}

.event-details .section-title h2 {
    color: #012340;
}

.event-details h3 {
    font-size: 28px;
    font-weight: 600;
    color: #012340;
    margin-bottom: 20px;
}

.event-details ul {
    list-style: none;
    padding: 0;
}

.event-details ul li {
    padding-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.event-details ul li i {
    font-size: 20px;
    padding-right: 8px;
    color: #F20544;
    line-height: 1;
}

.event-details .price-highlight {
    font-size: 1.2em;
    font-weight: bold;
    color: #17a2b8; /* Cyan-like color for pricing */
}

.event-details .contact-list p {
    margin-bottom: 5px;
}
.event-details .contact-list a {
    color: #F20544;
    text-decoration: none;
    font-weight: bold;
}
.event-details .contact-list a:hover {
    text-decoration: underline;
}

.btn-secondary-cta {
    font: 800 20px "Raleway", sans-serif;
    letter-spacing: 1px;
    display: inline-block;
    padding: 15px 25px;
    border-radius: 40px;
    transition: 0.5s;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    background-color: rgba(2,169,215,1.00);
}

.btn-secondary-cta:hover {
    background-color: #F20543;
    color: #fff;
    text-decoration: none;
}


/* Past Cruises Section */
.past-cruises {
    padding: 60px 0;
    background: #fff;
}

.past-cruises .section-title h2 {
    color: #012340;
}

.past-cruises .video-item {
    margin-bottom: 30px;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.past-cruises .video-embed {
    width: 100%;
    height: 250px; /* Fixed height for video embeds */
    display: block;
}

.past-cruises .video-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: #012340;
    padding: 15px 20px 5px;
}

.past-cruises .video-item p {
    font-size: 14px;
    color: #555;
    padding: 0 20px 20px;
    margin-bottom: 0;
}


/* Responsive adjustments */
@media (max-width: 991px) {
    #hero-event h1 {
        font-size: 38px;
        line-height: 46px;
    }

    #hero-event .container {
        padding-bottom: 0; /* Adjust padding for smaller screens */
    }

    .countdown-wrapper {
        margin-bottom: 20px; /* Adjust margin for smaller screens */
        bottom: 10vh; /* Keep it in lower third */
    }

    .countdown-timer {
        font-size: 25vw; /* Larger on smaller screens */
    }
    .countdown-timer span {
        margin: 0 5px;
    }
    .countdown-timer .label {
    font-size: 0.25em; /* Smaller label on mobile */
    margin-top: -21px;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .btn-buy-tickets { /* Only buy tickets button in hero */
    width: 160%;
    margin: 10px 0;
    }
    .past-cruises .video-embed {
        height: 200px;
    }
}

@media (max-width: 768px) {
    #hero-event h1 {
        font-size: 32px;
        line-height: 40px;
    }
    
    .countdown-wrapper {
        margin-bottom: 20px; /* Adjust margin for smaller screens */
        bottom: 15vh; /* Keep it in lower third */
    }
    .countdown-timer {
        font-size: 35vw; /* Even larger on mobile */
    }
    .countdown-timer span {
        margin: 0 3px;
    }
    #event-contact-ctas {
        flex-direction: column; /* Stack buttons vertically on small screens */
    }
}

@media (max-width: 576px) {
        
    .countdown-wrapper {
        margin-bottom: 20px; /* Adjust margin for smaller screens */
        bottom: 20vh; /* Keep it in lower third */
    }
    .countdown-timer {
        font-size: 45vw; /* Max size on very small screens */
    }
    .countdown-timer span {
        margin: 0 4px;
    }
}
