/* ============================================
   Next To Nature Landscaping — Custom Styles
   ============================================ */

/* Base & Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f5f5f0;
}
::-webkit-scrollbar-thumb {
    background: #c9a84c;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b8953f;
}

/* Navigation */
.nav-link {
    position: relative;
    color: #0a1628;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #c9a84c;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-color {
    color: #0a1628;
}

/* Sticky Nav Active State */
.navbar-scrolled .nav-link-color {
    color: #0a1628;
}

.navbar-scrolled .nav-link {
    color: #0a1628;
}

/* Hero overlay gradient */
#hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
    z-index: 1;
    pointer-events: none;
}

#hero > .relative {
    z-index: 2;
}

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #c9a84c, #e0c972);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: #fafaf7;
    transform: translateY(-2px);
}

/* Testimonial Cards */
.testimonial-card {
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.08);
}

/* Mobile Menu */
.mobile-link {
    color: #0a1628;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #c9a84c;
}

/* Menu Animation */
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}
.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.menu-open .menu-line:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Fade In Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #c9a84c !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* Selection */
::selection {
    background: #c9a84c;
    color: #0a1628;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #hero::before {
        height: 100px;
    }
}
