:root {
    --primary-color: #1b4332;
    --primary-light: #2d6a4f;
    --accent-color: #d4a373;
    --text-dark: #2b2b2b;
    --text-light: #fefefe;
    --bg-light: #f4f6f5;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

.logo {
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.5px;
}
.logo span {
    color: var(--accent-color);
}
.navbar.scrolled .logo {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    position: relative;
    transition: var(--transition);
}

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

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

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('assets/hero.jpg') center/cover fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(27, 67, 50, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    background: rgba(212, 163, 115, 0.2);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease;
}

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

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    animation: fadeInUp 1.4s ease;
}

.cta-button:hover {
    background-color: #c09160;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Fruit Sections (Catalog) */
.fruit-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17, 42, 32, 0.85); /* Deep green transparent */
}

/* Individual color overlays for variety */
#ciruelas .section-overlay { background: rgba(35, 20, 45, 0.85); }
#manzanas .section-overlay { background: rgba(45, 20, 20, 0.85); }
#peras .section-overlay { background: rgba(30, 45, 20, 0.85); }

.section-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.fruit-section .section-header {
    text-align: left;
    margin-bottom: 60px;
    margin-left: 0;
}

.fruit-section .section-header h2 {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.fruit-section .section-header p {
    font-size: 1.3rem;
    max-width: 700px;
    color: #e0e0e0;
    font-weight: 300;
    line-height: 1.6;
}

.variety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.variety-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 25px;
    border-radius: 12px;
    transition: var(--transition);
}

.variety-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.variety-card h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.variety-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #f4f6f5;
    font-weight: 300;
}

/* Footer */
.footer {
    background-color: #112a20;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 60px;
}

.brand-col h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.brand-col h3 span {
    color: var(--accent-color);
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-family: 'Outfit', sans-serif;
    color: var(--accent-color);
}

.footer-col p {
    margin-bottom: 12px;
    color: #b3c2bb;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    color: #6c8a7b;
    font-size: 0.9rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 3.5rem; }
    .fruit-section .section-header h2 { font-size: 2.8rem; }
    .footer-container { flex-direction: column; }
    .fruit-section { min-height: auto; padding: 80px 0; }
}
