/* ============================================
   STRUNK LANDSCAPING — Custom Styles
   ============================================ */

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   DECORATIVE BLOBS (background)
   ============================================ */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #86efac;
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #fde68a;
    top: 50%;
    right: -50px;
    animation-delay: -7s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: #bbf7d0;
    bottom: 10%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ============================================
   HERO GEOMETRIC SHAPES
   ============================================ */
.geo-shape {
    position: absolute;
    opacity: 0.15;
}

.geo-circle-1 {
    width: 300px;
    height: 300px;
    border: 3px solid rgba(254, 253, 248, 0.3);
    border-radius: 50%;
    top: 15%;
    right: 5%;
    animation: geoFloat 15s ease-in-out infinite;
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(254, 253, 248, 0.2);
    border-radius: 50%;
    bottom: 25%;
    left: 8%;
    animation: geoFloat 12s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(251, 191, 36, 0.3);
    top: 30%;
    left: 5%;
    border-radius: 16px;
    transform: rotate(45deg);
    animation: geoSpin 20s linear infinite;
}

.geo-square-2 {
    width: 50px;
    height: 50px;
    background: rgba(134, 239, 172, 0.3);
    bottom: 35%;
    right: 15%;
    border-radius: 10px;
    transform: rotate(20deg);
    animation: geoFloat 10s ease-in-out infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(254, 253, 248, 0.15);
    top: 60%;
    left: 15%;
    animation: geoSpin 25s linear infinite;
}

.geo-dot-grid {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 12%;
    background-image: radial-gradient(rgba(254, 253, 248, 0.3) 2px, transparent 2px);
    background-size: 16px 16px;
    animation: geoFloat 18s ease-in-out infinite;
}

@keyframes geoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@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);
    }
}

/* Fallback: always visible if JS is disabled or reduced motion preferred */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

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

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(5, 46, 22, 0.08);
}

.nav-link {
    position: relative;
}

/* ============================================
   HERO PHOTO DECORATION
   ============================================ */
.hero-photo-decor {
    animation: heroPhotoFloat 8s ease-in-out infinite;
}

@keyframes heroPhotoFloat {
    0%, 100% { transform: rotate(6deg) translateY(0); }
    50% { transform: rotate(6deg) translateY(-15px); }
}

/* ============================================
   SELECT STYLING
   ============================================ */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='2' 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 1rem center;
    padding-right: 2.5rem;
}

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

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

/* ============================================
   UTILITY
   ============================================ */
::selection {
    background: #86efac;
    color: #052e16;
}

/* Smooth focus styles */
:focus-visible {
    outline: 3px solid #22c55e;
    outline-offset: 2px;
    border-radius: 8px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 640px) {
    .geo-shape {
        display: none;
    }
    
    .hero-photo-decor {
        display: none;
    }
}
