/* =========================================== */
/* AYURVEDIC NATURAL - COMPLETE STYLESHEET */
/* =========================================== */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2d5c3c;
    --secondary-green: #3e7a51;
    --light-green: #e9f5ec;
    --accent-gold: #c19a53;
    --dark-brown: #5c3d2e;
    --light-brown: #a1887f;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --off-white: #f9f9f9;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
}

.btn:hover {
    background-color: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(45, 92, 60, 0.2);
}

.btn:active {
    transform: translateY(0);
}

/* =========================================== */
/* HEADER & NAVIGATION */
/* =========================================== */

header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    color: var(--primary-green);
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.6rem;
    color: var(--primary-green);
    margin: 0;
    line-height: 1.2;
}

.logo span {
    color: var(--accent-gold);
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
    font-weight: 500;
}

/* Desktop Navigation */
.nav-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav {
    display: flex;
    height: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-green);
    background-color: var(--light-green);
}

.nav-link.active {
    color: var(--primary-green);
    background-color: var(--light-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-green);
}

.nav-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Language Toggle */
.lang-toggle {
    margin-left: 20px;
}

.lang-buttons {
    display: flex;
    background-color: var(--light-green);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(45, 92, 60, 0.2);
}

.lang-btn {
    background: none;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    min-width: 50px;
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
    background-color: var(--white);
    color: var(--primary-green);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: var(--white);
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    padding: 20px;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.3rem;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.mobile-nav-link:hover {
    background-color: var(--light-green);
    color: var(--primary-green);
}

.mobile-nav-link.active {
    background-color: var(--light-green);
    color: var(--primary-green);
    border-left: 4px solid var(--primary-green);
}

.mobile-nav-link i {
    margin-right: 15px;
    font-size: 1.2rem;
    width: 24px;
}

.mobile-nav-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--off-white);
}

.mobile-lang-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.mobile-contact {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.mobile-contact p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* =========================================== */
/* HERO SECTION */
/* =========================================== */

.hero {
    background: linear-gradient(rgba(45, 92, 60, 0.85), rgba(45, 92, 60, 0.9)), url('https://images.unsplash.com/photo-1544365558-35aa4afcf11f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--accent-gold);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-gold);
    transform: translateY(-2px);
}

/* =========================================== */
/* PRODUCTS SECTION */
/* =========================================== */

.featured-products {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-green);
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
    /* height: 220px; */
    background-color: white;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 4rem;
}

.product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.product-name-hindi {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.price {
    font-size: 1.4rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 20px;
}

/* COD Badge */
.cod-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(39, 174, 96, 0.3);
}

.hindi .cod-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    font-family: 'Noto Sans Devanagari', sans-serif;
}

/* =========================================== */
/* ORDER MODAL */
/* =========================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 20px 30px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.6rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 30px;
}

/* Order Summary */
.order-summary {
    background-color: var(--light-green);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(45, 92, 60, 0.1);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(45, 92, 60, 0.2);
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-item.total {
    font-size: 1.2rem;
    color: var(--primary-green);
    padding-top: 15px;
    border-top: 2px solid var(--primary-green);
    margin-top: 10px;
    font-weight: 700;
}

.quantity-select {
    padding: 8px 15px;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    background-color: var(--white);
    font-size: 1rem;
    color: var(--text-dark);
}

/* Modal Form */
.order-form-modal h4 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 92, 60, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-info {
    background-color: var(--light-green);
    padding: 15px;
    border-radius: var(--border-radius);
    margin: 25px 0;
    border-left: 4px solid var(--accent-gold);
}

.payment-info i {
    color: var(--primary-green);
    margin-right: 10px;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 15px;
}

.loading-spinner i {
    color: var(--primary-green);
    font-size: 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =========================================== */
/* FOOTER */
/* =========================================== */

footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-logo span {
    color: var(--accent-gold);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-green);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    margin-top: 3px;
    flex-shrink: 0;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================== */
/* LANGUAGE SUPPORT */
/* =========================================== */

.hindi-text {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.hindi {
    display: none;
}

.hindi.active {
    display: block;
}

.english.active {
    display: block;
}

.english {
    display: none;
}

.hindi-label {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-left: 5px;
}

/* =========================================== */
/* RESPONSIVE DESIGN */
/* =========================================== */

/* Large Tablets and Small Laptops (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .modal-container {
        max-width: 90%;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    /* Header & Navigation */
    .main-header {
        height: 60px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
    
    .logo-tagline {
        display: none;
    }
    
    .main-nav,
    .lang-toggle {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hero Section */
    .hero {
        padding: 60px 0;
        margin-bottom: 40px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product-img {
        height: 180px;
        font-size: 3rem;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
    }
    
    /* Modal */
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .summary-item .quantity-select {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Footer */
    .footer-content {
        gap: 30px;
    }
}

/* Mobile Phones (576px and below) */
@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
    
    /* Header */
    .main-header {
        height: 55px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        font-size: 1.6rem;
    }
    
    .mobile-menu-toggle {
        font-size: 1.3rem;
        padding: 8px;
    }
    
    .mobile-nav {
        width: 280px;
    }
    
    .mobile-nav-header {
        padding: 15px 20px;
    }
    
    .mobile-nav-link {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    /* Hero */
    .hero {
        padding: 50px 0;
        margin-bottom: 30px;
    }
    
    .hero h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Modal */
    .modal-container {
        max-width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .order-summary {
        padding: 15px;
    }
    
    /* Footer */
    footer {
        padding: 40px 0 15px;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 1.1rem;
    }
}

/* Small Mobile Phones (400px and below) */
@media (max-width: 400px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .mobile-nav {
        width: 100%;
        max-width: 280px;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .product-img {
        height: 160px;
        font-size: 2.5rem;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
    
    .price {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .lang-btn {
        padding: 5px 12px;
        font-size: 0.85rem;
        min-width: 45px;
    }
    
    .mobile-lang-toggle .lang-btn {
        padding: 5px 15px;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 40px 0;
    }
    
    .modal-container {
        max-height: 80vh;
    }
    
    .modal-body {
        max-height: calc(80vh - 70px);
        overflow-y: auto;
    }
}

/* High DPI Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
    
    .hero h2 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
}

/* Products Page Styles */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-large-img {
    height: 550px;
    background-color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 6rem;
    box-shadow: var(--shadow);
}

.product-description {
    margin: 30px 0;
}

.product-description h4 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.benefits-list {
    margin: 20px 0;
    padding-left: 20px;
}

.benefits-list li {
    margin-bottom: 10px;
}