/* ============================================================
   DISC GOLF GEAR — style.css
   Colors: green (grass) · blue (sky) · yellow (baskets)
   Fonts:  Barlow Condensed (headings) · Inter (body)
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
    --green-dark:    #1E4D2B;
    --green-primary: #2B6B3E;
    --green-light:   #EAF2EB;
    --blue:          #4A90C4;
    --blue-light:    #EBF4FB;
    --yellow:        #F0B432;
    --yellow-dark:   #D99A1A;
    --yellow-light:  #FEF6E4;
    --bg:            #F5F7F2;
    --white:         #FFFFFF;
    --text:          #1C2B1E;
    --text-muted:    #5C6B5E;
    --border:        #D8E3DA;
    --shadow:        0 2px 8px rgba(0,0,0,0.07);
    --shadow-hover:  0 4px 16px rgba(0,0,0,0.12);
    --radius:        6px;
    --font-head:     'Barlow Condensed', sans-serif;
    --font-body:     'Inter', sans-serif;
    --max-width:     1100px;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* --- Utility ---------------------------------------------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Buttons ---------------------------------------------- */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

/* Primary — basket yellow */
.btn-primary {
    background: var(--yellow);
    color: var(--text);
    box-shadow: 0 2px 6px rgba(240,180,50,0.35);
}
.btn-primary:hover {
    background: var(--yellow-dark);
    box-shadow: 0 4px 12px rgba(240,180,50,0.45);
}

/* Secondary — outlined */
.btn-secondary {
    background: transparent;
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
}
.btn-secondary:hover { background: var(--green-light); }

/* Full-width variant */
.btn-block { display: block; text-align: center; width: 100%; }

/* --- Header ----------------------------------------------- */
.site-header {
    background: var(--green-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.45rem;
    letter-spacing: 0.02em;
    text-decoration: none;
}
.logo:hover { text-decoration: none; opacity: 0.92; }
.logo-disc { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text strong { color: var(--yellow); }
.logo--footer .logo-text { color: var(--white); }

/* Nav */
.main-nav ul {
    display: flex;
    gap: 4px;
    align-items: center;
}
.main-nav > ul > li > a {
    color: rgba(255,255,255,0.88);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: background 0.15s, color 0.15s;
    display: block;
}
.main-nav > ul > li > a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
}

/* Dropdown */
.has-drop { position: relative; }
.main-nav .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    min-width: 160px;
    z-index: 200;
    flex-direction: column;
    gap: 0;
}
.dropdown li a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.12s;
}
.dropdown li a:hover { background: var(--green-light); text-decoration: none; }
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown { display: flex; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s;
}

/* --- Hero -------------------------------------------------- */
.hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 60%, #3a8a52 100%);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='28' stroke='rgba(255,255,255,0.04)' stroke-width='1' fill='none'/%3E%3Ccircle cx='30' cy='30' r='18' stroke='rgba(255,255,255,0.04)' stroke-width='1' fill='none'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}
.hero-inner { position: relative; max-width: 680px; margin: 0 auto; }
.hero-eyebrow {
    display: inline-block;
    background: var(--yellow);
    color: var(--text);
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
}
.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.55);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* --- Category Cards --------------------------------------- */
.categories { padding: 56px 0; }
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 0.97rem;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}
.cat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-top: 4px solid var(--green-primary);
    padding: 28px 20px 24px;
    text-align: center;
    transition: box-shadow 0.18s, transform 0.15s;
    text-decoration: none;
    color: var(--text);
    display: block;
}
.cat-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    text-decoration: none;
}
.cat-icon { font-size: 2.4rem; margin-bottom: 12px; display: block; }
.cat-name {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 6px;
}
.cat-desc { font-size: 0.85rem; color: var(--text-muted); }

/* --- Article Grid ----------------------------------------- */
.articles { padding: 0 0 56px; }
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.article-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.18s, transform 0.15s;
    display: flex;
    flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.article-card-img {
    background: var(--green-light);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--green-primary);
}
.article-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-tag {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.article-card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 8px;
    line-height: 1.25;
}
.article-card p { font-size: 0.9rem; color: var(--text-muted); flex: 1; margin-bottom: 16px; }
.article-card a.read-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-primary);
}
.article-card a.read-more:hover { color: var(--green-dark); }

/* --- Page layout (article + sidebar) ---------------------- */
.page-wrap { padding: 40px 0 60px; }
.content-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
}
.content-area {}
.sidebar { position: sticky; top: 80px; }

