:root {
    --navy: #0B1F3A;          /* 70% */
    --section-dark: #132B4A;  /* 20% */
    --section-light: #162F52; 
    --accent: #25b1ca;        /* 10% */
    --white: #FFFFFF;
    --gray: #C5D1E0;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Oswald', sans-serif;
    background-color: var(--navy);
    color: var(--white);
    line-height: 1.6;
}

/* ===== NAVBAR ===== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(11,31,58,0.6);
    backdrop-filter: blur(8px);
    transition: 0.3s ease;
}

nav.scrolled {
    background: rgba(11,31,58,0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.logo {
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* ===== HAMBURGER ===== */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO ===== */

.hero {
    height: calc(100vh - 70px);
    margin-top: 70px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;

    background:
        linear-gradient(
            rgba(11,31,58,0.85),
            rgba(11,31,58,0.85)
        ),
        url("images/hero.webp") center/cover no-repeat;
} 

.hero-content h1 {
    font-family: 'Libre Baskerville', serif;
    letter-spacing: 25px;
    font-size: 70px;
    margin-bottom: 20px;
}

.hero-content span {
    color: var(--accent);
}

.hero-content p {
    color: var(--gray);
}

.btn {
    display: inline-block;
    margin-top: 25px;
    background: var(--accent);
    color: var(--navy);
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.85;
}

/* ===== SECTIONS ===== */

section {
    padding: 120px 10%;
}

section:nth-child(even) {
    background-color: var(--section-dark);
}

section:nth-child(odd) {
    background-color: var(--section-light);
}

section h2 {
    margin-bottom: 20px;
    font-weight: 600;
}

section p {
    color: var(--gray);
}

/* ===== IMAGE SECTION LAYOUT ===== */

.section-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.image-box img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* ===== SCROLL INDICATOR ===== */

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    width: 24px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
    0% { opacity: 0; transform: translateY(0); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ===== BACK TO TOP ===== */

#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: var(--navy);
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
}

#backToTop.show {
    opacity: 1;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background: rgba(11,31,58,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        transition: 0.4s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .section-container {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}