/* =====================================================
   FARMER PORTFOLIO - DESIGN SYSTEM
   Authentic, Earthy, Professional
   ===================================================== */

/* CSS Variables & Design Tokens */
:root {
    /* Color Palette - Clean & Minimal */
    --color-primary: #2E7D32;
    /* Modern Green */
    --color-primary-light: #4CAF50;
    /* Light Green */
    --color-primary-dark: #1B5E20;
    /* Dark Green */

    --color-secondary: #5D4037;
    /* Warm Brown */
    --color-secondary-light: #795548;
    /* Light Brown */
    --color-secondary-dark: #3E2723;
    /* Dark Brown */

    --color-accent: #F9A825;
    /* Golden Accent */
    --color-accent-light: #FBC02D;
    /* Light Gold */
    --color-accent-dark: #F57F17;
    /* Dark Gold */

    /* Neutral Colors - Clean Whites & Grays */
    --color-cream: #FAFAFA;
    --color-warm-white: #FFFFFF;
    --color-beige: #F5F5F5;
    --color-tan: #E0E0E0;

    /* Text Colors - Clean Hierarchy */
    --color-text-dark: #212121;
    --color-text: #424242;
    --color-text-muted: #757575;
    --color-text-light: #9E9E9E;
    --color-text-on-dark: #FFFFFF;

    /* Gradients - Subtle & Clean */
    --gradient-hero: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    --gradient-warm: linear-gradient(135deg, #5D4037 0%, #795548 100%);
    --gradient-gold: linear-gradient(135deg, #F9A825 0%, #FBC02D 100%);
    --gradient-subtle: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 4px 14px rgba(218, 165, 32, 0.3);
    --shadow-green: 0 4px 14px rgba(45, 80, 22, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-slower: 500ms ease;

    /* Layout */
    --container-max: 1200px;
    --nav-height: 80px;

    /* Semantic Component Colors */
    --bg-card: #1E2A3A;
    --text-card-head: #FFFFFF;
    --text-card-body: rgba(255, 255, 255, 0.8);
    --border-card: 1px solid transparent;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-warm-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

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

ul,
ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Section Base */
.section {
    padding: var(--space-12) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-tag {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.1), rgba(74, 124, 35, 0.1));
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.section-title .highlight {
    color: var(--color-primary);
    position: relative;
}

.section-description {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--gradient-hero);
    color: var(--color-text-on-dark);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn-full {
    width: 100%;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(251, 246, 253, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    height: 70px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.logo-icon {
    font-size: var(--text-2xl);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

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

.nav-link-cta {
    background: var(--gradient-hero);
    color: var(--color-text-on-dark) !important;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
}

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

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(218, 165, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        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");
}

.hero-content {
    position: relative;
    color: var(--color-text-on-dark);
    padding: var(--space-20) var(--space-6);
    max-width: 1400px;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s ease-out;
}

.badge-icon {
    font-size: var(--text-lg);
}

.hero-title {
    font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
    font-weight: 700;
    color: var(--color-text-on-dark);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero-title .highlight {
    color: var(--color-accent-light);
    position: relative;
}

.hero-subtitle {
    font-size: var(--text-lg);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto var(--space-10);
    line-height: 1.8;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hero .btn-primary {
    background: var(--color-accent);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-gold);
}

.hero .btn-primary:hover {
    background: var(--color-accent-light);
}

.hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-text-on-dark);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-text-on-dark);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-accent-light);
}

.stat-label {
    font-size: var(--text-sm);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInLeft 1s ease 0.3s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-text-on-dark);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: var(--radius-full);
    margin: 0 auto;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: var(--radius-full);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 1.5s infinite;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
    background: #dddfe6;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-16);
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.profile-photo {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
}

.image-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-on-dark);
}

.placeholder-icon {
    font-size: 5rem;
    margin-bottom: var(--space-4);
}

.placeholder-text {
    font-size: var(--text-lg);
    opacity: 0.9;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    animation: pulse 3s infinite;
}

.exp-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-text-dark);
}

.exp-text {
    font-size: var(--text-xs);
    font-weight: 600;
    text-align: center;
    color: var(--color-secondary-dark);
    line-height: 1.3;
}

.about-content h3 {
    font-size: var(--text-2xl);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
}

.about-lead {
    font-size: var(--text-lg);
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: var(--space-4);
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.value-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-warm-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.value-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: var(--text-2xl);
    flex-shrink: 0;
}

.value-content h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
    color: var(--color-secondary);
}

.value-content p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* =====================================================
   CROPS SECTION
   ===================================================== */
