/* Design System - Jernigan Landscaping LLC */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --forest-green: #1a3c2a; /* Kept for text and accents */
    --slate-gray: #333d42;
    --crisp-white: #ffffff;
    --light-bg: #f5f7f2; /* New main background */
    --gold-accent: #c5a059;
    --earth-accent: #8b5e34;
    --glass-bg: rgba(255, 255, 255, 0.7); /* Lighter glass */
    --glass-border: rgba(26, 60, 42, 0.1);
    --glass-blur: blur(12px);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--forest-green);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .nav-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Glassmorphism utility */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
section {
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 8%; /* Reduced vertical padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.85); /* Mais translúcido e elegante */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 8%; /* Header mais compacto no scroll */
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 150px;
    width: auto;
    /* Torna o logo branco para contrastar com o verde escuro no topo */
    filter: brightness(0) invert(1) drop-shadow(0 4px 6px rgba(0,0,0,0.2));
    transition: var(--transition-smooth);
}

/* Efeito exclusivo para o logo no scroll */
nav.scrolled .brand-logo {
    height: 90px;
    /* Remove inversão e aplica brilho/contraste para o fundo claro */
    filter: brightness(1) contrast(1.1) saturate(1.1) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: #ffffff; /* Branco por padrão no Hero */
    text-decoration: none;
    font-weight: 600; /* Um pouco mais de peso para leitura */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    transition: var(--transition-smooth);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3); /* Sombra leve para garantir leitura */
}

nav.scrolled .nav-links a {
    color: var(--forest-green); /* Volta para o verde no scroll */
    text-shadow: none;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--gold-accent);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #ffffff; /* Branco no Hero */
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition-smooth);
}

nav.scrolled .menu-toggle {
    color: var(--forest-green); /* Verde no scroll */
}

.cta-button {
    background: var(--gold-accent);
    color: var(--forest-green);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.35);
    background: #d4ae6d;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding-top: 140px; 
    position: relative;
    z-index: 1;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gradiente que escurece o topo para o menu e a base para o texto */
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.7) 0%, 
        rgba(0,0,0,0.2) 20%, 
        transparent 50%, 
        rgba(255,255,255,0.8) 100%);
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 15; /* On top of overlay */
    max-width: 1000px;
    width: 90%;
    color: #ffffff; /* Branco para legibilidade total */
}

.hero-content h1 {
    font-size: clamp(2.5rem, 9vw, 5.2rem);
    line-height: 0.85;
    margin-bottom: 25px;
    letter-spacing: -3px;
    font-weight: 800;
    text-transform: capitalize;
    color: #ffffff; /* Branco */
    text-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Sombra suave para profundidade */
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 750px;
    margin: 0 auto 50px;
    opacity: 1; /* Aumentado para clareza */
    font-weight: 400; /* Um pouco mais de peso para branco no fundo escuro */
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Promo Banner */
.offer-banner {
    background: var(--gold-accent);
    color: var(--forest-green);
    text-align: center;
    padding: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

/* Service Grid */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    font-size: 0.85rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 50px 40px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: white; /* Base fallback */
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--gold-accent);
    background: var(--light-bg);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--gold-accent);
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--forest-green);
}

.service-card p {
    color: var(--forest-green);
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.7;
}

/* The Jernigan Promise */
.promise-container {
    padding: 80px 60px;
    margin-top: 50px;
}

.promise-grid {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.promise-item {
    flex: 1;
    text-align: center;
}

.promise-icon {
    width: 80px;
    height: 80px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--gold-accent);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold-accent);
    transition: var(--transition-smooth);
}

.promise-item:hover .promise-icon {
    background: var(--gold-accent);
    color: var(--forest-green);
    transform: rotateY(180deg);
}

/* Founder Section */
.founder-box {
    display: flex;
    align-items: center;
    gap: 80px;
}

.founder-img-wrapper {
    flex: 0 0 450px;
    position: relative;
}

.founder-img-wrapper::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-accent);
    border-radius: 30px;
    z-index: -1;
}

.founder-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 30px;
    display: block;
}

.founder-content h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.founder-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Contact Section & Form */
.contact-section {
    background: linear-gradient(rgba(26,60,42,0.95), rgba(26,60,42,0.95)), url('assets/landscaping_northraleigh_2.jpg') no-repeat center center/cover;
    padding-bottom: 180px; /* Offset for the fixed bottom banner */
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #ffffff !important;
}

.contact-info p {
    margin-bottom: 30px;
    opacity: 0.9;
    color: #ffffff !important;
}

.contact-details p {
    color: #ffffff;
}

.contact-details i {
    color: var(--gold-accent);
}

.contact-form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-accent);
    margin-bottom: 10px;
}

input, textarea, select {
    width: 100%;
    padding: 15px;
    background: rgba(26, 60, 42, 0.4); /* Darker green theme base */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

input::placeholder {
    color: rgba(255,255,255,0.5);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--gold-accent);
    background: rgba(255,255,255,0.15);
}

/* Fix for Select Options (browser default compatibility) */
select option {
    background-color: var(--forest-green);
    color: #ffffff;
    padding: 10px;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 80px 8% 120px;
    background: #1a3c2a; /* Solid forest green footer */
    color: #ffffff;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 180px; /* Truly 3x larger in the footer where there is space */
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo span {
    color: var(--gold-accent);
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-links h4 {
    color: var(--gold-accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--gold-accent);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.designer-link {
    color: var(--gold-accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.designer-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

/* Mobile Responsive Improvements */
@media (max-width: 968px) {
    section {
        padding: 80px 5%;
    }
    .hero-content h1 {
        font-size: 4rem;
        letter-spacing: -2px;
    }
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .founder-box {
        flex-direction: column;
        text-align: center;
    }
    .founder-img-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .founder-img {
        height: 450px;
    }
    .founder-img-wrapper::before {
        display: none;
    }
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(245, 247, 242, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 2000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-links .cta-button {
        width: 80%;
        text-align: center;
        font-size: 1.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .promise-grid {
        flex-direction: column;
        gap: 30px;
    }
}
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(26,60,42,0.9));
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Testimonials Carousel */
.testimonials-section {
    background: var(--light-bg);
}

.testimonial-container {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
}

.testimonial-card {
    padding: 60px 40px;
    transition: var(--transition-smooth);
}

.testimonial-content {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--forest-green);
    margin-bottom: 25px;
    line-height: 1.5;
}

.testimonial-author {
    font-weight: 700;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

/* Scroll Snap for Simple Carousel */
.testimonial-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
}

.testimonial-row::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-item {
        height: 350px;
    }
    .testimonial-content {
        font-size: 1.1rem;
    }
}

/* Motion Video Section Styling */
.video-container {
    max-width: 1000px;
    margin: 40px auto 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: #000;
}

.motion-video {
    width: 100%;
    display: block;
    border-radius: 20px;
}
