/* Cordless Garden Equipment — styles.css */
:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --secondary: #d4a843;
    --bg: #f5f0e8;
    --text: #1a1a1a;
    --text-light: rgba(26,26,26,0.65);
    --white: #ffffff;
    --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --radius: 0.75rem;
}

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

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-container { max-width: 700px; margin: 0 auto; }

/* ── Nav ── */
nav {
    background: var(--primary-dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-logo span { color: var(--secondary); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
    color: rgba(255,255,255,0.85);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.1); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    min-width: 220px;
    padding: 8px 0;
    z-index: 200;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--text);
    font-size: 0.9rem;
}
.dropdown-menu a:hover { background: var(--bg); color: var(--primary); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 80px 24px;
    text-align: center;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
}
.hero-small { padding: 48px 24px; }
.hero-small h1 { font-size: 2.2rem; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
    text-align: center;
}
.btn-primary { background: var(--secondary); color: var(--primary-dark); }
.btn-primary:hover { background: #c49535; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary-dark); }
.btn-green { background: var(--primary); color: var(--white); }
.btn-green:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── Sections ── */
section { padding: 64px 0; }
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--primary-dark);
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

/* ── Cards ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--primary-dark); }
.card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }

/* ── Benefits ── */
.benefits { background: var(--white); }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; text-align: center; }
.benefit-icon { font-size: 2.5rem; margin-bottom: 12px; }

/* ── Comparison Table ── */
.table-wrap { overflow-x: auto; margin: 24px 0; }
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
th {
    background: var(--primary-dark);
    color: var(--white);
    padding: 14px 16px;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
}
td { padding: 12px 16px; border-bottom: 1px solid #eee; font-size: 0.9rem; }
tr:hover td { background: rgba(45,106,79,0.04); }

/* ── Content ── */
.content-section { max-width: 900px; margin: 0 auto; padding: 48px 24px; }
.content-section h2 { font-size: 1.6rem; color: var(--primary-dark); margin: 32px 0 12px; }
.content-section h3 { font-size: 1.25rem; color: var(--primary); margin: 24px 0 8px; }
.content-section p { margin-bottom: 16px; }
.content-section ul, .content-section ol { margin: 0 0 16px 24px; }
.content-section li { margin-bottom: 6px; }

/* ── Feature Highlights ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 24px 0; }
.feature-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 24px;
    border-left: 4px solid var(--primary);
}
.feature-card h4 { color: var(--primary-dark); margin-bottom: 8px; }
.feature-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ── CTA Banner ── */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 48px 24px;
    border-radius: var(--radius);
    margin: 32px 0;
}
.cta-banner h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-banner p { opacity: 0.9; margin-bottom: 24px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; }

/* ── Footer ── */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.footer-brand span { color: var(--secondary); }
footer h4 { color: var(--white); margin-bottom: 12px; font-size: 0.95rem; }
footer a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
footer a:hover { color: var(--white); }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

/* ── Legal ── */
.legal-content { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.legal-content h2 { font-size: 1.4rem; color: var(--primary-dark); margin: 28px 0 12px; }
.legal-content p, .legal-content li { font-size: 0.95rem; line-height: 1.8; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 16px;
        gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; width: 100%; }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        border-radius: 0;
    }
    .dropdown-menu a { color: rgba(255,255,255,0.8); padding-left: 32px; }
    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown.open .dropdown-menu { display: block; }
    .hero h1 { font-size: 2rem; }
    .hero-small h1 { font-size: 1.6rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
}
