/* ====================================
   CONTACT PAGE
==================================== */

.contact-page {
    padding: 80px 0;
    background: #fffaf5;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr;
    gap: 32px;
    align-items: start;
}

.contact-info,
.contact-form-box {
    background: #fff;
    border: 1px solid #f0ebea;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(16, 20, 30, 0.06);
    padding: 30px;
}

.contact-info h2,
.contact-form-box h2 {
    font-size: 2rem;
    margin-bottom: 18px;
    color: #111;
}

.contact-card {
    margin-bottom: 18px;
    padding: 16px 18px;
    background: #fff7f2;
    border-radius: 16px;
    border: 1px solid #ffe4d1;
}

.contact-card h4 {
    font-size: 0.9rem;
    color: #ff6f00;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-card p,
.contact-card a {
    color: #3a3a3a;
    text-decoration: none;
    line-height: 1.7;
    font-size: 0.98rem;
}

.contact-form-box .form-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    display: none;
}

.contact-form-box .form-message.success {
    display: block;
    background: #eafaf1;
    color: #116b3f;
    border: 1px solid #bfe9d0;
}

.contact-form-box .form-message.error {
    display: block;
    background: #fff1f1;
    color: #b12727;
    border: 1px solid #f1c7c7;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-weight: 600;
    color: #333;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 15px;
    border-radius: 12px;
    border: 1px solid #e6dcd4;
    background: #fff;
    font: inherit;
    color: #222;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #ff6f00;
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.12);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-submit {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d32f2f, #ff6f00);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 26px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
}

.map-wrap {
    margin-top: 24px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f0ebea;
    box-shadow: 0 18px 40px rgba(16, 20, 30, 0.06);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    min-height: 300px;
    border: 0;
}

@media (max-width: 980px) {
    .contact-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-page {
        padding: 60px 0;
    }

    .contact-info,
    .contact-form-box {
        padding: 22px 18px;
    }
}

/* ====================================
   GOOGLE FONT RESET
==================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #222;
    overflow-x: hidden;
}

/* ====================================
   THEME VARIABLES
==================================== */

:root {

    --primary: #D32F2F;
    --secondary: #FF6F00;
    --accent: #FFC107;

    --dark: #111111;
    --light: #ffffff;

    --text: #222222;
    --gray: #777777;

    --radius: 20px;

    --shadow:
        0 20px 50px rgba(0, 0, 0, .08);

}

/* ====================================
   CONTAINER
==================================== */

.container {
    width: min(1400px, 92%);
    margin: auto;
}

/* ====================================
   TOP BAR
==================================== */

.top-bar {

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    color: white;

    text-align: center;

    padding: 12px 0;

    font-size: 14px;
    font-weight: 500;

}

/* ====================================
   HEADER
==================================== */

.header {

    position: sticky;
    top: 0;

    z-index: 999;

    backdrop-filter: blur(18px);

    background:
        rgba(255, 255, 255, .85);

    border-bottom:
        1px solid rgba(255, 255, 255, .3);

}

/* ====================================
   NAVBAR
==================================== */

.navbar {

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 90px;

}

/* ====================================
   LOGO
==================================== */

.logo a {

    text-decoration: none;

    font-size: 32px;
    font-weight: 800;

    color: #222;

}

.logo span {
    color: var(--primary);
}

/* ====================================
   MENU
==================================== */

.nav-menu ul {

    display: flex;
    align-items: center;

    gap: 35px;

    list-style: none;

}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {

    text-decoration: none;

    color: #222;

    font-weight: 600;

    transition: .3s;

}

.nav-menu ul li a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #222;
    margin: 0 auto;
    border-radius: 2px;
}

/* ====================================
   MEGA MENU
==================================== */

.mega-menu {

    position: absolute;

    top: 55px;
    left: 0;

    width: 750px;

    display: flex;
    gap: 50px;

    background: white;

    padding: 30px;

    border-radius: 20px;

    box-shadow:
        0 25px 50px rgba(0, 0, 0, .12);

    opacity: 0;
    visibility: hidden;

    transition: .3s;

}

