html, body {
    overflow-x: hidden; /* Isse screen side mein nahi khiskegi */
    width: 100%;
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007bff;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --white: #fff;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span { color: var(--primary-color); }

/* .nav-links {
    display: flex;
    gap: 100px;
    
}

.nav-links a {
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary-color); } */

.nav-links{
    display: flex;
    gap: 100px;
    list-style: none;
    font-size: 10px;
    position: fixed;
    right: -100%; /* Menu ko right side screen ke bahar phenk do */
    top: 0;
    width: 250px; /* Ya jitni aapko width chahiye */
    height: 100vh;
    background: #fff;
    transition: 0.4s ease; /* Smooth slide ke liye */
    z-index: 1000;
}

.nav-links a{
    color: var(--primary-color); 
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
}

.nav-links a:hover{
    color: #006793f2;
    background-color: white;
    padding: 6px 12px ;
    border-radius: 10px;
    font-size: 25px;
}
.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

/* --- HERO --- */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url(shop.jpeg);
    background-size: cover;
    background-position:center 25%;
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    
}

.hero h1 { font-size: 3.5rem; margin-bottom: 15px; }
.hero p { font-size: 1.8rem; margin-bottom: 25px; }

.btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover { background: #0056b3; }

/* --- FEATURES --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 3rem 5%;
    background: var(--white);
}

.feature-box {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #f9f9f9;
    transition: 0.3s;
}

.feature-box:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.feature-box i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; }

/* --- PRODUCTS --- */
.products { padding: 4rem 5%; text-align: center; }
.section-title { margin-bottom: 3rem; font-size: 2rem; position: relative; }
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: 0.3s;
}

.product-card:hover { transform: translateY(-5px); }

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
    z-index: 1;
}

.product-image img { width: 100%; height: 220px; object-fit: cover; }

.product-info { padding: 20px; }
.product-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.category { color: #777; font-size: 0.9rem; margin-bottom: 10px; }
.price { font-size: 1.3rem; font-weight: 700; color: var(--primary-color); }
.old-price { text-decoration: line-through; color: #999; font-size: 1rem; margin-right: 10px; }

.add-btn {
    width: 100%;
    padding: 10px;
    background: var(--dark-color);
    color: var(--white);
    border: none;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s;
}
.add-btn:hover { background: var(--primary-color); }

/* --- ABOUT --- */
/* .about { padding: 4rem 5%; background: var(--white); }
.about-container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.about-text, .about-image { flex: 1; min-width: 300px; }
.about-image img { width: 100%; border-radius: 10px; }
.about-list { margin-top: 20px; }
.about-list li { margin: 10px 0; }
.about-list i { color: var(--primary-color); margin-right: 10px; } */

/* --- Ultimate About Section --- */
.about {
    padding: 100px 10%;
    background-color: #fbfbfb;
    overflow: hidden;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

/* Image Side Style */
.about-image-wrapper {
    flex: 1;
    position: relative;
    min-width: 350px;
}

.main-img-card {
    position: relative;
    width: 85%;
}

.main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--primary-color, #007bff);
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,123,255,0.3);
    animation: float 3s ease-in-out infinite;
}

.experience-badge .years { font-size: 2rem; font-weight: 800; display: block; }



/* Text Side Style */
.about-text { flex: 1.2; min-width: 350px; }

.subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
}

.about-text h2 {
    font-size: 2.8rem;
    margin: 15px 0 25px;
    color: #222;
    line-height: 1.2;
}

.about-text h2 span { color: var(--primary-color); }

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 35px 0;
}

.feature-item { display: flex; align-items: flex-start; gap: 15px; }
.feature-item i { color: var(--primary-color); font-size: 1.5rem; margin-top: 5px; }
.feature-item h4 { margin-bottom: 5px; color: #333; }
.feature-item p { font-size: 0.9rem; color: #777; line-height: 1.4; }

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Button Modern */
.btn-modern {
    display: inline-block;
    padding: 15px 35px;
    background: #222;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.btn-modern:hover { background: var(--primary-color); transform: scale(1.05); }

/* Responsive */
@media (max-width: 768px) {
    .about-container { gap: 50px; }
    .about-text h2 { font-size: 2.2rem; }
    .about-features-grid { grid-template-columns: 1fr; }
}
/* --- CONTACT SECTION --- */
.contact {
    padding: 4rem 5%;
    background: #f9f9f9;
}

.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #007bff;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: #007bff;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

.contact-form .btn {
    width: 100%;
}

/* --- NEWSLETTER --- */
.newsletter {
    background: linear-gradient(135deg, #007bff, #0056b3);
    padding: 4rem 5%;
    text-align: center;
    color: #fff;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.newsletter-content form {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-content input {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    width: 300px;
    max-width: 100%;
}

.newsletter-content button {
    padding: 12px 25px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.newsletter-content button:hover {
    background: #fff;
    color: #007bff;
}

/* --- FOOTER --- */
footer {
    background: #222;
    color: #fff;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-section a {
    display: block;
    color: #ccc;
    margin: 8px 0;
    transition: 0.3s;
}

.footer-section a:hover {
    color: #007bff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #ccc;
    font-size: 0.9rem;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: -100%;
        background: #fff;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transition: 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0;
       
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* --- CART MODAL --- */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: flex-end;
}

.cart-content {
    background: #fff;
    width: 100%;
    max-width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.cart-header {
    padding: 20px;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    font-size: 2rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.cart-item-info p {
    color: #007bff;
    font-weight: bold;
}

.remove-item {
    color: red;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 10px;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid #333;
}

.cart-footer h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: #218838;
}

.empty-cart-msg {
    text-align: center;
    color: #777;
    margin-top: 50px;
}