.crops {
    background: #dddfe6;
}

.crops-category {
    margin-bottom: var(--space-16);
}

.crops-category:last-child {
    margin-bottom: 0;
}

.category-title {
    margin-bottom: var(--space-8);
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-badge.current {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.15), rgba(74, 124, 35, 0.15));
    color: var(--color-primary);
}

.category-badge.previous {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(160, 82, 45, 0.1));
    color: var(--color-secondary);
}

.crops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.crop-card {
    background: var(--bg-card);
    border: var(--border-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    color: var(--text-card-head);
}

.crop-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.crop-image {
    height: 240px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.crop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.crop-card-past .crop-image {
    background: var(--gradient-warm);
}

.crop-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.crop-content {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.crop-status {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-3);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.active {
    background: var(--color-primary);
    animation: pulse 2s infinite;
}

.status-dot.past {
    background: var(--color-secondary);
}

.crop-content h4 {
    font-size: var(--text-xl);
    color: var(--text-card-head);
    margin-bottom: var(--space-3);
}

.crop-content p {
    font-size: var(--text-sm);
    color: var(--text-card-body);
    margin-bottom: var(--space-4);
    flex: 1;
}

.crop-details {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-top: auto;
}

.crop-details li {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-1) 0;
}

.crop-details strong {
    color: #FFFFFF;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    background: #dddfe6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.service-card {
    background: var(--bg-card);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: var(--border-card);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    color: var(--text-card-head);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-featured {
    background: var(--bg-card);
    color: var(--text-card-head);
}

.service-featured::before {
    background: var(--gradient-gold);
}

.service-featured h3,
.service-featured .check-icon {
    color: #FFFFFF;
}

.service-featured p,
.service-featured li {
    color: var(--text-card-body);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-5);
}

.service-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    color: var(--text-card-head);
}

.service-card p {
    color: var(--text-card-body);
    margin-bottom: var(--space-6);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-card-body);
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #4CAF50;
}

/* =====================================================
   EQUIPMENT SECTION
   ===================================================== */
.equipment {
    background: #dddfe6;
}

.equipment-showcase {
    display: grid;
    gap: var(--space-12);
}

.fleet-title {
    font-size: var(--text-xl);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.fleet-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-hero);
    border-radius: var(--radius-full);
}

.tractors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.tractor-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: var(--border-card);
    overflow: hidden;
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
    color: var(--text-card-head);
}

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

.tractor-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.tractor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.tractor-number {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: var(--gradient-gold);
    color: var(--color-text-dark);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.tractor-info {
    padding: var(--space-5);
}

.tractor-info h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    color: var(--text-card-head);
}

.tractor-info p {
    font-size: var(--text-sm);
    color: var(--text-card-body);
}

.implements-fleet {
    margin-top: var(--space-12);
}

.implements-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.implement-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: var(--border-card);
    overflow: hidden;
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
    color: var(--text-card-head);
}

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

.implement-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.implement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.implement-number {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: var(--gradient-gold);
    color: var(--color-text-dark);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.implement-info {
    padding: var(--space-5);
}

.implement-info h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    color: var(--text-card-head);
}

.implement-info p {
    font-size: var(--text-sm);
    color: var(--text-card-body);
}

/* =====================================================
   GALLERY GRID & POLAROID FRAMES
   ===================================================== */
.gallery {
    background: #cfd0b8;
    position: relative;
    z-index: 10;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.filter-btn {
    padding: var(--space-3) var(--space-8);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-text-dark);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-10);
    padding: var(--space-4);
}

.gallery-item {
    position: relative;
    cursor: pointer;
    transition: all var(--transition-slow);
}

.gallery-item.hidden {
    display: none;
}

/* Polaroid Frame Style */
.gallery-frame {
    background: #ffffff;
    padding: 15px 15px 60px 15px;
    /* Thick bottom padding for caption */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: rotate(0deg);
    transition: all var(--transition-base);
    position: relative;
    border: 1px solid #e0e0e0;
}

/* Subtle rotation for organic feel - alternating */
.gallery-item:nth-child(3n+1) .gallery-frame {
    transform: rotate(1.5deg);
}

.gallery-item:nth-child(3n+2) .gallery-frame {
    transform: rotate(-1.5deg);
}

.gallery-item:nth-child(3n+3) .gallery-frame {
    transform: rotate(1deg);
}

/* Hover Effect: Straighten & Lift */
.gallery-item:hover {
    z-index: 20;
}

.gallery-item:hover .gallery-frame {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: white;
}

