@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&family=Merriweather:wght@300;400;700&display=swap');

:root {
    --primary: #1b5e20; /* Dark Emerald Green */
    --primary-light: #4c8c4a;
    --bg-main: #fcfbf9; /* Warm Beige tint */
    --accent: #827717; /* Soft gold/olive accent */
    --white: #ffffff;
    --text-dark: #2c3e2d;
    --text-muted: #556b56;
    --border: #e8e5df;
    --shadow: 0 8px 24px rgba(27, 94, 32, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    color: var(--primary);
    line-height: 1.3;
}

/* Preloader */
#preloader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--bg-main); z-index: 9999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: opacity 0.8s ease;
}
.leaf-loader {
    width: 60px; height: 60px;
    background: var(--primary);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    animation: leafPulse 1.5s infinite ease-in-out;
    margin-bottom: 30px;
}
@keyframes leafPulse {
    0% { transform: rotate(45deg) scale(0.8); opacity: 0.5; }
    50% { transform: rotate(45deg) scale(1.1); opacity: 1; }
    100% { transform: rotate(45deg) scale(0.8); opacity: 0.5; }
}
.loader-text { font-family: 'Merriweather', serif; color: var(--primary); letter-spacing: 1px; font-style: italic; }

/* Disclosure */
.disclosure { background: var(--bg-main); border-bottom: 1px solid var(--border); font-size: 11px; text-align: center; padding: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;}

/* Header */
header { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.03); }
.nav-wrap { max-width: 1200px; margin: 0 auto; padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Merriweather', serif; font-size: 24px; font-weight: 700; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 16px; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-light); }

/* Buttons */
.btn { display: inline-block; padding: 16px 36px; border-radius: 30px; text-decoration: none; font-weight: 700; transition: all 0.3s; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); box-shadow: 0 4px 15px rgba(27,94,32,0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(27,94,32,0.4); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* Containers */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 40px;
}

/* Hero */
.hero { text-align: center; padding: 100px 20px 140px; position: relative; background: radial-gradient(circle at top, var(--white), var(--bg-main)); }
.hero h1 { font-size: 56px; max-width: 800px; margin: 0 auto 20px; }
.hero p { font-size: 22px; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; }
.hero-image-wrap { max-width: 900px; margin: -80px auto 60px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); position: relative; z-index: 10; }
.hero-image-wrap img { width: 100%; height: 500px; object-fit: cover; display: block; }

/* Story Blocks */
.story-block { background: var(--white); border-radius: 16px; padding: 60px; margin-bottom: 40px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.story-block h2 { font-size: 36px; margin-bottom: 24px; text-align: center; }
.story-block p { font-size: 18px; margin-bottom: 24px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 60px 0; }
.feature-card { text-align: center; padding: 40px 20px; background: var(--white); border-radius: 16px; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.f-icon { width: 60px; height: 60px; background: rgba(76,140,74,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--primary); font-size: 24px; }
.feature-card h3 { font-size: 22px; margin-bottom: 15px; }

/* Order PHP Box */
.secure-order { background: var(--white); padding: 80px 40px; text-align: center; border-radius: 24px; box-shadow: var(--shadow); max-width: 700px; margin: 0 auto; border: 2px solid var(--border); }
.secure-order h2 { font-size: 40px; margin-bottom: 20px; }

/* FAQ */
.faq-section { background: var(--white); padding: 80px 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { padding: 25px 0; font-family: 'Merriweather', serif; font-weight: 700; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.faq-a { max-height: 0; overflow: hidden; transition: all 0.4s ease; color: var(--text-muted); }
.faq-a.show { max-height: 400px; padding-bottom: 25px; }

/* Cookie */
.cookie-overlay { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(150%); background: var(--white); padding: 30px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); width: 90%; max-width: 600px; z-index: 10000; text-align: center; transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); border: 1px solid var(--border); }
.cookie-overlay.active { transform: translateX(-50%) translateY(0); }
.cookie-overlay h3 { margin-bottom: 10px; font-size: 20px; }
.cookie-overlay p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.cookie-btns { display: flex; justify-content: center; gap: 15px; }
.cookie-btns button { padding: 10px 24px; border-radius: 30px; border: none; font-weight: 700; cursor: pointer; }
.cb-accept { background: var(--primary); color: white; }
.cb-reject { background: #f0f0f0; color: var(--text-dark); }

/* Footer */

footer h2 { color: var(--white); font-size: 28px; margin-bottom: 30px; }

.footer-links a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--accent); }


/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-image-wrap { margin-top: -40px; }
    .hero-image-wrap img { height: 300px; }
}

@media (max-width: 768px) {
    .btn-container { display: flex !important; flex-direction: column !important; gap: 15px !important; margin-top: 20px !important; }
    .btn-container .btn { margin-right: 0 !important; width: 100% !important; }
    
}
.btn-container { display: flex; justify-content: center; margin-top: 30px; gap: 15px; }

@media (max-width: 768px) {
    .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 40px;
}
    .story-block, .feature-card, .secure-order { padding: 20px !important; }
    .hero { padding: 60px 20px 80px !important; }
    .hero h1 { font-size: 32px !important; }
    .cookie-overlay { width: 95% !important; padding: 20px !important; }
}

/* Fix CSS Grid Blowout on Mobile */
.grid-2, .grid-3, .cards-grid, .pros-cons, .footer-grid, .footer-inner, .features-grid {
    width: 100%;
    max-width: 100vw;
}
.grid-2 > *, .grid-3 > *, .cards-grid > *, .pros-cons > *, .footer-grid > *, .footer-inner > *, .features-grid > * {
    min-width: 0;
    word-wrap: break-word;
}
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Footer */
footer {
    background: var(--primary);
    padding: 100px 40px 60px;
    margin-top: 100px;
    color: rgba(255,255,255,0.7);
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; }
.footer-inner h4 { color: var(--white); margin-bottom: 25px; font-size: 18px; font-family: 'Merriweather', serif; }
.footer-owner { margin: 20px 0; font-size: 15px; color: var(--white); font-weight: bold; }
.footer-email { color: var(--accent) !important; text-decoration: none; font-weight: normal; }
.footer-bio { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.7; }
.footer-inner ul { list-style: none; padding-left: 0; }
.footer-inner li { margin-bottom: 15px; }
.footer-inner a { color: rgba(255,255,255,0.7); text-decoration: none; transition: all 0.3s; font-size: 15px; font-weight: 600; }
.footer-inner a:hover { color: var(--white); }
.footer-inner .logo { color: var(--white); font-size: 28px; font-weight: 700; font-family: 'Merriweather', serif; display: block; margin-bottom: 10px; text-decoration: none; }
.copyright { text-align: center; color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; } }
