/* ========== BASE & RESET ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}

::selection {
    background: #166534;
    color: #fdfcf8;
}

/* ========== GEOMETRIC SHAPES ========== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
}

.geo-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 2px, transparent 2px);
    background-size: 16px 16px;
    pointer-events: none;
}

/* Hero shapes */
.geo-circle--1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.06);
    top: -100px;
    right: -100px;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: rgba(224, 122, 95, 0.12);
    bottom: 10%;
    left: -60px;
}

.geo-circle--3 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    top: 30%;
    left: 10%;
}

.geo-rect--1 {
    width: 80px;
    height: 80px;
    background: rgba(224, 122, 95, 0.15);
    border-radius: 16px;
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
}

.geo-rect--2 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    bottom: 15%;
    right: 5%;
    transform: rotate(20deg);
}

.geo-triangle--1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(224, 122, 95, 0.1);
    top: 40%;
    left: 5%;
    transform: rotate(-15deg);
}

.geo-dot--1 {
    width: 16px;
    height: 16px;
    background: rgba(224, 122, 95, 0.4);
    top: 25%;
    right: 25%;
}

.geo-dot--2 {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    bottom: 30%;
    left: 20%;
}

.geo-dot--3 {
    width: 24px;
    height: 24px;
    background: rgba(224, 122, 95, 0.2);
    bottom: 20%;
    right: 30%;
}

/* Visit section shapes */
.geo-circle--4 {
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.04);
    top: -200px;
    left: -200px;
}

.geo-rect--3 {
    width: 100px;
    height: 100px;
    background: rgba(224, 122, 95, 0.08);
    border-radius: 20px;
    bottom: -20px;
    right: 10%;
    transform: rotate(30deg);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== NAVBAR ========== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(22, 101, 52, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #166534;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

#navbar.scrolled .nav-link {
    color: #14532d;
}

#navbar.scrolled .nav-link:hover {
    color: #166534;
}

#navbar.scrolled .nav-link::after {
    background: #166534;
}

/* ========== MOBILE MENU ========== */
.mobile-link {
    position: relative;
}

/* ========== BUTTONS ========== */
button, [type="submit"], [type="button"] {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: 100%;
}

/* ========== FOCUS STYLES ========== */
:focus-visible {
    outline: 2px solid #166534;
    outline-offset: 2px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
    .geo-circle--1 {
        width: 250px;
        height: 250px;
    }

    .geo-circle--2 {
        width: 150px;
        height: 150px;
    }

    .geo-rect--1,
    .geo-rect--2 {
        display: none;
    }

    .geo-triangle--1 {
        display: none;
    }
}
