/* style.css */
:root {
    --color-green: #023020;
    --color-gold: #D4AF37;
    --color-offwhite: #F9F9F9;
    --color-charcoal: #333333;
}

body {
    background-color: var(--color-offwhite);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-display { font-family: 'Playfair Display', serif; }
.font-english { font-family: 'Poppins', sans-serif; }
.font-bangla { font-family: 'Hind Siliguri', sans-serif; }

/* Theme Colors & Buttons */
.bg-sylflora-green { background-color: var(--color-green); }
.text-sylflora-green { color: var(--color-green); }
.bg-sylflora-gold { background-color: var(--color-gold); }
.text-sylflora-gold { color: var(--color-gold); }
.text-sylflora-charcoal { color: var(--color-charcoal); }
.action-button { background-color: var(--color-green); color: white; font-weight: bold; padding: 1rem 2.5rem; border-radius: 9999px; font-size: 1.125rem; transition: background-color 0.3s; }
.action-button:hover { background-color: #000; }
.lang-switcher { border: 1px solid var(--color-green); color: var(--color-green); font-weight: 600; padding: 0.5rem 1rem; border-radius: 9999px; transition: all 0.3s; }
.lang-switcher:hover { background-color: var(--color-green); color: white; }

/* Header Navigation Link Style */
.nav-link { position: relative; padding: 0.5rem 0; overflow: hidden; }
.nav-link span { transition: transform 0.3s ease; display: inline-block; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: var(--color-gold); transform: translateX(-101%); transition: transform 0.3s ease; }
.nav-link:hover::after { transform: translateX(0); }

/* Hero Section Elements */
.hero-image { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 18rem; border-radius: 0.75rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); z-index: 10; }
.hero-bg-shape { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 22rem; height: 22rem; background-color: rgba(212, 175, 55, 0.15); border-radius: 9999px; filter: blur(40px); }
@media (min-width: 768px) { .hero-image { width: 22rem; } .hero-bg-shape { width: 26rem; height: 26rem; } }

/* Product Card */
.product-card { background-color: white; border-radius: 0.75rem; overflow: hidden; transition: all 0.4s ease; border: 1px solid #eee; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1); }
.product-image-wrapper { position: relative; overflow: hidden; background-color: #f0f0f0; }
.product-card .quick-view-btn { position: absolute; bottom: 0; left: 0; right: 0; background-color: rgba(2, 48, 32, 0.9); color: white; padding: 0.75rem; text-align: center; transform: translateY(100%); transition: transform 0.3s ease; opacity: 0; }
.product-card:hover .quick-view-btn { transform: translateY(0); opacity: 1; }
.product-card img { transition: transform 0.4s ease; }
.product-card:hover img { transform: scale(1.05); }

/* Cart Badge */
.cart-badge { position: absolute; top: 0; right: 0; background-color: var(--color-gold); color: var(--color-green); font-size: 0.75rem; font-weight: bold; border-radius: 9999px; width: 1.25rem; height: 1.25rem; display: flex; align-items: center; justify-content: center; transform: scale(1); transition: transform 0.2s ease; }
.cart-badge.updated { animation: pop 0.3s ease-out; }
@keyframes pop { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* Modal Styles */
.modal { position: fixed; inset: 0; z-index: 100; background-color: rgba(0,0,0,0.5); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.modal.active { opacity: 1; pointer-events: auto; }
.modal-content { background: white; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); width: 100%; max-h-[90vh]; display: flex; flex-direction: column; transform: scale(0.95); transition: transform 0.3s ease; }
.modal.active .modal-content { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid #eee; }
.modal-body { padding: 2rem; overflow-y: auto; }
.modal-footer { padding: 1.5rem; border-top: 1px solid #eee; background-color: #f9fafb; }
.close-modal-btn { background: none; border: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: #9ca3af; }
.close-modal-btn:hover { color: var(--color-charcoal); }

/* Chart Container */
.chart-container { position: relative; width: 100%; max-width: 600px; margin: auto; height: 300px; }

/* Form Input Styles */
.form-input { width: 100%; padding: 0.75rem; border-radius: 0.5rem; border: 1px solid #d1d5db; transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus { outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.5); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fadeIn 1s ease-in-out forwards; }
.scroll-animate { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.scroll-animate.is-visible { opacity: 1; transform: translateY(0); }