.mega-parent:hover .mega-menu {

    opacity: 1;
    visibility: visible;

}

.mega-column {

    display: flex;
    flex-direction: column;

    gap: 12px;

}

.mega-column h4 {

    color: var(--primary);

    margin-bottom: 10px;

}

.mega-column a {

    color: #555;

}

/* ====================================
   HEADER ACTIONS
==================================== */

.header-actions {

    display: flex;
    align-items: center;

    gap: 15px;

}

/* SEARCH */

.search-box input {

    width: 240px;

    height: 45px;

    border: none;

    outline: none;

    padding: 0 18px;

    border-radius: 50px;

    background: #f5f5f5;

}

/* BUTTONS */

.theme-btn,
.cart-btn {

    width: 45px;
    height: 45px;

    border: none;

    cursor: pointer;

    border-radius: 50%;

    background: white;

    box-shadow: var(--shadow);

    transition: .3s;

}

.theme-btn:hover,
.cart-btn:hover {

    transform: translateY(-3px);

}

/* CART COUNT */

.cart-btn {

    position: relative;

}

.cart-btn span {

    position: absolute;

    top: -5px;
    right: -5px;

    width: 20px;
    height: 20px;

    background: red;
    color: white;

    font-size: 11px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

}

/* ====================================
   HERO SECTION
==================================== */

.hero {

    min-height: 90vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            #fff5f5,
            #ffffff);

}

/* HERO OVERLAY */

.hero-overlay {

    position: absolute;

    width: 100%;
    height: 100%;

    background:
        radial-gradient(circle at top right,
            rgba(255, 111, 0, .15),
            transparent 35%);

}

/* ====================================
   HERO WRAPPER
==================================== */

.hero-wrapper {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

}

/* HERO CONTENT */

.hero-content {

    position: relative;
    z-index: 2;

}

.hero-badge {

    display: inline-block;

    padding: 12px 20px;

    border-radius: 50px;

    background:
        rgba(211, 47, 47, .1);

    color: var(--primary);

    font-weight: 600;

    margin-bottom: 25px;

}

.hero-content h1 {

    font-size: 68px;

    line-height: 1.1;

    font-weight: 800;

    margin-bottom: 25px;

}

.hero-content p {

    color: #666;

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 35px;

}

/* ====================================
   BUTTONS
==================================== */

.hero-buttons {

    display: flex;
    gap: 20px;

}

.btn-primary {

    text-decoration: none;

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    color: white;

    padding:
        16px 35px;

    border-radius: 50px;

    font-weight: 600;

    transition: .3s;

}

.btn-primary:hover {

    transform:
        translateY(-4px);

}

.btn-secondary {

    text-decoration: none;

    color: var(--primary);

    border:
        2px solid var(--primary);

    padding:
        16px 35px;

    border-radius: 50px;

    font-weight: 600;

    transition: .3s;

}

.btn-secondary:hover {

    background: var(--primary);
    color: white;

}

/* ====================================
   HERO IMAGE
==================================== */

.hero-image {

    position: relative;

}

.hero-image img {

    width: 100%;

    border-radius: 30px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .15);

}

/* ====================================
   FLOATING CARDS
==================================== */

.floating-card {

    position: absolute;

    background: white;

    padding: 18px 25px;

    border-radius: 16px;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, .12);

    animation:
        float 4s ease-in-out infinite;

}

.card-1 {

    top: 20px;
    left: -40px;

}

.card-2 {

    bottom: 30px;
    right: -40px;

}

.floating-card h4 {

    color: var(--primary);

}

/* ====================================
   FLOAT ANIMATION
==================================== */

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }

}

/* ====================================
   FEATURES
==================================== */

.features {
    padding: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {

    background: white;

    border-radius: 24px;

    padding: 40px 30px;

    text-align: center;

    box-shadow: var(--shadow);

    transition: .4s;
}

.feature-card:hover {

    transform:
        translateY(-10px);

}

.feature-icon {

    font-size: 50px;

    margin-bottom: 20px;
}

.feature-card h3 {

    margin-bottom: 12px;
}

/* ====================================
   STATS
==================================== */

.stats {

    padding: 80px 0;

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    color: white;
}

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}

