/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --phthalo-green: #123524;
    --phthalo-green-light: #1a4d35;
    --phthalo-green-dark: #0d2418;
    --beige: #F5F5DC;
    --beige-dark: #E8DCC4;
    --beige-light: #FDFDF8;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-md: rgba(0, 0, 0, 0.15);
    --shadow-lg: rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--beige-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Banana Leaf Decorations */
.banana-leaf-top-left,
.banana-leaf-top-right,
.banana-leaf-bottom-left,
.banana-leaf-bottom-right {
    position: absolute;
    width: 150px;
    height: 200px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.banana-leaf-top-left {
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--phthalo-green) 0%, transparent 70%);
    border-radius: 0 0 100% 0;
}

.banana-leaf-top-right {
    top: 0;
    right: 0;
    background: linear-gradient(225deg, var(--phthalo-green) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
}

.banana-leaf-bottom-left {
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, var(--phthalo-green) 0%, transparent 70%);
    border-radius: 0 100% 0 0;
}

.banana-leaf-bottom-right {
    bottom: 0;
    right: 0;
    background: linear-gradient(315deg, var(--phthalo-green) 0%, transparent 70%);
    border-radius: 100% 0 0 0;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--phthalo-green);
}

.logo a {
    display: flex;
    align-items: center;    
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}


.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.25rem;
}

.nav {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--phthalo-green);
    color: var(--white);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.cart-icon:hover {
    background-color: var(--beige);
}

.cart-icon svg {
    color: var(--phthalo-green);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--phthalo-green);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.4rem;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--phthalo-green) 0%, var(--phthalo-green-light) 100%);
    color: var(--white);
    padding: 6rem 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-md);
}

.btn-primary {
    background-color: var(--beige);
    color: var(--phthalo-green);
}

.btn-primary:hover {
    background-color: var(--beige-dark);
}

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

.btn-secondary:hover {
    background-color: var(--phthalo-green-light);
}

.btn-cart {
    background-color: var(--phthalo-green);
    color: var(--white);
    width: 100%;
    padding: 0.75rem 1.5rem;
}

.btn-cart:hover {
    background-color: var(--phthalo-green-light);
}

.btn-block {
    width: 100%;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background-color: var(--beige);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--phthalo-green);
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: var(--text-light);
}

/* Categories Section */
.categories {
    padding: 4rem 0;
    background-color: var(--beige-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--phthalo-green);
    margin-bottom: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-md);
}

.category-image {
    height: 200px;
    width: 100%;
} 

.category-name {
    font-size: 1.75rem;
    color: var(--phthalo-green);
    margin: 1.5rem 1.5rem 0.5rem;
}

.category-desc {
    color: var(--text-light);
    margin: 0 1.5rem 1.5rem;
}

.text-center {
    text-align: center;
}

/* Page Header */
.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--phthalo-green) 0%, var(--phthalo-green-light) 100%);
    color: var(--white);
    padding: 4rem 0;
    overflow: hidden;
}

.page-title {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    text-align: center;
    opacity: 0.9;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.product-category-header {
    margin: 3rem 0 2rem;
}

.product-category-header:first-child {
    margin-top: 0;
}

.quantity-selector {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.quantity-selector label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.quantity-selector input[type="radio"] {
    accent-color: #123524;
}


.category-title {
    font-size: 2rem;
    color: var(--phthalo-green);
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--text-light);
    font-size: 1.125rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-md);
}

.product-image {
    height: 220px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center; 
    background-size: cover;
}

.product-image-text {
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.5rem;
    color: var(--phthalo-green);
    margin-bottom: 0.5rem;
} 

.product-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.content-card {
    background-color: var(--beige-light);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px var(--shadow);
}

.content-heading {
    font-size: 1.75rem;
    color: var(--phthalo-green);
    margin-bottom: 1rem;
}

.content-text {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-list {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-list li {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    position: relative;
    background-color: var(--phthalo-green);
    color: var(--white);
    padding: 3rem 0 1rem;
    overflow: hidden;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    padding: 0 1rem;
}

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

.footer-text {
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

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

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cart-modal.active {
    display: flex;
}

.cart-modal-content {
    background-color: var(--white);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--beige);
    background-color: var(--phthalo-green);
    color: var(--white);
}

.cart-header h2 {
    font-size: 1.75rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--white);
    transition: transform 0.3s ease;
}

.cart-close:hover {
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--beige-light);
    border-radius: 12px;
}

.cart-item-name {
    font-weight: 600;
    color: var(--phthalo-green);
}

.cart-item-remove {
    background-color: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: #c0392b;
}

.cart-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--beige);
}

.address-field {
    margin-bottom: 1rem;
}

.address-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.address-field .required {
    color: #c0392b;
}

.address-field textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--beige-dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    resize: none;
}

.address-field textarea:focus {
    outline: none;
    border-color: var(--phthalo-green);
}

/* Disabled WhatsApp button */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

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

    .page-subtitle {
        font-size: 1rem;
    }

    .features-grid,
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 1rem;
    }

    .banana-leaf-top-left,
    .banana-leaf-top-right,
    .banana-leaf-bottom-left,
    .banana-leaf-bottom-right {
        width: 100px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

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

    .page-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
