/* landing.css - Premium Farm Landing Page Styles */

:root {
    /* Color Palette */
    --clr-bg-light: #F9F8F6; /* Light Beige / Cream */
    --clr-bg-card: #FFFFFF;
    --clr-text-main: #3E2723; /* Dark Brown from Logo */
    --clr-text-muted: #5D4037;
    --clr-accent-gold: #C09858; /* Bronze/Gold from Logo */
    --clr-accent-gold-hover: #D7A965; /* Lighter gold for hover states */
    --clr-footer-bg: #2C1A16; /* Very Dark Brown for contrast */

    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing & Utilities */
    --section-padding-y: 80px;
    --container-width: 1200px;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(62, 39, 35, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-text-main);
}

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

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

/* Utility Animations */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------
 * Hero Section 
 * ------------------------------------- */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* This will be replaced by the AI generated image */
    background: url('images/landing/hero-bg.png') center/cover no-repeat;
    background-color: var(--clr-text-main); /* Fallback */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(62, 39, 35, 0.4) 0%, rgba(62, 39, 35, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: var(--clr-bg-light); /* White/Cream text on dark overlay */
}

.brand-logo-wrap {
    margin-bottom: 24px;
}

.hero-logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--clr-bg-light);
    letter-spacing: -1px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    max-width: 800px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    color: #EFEBE4;
}

.btn-primary {
    display: inline-block;
    background-color: var(--clr-accent-gold);
    color: var(--clr-bg-card);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: var(--clr-accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.scroll-down-indicator:hover {
    color: var(--clr-accent-gold);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 14px;
    position: relative;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: currentColor;
    border-radius: 2px;
    margin-top: 6px;
    animation: scroll-wheel 2s infinite ease-out;
}

.scroll-text {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* -------------------------------------
 * Shared Section Styles
 * ------------------------------------- */

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--clr-text-main);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 700;
}

.title-separator {
    width: 60px;
    height: 4px;
    background-color: var(--clr-accent-gold);
    margin: 0 auto 40px auto;
    border-radius: 2px;
}

/* -------------------------------------
 * About Section 
 * ------------------------------------- */

.about-section {
    padding: var(--section-padding-y) 0;
    background-color: var(--clr-bg-light);
    position: relative;
    /* Optional parallax texture if available */
    background-image: 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="%23d7a965" fill-opacity="0.05"%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');
}

.about-container {
    display: flex;
    justify-content: center;
}

.about-content {
    max-width: 800px;
    text-align: center;
    background: var(--clr-bg-card);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.about-text {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--clr-text-main);
    font-weight: 600;
}

/* -------------------------------------
 * Poster Section 
 * ------------------------------------- */

.poster-section {
    padding: var(--section-padding-y) 0;
    background-color: #F2F0EB; /* Slightly darker than light beige */
    display: flex;
    justify-content: center;
    align-items: center;
}

.poster-container {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 24px;
    display: flex;
    justify-content: center;
}

.poster-wrapper {
    position: relative;
    border: 2px solid var(--clr-accent-gold);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(62, 39, 35, 0.15);
    overflow: hidden;
    background: var(--clr-bg-card);
    line-height: 0; /* Remove gap below image */
    transition: transform 0.3s ease;
}

.poster-wrapper:hover {
    transform: scale(1.02);
}

.poster-img {
    display: block;
    max-height: 85vh;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* -------------------------------------
 * Services Section 
 * ------------------------------------- */

.services-section {
    padding: var(--section-padding-y) 0;
    background-color: #EFEBE4; /* Slightly darker beige */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--clr-bg-card);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(62, 39, 35, 0.1);
    border-bottom-color: var(--clr-accent-gold);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px auto;
    background-color: rgba(192, 152, 88, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent-gold);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--clr-accent-gold);
    color: var(--clr-bg-card);
    transform: scale(1.1);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-text {
    color: var(--clr-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* -------------------------------------
 * Gallery Section 
 * ------------------------------------- */

.gallery-section {
    padding: var(--section-padding-y) 0;
    background-color: var(--clr-bg-light);
}

.gallery-intro {
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: #E0DCD3; /* Placeholder background color */
    box-shadow: var(--box-shadow);
}

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

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

/* -------------------------------------
 * Footer & Contact Section 
 * ------------------------------------- */

.footer-section {
    background-color: var(--clr-footer-bg);
    color: var(--clr-bg-light);
    padding-top: 80px;
    border-top: 4px solid var(--clr-accent-gold);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-left {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.footer-title {
    color: var(--clr-accent-gold);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #EFEBE4;
}

.contact-list svg {
    width: 24px;
    height: 24px;
    color: var(--clr-accent-gold);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-list a {
    color: #EFEBE4;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--clr-accent-gold-hover);
}

.footer-right {
    flex: 1;
    min-width: 300px;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background-color: #3E2723;
}

.footer-bottom {
    background-color: #1a0f0d; /* Even darker for bottom bar */
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    .footer-left, .footer-right {
        max-width: 100%;
    }
    .poster-img {
        max-height: none;
        width: 100%;
    }
    .poster-section {
        padding: 40px 0;
    }
}