.stat-box {

    text-align: center;
}

.stat-box h2 {

    font-size: 52px;

    margin-bottom: 10px;
}

/* ====================================
   TITLE
==================================== */

.section-title {

    text-align: center;

    margin-bottom: 60px;
}

.section-title span {

    color: var(--primary);

    font-weight: 600;
}

.section-title h2 {

    font-size: 48px;

    margin-top: 10px;
}

/* ====================================
   CATEGORIES
==================================== */

.categories {

    padding: 120px 0;
}

.category-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.category-card {

    position: relative;

    overflow: hidden;

    border-radius: 24px;

    cursor: pointer;
}

.category-card img {

    width: 100%;

    height: 320px;

    object-fit: cover;

    transition: .5s;
}

.category-card:hover img {

    transform:
        scale(1.1);
}

.category-overlay {

    position: absolute;

    bottom: 0;

    width: 100%;

    padding: 25px;

    background:
        linear-gradient(transparent,
            rgba(0, 0, 0, .85));

}

.category-overlay h3 {

    color: white;

    font-size: 24px;
}

/* ====================================
   FLASH SALE
==================================== */

.flash-sale {

    padding: 120px 0;

    text-align: center;

    background:
        linear-gradient(135deg,
            #D32F2F,
            #FF6F00);

    color: white;
}

.sale-content span {

    font-size: 18px;

    opacity: .9;
}

.sale-content h2 {

    font-size: 70px;

    margin: 20px 0;
}

.sale-content p {

    font-size: 20px;

    margin-bottom: 30px;
}

/* ====================================
   PRODUCTS SECTION
==================================== */

.products-section {
    padding: 120px 0;
}

.products-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}

/* ====================================
   PRODUCT CARD
==================================== */

.product-card {

    position: relative;

    background: white;

    border-radius: 24px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: .4s;
}

.product-card:hover {

    transform:
        translateY(-12px);
}

.product-card img {

    width: 100%;

    height: 280px;

    object-fit: cover;
}

/* ====================================
   DISCOUNT BADGE
==================================== */

