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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== Geometric Shapes ===== */
.geometric-shape {
    position: absolute;
    opacity: 0.12;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #FDF8F0;
    top: -100px;
    right: -100px;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #EDC96A;
    bottom: 10%;
    left: 5%;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 100px 173px 100px;
    border-color: transparent transparent #FDF8F0 transparent;
    top: 20%;
    left: 50%;
    transform: translateX(-50%) rotate(15deg);
    opacity: 0.15;
}

.shape-rect {
    width: 150px;
    height: 150px;
    background: #F5E0A0;
    bottom: 15%;
    right: 10%;
    transform: rotate(45deg);
    border-radius: 12px;
}

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

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(26, 18, 9, 0.08);
    padding-top: 0;
    padding-bottom: 0;
}

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

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

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

/* ===== Selection ===== */
::selection {
    background: #e0522a;
    color: #FDF8F0;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c73d1c;
}
