/* ============================================
   Nolen's Poultry & Farm Auction
   Vibrant Modern — Plum + Amber Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #581c87;
    --plum-950: #3b0764;

    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;

    --plum-dark: #1a0a2e;
    --plum-medium: #2d1248;
    --cream: #fffbf0;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-plum: 0 8px 30px rgba(147, 51, 234, 0.25);
    --shadow-amber: 0 8px 30px rgba(245, 158, 11, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--plum-dark);
}

.text-accent {
    color: var(--plum-600);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-600);
    color: var(--white);
    border-color: var(--plum-600);
    box-shadow: var(--shadow-plum);
}

.btn-primary:hover {
    background: var(--plum-700);
    border-color: var(--plum-700);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(147, 51, 234, 0.35);
}

.btn-secondary {
    background: var(--amber-400);
    color: var(--plum-dark);
    border-color: var(--amber-400);
    box-shadow: var(--shadow-amber);
}

.btn-secondary:hover {
    background: var(--amber-500);
    border-color: var(--amber-500);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--plum-dark);
    border-color: var(--plum-600);
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--plum-100);
    color: var(--plum-700);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--plum-800);
}

.logo-icon {
    font-size: 1.6rem;
}

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

.nav-links a {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.nav-links a:hover {
    background: var(--plum-100);
    color: var(--plum-700);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 26px;
    height: 3px;
    background: var(--plum-800);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum-800) 50%, var(--plum-700) 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--amber-300);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber-400);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-accent {
    color: var(--amber-400);
    display: block;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--plum-200);
    font-weight: 400;
    display: block;
    margin-top: 8px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--plum-200);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Floating Stat Cards */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
}

.stat-card--amber::before {
    background: var(--amber-400);
}

.stat-card--plum::before {
    background: var(--plum-500);
}

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

.stat-card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.stat-card-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--plum-800);
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.4;
}

/* Hero Decorative Shapes */
.hero-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
}

.hero-shape--circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--amber-400);
    top: -100px;
    right: -100px;
}

.hero-shape--triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--plum-400);
    bottom: 10%;
    left: -60px;
    opacity: 0.15;
}

.hero-shape--square {
    width: 150px;
    height: 150px;
    background: var(--amber-300);
    border-radius: var(--radius-lg);
    bottom: 5%;
    right: 5%;
    transform: rotate(45deg);
    opacity: 0.1;
}

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

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

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--amber-400);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

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

.feature-icon {
    width: 28px;
    height: 28px;
    background: var(--plum-100);
    color: var(--plum-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--plum-dark);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.services .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--amber-300);
}

.services .section-title {
    color: var(--white);
}

.services .section-subtitle {
    color: var(--plum-200);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: var(--amber-400);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--plum-200);
    line-height: 1.7;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    padding: 100px 0;
    background: var(--cream);
}

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 10, 46, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-500) 50%, var(--amber-600) 100%);
    position: relative;
    overflow: hidden;
}

.cta-shape-left {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--plum-600);
    border-radius: 50%;
    left: -100px;
    top: -100px;
    opacity: 0.15;
}

.cta-shape-right {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--plum-800);
    border-radius: var(--radius-xl);
    right: -50px;
    bottom: -50px;
    transform: rotate(30deg);
    opacity: 0.12;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--plum-dark);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.15rem;
    color: var(--plum-800);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 100px 0 60px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

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

.contact-card:hover {
    background: var(--plum-50);
    border-color: var(--plum-200);
    transform: translateX(4px);
}

.contact-card-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1rem;
    color: var(--plum-800);
    margin-bottom: 4px;
}

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

.contact-link {
    color: var(--plum-600);
    font-weight: 600;
}

.contact-link:hover {
    color: var(--plum-800);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-100);
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--plum-500);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

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

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

.form-success.show {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--plum-100);
    color: var(--plum-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.form-success h4 {
    font-size: 1.3rem;
    color: var(--plum-800);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-600);
}

/* Map */
.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--plum-100);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--plum-dark);
    padding: 60px 0 30px;
    color: var(--plum-200);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--plum-300);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

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

.footer-links a {
    color: var(--plum-300);
    font-size: 0.95rem;
}

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

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--amber-300);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--plum-400);
}

/* ============================================
   SCROLL REVEAL (Progressive Enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-card {
        flex: 1;
        min-width: 200px;
    }

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

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

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 251, 240, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-bottom: 2px solid var(--plum-100);
        transform: translateY(-120%);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

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

    .stat-card {
        min-width: auto;
    }

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

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

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
