/* ========== VARIÁVEIS ========== */
:root {
    --nav-bg: #fff;
    --nav-text: #1a2a1a;
    --nav-text-scrolled: #1a2a1a;
    --accent:  #e8610a;
    --accent2: #2d6a2d;
    --stamp-color: #fff;
}

/* ========== NAVBAR ========== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    padding: 18px 40px;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.transparent { background: transparent; }

#navbar.scrolled {
    background: var(--nav-bg);
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    padding: 12px 40px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-decoration: none;
}

.nav-logo .destino {
    font-family: 'Plaster', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    transition: color 0.4s;
}

.nav-logo .amazonia {
    font-family: 'SaoTorpes', sans-serif;
    font-size: 20px;
    font-weight: 200;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: white;
    transition: color 0.4s;
}

#navbar.scrolled .nav-logo .destino  { color: var(--accent); }
#navbar.scrolled .nav-logo .amazonia { color: var(--accent2); }

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0; padding: 0;
}

.nav-links a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    color: white;
    transition: color 0.4s, opacity 0.2s;
    opacity: 0.9;
}

.nav-links a:hover { opacity: 1; }
#navbar.scrolled .nav-links a { color: var(--nav-text-scrolled); }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: background 0.4s;
    border-radius: 2px;
}
#navbar.scrolled .nav-hamburger span { background: var(--nav-text); }

/* ========== HERO ========== */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    transform: scale(1.04);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.04); }
    to   { transform: scale(1.10); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.15) 0%,
            rgba(0,0,0,0.05) 40%,
            rgba(0,0,0,0.40) 100%
    );
}

/* ========== CARIMBOS ========== */
.stamp {
    position: absolute;
    bottom: 48px;
    animation: stampFloat 0.8s ease-out forwards;
    opacity: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.stamp:hover {
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.6));
}

@keyframes stampFloat {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}

.stamp img {
    display: block;
    height: auto;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}

/* Carimbo esquerda — Logo Destino Amazônia */
.stamp-destino {
    left: 48px;
    animation-delay: 0.1s;
}
.stamp-destino img { width: 180px; }

/* Carimbo direita — Estado */
.stamp-estado {
    right: 48px;
    animation-delay: 0.25s;
}
.stamp-estado img { width: 200px; }

/* ========== SCROLL HINT ========== */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.5);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ========== RESPONSIVO ========== */

/* Tablet */
@media (max-width: 1024px) {
    .stamp-destino img { width: 130px; }
    .stamp-estado img  { width: 150px; }
    .stamp-destino { left: 28px; bottom: 36px; }
    .stamp-estado  { right: 28px; bottom: 36px; }
}

/* Mobile */
@media (max-width: 640px) {
    /* Empilha os dois carimbos centralizados lado a lado */
    .stamp {
        bottom: 24px;
        position: absolute;
    }
    .stamp-destino {
        left: 16px;
        bottom: 20px;
    }
    .stamp-destino img { width: 90px; }

    .stamp-estado {
        right: 16px;
        bottom: 20px;
    }
    .stamp-estado img { width: 105px; }

    /* Navbar mobile */
    #navbar {
        justify-content: space-between;
        padding: 16px 20px;
    }

    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: 70vw;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px 32px;
        gap: 28px;
        background: var(--nav-bg);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 200;
    }

    .nav-links.open { transform: translateX(0); }
    .nav-links a { color: var(--nav-text) !important; font-size: 22px; }

    .nav-hamburger { display: flex; z-index: 300; }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 150;
    }
    .nav-overlay.open { display: block; }
}