/* ============================================
   CHARLIE RIDLEY TURF TACK — STYLESHEET
   Classic & Elegant · Forest Green + Off-White
   ============================================ */

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

:root {
    --forest-dark: #1a2f23;
    --forest: #2d4a35;
    --forest-mid: #3d6b4f;
    --forest-light: #5a8f6e;
    --forest-pale: #e8f0ea;
    --cream: #f7f4ee;
    --cream-dark: #efe9dd;
    --warm-white: #faf8f4;
    --gold: #b8943e;
    --gold-light: #d4af66;
    --text-dark: #1a1f1c;
    --text-mid: #3d4f44;
    --text-light: #6b7f72;
    --text-on-dark: #f0ebe3;
    --shadow-sm: 0 1px 3px rgba(26, 47, 35, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 47, 35, 0.10);
    --shadow-lg: 0 8px 32px rgba(26, 47, 35, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--forest-dark);
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* ---------- SECTION HEADERS ---------- */
.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--forest);
    color: var(--text-on-dark);
    border-color: var(--forest);
}

.btn-primary:hover {
    background: var(--forest-dark);
    border-color: var(--forest-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-on-dark);
    border-color: rgba(240, 235, 227, 0.5);
}

.btn-secondary:hover {
    background: rgba(240, 235, 227, 0.1);
    border-color: var(--text-on-dark);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 47, 35, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(240, 235, 227, 0.08);
    transition: var(--transition);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-mark {
    width: 42px;
    height: 42px;
    background: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--forest-dark);
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-on-dark);
    line-height: 1.2;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(240, 235, 227, 0.8);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-on-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--forest-dark) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-on-dark);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(45, 74, 53, 0.9) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(90, 50, 30, 0.7) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 50%, rgba(26, 47, 35, 0.95) 0%, transparent 70%),
        linear-gradient(160deg, #1a2f23 0%, #2d4a35 30%, #4a3528 60%, #1a2f23 100%);
    z-index: 1;
}

.hero-overlay {
    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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-on-dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title-accent {
    font-style: italic;
    font-weight: 500;
    color: var(--gold-light);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(240, 235, 227, 0.8);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(240, 235, 227, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- FEATURES STRIP ---------- */
.features {
    background: var(--forest-dark);
    padding: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    padding: 48px 32px;
    border-right: 1px solid rgba(240, 235, 227, 0.08);
    transition: var(--transition);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item:hover {
    background: rgba(240, 235, 227, 0.04);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.15rem;
    color: var(--text-on-dark);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: rgba(240, 235, 227, 0.6);
    line-height: 1.7;
}

/* ---------- PRODUCTS ---------- */
.products {
    padding: 100px 0;
    background: var(--warm-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(26, 47, 35, 0.06);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card-img {
    height: 220px;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 28px;
}

.product-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--forest-dark);
}

.product-card-body p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 100px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 200px;
    height: 200px;
    background: var(--forest);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-mid);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid rgba(26, 47, 35, 0.1);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest);
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 100px 0;
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 5/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ---------- TESTIMONIAL ---------- */
.testimonial {
    padding: 100px 0;
    background: var(--forest-dark);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 148, 62, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonial-content {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin: 0 auto 28px;
    opacity: 0.6;
}

.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: var(--text-on-dark);
    line-height: 1.8;
    margin-bottom: 28px;
}

.testimonial-author {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-description {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 24px;
    height: 24px;
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--forest-dark);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--forest-mid);
    transition: var(--transition);
}

.contact-detail a:hover {
    color: var(--forest);
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrap {
    background: var(--warm-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26, 47, 35, 0.06);
}

.contact-form-wrap h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--forest-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(26, 47, 35, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(45, 74, 53, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--forest);
    margin: 0 auto 16px;
}

.form-success h4 {
    font-size: 1.4rem;
    color: var(--forest-dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-mid);
    font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--forest-dark);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(240, 235, 227, 0.08);
}

.footer-brand .footer-logo-mark {
    display: inline-flex;
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--forest-dark);
    margin-bottom: 16px;
}

.footer-brand .footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-on-dark);
    line-height: 1.3;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(240, 235, 227, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(240, 235, 227, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-on-dark);
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(240, 235, 227, 0.6);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(240, 235, 227, 0.6);
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(240, 235, 227, 0.35);
}

.footer-bottom a {
    color: rgba(240, 235, 227, 0.35);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ---------- SCROLL REVEAL ---------- */
[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].reveal-hidden {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- MOBILE MENU ---------- */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26, 47, 35, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(240, 235, 227, 0.08);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(240, 235, 227, 0.08);
    }
    .feature-item:nth-child(2),
    .feature-item:nth-child(4) {
        border-bottom: none;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(240, 235, 227, 0.08);
    }
    .feature-item:last-child {
        border-bottom: none;
    }
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image img {
        height: 360px;
    }
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-form-wrap {
        padding: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .nav-inner {
        padding: 0 16px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .hero-content {
        padding: 100px 16px 60px;
    }
}
