/*
 * Xplora Experiences Lobby – Radical Redesign
 *
 * This stylesheet implements a radically different look and feel for the lobby
 * page.  The original design was inspired by the existing website.  This new
 * iteration takes a bold approach using a dark, atmospheric palette with
 * luminous accents and glassmorphism cards.  It adheres to responsive design
 * principles and uses flexible layouts to work across devices, as advised by
 * modern best practices【119812385395163†L55-L62】.
 */

/* Theme variables */
:root {
    /*
     * Base colours
     *
     * The palette is still rooted in dark tones to evoke sophistication, but
     * the primary background has been lightened slightly and a faint tint of
     * teal added.  The card surface uses a higher transparency to allow
     * glimpses of the backdrop and create a luminous glass effect.
     */
    --color-primary: #222222;        /* dark navy‑teal base with a hint of blue */
    --color-surface: rgba(255, 255, 255, 0.1); /* translucent card surface, more light */
    --color-border: rgba(255, 255, 255, 0.15);   /* slightly stronger border */
    --color-text: #e4edf5;           /* very light text for contrast */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-primary);
    color: var(--color-text);
    
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto;
    line-height: 1;
}

.logo .sub {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.15rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #9dbbdc;
}

/* Navigation */
nav a {
    margin-left: 1.5rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.2s ease-in-out;
    color: #9dbbdc;
}

nav a:hover {
    color: #ffffff;
}

nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-color: #ffffff;
}

/* Hero Section */
.hero {
    position: relative;
    /*
       A radial gradient overlays the primary colour to add subtle brightness
       towards the top left, drawing the eye toward the headline.  The gradient
       values have been lightened to give the hero a more luminous feel.
    */
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.0)), var(--color-primary);
    text-align: center;
    padding: 6rem 2rem 1.2rem;
        margin-top: -87px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    margin-bottom: 1rem;
    color: #ffffff;
    /* Fade in and slide up the headline for a dynamic entrance */
    opacity: 0;
    animation: slideIn 0.8s ease forwards;
    animation-delay: 0.2s;
        margin-top: 45px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 640px;
    margin: 0 auto;
    color: #cbd5e1;
    /* Stagger the paragraph animation to follow the headline */
    opacity: 0;
    animation: slideIn 0.8s ease forwards;
    animation-delay: 0.4s;
}

/* Video wrapper within the hero.  The video is positioned absolutely and
   covers the entire hero area.  A brightness filter is applied to improve
   text legibility. */
.video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
 
}
.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
 
        height: 100vh;
    overflow: hidden;
}

/* Experiences grid */
.experiences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    padding: 0rem 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /*
       Soft gradient behind the card grid.  We lighten the colours compared
       to the previous version to create a more inviting transition between
       sections.  The gradient fades from a semi‑transparent teal at the top
       into a transparent blue towards the bottom.
    */
    /*background: linear-gradient(180deg, rgba(8, 67, 100, 0.55) 0%, rgba(6, 60, 90, 0.25) 100%);*/
    border-top: 1px solid var(--color-border);
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 360px;
    border-radius: 1rem;
    padding: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: var(--delay);
}

.card:hover {
    /*
       On hover, cards lift and scale slightly to create a sense of depth and
       interaction.  A larger shadow enhances the floating effect.
    */
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.65);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card p {
    font-size: 1rem;
    color: #cbd5e1;
    max-width: 280px;
}

/* Footer */
footer {
    background-color: #3c3c3c;
    color: #9dbbdc;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero {
        padding: 0.5rem 1.5rem 2rem;margin-top: 0px;
    }
    .hero h1 {
        font-size: 1.4rem;
         margin-top: 0px;
    }
    .hero p {
        font-size: 1rem;
    }
    .card {
        height: 300px;
        padding: 1.5rem;
    }
    .experiences{
            padding-bottom: 20px;
    }
    .video-wrapper video{
   
  object-fit: cover;
  height: 200vh;
        overflow: hidden;
    }
     
}

/* Fade up animation used for card entrance. Cards start slightly lower and
   transparent and move into place with increasing opacity. */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
 * Slide in animation for the hero text.  Elements start slightly lower and
 * transparent and ease into place.  This adds a subtle motion effect when
 * the page loads.
 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}