@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500;700&display=swap');
/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #0b0b1a;
    color: #e0e0e0;
    overflow: hidden;
}

/* ==================================
 HERO SECTION & BACKGROUND
==================================
*/
.hero-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    /* Correct path to your background image */
    background: url('../img/bg.png') no-repeat center center;
    background-size: cover; 

    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden; 
}

/* ==================================
 TIMER SPLIT-FLAP ANIMATION
==================================
*/

/* 1. Main container setup
  The .time-value span now holds the NEW number (e.g., "51")
  and we position the OLD number's top half on top of it.
*/
.time-value {
    position: relative; /* Crucial for positioning pseudo-elements */
    perspective: 300px; /* Adds 3D depth for the flip */
}

/* 2. The "flipper" (::before)
  This is the top half of the OLD number (e.g., "52").
  We will set its text using JavaScript (data-old-value).
*/
.time-value::before {
    content: attr(data-old-value); /* Gets text from JS */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    
    /* Style to match the original tile */
    background-color: #1a1a1a;
    color: #f0f0f0;
    
    /* --- The "Top Half" Magic --- */
    height: 50%;            /* Only covers the top half */
    overflow: hidden;       /* Clips the text to the top half */
    line-height: 2;         /* Pushes text to the top (adjust as needed) */
    padding-top: 1.25rem;   /* Re-apply padding to align text */
    
    /* --- Animation setup --- */
    transform-origin: bottom;   /* Flips from the middle (bottom edge) */
    transform: rotateX(0deg);   /* Starting position */
    backface-visibility: hidden; /* Hides the back when it flips */
    z-index: 3;                 /* Sits on top of the new number */
}

/* 3. The split-line
  Your original split line. We just need to ensure its z-index
  is below the flipper but above the base number.
*/
.time-value::after {
    z-index: 2;
}

/* 4. The Keyframes
  This defines the actual flip. It rotates from 0deg (flat)
  to -90deg (straight up and invisible).
*/
@keyframes flip-top {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(-90deg);
    }
}

/* 5. The Trigger
  When JS adds .is-flipping, we run the animation on the ::before element.
  We use 'ease-in' so it starts flipping a bit faster.
*/
.time-value.is-flipping::before {
    animation: flip-top 0.4s ease-in;
}

/* Dark overlay for text readability over the background image */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust the opacity (0.5) if you want it darker or lighter */
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 2;
}

/* ==================================
 NAVBAR & IMAGE LOGO
==================================
*/
.navbar-container {
    position: absolute;
    top: 0;
    width: 100%;
    max-width: 1200px;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10; /* Must be higher than the overlay */
}

.logo {
    text-decoration: none;
}

.logo img {
    height: 30px; /* Adjust height as needed */
    width: auto;
    display: block;
}

.social-icons .social-icon {
    color: #8892b0;
    font-size: 1.2em;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.social-icons .social-icon:hover {
    color: #007bff;
}

/* ==================================
 HERO CONTENT
==================================
*/
.hero-content-wrapper {
    max-width: 700px;
    margin-top: 50pt;
    padding: 0 20px;
    z-index: 5; /* Must be higher than the overlay */
    position: relative;
}

.hero-content-wrapper h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8em;
    margin-bottom: 15px;
    line-height: 1.1;
    color: #fff;
}

.hero-content-wrapper p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #b0b8c9;
}

.cta-button {
    background-color: #007bff;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* ==================================
 COUNTDOWN TIMER
==================================
*/
/* --- Countdown Timer "Airport" Style --- */

/* Re-style the main container */
.countdown-timer {
    display: flex; /* <-- THIS IS THE FIX */
    justify-content: center; /* Optional: This will center the timer */
    flex-wrap: wrap; /* Optional: Good for smaller mobile screens */
    gap: 20px;
    margin-top: 80px;
    perspective: 1000px;
}

/* Style the individual time block (e.g., "09 days") */
.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Style the number (the "flip" card) */
.time-value {
    font-family: 'Roboto Mono', 'Courier New', monospace;
    font-weight: 700;
    font-size: 3.5rem; /* 56px - nice and big */
    line-height: 1; /* Keeps text centered vertically */
    
    background-color: #1a1a1a; /* Dark background for the tile */
    color: #f0f0f0; /* Light-colored text */
    
    padding: 1.25rem 0; /* 20px top/bottom, 0 left/right */
    width: 100px; /* Fixed width for a uniform look */
    
    border-radius: 8px; /* Rounded corners for the tile */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); /* 3D shadow */
    
    position: relative; /* CRUCIAL: Needed for the pseudo-elements */
    overflow: hidden; /* Ensures a clean look */
    
    /* This gives a subtle 3D recessed border effect */
    border-top: 1px solid #333;
    border-bottom: 1px solid #000;
}

/* This creates the horizontal "split" line */
.time-value::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%; /* Exactly in the middle */
    height: 2px;
    background-color: #000; /* Dark line */
    opacity: 0.6;
    z-index: 2; /* On top of the text */
}

/* This adds a subtle gradient to the top half to fake lighting */
.time-value::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.0));
    z-index: 1;
}

/* Style the label ("days", "hrs", etc.) */
.time-label {
    font-family: 'Inter', sans-serif; /* Match your other font */
    font-weight: 600;
    text-transform: uppercase;
    color: #fff; /* White to stand out on the dark page background */
    font-size: 0.75rem; /* 12px */
    letter-spacing: 1.5px;
    margin-top: 12px;
    opacity: 0.7; /* Make it a bit more subtle than the numbers */
}

/*.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8em;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.time-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    color: #8892b0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}*/

.copyrights p {
    padding: 40pt;
}

/* .abstract-pattern class is removed */

/* ==================================
 RESPONSIVE STYLES
==================================
*/
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        padding: 20px;
    }
    .logo {
        margin-bottom: 20px;
    }
    .social-icons {
        margin-top: 10px;
    }
    .hero-content-wrapper h1 {
        font-size: 2.5em;
    }
    .hero-content-wrapper p {
        font-size: 1em;
    }
    .countdown-timer {
        gap: 15px;
        margin-top: 40px;
    }
    .time-value {
        font-size: 2em;
    }
    .time-label {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .hero-content-wrapper h1 {
        font-size: 2em;
    }
    .hero-content-wrapper p {
        font-size: 0.9em;
        margin-bottom: 30px;
    }
    .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .countdown-timer {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .time-block {
        width: 45%;
        margin-bottom: 10px;
    }
    .time-value {
        font-size: 1.8em;
    }
    .time-label {
        font-size: 0.7em;
    }
}