/* ========================================
   QABOOL — Premium Goat Marketplace
   ======================================== */

/* CSS Variables */
:root {
    --green-dark: #0d4f22;
    --green: #1a6b3c;
    --green-light: #2e8b57;
    --green-pale: #e8f5e9;
    --green-muted: #c8e6c9;
    --gold: #e8c547;
    --gold-dark: #c9a830;
    --cream: #faf9f6;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #868e96;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --whatsapp: #25d366;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

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

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
    padding: 12px 0;
}

.navbar.scrolled {
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green);
    background: var(--green-pale);
}

.btn-nav {
    background: var(--green) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
}

.btn-nav:hover {
    background: var(--green-dark) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 107, 60, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d4f22 0%, #1a6b3c 40%, #2e8b57 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero[style*="background-image"] {
    background-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 79, 34, 0.82) 0%, rgba(26, 107, 60, 0.75) 40%, rgba(46, 139, 87, 0.7) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.highlight { color: var(--gold); }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.hero .btn-outline:hover {
    background: var(--white);
    color: var(--green);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat { text-align: center; }

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 8px auto 0;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
}

/* ========================================
   SECTIONS
   ======================================== */
.section { padding: 100px 0; }
.section-alt { background: var(--gray-50); }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 4px 16px;
    background: var(--green-pale);
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* ========================================
   FEATURES
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--green-muted);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon { margin-bottom: 20px; }

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   GOAT CARDS
   ======================================== */
.goats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.goats-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.goat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

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

.goat-image {
    position: relative;
    background: var(--green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;
}

.goat-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.goat-placeholder {
    padding: 30px;
}

.goat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 14px;
    background: var(--green);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-premium { background: var(--gold-dark); color: var(--gray-900); }
.badge-new { background: #e74c3c; }

.goat-info { padding: 24px; }

.goat-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.goat-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.goat-meta span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.goat-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.detail-label {
    color: var(--gray-500);
    font-weight: 500;
}

.health-good { color: var(--green); font-weight: 600; }

.goat-price {
    margin-bottom: 16px;
}

.price {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-dark);
}

.price-note {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
    flex: 1;
    padding: 0 24px;
}

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: var(--green-muted);
    margin-top: 32px;
    flex-shrink: 0;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

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

.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--green-pale);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

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

.cta-banner .btn-primary {
    background: var(--gold);
    color: var(--green-dark);
    border-color: var(--gold);
}

.cta-banner .btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

.cta-banner .btn-outline {
    color: var(--white);
    border-color: var(--white);
    background: transparent;
}

.cta-banner .btn-outline:hover {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p { font-size: 0.85rem; }

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--gray-500);
    transition: color var(--transition);
}

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

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ========================================
   PAGE HEADER (inner pages)
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    padding: 140px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   FILTER BAR
   ======================================== */
.filter-section {
    padding: 30px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 68px;
    z-index: 100;
}

.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 8px 24px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-pale);
}

/* ========================================
   BOOKING PAGE
   ======================================== */
.booking-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.booking-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.booking-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: border-color var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(26, 107, 60, 0.1);
}

.form-group textarea { resize: vertical; }

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 8px;
}

/* Booking Sidebar */
.sidebar-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    margin-bottom: 20px;
}

.sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.sidebar-steps {
    list-style: decimal;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-steps li {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.sidebar-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.sidebar-btn { margin-bottom: 10px; font-size: 0.9rem; }
.sidebar-btn:last-child { margin-bottom: 0; }

.sidebar-card-highlight {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    border-color: var(--green);
}

.sidebar-card-highlight h3 { color: var(--white); }
.sidebar-card-highlight p { color: rgba(255,255,255,0.85); }

.sidebar-card-highlight .btn-primary {
    background: var(--gold);
    color: var(--green-dark);
    border-color: var(--gold);
}

/* Success message */
.booking-success,
.contact-success {
    text-align: center;
    padding: 40px;
}

.success-icon { margin-bottom: 20px; }

.booking-success h2,
.contact-success h2 {
    font-family: var(--font-display);
    color: var(--green);
    margin-bottom: 12px;
}

.booking-success p,
.contact-success p {
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-tag { margin-bottom: 16px; }

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--gray-900);
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-text p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

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

.value-icon { margin-bottom: 20px; }

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Investment Section */
.invest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.invest-content .section-tag { margin-bottom: 16px; }

.invest-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--gray-900);
    margin-bottom: 20px;
}

.invest-content p {
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 24px;
}

.invest-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.invest-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--gray-700);
}

.invest-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.invest-stat-card {
    background: var(--white);
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.invest-stat-card:hover {
    transform: translateX(-4px);
    box-shadow: var(--shadow-lg);
}

.invest-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 4px;
}

.invest-stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: var(--green-muted);
    box-shadow: var(--shadow);
}

.contact-card h3 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.contact-card a { color: var(--green); font-weight: 500; }
.contact-card a:hover { color: var(--green-dark); }

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 28px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

/* Map */
.map-section {
    height: 300px;
    background: var(--green-pale);
}

.map-placeholder {
    width: 100%;
    height: 100%;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.mt-3 { margin-top: 30px; }

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll reveal */
.feature-card,
.testimonial-card,
.value-card,
.step,
.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible,
.testimonial-card.visible,
.value-card.visible,
.step.visible,
.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FARM GALLERY — asymmetric masonry grid
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    cursor: pointer;
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
    grid-row: span 1;
}

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

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

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 79, 34, 0.85) 0%, rgba(13, 79, 34, 0.1) 40%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-large .gallery-caption {
    font-size: 1.4rem;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 160px;
    }
    .gallery-item-large { grid-column: span 2; grid-row: span 2; }
    .gallery-item-wide { grid-column: span 3; grid-row: span 1; }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 10px;
    }
    .gallery-item-large { grid-column: span 2; grid-row: span 2; }
    .gallery-item-wide { grid-column: span 2; grid-row: span 1; }
    .gallery-caption {
        opacity: 1;
        transform: translateY(0);
        font-size: 0.9rem;
        bottom: 10px;
        left: 12px;
        right: 12px;
    }
    .gallery-item::before { opacity: 1; }
    .gallery-item-large .gallery-caption { font-size: 1.05rem; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .features-grid,
    .goats-grid,
    .goats-grid-full,
    .testimonials-grid,
    .values-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

    .invest-grid,
    .about-grid { grid-template-columns: 1fr; gap: 40px; }

    .booking-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 999;
    }

    .nav-links.active { right: 0; }

    .nav-links a {
        width: 100%;
        padding: 14px 20px;
        font-size: 1.05rem;
        border-radius: var(--radius);
    }

    .features-grid,
    .goats-grid,
    .goats-grid-full,
    .testimonials-grid,
    .values-grid { grid-template-columns: 1fr; }

    .hero-stats { gap: 30px; flex-wrap: wrap; }

    .stat-number { font-size: 2rem; }

    .steps { flex-direction: column; gap: 30px; align-items: center; }
    .step-connector { width: 2px; height: 30px; margin: 0; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

    .form-row { grid-template-columns: 1fr; }

    .booking-form-wrapper,
    .contact-form-wrapper { padding: 24px; }

    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }

    .hero-content { padding: 100px 0 60px; }

    .filter-bar { gap: 6px; }
    .filter-btn { padding: 6px 16px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .cta-actions { flex-direction: column; align-items: center; }
}
