@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #e50914;
    --primary-hover: #b20710;
    --dark-color: #111;
    --text-color: #333;
    --light-bg: #f9f9fc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: var(--text-color);
    overflow-x: hidden;
}

/* ---- TOP BANNER ---- */
.top-banner {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
}

/* ---- HEADER ---- */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo img {
    height: 45px;
}

.desktop-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 17px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 26px;
    color: var(--dark-color);
}

/* ---- MOBILE MENU (Slide from right) ---- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    padding: 30px 20px;
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
    z-index: 2001;
}

.mobile-menu-overlay.active .mobile-menu-panel {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-logo {
    height: 45px;
    object-fit: contain;
}

.menu-close {
    font-size: 28px;
    cursor: pointer;
    color: var(--dark-color);
    transition: 0.3s;
}

.menu-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.3s;
}

.mobile-menu-links a i {
    width: 24px;
    color: var(--primary-color);
}

.mobile-menu-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

/* ---- FIX: scroll-margin-top ---- */
#home, #gallery, #order, #footer {
    scroll-margin-top: 80px;
}

/* ---- HERO SECTION ---- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 40px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

/* ===== আকর্ষণীয় প্রাইজ ডিসপ্লে (সেন্টার) ===== */
.price-display {
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.15);
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.price-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(229, 9, 20, 0.05), transparent 60%);
    animation: shimmer 6s infinite linear;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.offer-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 22px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.price-box {
    position: relative;
    z-index: 2;
    padding: 5px 0;
}

.new-price {
    display: block;
    font-size: 46px;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(229, 9, 20, 0.2);
    line-height: 1.2;
}

/* ===== ORDER BUTTON (আপডেট করা অংশ) ===== */
/* এখন ডেস্কটপ/ট্যাবে প্রাইস বক্সের নিচে সেন্টারে থাকবে */
.order-btn {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    background: linear-gradient(135deg, var(--primary-color), #ff416c);
    color: white;
    padding: 16px 45px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.4);
    transition: 0.3s;
    border: none;
    letter-spacing: 1px;
}

.order-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.5);
    background: linear-gradient(135deg, #b20710, #e50914);
}

/* ---- HERO IMAGE ---- */
.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* ---- GALLERY SLIDER ---- */
.slider-section {
    background-color: var(--light-bg);
    padding: 60px 20px;
    text-align: center;
}

.slider-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.slider-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    flex: 0 0 33.333%;
    padding: 10px;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.slider-btn {
    background: white;
    color: var(--dark-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* ---- ORDER SECTION ---- */
.order-section {
    padding: 60px 20px;
    background-color: #fff;
}

.order-container {
    max-width: 650px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
}

.order-header {
    text-align: center;
    margin-bottom: 30px;
}

.order-header h2 {
    font-size: 26px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.required {
    color: var(--primary-color);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: #888;
}

.input-with-icon input,
.input-with-icon textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.input-with-icon textarea {
    resize: vertical;
}

.input-with-icon.align-top i {
    top: 18px;
    align-items: flex-start;
}

.input-with-icon input:focus,
.input-with-icon textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(229, 9, 20, 0.2);
}

.readonly-field input {
    background-color: #eef2f5;
    color: #555;
    pointer-events: none;
    border-color: #ddd;
}

.highlight-field input {
    background-color: #fff0f0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
    border-color: var(--primary-color);
}

.highlight-field i {
    color: var(--primary-color);
}

/* ===== অর্ডার ডিটেইলস ও কাউন্টিং ===== */
.order-details-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 4px 6px;
    flex-shrink: 0;
}

.qty-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

#quantityDisplay {
    font-size: 18px;
    font-weight: 600;
    min-width: 28px;
    text-align: center;
    color: var(--dark-color);
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--primary-hover);
}

/* ---- SUCCESS MESSAGE ---- */
.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 70px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h3 {
    color: #28a745;
    font-size: 26px;
    margin-bottom: 12px;
}

.success-message p {
    font-size: 18px;
    color: #555;
}

/* ---- FOOTER ---- */
footer {
    background-color: #1a1a1a;
    color: #eaeaea;
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.links-col ul,
.contact-col ul {
    list-style: none;
}

.links-col ul li,
.contact-col ul li {
    margin-bottom: 15px;
    font-size: 15px;
}

.links-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.links-col ul li a:hover {
    color: var(--primary-color);
}

.contact-col ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 15px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    background-color: #111;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #888;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .slide {
        flex: 0 0 50%;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .hamburger {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        margin: 30px auto;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-image {
        text-align: center;
        margin-top: 20px;
    }

    .slide {
        flex: 0 0 100%;
        padding: 8px;
    }
    .slide img {
        width: 100%;
        height: auto;
        display: block;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .order-container {
        padding: 25px 20px;
    }

    .price-display {
        padding: 15px 18px;
    }
    .new-price {
        font-size: 34px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    .prev-btn {
        left: 5px;
    }
    .next-btn {
        right: 5px;
    }

    .order-details-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .quantity-control {
        align-self: center;
    }
}