/* ============================================
   The Grassman Customs — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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

#navbar.scrolled {
    background: rgba(250, 250, 245, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(26, 92, 42, 0.08);
    padding: 0;
}

.nav-logo-text {
    transition: color 0.4s ease;
}

#navbar:not(.scrolled) .nav-logo-text {
    color: #1a5c2a;
}

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

/* ============================================
   Hero Decorative Circles
   ============================================ */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: white;
}

.deco-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.deco-circle-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: -50px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.deco-circle-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 10%;
    animation: float-slow 12s ease-in-out infinite;
}

.deco-circle-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 15%;
    animation: float-slow 18s ease-in-out infinite reverse;
}

.deco-circle-5 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -50px;
    animation: float-slow 22s ease-in-out infinite;
}

/* CTA Section Decorations */
.cta-deco {
    position: absolute;
    border-radius: 50%;
    background: white;
}

.deco-circle-6 {
    width: 300px;
    height: 300px;
    top: -80px;
    left: -80px;
    opacity: 0.06;
    animation: float-slow 16s ease-in-out infinite;
}

.deco-circle-7 {
    width: 180px;
    height: 180px;
    bottom: -50px;
    right: -40px;
    opacity: 0.06;
    animation: float-slow 14s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(15px, -20px) scale(1.02); }
    50% { transform: translate(-10px, 15px) scale(0.98); }
    75% { transform: translate(20px, 10px) scale(1.01); }
}

/* ============================================
   Scroll Indicator
   ============================================ */
.scroll-indicator {
    animation: bounce-down 2s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* ============================================
   Scroll Reveal Animations
   (Progressive Enhancement — content is visible without JS)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-nav-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #e8f5e9;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* ============================================
   Form Styles
   ============================================ */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a5c2a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ============================================
   Focus Visible for Accessibility
   ============================================ */
:focus-visible {
    outline: 3px solid #1a5c2a;
    outline-offset: 2px;
    border-radius: 8px;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 640px) {
    .deco-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .deco-circle-2 {
        width: 120px;
        height: 120px;
    }
}
