/* Global Styles & Variables */
:root {
    --primary-color: #4A7C59;
    /* Sage Green */
    --primary-dark: #3A6345;
    --secondary-color: #F3F6F4;
    /* Light off-white */
    --accent-color: #D4A373;
    /* Earthy Gold */
    --text-color: #2F3E46;
    /* Dark Slate */
    --light-text: #666;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

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

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--secondary-color);
}

.text-muted {
    color: #888;
    font-size: 0.9rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Legal Pages Specific */
.legal-page .navbar {
    position: relative;
    /* Not fixed for legal pages */
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 1.3rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 15px;
    color: var(--text-color);
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #c29263;
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.nav-logo {
    height: 60px;
    /* Adjusted for logo image */
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Removed Cart Icon Styles */

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(230, 240, 230, 0.9), rgba(255, 255, 255, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin-left: 0;
}

.hero h1 {
    font-size: 4rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 15px;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features */
.features {
    padding: 50px 0;
    background: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* About Section */
.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.experience-badge .years {
    display: block;
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 0.9rem;
    color: var(--light-text);
}

.section-subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.check-list li i {
    color: var(--primary-color);
}

/* Shop Section */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.badge.sale {
    background: #e74c3c;
}

.product-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 15px;
    transition: var(--transition);
    z-index: 2;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.2));
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-actions button {
    border: none;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: var(--font-heading);
    transition: var(--transition);
}

.product-actions button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.rating {
    color: #f1c40f;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 5px;
}

/* Contact Section */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(74, 124, 89, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.info-item p {
    color: var(--light-text);
}

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

.contact-form h3 {
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    border: 1px solid #ddd;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: #1a2624;
    /* Very dark green/slate */
    color: #e0e0e0;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 50px;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
    /* Reduced slightly */
}

.footer-brand p {
    color: #a0a0a0;
    max-width: 300px;
}

.footer-links h3,
.footer-newsletter h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    padding: 12px;
    border-radius: 4px 0 0 4px;
    border: none;
    width: 100%;
}

.footer-newsletter button {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive */
@media (max-width: 991px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .features .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        height: calc(100vh - 80px);
        /* Fill rest of screen */
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        padding-top: 30px;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .cta-group {
        justify-content: center;
    }

    .features .grid-3 {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}