/* ==============================================
   CSS VARIABLES
   ============================================== */
:root {
    /* Elegant Islamic-inspired color palette */
    --primary: #2C5F4E;
    --primary-light: #3A7A63;
    --primary-dark: #1E4137;
    --accent: #D4AF37;
    --accent-light: #E8C96F;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-cream: #FAF8F3;
    --bg-white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(44, 95, 78, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 95, 78, 0.12);
    --shadow-lg: 0 8px 32px rgba(44, 95, 78, 0.16);
}

/* ==============================================
   GLOBAL STYLES
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
    line-height: 1.7;
}

html {
    scroll-behavior: smooth;
}

/* ==============================================
   NAVBAR STYLES
   ============================================== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Tiro Bangla', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.navbar-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: rotate(-5deg) scale(1.05);
}

.brand-accent {
    color: var(--accent);
}

.btn-order-nav {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.65rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-order-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* ==============================================
   HERO SECTION
   ============================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #F0EDE5 100%);
    overflow: hidden;
    padding: 4rem 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 2px 2px, var(--primary) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Tiro Bangla', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s backwards;
}

.hero-image {
    width: 80%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.hero-accent-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: 50%;
    top: -50px;
    right: -50px;
    z-index: 0;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
}

/* ==============================================
   FEATURES SECTION
   ============================================== */
.features-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: var(--bg-cream);
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==============================================
   PRODUCTS SECTION
   ============================================== */
.products-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-title {
    font-family: 'Tiro Bangla', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.product-card.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 125%;
    background: var(--bg-cream);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-family: 'Noto Serif Bengali', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.product-price .currency {
    font-size: 1.2rem;
    font-weight: 600;
}

.btn-order-product {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.9rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-order-product:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==============================================
   ABOUT SECTION
   ============================================== */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #F0EDE5 100%);
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.about-content {
    padding-left: 2rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ==============================================
   TESTIMONIALS SECTION
   ============================================== */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.testimonial-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-location {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==============================================
   WHY CHOOSE US SECTION
   ============================================== */
.why-choose-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #F0EDE5 100%);
}

.why-choose-list {
    margin-top: 2rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.why-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.why-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.why-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.why-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-img-1,
.grid-img-2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.grid-img-1 {
    grid-row: span 2;
}

/* ==============================================
   CHECKOUT SECTION
   ============================================== */
.checkout-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #F0EDE5 100%);
    position: relative;
}

.checkout-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-control,
.form-select {
    padding: 0.85rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(44, 95, 78, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: #999;
}

.btn-submit-order {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

.btn-submit-order:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #C49B2E, var(--accent));
}

/* ==============================================
   FOOTER
   ============================================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-title {
    font-family: 'Tiro Bangla', serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent-light);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-item i {
    color: var(--accent-light);
    width: 20px;
    margin-top: 0.2rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* ==============================================
   SOCIAL BUTTONS
   ============================================== */
.social-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
    color: white;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #20BA5A);
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2, #0D66D0);
}

/* ==============================================
   ANIMATIONS
   ============================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 992px) {
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .about-stats {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-hero {
        padding: 0.9rem 2rem;
        font-size: 1.1rem;
    }
    
    .checkout-container {
        padding: 2rem 1.5rem;
    }
    
    .social-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .products-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .why-image-grid {
        margin-top: 2rem;
    }
}

/* ==============================================
   LOADING SKELETON
   ============================================== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}