/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Geometric Background Shapes ===== */
.geo-shapes {
    z-index: 0;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: #1B4332;
    top: 15%;
    right: -100px;
}

.geo-circle--2 {
    width: 250px;
    height: 250px;
    background: #d4a843;
    bottom: 30%;
    left: -60px;
}

.geo-circle--3 {
    width: 150px;
    height: 150px;
    background: #1B4332;
    top: 60%;
    right: 15%;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.05;
}

.geo-triangle--1 {
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid #1B4332;
    top: 40%;
    left: 5%;
    transform: rotate(15deg);
}

.geo-square {
    position: absolute;
    opacity: 0.06;
}

.geo-square--1 {
    width: 100px;
    height: 100px;
    background: #d4a843;
    top: 70%;
    right: 8%;
    transform: rotate(45deg);
}

.geo-diamond {
    position: absolute;
    opacity: 0.05;
}

.geo-diamond--1 {
    width: 80px;
    height: 80px;
    background: #1B4332;
    top: 25%;
    left: 12%;
    transform: rotate(30deg);
    border-radius: 8px;
}

/* ===== Hero Geometric Shapes ===== */
.hero-geo {
    position: absolute;
    opacity: 0.15;
}

.hero-geo--circle1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 2px solid rgba(212, 168, 67, 0.3);
    top: -100px;
    right: -150px;
}

.hero-geo--circle2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.1);
    bottom: -50px;
    left: -80px;
}

.hero-geo--triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid rgba(212, 168, 67, 0.12);
    top: 20%;
    left: 5%;
    transform: rotate(-15deg);
    opacity: 0.4;
}

.hero-geo--ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    bottom: 20%;
    right: 10%;
}

.hero-geo--dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(212, 168, 67, 0.3) 2px, transparent 2px);
    background-size: 16px 16px;
    top: 30%;
    right: 25%;
    opacity: 0.6;
}

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

#navbar.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}

.nav-logo-text {
    color: #1B4332;
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-logo-text {
    color: #1B4332;
}

.nav-link {
    color: #1B4332;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

/* ===== Scroll Gallery ===== */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* ===== Mobile Menu ===== */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

.mobile-menu-link {
    color: #1B4332;
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: #3d7a47;
}

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

    .geo-triangle--1 {
        border-left: 60px solid transparent;
        border-right: 60px solid transparent;
        border-bottom: 104px solid #1B4332;
    }

    .geo-square--1 {
        width: 50px;
        height: 50px;
    }
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #1B4332;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Selection ===== */
::selection {
    background: #1B4332;
    color: #f9f4e8;
}
