:root {
    --bg: #0d1b2a;
    --text: #e6edf5;
    --card: #1b263b;
    --nav: rgba(10, 15, 25, 0.95);
    --accent: #4cc9f0;
    --alt-section: #162033;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: 0.4s ease;
}

.section h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.section p {
    max-width: 700px;
    margin: auto;
}

/* NAVBAR */

.navbar {
    position: fixed;
    width: 100%;
    padding: 18px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo-area{
    display:flex;
    align-items:center;
    gap:10px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.scout-logo{
    height:35px;
    filter:brightness(1.2);
}

.scout-logo:hover {
    animation: spin 2s linear infinite;
    animation-timing-function: ease-in-out;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style-type: none;
}

.nav-links a {
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.theme-toggle {
    display: none;
}

/* HERO */

.hero {
    height: 100vh;
    background:
        linear-gradient(rgba(10,20,40,.6), rgba(10,20,40,.6)),
        url('https://images.unsplash.com/photo-1501785888041-af3ef285b470');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-sub {
    font-size: 1.2rem;
    margin-top: 10px;
}

.hero-locations {
    margin-top: 5px;
    opacity: .9;
}

.hero-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    background: var(--accent);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.hero-btn:hover {
    transform: translateY(-3px);
}

/* Collapsible button */
.collapsible {
    background-color:  var(--alt-section);
    color: white;
    cursor: pointer;
    padding: 14px 20px;
    width: 100%;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s;
}

.collapsible:hover {
    background-color: var(--accent);
}

/* HIDDEN CONTENT */
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 10px;
    text-align: left;
}

.collapsible-content p{
    margin-bottom: 15px;
    line-height: 1.6;
}

/* SECTIONS */

.section {
    padding: 100px 10%;
    text-align: center;
}

.alt {
    background: var(--alt-section);
}

/* GRID */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 90px;
    margin-top: 40px;
}

.card {
    margin: 0;
    background: var(--card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: .4s;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    height: 180px;
    object-fit: cover;
}

.card:hover {
    transform: translateY(-10px);
}

/* COUNTDOWN */

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.time-box {
    background: var(--card);
    padding: 20px;
    border-radius: 10px;
    min-width: 90px;
}



/* FOOTER */

footer {
    padding: 30px;
    text-align: center;
    background: var(--nav);
    color: white;
}

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */

.hamburger {
    display:flex;
}

@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: var(--nav);
        flex-direction: column;
        padding: 20px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        margin: 4px 0;
    }

    .section {
        padding: 80px 6%;
    }
}