/* ============================================
   Smitty's — Custom Styles
   Forest green + off-white, fresh & airy
   ============================================ */

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

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

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

/* ============================================
   Decorative Circles (Hero)
   ============================================ */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}

.deco-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #98c7a3, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.deco-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #6aa577, transparent 70%);
    bottom: 10%;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

.deco-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #c5dfcc, transparent 70%);
    top: 30%;
    left: 15%;
    animation: float 6s ease-in-out infinite;
}

.deco-4 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #468353, transparent 70%);
    bottom: 20%;
    right: 20%;
    animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -20px) scale(1.03); }
    66% { transform: translate(-10px, 15px) scale(0.97); }
}

/* ============================================
   Scroll Indicator Line
   ============================================ */
.scroll-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #2d633a);
    animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   Content is visible by default; JS adds animation
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion: everything stays visible, no animation */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .scroll-line { animation: none; }
    .deco-circle { animation: none; }
}

/* ============================================
   Navbar Glass Effect
   ============================================ */
.nav-glass {
    background: rgba(253, 252, 248, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(45, 99, 58, 0.08);
    box-shadow: 0 1px 20px rgba(45, 99, 58, 0.06);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-link:hover {
    color: #2d633a;
    padding-left: 8px;
}

/* ============================================
   Image Placeholder Fallback
   ============================================ */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Selection Color
   ============================================ */
::selection {
    background: #c5dfcc;
    color: #16331d;
}

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

/* ============================================
   Subtle Print Styles
   ============================================ */
@media print {
    nav, .deco-circle, .scroll-line { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; }
}
