@import url('https://fonts.googleapis.com/css2?family=Aladin&family=Caveat:wght@400;700&family=Poppins:wght@300;400;600;700&family=Varela+Round&display=swap');

/* --- Consolidated Variables --- */
:root {
    --primary-green: #2d5a27;
    --deep-green: #1b3d18;
    --accent-green: #4caf50;
    --accent-orange: #ff7043;
    --white: #ffffff;
    --bg-cream: #ffe9d1;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Varela Round', sans-serif;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--bg-cream);
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 5%;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: var(--white);
    padding: 15px 5%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.brand-logo {
    height: 100px;
    width: auto;
}

.brand-name {
    color: var(--white);
    letter-spacing: 2px;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Aladin', cursive;
    transition: var(--transition);
}

header.scrolled .brand-name {
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:hover,
header.scrolled .nav-links a:hover {
    color: var(--accent-orange);
}



.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./images/bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.2rem);
    line-height: 1.1;
    font-family: 'varela round', sans-serif;
}

.hero-content h1 span {
    font-family: 'Caveat', cursive;
    color: #ffd54f;
    display: block;
    margin-top: 15px;
}

.btn-cta {
    background: var(--accent-orange);
    color: var(--white);
    padding: 16px 45px;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    margin-top: 35px;
    transition: var(--transition);
}

.btn-cta:hover {
    background: #e64a19;
    transform: translateY(-3px);
}

/* --- About Us --- */
.about-section {
    padding: 40px 5%;
    background-color: #ffe9d1;
}

.about-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    background-color: #fff7f7;
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 25px;
    position: relative;
    font-family: 'Aladin', cursive;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    margin-top: 10px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3b5f49;
    margin-bottom: 20px;
    font-family: 'varela round', sans-serif;
}

.about-text strong {
    color: var(--deep-green);
    font-family: 'varela round', sans-serif;
}

.about-image img {
    max-width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 20px 20px 0px rgba(45, 90, 39, 0.1);
}

/* --- Product Grid --- */
.main-products-heading {
    text-align: center;
    font-family: 'Aladin', cursive;
    font-size: 3.5rem;
    color: var(--primary-green);
    margin: 40px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.shop-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.shop-card:hover {
    transform: translateY(-10px);
}

/* --- Slider --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #ffffff;
}

.slider-images {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-images img {
    width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    padding: 20px;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(254, 254, 254, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* --- Compact Card Details (Point Design) --- */
.card-details {
    padding: 15px 20px;
    background: #fff;
}

.card-details h4 {
    color: #1b5e20;
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 8px;
    padding-left: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    padding-left: 20px;
    margin: 10px 0;
}

.features-list li {
    font-size: 0.85rem;
    color: #444;
    padding: 6px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}

.features-list li::before {
    content: "\2713";
    color: #2e7d32;
    font-weight: 900;
    margin-right: 10px;
    font-size: 0.75rem;
    background: #e8f5e9;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.features-list li:last-child {
    border-bottom: none;
}

.availability-tag {
    display: inline-block;
    background-color: #f0f7ef;
    color: var(--primary-green);
    padding: 6px 15px;
    border-radius: 50px;
    margin-top: -30px;
    margin-left: 20PX;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(45, 90, 39, 0.1);
}

.availability-tag span {
    color: #666;
    /* Makes the label 'Availability' slightly subtle */
    font-weight: 600;
    margin-right: 5px;
}

/* --- Coming Soon Section --- */
.coming-soon-card {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    border: 2px dashed #9f9f9f;
}

.coming-soon-icon {
    width: 60px;
    height: auto;
    opacity: 0.6;
    margin-bottom: 15px;
}

.coming-soon-card h3 {
    font-family: 'Aladin', cursive;
    color: var(--primary-green);
    font-size: 1.8rem;
}

/* --- Blog Section --- */
.blog-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./images/blog-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 60px;
}

.blog-hero h1 {
    font-family: 'Aladin', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.blog-grid {
    max-width: 1200px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 0 5%;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-content h3 {
    font-family: 'Aladin', cursive;
    font-size: 1.6rem;
    color: var(--primary-green);
    margin: 10px 0;
}

.read-more {
    color: var(--deep-green);
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 15px;
}
/* --- Feedback Section --- */
.feedback-section {
    padding: 60px 5%;
    background-color: var(--bg-cream);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.feedback-container {
    background: var(--white);
    padding: 60px;
    /* Increased padding for desktop premium feel */
    border-radius: 40px;
    box-shadow: var(--shadow);
    max-width: 1100px;
    width: 95% !important;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /* Forces side-by-side on desktop */
    gap: 50px;
    /* More space between text and form */
    align-items: center;
    box-sizing: border-box;
    margin: 0 auto;
}

.feedback-header {
    flex: 1;
    /* Takes up 50% */
    text-align: left;
}

.feedback-header h2 {
    font-family: 'Aladin', cursive;
    color: var(--primary-green);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 10px;
}

/* --- THE FIX: Form Side --- */
.feedback-form {
    flex: 1;
    /* Takes up the other 50% */
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100% !important;
}

.form-group {
    width: 100% !important;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100% !important;
    /* Strictly stays inside the container */
    max-width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    background-color: #f9f9f9;
    font-size: 1rem;
    outline: none;
    display: block;
    box-sizing: border-box;
    /* Measures width from the outer edge */
}

.btn-submit {
    background: var(--primary-green);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    width: 100% !important;
}

/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: popIn 0.3s ease-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#modalIcon {
    font-size: 50px;
    margin-bottom: 15px;
}

.modal-content h3 {
    font-family: 'Aladin', cursive;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.btn-close {
    margin-top: 20px;
    padding: 10px 30px;
    border: none;
    border-radius: 50px;
    background: var(--primary-green);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.btn-close:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.success h3 {
    color: #2e7d32;
}

.error h3 {
    color: #d32f2f;
}
/* --- Footer --- */
.main-footer {
    background-color: rgb(0, 38, 42);
    color: #969696;
    padding: 80px 5% 30px;
    border-top: 1px solid #f0f0f0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    color: rgb(101, 176, 106);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
}

.contact-list,
.footer-links {
    list-style: none;
}
.contact-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--white);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.contact-list i {
    color: var(--white);
    margin-top: 5px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    margin-bottom: 2px;
}

.footer-links a {
    color: #969696;
    text-decoration: none;
    transition: 0.3s;
    padding-bottom: 20px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    color: rgb(85, 147, 89);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: #4ac9ff;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}
/* --- Desktop Scrolled (Screen wider than 850px) --- */
@media (min-width: 851px) {
    header.scrolled .nav-links a {
        color: var(--primary-green);
        font-weight: 700;
    }
}

/* --- Mobile Fix --- */
@media (max-width: 992px) {
    .feedback-container {
        flex-wrap: wrap;
        /* Only wraps on tablets/phones */
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }

    .feedback-header {
        text-align: center;
        margin-bottom: 20px;
    }

    .feedback-form {
        width: 100% !important;
    }
}
@media (max-width: 850px) {

    .nav-links a {
        color: var(--white) !important;
        font-size: 1.4rem;
    }

    header.scrolled .brand-name,
    header.scrolled .menu-toggle i {
        color: var(--primary-green) !important;
    }
    header.scrolled .nav-links a:hover {
        color: var(--accent-orange) !important;
    }
    
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--primary-green);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
    }

    .nav-links.active {
        right: 0;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        padding: 30px 20px;
    }
}
