@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&family=Patrick+Hand&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary: #1B5E20;
    /* Deep Forest Green from logo */
    --primary-light: #2E7D32;
    --primary-light-disabled: #2e7d328e;
    --accent: #4CAF50;
    /* Vibrant Green from logo */
    --bg-light: #F1F8E9;
    /* Very light green tinted background */
    --bg-white: #FFFFFF;
    --text-dark: #1B211C;
    --text-muted: #546E7A;
    --logo-font: 'Patrick Hand', cursive;
    --shadow-soft: 0 4px 6px -1px rgba(27, 94, 32, 0.1), 0 2px 4px -1px rgba(27, 94, 32, 0.06);
    --shadow-large: 0 20px 25px -5px rgba(27, 94, 32, 0.1), 0 10px 10px -5px rgba(27, 94, 32, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-serif {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

ol,
ul {
    padding-left: 0rem;
}

/* Bootstrap Custom Compatibility */
.custom-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 100px 0;
}

/* Glassmorphism Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1050;
    /* Above Bootstrap standard sticky */
    box-shadow: 0 4px 6px -1px rgba(27, 94, 32, 0.1);
    border-bottom: 1px solid rgba(27, 94, 32, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: var(--logo-font);
    font-size: 2.2rem;
    color: var(--primary);
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

ul.nav-links {
    margin-bottom: 0rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 0px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(27, 94, 32, 0.6), rgba(27, 94, 32, 0.6)), url('../assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    border-radius: 0 0 3rem 3rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    color: white;
    pointer-events: none;
    background-color: var(--primary-light-disabled);
    border-color: var(--primary-light-disabled);
    opacity: var(--primary-light-disabled);
}

/* Product Cards */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.card-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: var(--primary);
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.2rem;
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    background: #E8F5E9;
    border-radius: 3rem;
    padding: 4rem;
}

.info-content h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 5rem 0 2rem;
    margin-top: 5rem;
    border-radius: 3rem 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-about p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.footer-links ul li:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        height: 60vh;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .info-section {
        grid-template-columns: 1fr;
    }
}