/* It's Just Grass - Main Stylesheet */

:root {
    --primary: #2d6a4f;
    --secondary: #40916c;
    --accent: #d8f3dc;
    --dark: #1b4332;
    --light: #f0fdf4;
    --text: #1a1a1a;
    --border: #ccd5ae;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
}

/* Navigation */
header {
    background: var(--dark);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: underline;
}

.phone-cta {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Sections */
.hero, .location-hero, .service-hero, .quote-hero, .locations-hero, .contact-hero {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero h1, .location-hero h1, .service-hero h1, .quote-hero h1, .locations-hero h1, .contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subhead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-model-line {
    margin: 0 auto 1rem;
    max-width: 760px;
}

.hero-brand-logo {
    width: min(260px, 80%);
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
}

.primary-cta {
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

.big-cta {
    background: var(--primary);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
    margin: 1rem 0;
}

.trust-badge {
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.8;
}

/* Work Proof Sections */
.work-proof {
    margin: 2rem 0;
}

.work-proof h2 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.work-proof p {
    margin-bottom: 1rem;
}

.work-proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.work-proof-grid figure {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.work-proof-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.work-proof-grid figcaption {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.work-proof-grid.single-proof {
    max-width: 520px;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Service Cards */
.services-preview, .location-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card h3, .location-card h2 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.card p, .location-card p {
    margin-bottom: 1rem;
}

.card a, .location-card a {
    color: var(--primary);
    font-weight: bold;
}

/* Service Detail Pages */
.service-content, .location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.service-details h2, .location-cta h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-details h3, .location-cta h3 {
    color: var(--secondary);
    margin: 1.5rem 0 1rem;
}

.service-details ul, .location-cta ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.service-details li, .location-cta li {
    margin-bottom: 0.5rem;
}

.service-details a, .location-cta a {
    color: var(--primary);
}

.location-cta {
    background: var(--accent);
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.note {
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Forms */
.quote-form-container, .contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.quote-form, .contact-form {
    max-width: 600px;
    margin: 0 auto;
}

fieldset {
    border: none;
    margin-bottom: 2rem;
}

legend {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background: var(--dark);
}

.or-text {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Location Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.location-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.location-card h2 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.location-card h2 a {
    color: var(--dark);
    text-decoration: none;
}

.location-card h2 a:hover {
    color: var(--primary);
}

/* CTA Banners */
.cta-banner {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Location Lists */
.location-list, .suburb-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.location-list li, .suburb-links li {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.location-list a, .suburb-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

.location-list a:hover, .suburb-links a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    margin-bottom: 0.5rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .service-content, .location-content {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    .hero, .location-hero, .service-hero {
        padding: 3rem 1rem;
    }
}
