@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: #f8f9fa; color: #333; overflow-x: hidden; }

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
}
.logo { font-size: 28px; font-weight: 800; color: #111; }
.logo span { color: #ff3e6c; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: #111; font-weight: 600; text-transform: uppercase; font-size: 14px; transition: 0.3s; }
.nav-links a:hover { color: #ff3e6c; }

/* Cart Icon */
.cart-icon { position: relative; font-size: 24px; cursor: pointer; color: #111; transition: 0.3s; }
.cart-icon:hover { transform: scale(1.1); }
#cart-count {
    position: absolute; top: -5px; right: -10px; background: #ff3e6c; color: white;
    font-size: 12px; font-weight: bold; width: 20px; height: 20px;
    display: flex; justify-content: center; align-items: center; border-radius: 50%;
}

/* Side Cart Drawer */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: 0.3s; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar {
    position: fixed; top: 0; right: -450px; width: 400px; max-width: 100%; height: 100vh;
    background: #fff; z-index: 1002; box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    display: flex; flex-direction: column; transition: right 0.4s ease;
}
.cart-sidebar.active { right: 0; }
.cart-header { display: flex; justify-content: space-between; padding: 20px; border-bottom: 1px solid #eee; }
.close-cart { font-size: 24px; cursor: pointer; color: #333; transition: 0.3s; }
.close-cart:hover { color: #ff3e6c; transform: rotate(90deg); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.empty-cart-msg { text-align: center; color: #888; margin-top: 50px; }
.cart-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: center; border-bottom: 1px solid #f1f1f1; padding-bottom: 15px; }

/* FULL PHOTO FIX FOR CART */
.cart-item img { width: 70px; height: 90px; object-fit: contain; background: #f4f4f4; border-radius: 6px; }

.cart-item-details h4 { font-size: 14px; margin-bottom: 5px; }
.cart-item-details p { font-size: 14px; font-weight: bold; color: #ff3e6c; }
.cart-footer { padding: 20px; border-top: 1px solid #eee; background: #f9f9f9; }
.total { display: flex; justify-content: space-between; font-size: 20px; font-weight: bold; margin-bottom: 15px; }
.checkout-btn { width: 100%; padding: 15px; background: #111; color: #fff; font-size: 16px; border: none; cursor: pointer; font-weight: bold; transition: 0.3s; }
.checkout-btn:hover { background: #28a745; }

/* =========================================
   KHATARNAK HERO SLIDER - PREMIUM HD LOOK 
   ========================================= */
.hero-slider { 
    position: relative; 
    height: 85vh; /* Thoda aur bada kiya premium feel ke liye */
    overflow: hidden; 
    background: #111; 
}

.slide { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    opacity: 0; transition: opacity 1s ease-in-out; 
    display: flex; align-items: center; 
    justify-content: flex-start; /* Text ko Center se Left kar diya */
    text-align: left; 
    padding-left: 8%; /* Left side se thoda space */
    color: #fff; z-index: 1; 
}
.slide.active { opacity: 1; z-index: 2; }

/* Photo setup - Cover use kiya taaki HD photo screen bhar de */
.slide-bg { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background-size: cover; 
    background-position: center top; 
    transform: scale(1.05); transition: transform 6s linear; 
}

/* Yaha Magic Hai: Photo ke upar left side dark fade taaki text dikhe bina kisi dabbe ke */
.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    z-index: 2;
}

.slide.active .slide-bg { transform: scale(1); }

/* Text Without Box */
.hero-content { 
    position: relative; z-index: 3; 
    max-width: 650px; 
    padding: 0; 
    background: transparent; /* Kaala dabba hata diya */
    box-shadow: none;
    backdrop-filter: none;
}

.hero-content h1 { 
    font-size: 4.5rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 10px; 
    line-height: 1.1;
    font-weight: 800;
}

.hero-content p { 
    font-size: 1.3rem; 
    margin-bottom: 35px; 
    color: #eaeaea; 
    font-weight: 300; 
    letter-spacing: 1px;
}

/* Classy Button */
.btn { 
    padding: 16px 40px; 
    background: #ff3e6c; 
    color: #fff; 
    text-decoration: none; 
    font-size: 16px; 
    border: none; 
    font-weight: 600; 
    border-radius: 4px; /* Square style thoda aur professional lagta hai */
    cursor: pointer; 
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.4s; 
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn:hover { 
    background: #fff; 
    color: #111; /* Hover par white button ho jayega, aur stylish lagega */
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
}

/* Dots Controls */
.slider-controls { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.dot { width: 12px; height: 12px; background: rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: #fff; transform: scale(1.4); }

/* Animations */
.slide-up { opacity: 0; transform: translateY(40px); transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.slide.active .slide-up { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.slider-controls { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 15px; height: 15px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: #ff3e6c; transform: scale(1.2); }

/* Animations */
.slide-up { opacity: 0; transform: translateY(50px); transition: 0.8s ease; }
.slide.active .slide-up { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Products Section */
.products-section { padding: 80px 5%; background: #fff; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; font-weight: 800; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.product-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #f0f0f0; transition: 0.4s; cursor: pointer; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* FULL PHOTO FIX FOR GRID CARDS */
.img-container { 
    height: 350px; 
    background: #f4f4f4; /* Soft background so white shirts are visible */
    display: flex; justify-content: center; align-items: center;
    position: relative; overflow: hidden;
}
.img-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; /* THIS PREVENTS CROPPING */
    transition: transform 0.6s ease; 
}
.product-card:hover .img-container img { transform: scale(1.08); }

.quick-view-overlay {
    position: absolute; bottom: -50px; left: 0; width: 100%; background: rgba(255, 255, 255, 0.95);
    padding: 15px 0; text-align: center; font-weight: bold; transition: 0.4s; color: #111;
}
.product-card:hover .quick-view-overlay { bottom: 0; }
.product-info { padding: 20px; text-align: center; }
.product-info h3 { font-size: 15px; color: #888; }
.product-info p { font-size: 18px; font-weight: 700; color: #111; margin-top: 5px; }

/* Modal (Popup) */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); backdrop-filter: blur(5px); }
.modal-content { background-color: #fff; margin: 4% auto; width: 75%; max-width: 900px; border-radius: 12px; padding: 40px; position: relative; animation: fadeIn 0.3s; }
@keyframes fadeIn { from{opacity:0; transform:scale(0.9);} to{opacity:1; transform:scale(1);} }
.close-modal { position: absolute; top: 15px; right: 25px; font-size: 35px; cursor: pointer; color: #555; }
.modal-flex { display: flex; gap: 40px; }

/* FULL PHOTO FIX FOR MODAL */
.modal-img-container { 
    flex: 1; 
    background: #f4f4f4; 
    border-radius: 8px; 
    display: flex; justify-content: center; align-items: center;
}
.modal-img-container img { width: 100%; max-height: 400px; object-fit: contain; }

.modal-details { flex: 1.2; display: flex; flex-direction: column; justify-content: center; }
.price { font-size: 30px; font-weight: 800; margin: 15px 0; }
.price del { color: #878787; font-size: 18px; margin: 0 10px; }
.discount { color: #ff3e6c; font-size: 18px; }
.sizes { display: flex; gap: 12px; margin: 10px 0 25px; }
.size-btn { width: 50px; height: 50px; border: 2px solid #ddd; background: #fff; cursor: pointer; font-weight: bold; border-radius: 50%; font-size: 16px; transition: 0.3s; }
.size-btn.active, .size-btn:hover { border-color: #111; background: #111; color: #fff; }
.add-to-cart-confirm { width: 100%; font-size: 18px; padding: 18px; background: #ff3e6c; color: white; border: none; font-weight: bold; cursor: pointer; border-radius: 8px; transition: 0.3s; }
.add-to-cart-confirm:hover { background: #e02855; }

/* Custom Checkout Alert */
.checkout-alert { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 3000; justify-content: center; align-items: center; }
.alert-box { background: white; padding: 40px; border-radius: 12px; text-align: center; max-width: 400px; animation: fadeIn 0.3s; }

/* Footer */
.footer { background: #111; color: #fff; padding: 50px 5% 20px; margin-top: 50px; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 20px; }
.footer-col h3 { font-size: 20px; margin-bottom: 15px; color: #ff3e6c; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #333; color: #888; font-size: 14px; }


/* =========================================
   CHECKOUT FORM STYLING (LUXURY THEME)
   ========================================= */
.checkout-form-container { max-width: 550px; padding: 40px; text-align: center; }
.form-title { font-family: 'Playfair Display', serif; color: #e6c27a; font-size: 28px; margin-bottom: 5px; }
.form-subtitle { color: #888; font-size: 14px; margin-bottom: 25px; }

.input-group { margin-bottom: 18px; text-align: left; }
.input-group label { display: block; margin-bottom: 8px; color: #ccc; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.input-group input, .input-group textarea { 
    width: 100%; 
    padding: 15px; 
    background: #151515; 
    border: 1px solid #333; 
    color: #fff; 
    border-radius: 4px; 
    font-family: 'Poppins', sans-serif; 
    transition: 0.3s; 
    font-size: 14px;
}
.input-group input:focus, .input-group textarea:focus { 
    border-color: #e6c27a; 
    outline: none; 
    box-shadow: 0 0 15px rgba(230, 194, 122, 0.15); 
    background: #111;
}

.submit-order-btn { width: 100%; margin-top: 10px; background: #e6c27a; color: #000; padding: 18px; }
.submit-order-btn:hover { background: #fff; color: #000; }

.close-checkout { position: absolute; top: 15px; right: 25px; font-size: 35px; cursor: pointer; color: #555; transition: 0.3s; }
.close-checkout:hover { color: #e6c27a; transform: rotate(90deg); }