@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary: #2D5A27;
    --primary-light: #4A7C44;
    --secondary: #C4841D;
    --accent: #8B4513;
    --bg-cream: #FDFBF7;
    --text-dark: #1A1A1A;
    --text-muted: #555;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
}

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

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

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.4rem;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--secondary);
    color: white;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('harvest_organics_hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
    animation-fill-mode: both;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(45, 90, 39, 0.2);
}

.btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(45, 90, 39, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    box-shadow: 0 10px 20px rgba(196, 132, 29, 0.2);
}

.btn-secondary:hover {
    background: #d4952d;
    box-shadow: 0 15px 30px rgba(196, 132, 29, 0.3);
}

/* --- Intro Section --- */
.intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.section-tag {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: block;
}

.intro h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.intro p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- Filter Bar --- */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* --- Highlights --- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.highlight-card {
    background: var(--white);
    padding: 3.5rem 2rem;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.02);
}

.highlight-card:hover {
    transform: translateY(-15px);
    border-color: var(--secondary);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: block;
}

.highlight-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* --- Products --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.product-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition), opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 350px;
    overflow: hidden;
    position: relative;
}

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

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

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.product-info {
    padding: 2.5rem;
}

.product-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    display: block;
}

.product-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-selection {
    margin-bottom: 1.5rem;
}

.product-selection label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.weight-select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-family: inherit;
    font-weight: 600;
    background: #f9f9f9;
    cursor: pointer;
    transition: var(--transition);
}

.weight-select:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--white);
}

.product-qty {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-qty label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.qty-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
    font-family: inherit;
    font-weight: 600;
}

.qty-input:focus {
    outline: none;
    border-color: var(--secondary);
}

.product-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-sm {
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* --- Cart Sidebar --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 1999;
    display: none;
}

.cart-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    box-shadow: -10px 0 50px rgba(0,0,0,0.2);
    padding: 3rem 2.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.cart-header h2 {
    font-size: 2rem;
}

.close-cart {
    cursor: pointer;
    font-size: 1.8rem;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cart-item-img {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    object-fit: cover;
}

.cart-item-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cart-item-info p {
    color: var(--secondary);
    font-weight: 700;
}

.remove-item {
    color: #ff4444;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.cart-footer {
    padding-top: 2rem;
    border-top: 2px solid var(--bg-cream);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* --- About Us --- */
.about-section {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.promise-list {
    margin: 2rem 0;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.promise-item i {
    color: var(--secondary);
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: 40px;
    box-shadow: 30px 30px 0 var(--secondary);
}

/* --- Blog --- */
.blog-section {
    background: #f8f8f8;
}

.blog-featured {
    background: var(--white);
    padding: 0;
    border-radius: 40px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-content {
    padding: 4rem;
}

.blog-tag {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.blog-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.blog-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--white);
    padding: 4rem;
    border-radius: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(45, 90, 39, 0.1);
}

/* --- Pricing Section --- */
.pricing-section {
    background: var(--bg-cream);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.pricing-card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-15px);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-card.highlighted {
    border: 2px solid var(--secondary);
    background: linear-gradient(to bottom, #ffffff, #fffdf8);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 15px rgba(196, 132, 29, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 2rem;
    color: var(--primary);
    line-height: 1.2;
}

.pricing-details {
    margin: 0;
    padding: 0;
}

.pricing-details li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.pricing-details li:last-child {
    border-bottom: none;
}

.pricing-details li span {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.1rem;
}

.pricing-details li strong {
    color: var(--secondary);
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
}

/* --- Footer --- */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-desc {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary);
    transform: translateY(-5px);
}

.footer-links h4 {
    margin-bottom: 2rem;
    color: var(--secondary);
    font-size: 1.3rem;
}

.footer-links ul li {
    margin-bottom: 1.2rem;
}

.footer-links ul li a {
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
    opacity: 0.7;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Scroll Snap */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 4rem; }
    .about-content { grid-template-columns: 1fr; gap: 4rem; }
    .blog-featured { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
    .cart-sidebar { width: 100%; right: -100%; }
    .contact-grid { grid-template-columns: 1fr; }
    .product-btns { grid-template-columns: 1fr; }
}
