/* --- Basic Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    /* Modern, clean font */
    color: #333;
    background-color: #f8faf8;
    /* Light off-white with a green tint */
}

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

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-subheading {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* --- SECTION 1: HERO BANNER --- */
.hero-banner {
    height: 100vh;
    /* Adjust height (vh = viewport height) */
    background-image: url('images/leafnleash-banner.png');
    /* REPLACE WITH YOUR IMAGE */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    /* Center content vertically */
    color: #1a1a1a;
}

.hero-content {
    max-width: 500px;
    /* Limits text width */
    margin-left: 200px;
    /* text-align: left; /* (default) Ensures left alignment */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fffefe;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 30px;
}

.btn-shop {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffffff85;
    /* White background for the button */
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    /* border: 1px solid #1a1a1a; */
}

.btn-shop:hover {
    background-color: #f0f0f0;
    /* Slight gray on hover */
}

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

/* --- SECTION 2: PRODUCT CATEGORIES --- */
.categories-section {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    /* Create a 3-column grid */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* Space between grid items */
}

.category-card {
    background-color: #ffffff;
    border-radius: 15px;
    /* Rounded corners */
    overflow: hidden;
    /* Ensures image corners are rounded */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    transition: transform 0.3s ease;
    border: 1px solid #eaeaea;
}

.category-card:hover {
    transform: translateY(-5px);
    /* Lift up on hover */
}

.card-image-wrapper {
    height: 250px;
    /* Fixed image container height */
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Important: makes image cover the area without distorting */
    transition: transform 0.5s ease;
}

.category-card:hover .card-image {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

.card-content {
    padding: 20px;
    text-align: left;
    /* Text left aligned */
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 1rem;
    color: #666;
}


.footer {
    background-color: #8ea66e;
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Left side */
.footer-left {
    flex: 1;
    min-width: 250px;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 180px;
}

.logo-title h2 {
    margin: 0;
    font-size: 22px;
}

.address {
    margin-top: 15px;
    line-height: 1.6;
    color: #ffffff;
}

/* Right side */
.footer-right {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-right h3 {
    margin-bottom: 10px;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li {
    margin: 10px 0;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
}

.social-links a:hover {
    color: #00d084;
}

/* --- Media Queries (for Mobile) --- */
@media (max-width: 992px) {
    .hero-content {
        margin-left: 20px;
        background: #ffffff6e;
        padding: 10px;
    }
    .hero-title {
        color: #1a1a1a;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .hero-content {
        margin-left: 0px;
    }
    .hero-title {
        font-size: 2.5rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

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