/* --- Variables & Theme --- */
:root {
    --primary-green: #6ea032;
    /* Logo Light Green */
    --dark-green: #145a28;
    /* Logo Dark Green */
    --earth-brown: #463c28;
    /* Logo Earth Brown */
    --light-bg: #fafafa;
    /* Logo Off-white */
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --accent-yellow: #e6c800;
    /* Logo Yellow/Gold */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* --- Reset & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-green);
    margin: 0 auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

/* --- Header --- */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 12px;
}

.logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-green);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.btn-featured {
    padding: 8px 20px;
    background-color: var(--primary-green);
    color: var(--white) !important;
    border-radius: 20px;
}

.btn-featured:hover {
    background-color: var(--dark-green);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('hatter.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    padding-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from light transparency (sun) to darker (text contrast) */
    background: linear-gradient(to bottom, rgba(40, 60, 30, 0.2), rgba(20, 40, 20, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- About Section --- */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.about-text {
    text-align: center;
    max-width: 800px;
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--earth-brown);
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.feature-card {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    width: 200px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* --- Products Section --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
    /* For anchor tag */
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    color: var(--dark-green);
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* --- Product Detail Pages --- */
.product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.detail-image {
    flex: 1;
    min-width: 300px;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.detail-content {
    flex: 1;
    min-width: 300px;
}

.detail-content h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: var(--earth-brown);
}

.detail-list {
    margin-bottom: 30px;
    padding-left: 0;
}

.detail-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}

.detail-list strong {
    color: var(--dark-green);
}

.cta-box {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.cta-box p {
    margin-bottom: 15px;
    font-weight: 600;
}

/* --- Why Us Section --- */
.why-us {
    background-color: #e8f5e9;
}

.features-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item {
    text-align: center;
    max-width: 300px;
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
    color: var(--primary-green);
    font-size: 2rem;
}

.feature-item h3 {
    margin-bottom: 10px;
}

/* --- Tips Section --- */
.tips-box {
    background-color: var(--white);
    border-left: 5px solid var(--accent-yellow);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.tips-box h3 {
    color: var(--earth-brown);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tips-box h3 i {
    color: var(--accent-yellow);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-right: 15px;
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

.map-container {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* --- Footer --- */
footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-green);
}


/* --- Product Disclaimer --- */
.product-disclaimer {
    margin-top: 40px;
    text-align: center;
    color: var(--text-light);
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-yellow);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-disclaimer p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-disclaimer i {
    color: var(--accent-yellow);
    margin-right: 8px;
    font-size: 1.1rem;
}

.product-disclaimer a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: underline;
}

.product-disclaimer a:hover {
    color: var(--dark-green);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 40px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        margin-top: 10px;
    }
}