/* ==========================================================================
   BACKYARD PARADISE CUSTOM CSS
   ========================================================================== */

/* Variables & Setup */
:root {
    --primary: #122812;          /* Rich forest/moss base */
    --primary-dark: #0a170a;
    --secondary: #2d8a4e;        /* Emerald/teal luxury accents */
    --secondary-light: #41b369;
    --secondary-dark: #1f6136;
    
    --accent-copper: #c9a84c;    /* Deep warm copper/brass highlights */
    --accent-copper-light: #e8d48b;
    
    --bg-dark: #0f1912;          /* Luxurious slate/graphite dark-green */
    --bg-light: #f5f8f6;
    
    --neutral-900: #111827;
    --neutral-800: #1f2937;
    --neutral-400: #9ca3af;
    --neutral-200: #e5e7eb;
    
    --ff-heading: 'Playfair Display', serif;
    --ff-body: 'Montserrat', sans-serif;
    
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.15), 0 4px 6px -4px rgba(0,0,0,0.15);
    
    --radius-md: 6px;
    --radius-lg: 12px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--ff-body);
    color: var(--neutral-800);
    line-height: 1.6;
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.max-w-600 { max-width: 600px; }
.flex-row { display: flex; flex-direction: row; }
.flex-column { display: flex; flex-direction: column; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-6 { gap: 6px; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.gap-25 { gap: 25px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: white !important; }
.text-gray-300 { color: #d1d5db !important; }
.text-gray-400 { color: #9ca3af !important; }
.font-bold { font-weight: 700; }
.mb-10 { margin-bottom: 10px; }
.mt-6 { margin-top: 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.bg-dark { background: var(--bg-dark) !important; color: white !important; }
.min-vh-100 { min-height: 100vh; }
.desktop-only { display: flex; }

/* Buttons & Badges */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.btn-sm { padding: 8px 18px; font-size: 0.75rem; }
.btn-lg { padding: 16px 36px; font-size: 0.9375rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--secondary); color: white; }
.btn-primary:hover { background: var(--secondary-light); transform: translateY(-2px); }
.btn-secondary { background: var(--accent-copper); color: var(--primary-dark); }
.btn-secondary:hover { background: var(--accent-copper-light); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--neutral-900); color: var(--neutral-900); }
.btn-outline:hover { background: var(--neutral-900); color: white; }
.btn-outline-light { background: transparent; border: 2px solid white; color: white; }
.btn-outline-light:hover { background: white; color: var(--primary-dark); }

.badge {
    display: inline-flex;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 99px;
}
.badge-copper { background: var(--accent-copper); color: var(--primary-dark); }
.badge-accent { background: rgba(45, 138, 78, 0.1); color: var(--secondary); }

/* Top contact bar */
.top-bar {
    background: var(--primary-dark);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hover-link { transition: color 0.3s; }
.hover-link:hover { color: var(--accent-copper); }

/* Navigation Header */
.header {
    background: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
.logo-mark {
    background: var(--secondary);
    color: white;
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}
.logo-mark-dark {
    background: var(--accent-copper);
    color: var(--primary-dark);
}
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-family: var(--ff-heading); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.05em; color: var(--primary-dark); }
.logo-subtitle { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; color: var(--neutral-400); }
.nav ul { list-style: none; }
.nav-link { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--neutral-800); }
.nav-link:hover { color: var(--secondary); }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 25, 18, 0.75), rgba(15, 25, 18, 0.75)), url('https://images.unsplash.com/photo-1576013551627-0cc20b96c2a7?auto=format&fit=crop&q=80&w=1600') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 140px 0 100px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}
.hero-pretitle { color: var(--accent-copper); text-transform: uppercase; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 12px; }
.hero-title { font-family: var(--ff-heading); font-size: 3.5rem; font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.hero-lead { font-size: 1.15rem; color: #d1d5db; max-width: 800px; margin: 0 auto 40px auto; font-weight: 300; }
.hero-cards { width: 100%; max-width: 900px; margin-top: 60px; }
.hero-card { background: rgba(255, 255, 255, 0.05); border-top: 3px solid var(--accent-copper); padding: 20px; border-radius: var(--radius-md); text-align: center; flex: 1; backdrop-filter: blur(10px); }
.hero-card h3 { font-family: var(--ff-heading); font-size: 1.5rem; margin-bottom: 6px; color: var(--accent-copper); }
.hero-card p { font-size: 0.8rem; color: #9ca3af; }

/* Sections */
.section { padding: 100px 0; }
.section-header h2 { font-family: var(--ff-heading); font-size: 2.5rem; color: var(--primary-dark); margin-bottom: 15px; }
.accent-line { width: 60px; height: 3px; background: var(--secondary); margin: 0 auto 20px auto; }
.section-lead { font-size: 1.1rem; color: #4b5563; max-width: 700px; margin: 0 auto; }

/* Service Cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 60px; }
.service-card { background: white; padding: 40px 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.03); transition: all 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-icon { width: 60px; height: 60px; background: rgba(45, 138, 78, 0.08); border-radius: 50%; margin-bottom: 25px; display: flex; align-items: center; justify-content: center; color: var(--secondary); font-size: 1.5rem; }
.service-card h3 { font-family: var(--ff-heading); font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 15px; }
.service-card p { font-size: 0.9rem; color: #4b5563; margin-bottom: 25px; }
.service-bullets { margin-bottom: 30px; list-style: none; }
.service-bullets li { position: relative; padding-left: 20px; font-size: 0.85rem; color: #4b5563; margin-bottom: 10px; text-align: left; }
.service-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--secondary); font-weight: 700; }
.service-link { font-size: 0.875rem; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.05em; }

/* About Section */
.about-section { background: var(--bg-light); border-top: 1px solid rgba(0,0,0,0.03); border-bottom: 1px solid rgba(0,0,0,0.03); }
.about-text h2 { font-family: var(--ff-heading); font-size: 2.25rem; color: var(--primary-dark); margin: 15px 0 20px 0; }
.about-text p { font-size: 0.95rem; color: #4b5563; margin-bottom: 20px; }
.about-metrics { margin-top: 30px; border-top: 1px solid rgba(0,0,0,0.08); padding-top: 25px; }
.stat { font-family: var(--ff-heading); font-size: 2.5rem; font-weight: 700; color: var(--secondary); display: block; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; color: var(--neutral-400); }
.about-image-card { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.image-placeholder { height: 350px; background-size: cover; background-position: center; }
.image-card-caption { padding: 25px; border-top: 4px solid var(--accent-copper); }
.image-card-caption h4 { font-family: var(--FF-heading); font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 5px; }
.image-card-caption p { font-size: 0.8rem; color: #4b5563; }

/* CTA Section */
.cta-section { background: var(--primary-dark); color: white; position: relative; overflow: hidden; }
.cta-section h2 { font-family: var(--ff-heading); font-size: 2.5rem; margin-bottom: 15px; color: var(--accent-copper); }

/* Form / Quote layout */
.quote-container { gap: 40px; margin-top: 20px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.quote-form-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255,255,255,0.08); border-top: 4px solid var(--accent-copper); padding: 50px 40px; border-radius: var(--radius-lg); }
.quote-form-card h1 { font-family: var(--ff-heading); font-size: 2.25rem; margin-bottom: 15px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 25px; }
.form-group label { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; color: #d1d5db; }
.form-group input, .form-group textarea, .form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-family: var(--ff-body);
    font-size: 0.9375rem;
    color: white;
    transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-copper);
    background: rgba(255, 255, 255, 0.08);
}
.form-group-fieldset { border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 25px; margin-bottom: 30px; }
.form-group-fieldset legend { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 0 10px; color: var(--accent-copper); }
.fieldset-help { font-size: 0.75rem; color: #9ca3af; margin-bottom: 15px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.875rem; }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--accent-copper); cursor: pointer; }
.required-star { color: #ef4444; }

/* Quote Sidebar */
.sidebar-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 30px; border-radius: var(--radius-lg); }
.card-accent-border { border-left: 4px solid var(--accent-copper); }
.sidebar-card h4 { font-family: var(--ff-heading); font-size: 1.2rem; margin-bottom: 20px; color: var(--accent-copper); }
.sidebar-steps { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.sidebar-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 15px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--accent-copper); color: var(--accent-copper); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; }
.sidebar-steps h5 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.sidebar-steps p { font-size: 0.75rem; color: #9ca3af; }

/* Thank you block */
.thank-you-checkmark { width: 80px; height: 80px; background: var(--secondary); color: white; font-size: 2.5rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 10px; }
.submitted-details-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-left: 4px solid var(--secondary); padding: 25px; border-radius: var(--radius-md); width: 100%; }

/* Status message */
.quote-form-status { padding: 12px 16px; border-radius: var(--radius-md); font-size: 0.85rem; font-weight: 500; margin-bottom: 20px; display: none; }
.quote-form-status.is-error { display: block; background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; color: #ef4444; }

/* Footer */
.footer { background: var(--primary-dark); color: #9ca3af; font-size: 0.75rem; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-links a { color: #d1d5db; }
.footer-links a:hover { color: white; }

/* Portfolio Showcase section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}
.portfolio-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}
.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.portfolio-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}
.portfolio-info {
    padding: 25px;
    border-top: 4px solid var(--secondary);
}
.portfolio-info h4 {
    font-family: var(--ff-heading);
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}
.portfolio-loc {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--neutral-400);
    margin-bottom: 12px;
}
.portfolio-info p {
    font-size: 0.8125rem;
    color: #4b5563;
}

/* Icons placeholder helpers */
.pools-icon::before { content: "🏊"; }
.hardscapes-icon::before { content: "🧱"; }
.lighting-icon::before { content: "💡"; }

/* Responsive Media Queries */
@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-2-1 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.25rem; }
    .hero-lead { font-size: 1rem; }
    .hero-cards { flex-direction: column; }
    .top-bar .flex-row { flex-direction: column; gap: 10px; }
    .nav { display: none; } /* Simplified mobile view */
    .desktop-only { display: none !important; }
}