/* Article header */
.article-header { margin-bottom: 28px; }
.article-header .breadcrumb {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.article-header .breadcrumb a { color: var(--green-primary); }
.article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 10px;
}
.article-header h1 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.15;
}

/* Quick picks box */
.quick-picks {
    background: var(--yellow-light);
    border: 2px solid var(--yellow);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 28px 0;
}
.quick-picks h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 14px;
    letter-spacing: 0.01em;
}
.quick-picks ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.quick-picks li {
    font-size: 0.92rem;
    display: flex;
    gap: 10px;
    align-items: baseline;
}
.pick-label {
    background: var(--green-dark);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.quick-picks a { color: var(--green-primary); font-weight: 600; }

/* Product review cards */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 28px 0;
}
.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.product-card h2 {
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 4px;
}
.product-badge {
    background: var(--green-dark);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
.stars { color: var(--yellow); font-size: 1rem; letter-spacing: 1px; margin-bottom: 2px; }
.rating-text { font-size: 0.82rem; color: var(--text-muted); }

.product-img-placeholder {
    background: var(--green-light);
    border-radius: var(--radius);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 18px;
    color: var(--green-primary);
}
.product-summary { font-size: 0.97rem; margin-bottom: 18px; }

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}
.pros, .cons {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 14px 16px;
}
.pros h4 { color: var(--green-primary); font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.cons h4 { color: #b84f4f; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.pros ul, .cons ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.pros li::before { content: '✓ '; color: var(--green-primary); font-weight: 700; }
.cons li::before { content: '✗ '; color: #b84f4f; font-weight: 700; }
.pros li, .cons li { font-size: 0.88rem; }

.product-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.paid-link { font-size: 0.75rem; color: var(--text-muted); }

/* Comparison table */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.comparison-table th {
    background: var(--green-dark);
    color: var(--white);
    padding: 12px 14px;
    text-align: left;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.comparison-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.comparison-table tr:nth-child(even) td { background: var(--bg); }
.comparison-table tr:hover td { background: var(--green-light); }
.comparison-table .check { color: var(--green-primary); font-weight: 700; }
.comparison-table .cross { color: #b84f4f; }
.table-wrap { overflow-x: auto; }

/* Sidebar widgets */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.sidebar-widget h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green-light);
    letter-spacing: 0.01em;
}
.sidebar-pick {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
.sidebar-pick:last-of-type { border-bottom: none; }
.sidebar-pick strong { font-weight: 600; color: var(--text); }
.sidebar-pick .sp-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.05em; }

/* FAQ */
.faq { margin: 36px 0; }
.faq h2 {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 20px;
}
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.faq-item h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.faq-item p { font-size: 0.93rem; color: var(--text-muted); }

/* Inline headings in content */
.content-area h2 {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--green-dark);
    margin: 36px 0 12px;
    letter-spacing: 0.01em;
}
.content-area h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--green-dark);
    margin: 24px 0 8px;
}
.content-area p { margin-bottom: 14px; font-size: 0.97rem; }
.content-area ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.content-area ul li { font-size: 0.97rem; margin-bottom: 5px; }

/* Trust bar */
.trust-bar {
    background: var(--green-dark);
    color: rgba(255,255,255,0.85);
    padding: 18px 0;
    text-align: center;
}
.trust-bar-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-item { font-size: 0.88rem; }
.trust-item strong { color: var(--yellow); font-size: 1.1rem; display: block; }

/* --- Footer ----------------------------------------------- */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,0.75);
    margin-top: auto;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 20px 32px;
    flex-wrap: wrap;
}
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 6px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--yellow); text-decoration: none; }
.disclosure-bar {
    background: rgba(0,0,0,0.25);
    padding: 18px 20px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}
.disclosure-bar p { max-width: var(--max-width); margin: 0 auto 6px; }
.footer-copy { color: rgba(255,255,255,0.35) !important; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 800px) {
    .content-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .pros-cons { grid-template-columns: 1fr; }
    .trust-bar-inner { gap: 20px; }
}

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 62px;
        left: 0; right: 0;
        background: var(--green-dark);
        padding: 12px 16px 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li > a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .main-nav .dropdown {
        position: static;
        display: flex;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding-left: 16px;
    }
    .dropdown li a { color: rgba(255,255,255,0.75); }
    .card-grid { grid-template-columns: 1fr 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 24px; }
    .product-card-header { flex-direction: column; }
}

@media (max-width: 380px) {
    .card-grid { grid-template-columns: 1fr; }
}