.frame-content {
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    /* Square images */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.frame-content img,
.frame-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .frame-content img {
    transform: scale(1.1);
}

/* Caption styling like handwriting */
.frame-caption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    text-align: center;
    font-family: 'Patrick Hand', 'Comic Sans MS', cursive, sans-serif;
    color: #333;
    font-size: 1.3rem;
    line-height: 1.2;
}

/* Play button for videos */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 24px;
    pointer-events: none;
    transition: transform var(--transition-base), background var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover .play-button {
    background: var(--color-accent);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    backdrop-filter: blur(5px);
}

.lightbox-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 10px solid white;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: white;
}

.lightbox-caption {
    margin-top: var(--space-4);
    color: white;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =====================================================
   TIMELINE SECTION
   ===================================================== */
.timeline {
    background: #dddfe6;
    padding-bottom: var(--space-6);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-hero);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.timeline-item {
    display: flex;
    margin-bottom: var(--space-8);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    margin-right: var(--space-12);
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: var(--space-12);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-warm-white);
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    flex: 1;
    max-width: calc(50% - 40px);
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    border: var(--border-card);
    color: var(--text-card-head);
}

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

.timeline-year {
    display: inline-block;
    background: var(--gradient-hero);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.timeline-content h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    color: var(--text-card-head);
}

.timeline-content p {
    font-size: var(--text-sm);
    color: var(--text-card-body);
    margin: 0;
}


/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    background: #dddfe6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-card {
    background: var(--bg-card);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: var(--border-card);
    box-shadow: var(--shadow-card);
    margin-bottom: var(--space-8);
    color: var(--text-card-head);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: var(--text-2xl);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
    color: var(--text-card-head);
}

.contact-details p {
    color: var(--text-card-body);
}

.contact-message {
    background: var(--gradient-hero);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    color: var(--color-text-on-dark);
}

.contact-message h4 {
    color: var(--color-text-on-dark);
    margin-bottom: var(--space-4);
}

.contact-message li {
    padding: var(--space-2) 0;
    opacity: 0.9;
}

.contact-form {
    background: var(--bg-card);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: var(--border-card);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-card-head);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: #151E29;
    transition: all var(--transition-base);
    color: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

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

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--color-primary-dark);
    color: var(--color-text-on-dark);
    padding: var(--space-4) 0;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer-brand .logo-icon {
    font-size: var(--text-xl);
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
}

.footer-brand p {
    font-size: var(--text-xs);
    opacity: 0.7;
    margin-left: var(--space-2);
}

.footer-links {
    display: flex;
    gap: var(--space-6);
}

.footer-links a {
    font-weight: 500;
    font-size: var(--text-sm);
    opacity: 0.8;
    transition: opacity var(--transition-base);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-xs);
    opacity: 0.7;
}

.footer-tagline {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

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

    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 scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Scroll Reveal Animation Classes */
/* Scroll Reveal Animation Classes */
.reveal,
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Default Up */
.reveal,
.animate-up {
    transform: translateY(40px);
}

/* Directional */
.animate-left {
    transform: translateX(-40px);
}

.animate-right {
    transform: translateX(40px);
}

.animate-zoom {
    transform: scale(0.9);
}

/* Active State */
.reveal.active,
.animate-on-scroll.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-featured {
        order: -1;
    }

    .tractors-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .implements-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .crops-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-warm-white);
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-4);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link-cta {
        width: 100%;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .hero-text {
        text-align: center;
        order: -1;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-6);
        justify-content: center;
    }

    .stat {
        flex: 1 1 120px;
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .crops-grid {
        grid-template-columns: 1fr;
    }

    .tractors-grid {
        grid-template-columns: 1fr;
    }

    .implements-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-6);
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .section {
        padding: var(--space-16) 0;
    }

    .hero-badge {
        font-size: var(--text-xs);
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: -15px;
        right: -15px;
    }

    .exp-number {
        font-size: var(--text-2xl);
    }

    .implements-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   WHATSAPP FLOATING BUTTON
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    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-base);
    animation: pulse-whatsapp 2s infinite;
}

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

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes pulse-whatsapp {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 998;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* =====================================================
   ANIMATED STATISTICS
   ===================================================== */
.stat-number {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-number.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsive for floating buttons */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .back-to-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Gallery responsive */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Timeline responsive */
    .timeline-container::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-marker {
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        max-width: 100%;
        margin-left: 70px !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    /* Testimonials responsive */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Seasons responsive */
    .seasons-grid {
        grid-template-columns: 1fr;
    }
}

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