﻿

/*video------------------------------------*/


/* 1. MASTER WRAPPER - The primary fix for horizontal scrolling */
.videohero-master-wrapper {
    width: 100%;
    overflow-x: hidden; /* Stops the black bar/pole on the right */
    position: relative;
    margin: 0;
    padding: 0;
}

/* 2. SECTION STYLING */
.videohero-section {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    background: #000;
    display: block;
    box-sizing: border-box;
}

.videohero-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden; /* Safety for the video object */
}

.videohero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.videohero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.videohero-center-content {
    text-align: center;
    color: #ffffff;
    font-family: sans-serif;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.videohero-title {
    /* clamp prevents text from pushing past screen bounds on narrow phones */
    font-size: clamp(1.8rem, 8vw, 5.5rem);
    font-weight: 900;
    /* Reduced spacing for mobile to stop overflow */
    letter-spacing: clamp(2px, 2vw, 12px);
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.videohero-line {
    width: 40px;
    height: 3px;
    background: #ffffff;
    margin: 15px auto;
}

.videohero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* 3. STYLED PILL FOOTER */
.videohero-footer {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    /* This prevents the pill from creating a horizontal scroll */
    max-width: calc(100% - 40px);
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.videohero-social {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .videohero-social:hover {
        background: rgba(255, 255, 255, 0.2);
    }

/* 4. MOBILE-SPECIFIC FIXES */
@media (max-width: 768px) {
    .videohero-footer {
        bottom: 60px;
        width: auto;
        padding: 8px 12px;
    }

    .videohero-social {
        padding: 6px 10px;
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}








/*section separator------------------------------*/

.sectionseparator-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%; /* Leaves breathing room on mobile */
    max-width: 1200px; /* Prevents it from getting too wide on desktop */
    margin: 0 auto; /* Centers the container */
    padding-top: 30px; /* Your requested top padding */
    padding-bottom: 30px;
}

.sectionseparator-line {
    flex: 1; /* Makes lines take up remaining space */
    height: 1px;
    /* A subtle gradient that fades out toward the edges */
    background: linear-gradient(to var(--direction, right), rgba(255,255,255,0), rgba(255,255,255,0.5));
}

    /* Reverses the gradient for the second line */
    .sectionseparator-line:last-child {
        background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.5));
    }

.sectionseparator-text {
    padding: 0 20px;
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap; /* Prevents text from wrapping on tiny screens */
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .sectionseparator-text {
        font-size: 0.75rem; /* Smaller text for mobile */
        letter-spacing: 2px;
        padding: 0 10px;
    }

    .sectionseparator-container {
        width: 95%;
        padding-top: 20px; /* Slightly tighter on mobile */
    }
}


/*image fade out right--------------------------*/


.imagefaderight-section {
    width: 100%;
    /* Added overflow control to prevent screen bounds issues */
    overflow: hidden;
    padding: 60px 0;
    background: transparent;
    position: relative;
}

.imagefaderight-container {
    /* Using 90% and margin auto ensures it stays inside the screen */
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.imagefaderight-visual-wrapper {
    flex: 1.5;
    position: relative;
    line-height: 0;
    /* DEEPER FADE: Mask starts fading at 20% and is gone by 90% */
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 20%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 90%);
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 20%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 90%);
}

.imagefaderight-img {
    /* Use max-width to prevent the image from pushing the container out */
    max-width: 100%;
    height: auto;
    display: block;
}

.imagefaderight-content {
    flex: 1;
    color: white;
    font-family: sans-serif;
    /* Prevent text from pushing bounds on small screens */
    word-wrap: break-word;
}

.imagefaderight-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

/* Mobile Fixes for Bounds and Fade direction */
@media (max-width: 850px) {
    .imagefaderight-container {
        flex-direction: column;
        width: 95%; /* Tighten for mobile */
        gap: 20px;
    }

    .imagefaderight-visual-wrapper {
        width: 100%;
        /* Mobile fade: Top stays solid, bottom disappears more */
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 95%);
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 95%);
    }
}






/*image fade out left--------------------------*/

.imagefadeleft-section {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    background: transparent;
    position: relative;
}

.imagefadeleft-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.imagefadeleft-content {
    flex: 1;
    color: white;
    font-family: sans-serif;
    word-wrap: break-word;
    /* Text is now on the left, so we align it left */
    text-align: left;
}

.imagefadeleft-visual-wrapper {
    flex: 1.5;
    position: relative;
    line-height: 0;
    /* REVERSED FADE: Fades out toward the LEFT */
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 20%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 90%);
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 20%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 90%);
}

.imagefadeleft-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.imagefadeleft-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.imagefadeleft-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: 0.3s;
}

    .imagefadeleft-btn:hover {
        background: white;
        color: #001b3d;
    }

/* Mobile Fixes */
@media (max-width: 850px) {
    .imagefadeleft-container {
        /* Reverts to standard stack: Image on top, text below */
        flex-direction: column-reverse;
        width: 95%;
        text-align: center;
    }

    .imagefadeleft-content {
        text-align: center;
    }

    .imagefadeleft-visual-wrapper {
        width: 100%;
        /* Mobile fade remains top-to-bottom for consistency */
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 95%);
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 95%);
        margin-bottom: 20px;
    }
}







/*event cards---------------------*/

.eventcards-section {
    width: 100%;
    padding: 80px 20px;
    background-color: transparent; /* Blends with your random shapes background */
    box-sizing: border-box;
}

.eventcards-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    /* Two columns for desktop */
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.eventcards-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

    .eventcards-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

.eventcards-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.eventcards-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.eventcards-card:hover .eventcards-img {
    transform: scale(1.1);
}

.eventcards-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #00d4ff;
    color: #000;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.eventcards-content {
    padding: 30px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.eventcards-date {
    font-size: 0.75rem;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.eventcards-title {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.eventcards-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.eventcards-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #00d4ff;
    padding-bottom: 5px;
    transition: 0.3s;
}

    .eventcards-link:hover {
        letter-spacing: 2px;
    }

/* MOBILE SCALING */
@media (max-width: 768px) {
    .eventcards-container {
        /* Switch to one column for mobile */
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .eventcards-section {
        padding: 40px 15px;
    }

    .eventcards-image-wrapper {
        height: 200px;
    }

    .eventcards-title {
        font-size: 1.3rem;
    }
}






/*border---------------------------*/

/* Container to handle the spill-over onto the hero */
.bordersection-outer {
    width: 100%;
    position: relative;
    z-index: 100;
    margin-top: -20px; /* Spills over the Hero section */
    height: 40px;
    display: flex;
    align-items: center;
}

/* The Thick Solid Bar */
.bordersection-solid-bar {
    width: 100%;
    height: 15px; /* Thick and solid */
    background: linear-gradient(180deg, #e0e0e0 0%, #888 100%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Interesting Shape in the Middle */
.bordersection-center-shape {
    width: 60px;
    height: 60px;
    background: #ffffff;
    /* Creating a sharp 3D diamond/hexagon shape */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    border: 2px solid #D4AF37; /* Gold rim for style */
}

/* The Inner Icon/Detail */
.bordersection-inner-icon {
    width: 40%;
    height: 40%;
    background: #D4AF37;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .bordersection-outer {
        margin-top: -15px;
    }

    .bordersection-solid-bar {
        height: 6px;
    }

    .bordersection-center-shape {
        width: 45px;
        height: 45px;
    }
}



