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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.font-playfair {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-dm {
    font-family: 'DM Sans', system-ui, sans-serif;
}

/* ===== HERO GEOMETRIC SHAPES ===== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    animation: float 20s ease-in-out infinite;
}

.geo-circle-1 {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: #8abf8d;
    animation-delay: 0s;
}

.geo-circle-2 {
    top: 60%;
    right: 8%;
    width: 140px;
    height: 140px;
    background: #e07a5f;
    animation-delay: -5s;
    animation-duration: 15s;
}

.geo-circle-3 {
    bottom: 15%;
    left: 15%;
    width: 80px;
    height: 80px;
    background: #f4e4b8;
    animation-delay: -10s;
    animation-duration: 18s;
}

.geo-circle-4 {
    top: 25%;
    right: 20%;
    width: 60px;
    height: 60px;
    background: white;
    opacity: 0.08;
    animation-delay: -3s;
    animation-duration: 12s;
}

.geo-circle-5 {
    animation-delay: -7s;
    animation-duration: 22s;
}

.geo-circle-6 {
    animation-delay: -2s;
    animation-duration: 16s;
}

.geo-circle-7 {
    animation-delay: -8s;
    animation-duration: 20s;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.08;
    animation: spin 25s linear infinite;
}

.geo-triangle-1 {
    top: 20%;
    right: 10%;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #8abf8d;
    animation-delay: 0s;
}

.geo-triangle-2 {
    bottom: 25%;
    left: 8%;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 69px solid #e07a5f;
    animation-delay: -12s;
    animation-duration: 30s;
}

.geo-square {
    position: absolute;
    opacity: 0.08;
    animation: spin 20s linear infinite reverse;
}

.geo-square-1 {
    top: 40%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: #f4e4b8;
    animation-delay: -4s;
}

.geo-square-2 {
    animation-delay: -6s;
    animation-duration: 25s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(3deg); }
    50% { transform: translateY(10px) rotate(-2deg); }
    75% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(61, 122, 66, 0.08);
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    box-shadow: 0 4px 24px rgba(20, 44, 23, 0.08);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up:not(.revealed) {
        opacity: 0;
        transform: translateY(24px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up:not(.revealed) {
        opacity: 1;
        transform: translateY(0);
    }
    .geo-circle, .geo-triangle, .geo-square {
        animation: none;
    }
}

/* ===== FEATURE STRIP ===== */
.feature-strip-item {
    transition: background-color 0.2s ease;
}

.feature-strip-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf9ef;
}

::-webkit-scrollbar-thumb {
    background: #b9dabb;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8abf8d;
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #3d7a42;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== SELECTION ===== */
::selection {
    background: #dcefdf;
    color: #1a4623;
}
