/* ========================================
   TurfDeck - Professional Garden Maintenance - Modernized
   ======================================== */

/* CSS Variables */
:root {
    --primary: #2D5A27;        /* Forest Green */
    --primary-dark: #1E3D1A;
    --primary-light: #3D7A37;
    --secondary: #f4f9f2;    /* Lighter, fresher green background */
    --accent: #FFB300;         /* A warm yellow/gold accent */
    --dark: #1A1A1A;
    --gray: #666666;
    --light-gray: #E5E5E5;
    --white: #FFFFFF;
    --shadow: 0 8px 30px rgba(0,0,0,0.1);
    --radius: 12px;
    --font: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: var(--gray);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 12px 0;
    font-size: 15px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location {
    font-weight: 600;
}

.phone-link {
    font-weight: 700;
    color: var(--accent);
    transition: all 0.3s ease;
}

.phone-link:hover {
    opacity: 0.8;
    color: var(--white);
}

/* ========================================
   Header
   ======================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font);
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 600;
    color: var(--dark);
    transition: color 0.3s ease;
    font-size: 17px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font);
    font-size: 17px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 20px;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    background: linear-gradient(135deg, rgba(45,90,39,0.9) 0%, rgba(30,61,26,0.95) 100%),
                url('https://images.unsplash.com/photo-1558904541-efa843a96f01?w=1600') center/cover;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font);
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.4);
}

.hero .btn-primary:hover {
    background: #e6a200;
    color: var(--dark);
    transform: translateY(-2px);
}

.hero .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.hero .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 15px;
    position: relative;
    z-index: 2;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 24px;
    backdrop-filter: blur(5px);
}

/* ========================================
   Services
   ======================================== */
.services {
    padding: 100px 0;
    background: var(--secondary);
}

.services h2,
.why-choose h2,
.service-areas h2,
.local-content h2,
.areas-detailed h2,
.why-local h2 {
    font-family: var(--font);
    font-size: 44px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 60px;
    font-size: 19px;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font);
    font-size: 24px;
    margin-bottom: 14px;
    color: var(--primary);
}

.service-card p {
    color: var(--gray);
    font-size: 16px;
}

/* ========================================
   Why Choose Us
   ======================================== */
.why-choose {
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit {
    padding: 30px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.benefit-number {
    font-family: var(--font);
    font-size: 60px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.15;
    margin-bottom: 10px;
}

.benefit h3 {
    font-family: var(--font);
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
}

.benefit p {
    color: var(--gray);
    font-size: 16px;
}

/* ========================================
   Service Areas
   ======================================== */
.service-areas {
    padding: 100px 0;
    background: var(--secondary);
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.area-tag {
    background: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.area-tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   Local Content
   ======================================== */
.local-content {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(45,90,39,0.9) 0%, rgba(30,61,26,0.95) 100%),
                url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1600') center/cover;
    color: var(--white);
    position: relative;
}

.local-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.local-content > .container {
    position: relative;
    z-index: 2;
}

.local-content h2, .local-content p {
    color: var(--white);
    text-align: center;
}

.local-content h2 {
    font-family: var(--font);
    font-size: 44px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.local-content p {
    font-size: 19px;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   Areas Detailed
   ======================================== */
.areas-detailed {
    padding: 100px 0;
    background: var(--white);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.area-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.area-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.area-item h3 {
    font-family: var(--font);
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary);
}

.area-item p {
    color: var(--gray);
    font-size: 16px;
}

/* ========================================
   Why Local
   ======================================== */
.why-local {
    padding: 100px 0;
    background: var(--secondary);
}

/* ========================================
   CTA
   ======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        var(--primary-light),
        var(--primary-light) 10px,
        rgba(45,90,39,0.8) 10px,
        rgba(45,90,39,0.8) 20px
    );
    opacity: 0.15;
    z-index: 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-family: var(--font);
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta p {
    font-size: 19px;
    opacity: 0.95;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: var(--accent);
    color: var(--dark);
}

.cta .btn-primary:hover {
    background: #e6a200;
    color: var(--dark);
    transform: translateY(-2px);
}

.cta .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-family: var(--font);
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--accent);
    font-weight: 900;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 15px;
}

.footer h4 {
    font-family: var(--font);
    font-size: 18px;
    margin-bottom: 18px;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a {
    display: block;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

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

.footer-contact p {
    margin-bottom: 10px;
    font-size: 15px;
    opacity: 0.8;
}

.footer-contact a {
    color: var(--white);
    font-weight: 600;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 48px; }
    .hero-subtitle { font-size: 20px; }
    .btn-large { padding: 16px 30px; font-size: 18px; }
    .services h2, .cta h2 { font-size: 36px; }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
    }
    .logo { font-size: 28px; }
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
        margin-top: 10px;
    }
    .nav-link { font-size: 16px; }
    .hero { padding: 80px 0; }
    .hero h1 { font-size: 40px; }
    .hero-subtitle { font-size: 18px; }
    .hero-buttons { flex-direction: column; }
    .hero-features { flex-direction: column; gap: 15px; }
    .services, .why-choose, .cta, .footer { padding: 60px 0; }
    .services h2, .cta h2 { font-size: 30px; }
    .section-subtitle, .cta p { font-size: 17px; }
    .services-grid, .benefits-grid, .areas-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .btn { padding: 12px 20px; font-size: 16px; }
    .btn-large { padding: 14px 22px; font-size: 18px; }
    .footer-brand h3 { font-size: 24px; }
}