.discount-badge {

    position: absolute;

    top: 15px;
    left: 15px;

    background:
        linear-gradient(135deg,
            #D32F2F,
            #FF6F00);

    color: white;

    padding: 8px 15px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 600;
}

/* ====================================
   WISHLIST
==================================== */

.wishlist {

    position: absolute;

    top: 15px;
    right: 15px;

    width: 40px;
    height: 40px;

    background: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow:
        0 10px 20px rgba(0, 0, 0, .1);
}

/* ====================================
   PRODUCT INFO
==================================== */

.product-info {

    padding: 25px;
}

.product-info h3 {

    margin-bottom: 15px;
}

/* ====================================
   PRICE
==================================== */

.price {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

.old-price {

    color: #999;

    text-decoration:
        line-through;
}

.new-price {

    color: var(--primary);

    font-size: 22px;

    font-weight: 700;
}

/* ====================================
   CART BUTTON
==================================== */

.cart-button {

    width: 100%;

    border: none;

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    color: white;

    padding: 14px;

    border-radius: 50px;

    cursor: pointer;

    font-weight: 600;

    transition: .3s;
}

.cart-button:hover {

    transform:
        scale(1.03);
}

/* ====================================
   BEST SELLERS
==================================== */

.best-seller {

    padding: 120px 0;

    background: #f9f9f9;
}

.seller-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.seller-card {

    background: white;

    border-radius: 24px;

    padding: 50px 35px;

    text-align: center;

    box-shadow: var(--shadow);

    transition: .3s;
}

.seller-card:hover {

    transform:
        translateY(-10px);
}

.seller-card h3 {

    color: var(--primary);

    margin-bottom: 15px;
}

/* ====================================
   TESTIMONIALS
==================================== */

.testimonials {
    padding: 120px 0;
}

.testimonial-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.testimonial-card {

    background: white;

    padding: 35px;

    border-radius: 24px;

    box-shadow: var(--shadow);
}

.stars {
    font-size: 20px;
    margin-bottom: 15px;
}

/* ====================================
   FAQ
==================================== */

.faq {
    padding: 120px 0;
    background: #fafafa;
}

.faq-item {

    background: white;

    margin-bottom: 15px;

    border-radius: 15px;

    overflow: hidden;
}

.faq-btn {

    width: 100%;

    border: none;

    background: white;

    text-align: left;

    padding: 22px;

    font-size: 18px;

    cursor: pointer;
}

.faq-content {

    display: none;

    padding: 0 22px 22px;
}

/* ====================================
   NEWSLETTER
==================================== */

.newsletter {

    padding: 120px 0;

    text-align: center;

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    color: white;
}

.newsletter h2 {

    font-size: 48px;

    margin-bottom: 15px;
}

.newsletter form {

    display: flex;

    justify-content: center;

    margin-top: 30px;
}

.newsletter input {

    width: 400px;

    height: 55px;

    border: none;

    padding: 0 20px;

    border-radius:
        50px 0 0 50px;
}

.newsletter button {

    border: none;

    background: #111;

    color: white;

    padding: 0 30px;

    border-radius:
        0 50px 50px 0;

    cursor: pointer;
}

/* ====================================
   FOOTER
==================================== */

.footer {

    background: #111;

    color: white;

    padding: 60px 0;
}
 
.footer-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 40px;
}

.footer a {

    display: block;

    color: #ccc;

    text-decoration: none;

    margin: 10px 0;
}

/* ====================================
   WHATSAPP
==================================== */

.whatsapp-btn {

    position: fixed;

    bottom: 25px;
    right: 25px;

    width: 65px;
    height: 65px;

    border-radius: 50%;

    background: #25D366;

    color: white;

    font-size: 30px;

    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 999;
}

/* ====================================
   BACK TO TOP
==================================== */

#backToTop {

    position: fixed;

    bottom: 105px;
    right: 25px;

    width: 55px;
    height: 55px;

    border: none;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    cursor: pointer;

    display: none;
}

/* ====================================
   RESPONSIVE DESIGN
==================================== */

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 56px;
    }

    .feature-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid,
    .seller-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, .98);
        border-bottom: 1px solid rgba(0, 0, 0, .06);
        padding: 20px 16px 24px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .3s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .header {
        position: sticky;
    }

    .navbar {
        position: relative;
        height: auto;
        padding: 18px 0;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding: 80px 0;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .stats-grid,
    .feature-grid,
    .products-grid,
    .category-grid,
    .seller-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .top-bar {
        font-size: 12px;
        padding: 10px 0;
    }

    .logo a {
        font-size: 24px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-primary,
    .btn-secondary {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .feature-grid,
    .stats-grid,
    .products-grid,
    .category-grid,
    .seller-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2,
    .newsletter h2,
    .sale-content h2 {
        font-size: 36px;
    }

    .newsletter form {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .newsletter input {
        width: 100%;
        max-width: 420px;
        border-radius: 50px;
    }

    .newsletter button {
        width: 100%;
        max-width: 420px;
        border-radius: 50px;
        padding: 18px;
    }

    .floating-card {
        position: static;
        margin-top: 15px;
        width: max-content;
    }

    .hero-image {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .header-actions {
        gap: 10px;
    }

    .cart-btn {
        width: 42px;
        height: 42px;
    }

    .whatsapp-btn {
        width: 58px;
        height: 58px;
        bottom: 18px;
        right: 18px;
    }

    #backToTop {
        bottom: 90px;
        right: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(92%, 100%);
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .feature-card,
    .testimonial-card,
    .seller-card {
        padding: 24px 20px;
    }

    .product-info {
        padding: 18px;
    }

    .category-card img {
        height: 260px;
    }
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #888;
}