/* Kyarik Enterprise | Eco-Friendly Green CSS */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
    --bg-natural: #F9FBF9;
    --primary: #2E7D32;
    /* Deep Forest Green */
    --primary-light: #4CAF50;
    --accent: #8BC34A;
    /* Leaf Green */
    --earth: #795548;
    /* Earth Brown */
    --white: #FFFFFF;
    --text-main: #263238;
    --text-muted: #555555;

    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Lato', sans-serif;

    --radius-full: 50px;
    --radius-lg: 24px;
    --radius-md: 16px;

    --shadow-soft: 0 10px 30px rgba(46, 125, 50, 0.08);
}

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

body {
    background-color: var(--bg-natural);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 1rem;
    left: 2rem;
    right: 2rem;
    padding: 1rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background: radial-gradient(circle at 80% 20%, rgba(139, 195, 74, 0.1), transparent),
        radial-gradient(circle at 20% 80%, rgba(46, 125, 50, 0.05), transparent);
    position: relative;
    overflow: hidden;
}

.blobs {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    background: var(--accent);
    opacity: 0.1;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 20s linear infinite;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    33% {
        border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
    }

    66% {
        border-radius: 50% 50% 30% 70% / 60% 40% 70% 30%;
    }
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Sections */
.section {
    padding: 10rem 8%;
}

.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--primary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

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

.btn-round {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-natural);
    color: var(--primary);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

/* Cards */
.card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: 0.4s;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.card-img-wrap {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.card:hover .card-img {
    transform: scale(1.1);
}

.card-cat {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--earth);
}

/* Cart Badge */
.cart-wrap {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Footer */
footer {
    background: #F1F5F1;
    padding: 8rem 8% 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-title {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

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

/* Forms */
.form-input {
    width: 100%;
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(46, 125, 50, 0.1);
    background: var(--bg-natural);
    margin-bottom: 1.5rem;
    outline: none;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--primary);
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animations */










@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        left: 1rem;
        right: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        text-align: center;
    }
}
/* --- Visibility Protocol CSS --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.reveal.js-hidden {
    opacity: 0;
    transform: translateY(40px);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* --- Global Badge UI Protocol --- */
.product-category, .category-tag {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1A1A1A !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 20px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    z-index: 10 !important;
    backdrop-filter: blur(5px) !important;
    border: none !important;
    margin: 0 !important;
    transform: none !important;
}

.product-img-wrapper {
    padding: 0 !important;
}
