/* assets/css/style.css */
:root {
    --primary-color: #7CB342; /* Nature Green */
    --secondary-color: #FDD835; /* Sunny Yellow */
    --accent-color: #039BE5; /* Sky Blue */
    --text-color: #37474F; /* Dark Slate */
    --bg-color: #FFFDE7; /* Light Cream */
    --white: #FFFFFF;
    --font-main: 'Nunito', sans-serif;
    --border-radius: 15px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-cta {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 4px 0 #FBC02D;
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-cta:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #FBC02D;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-color) 100%);
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5rem;
    color: #8D6E63;
    font-weight: 600;
}

/* Products Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--text-color);
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    display: block;
    margin-bottom: 15px;
}

.btn-add {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-add:hover {
    background-color: #0288D1;
}

/* Footer */
footer {
    background-color: #8D6E63; /* Woody Brown */
    color: var(--white);
    padding: 40px 0;
    margin-top: 60px;
}

footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

footer a {
    color: #FFECB3;
    text-decoration: none;
}
