/* ============================================
   Torque Performance — Custom Styles
   ============================================ */

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

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

body {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    background-color: #fefdf8;
    color: #0d3b0f;
}

/* ============================================
   Fixed Background Geometric Shapes
   ============================================ */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

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

.shape-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 100px 173px 100px;
    border-color: transparent transparent #1b5e20 transparent;
    bottom: 20%;
    left: -50px;
    opacity: 0.04;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #33691e;
    bottom: 10%;
    right: 10%;
}

.shape-rect {
    width: 150px;
    height: 150px;
    background: #1b5e20;
    top: 50%;
    left: 5%;
    transform: rotate(45deg);
    opacity: 0.03;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #1b5e20 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    top: 40%;
    right: 5%;
    opacity: 0.08;
}

/* ============================================
   Hero Geometric Decorations
   ============================================ */
.hero-geo {
    position: absolute;
    pointer-events: none;
}

.geo-h1 {
    width: 300px;
    height: 300px;
    border: 3px solid rgba(139, 195, 74, 0.15);
    border-radius: 50%;
    top: 10%;
    left: 5%;
}

.geo-h2 {
    width: 150px;
    height: 150px;
    background: rgba(139, 195, 74, 0.08);
    border-radius: 24px;
    top: 25%;
    right: 10%;
    transform: rotate(15deg);
}

.geo-h3 {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(139, 195, 74, 0.2);
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
}

.geo-h4 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px dashed rgba(139, 195, 74, 0.1);
    bottom: 15%;
    right: 5%;
}

.geo-h5 {
    width: 60px;
    height: 60px;
    background: rgba(139, 195, 74, 0.12);
    border-radius: 12px;
    top: 45%;
    right: 20%;
    transform: rotate(30deg);
}

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

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

/* ============================================
   Navbar
   ============================================ */
#navbar {
    background: rgba(254, 253, 248, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 94, 32, 0.1);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(13, 59, 15, 0.08);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
    display: block;
}

/* ============================================
   Button & Link Focus States
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #1b5e20;
    outline-offset: 2px;
}

/* ============================================
   Selection Color
   ============================================ */
::selection {
    background: #1b5e20;
    color: #fefdf8;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #33691e;
}
