/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: "Poppins", sans-serif;
}

/* HEADER */
.header{
    width:100%;
    background:#ffffff;
    padding:15px 40px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    position: sticky;
    top:0;
    z-index:100;
}

.main-nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* LOGO */
.logo{
    font-size:26px;
    font-weight:700;
    color:#333;
}

/* NAV LINKS */
.nav-links{
    display:flex;
    gap:30px;
    list-style:none;
}

.nav-links a{
    text-decoration:none;
    font-size:16px;
    font-weight:500;
    color:#555;
    transition:0.3s;
}

.nav-links a:hover{
    color:#000;
}

/* RIGHT SECTION */
.right-section{
    display:flex;
    align-items:center;
    gap:15px;
}

/* SEARCH BOX */
.search-box{
    display:flex;
    align-items:center;
    gap:8px;
    background:#f2f2f2;
    padding:8px 12px;
    border-radius:20px;
}

.search-box input{
    border:none;
    background:none;
    outline:none;
}

/* LOGIN BUTTON */
.login-btn{
    background:#222;
    color:#fff;
    border:none;
    padding:10px 16px;
    border-radius:25px;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:8px;
    transition:0.3s;
}

.login-btn:hover{
    background:#000;
}

/* CART */
.cart{
    position:relative;
    cursor:pointer;
}

.cart i{
    font-size:22px;
    color:#333;
}

.count{
    background:red;
    color:#fff;
    padding:2px 7px;
    border-radius:50%;
    font-size:12px;
    position:absolute;
    top:-8px;
    right:-10px;
}


/* HERO SECTION */
.hero{
    position:relative;
    width:100%;
}

.hero-img{
    width:100%;
    height:480px;
    object-fit:cover;
    border-radius:0;
}

.hero-content{
    position:absolute;
    top:50%;
    left:8%;
    transform:translateY(-50%);
    color:#fff;
}

.hero-content h1{
    font-size:48px;
    font-weight:700;
}

.hero-content p{
    font-size:20px;
    margin:10px 0;
}

.shop-btn{
    background:#ffffff;
    color:#000;
    border:none;
    padding:12px 25px;
    border-radius:25px;
    cursor:pointer;
    font-size:16px;
    transition:0.3s;
}

.shop-btn:hover{
    background:#f1f1f1;
}


/* TITLE */
.section-title{
    text-align:center;
    font-size:28px;
    font-weight:600;
    margin:40px 0 20px 0;
    color:#333;
}

/* ICON SLIDER */
.slider-container{
    width:100%;
    overflow:hidden;
    display:flex;
    justify-content:center;
    margin-bottom:40px;
}

.icon-slider{
    display:flex;
    gap:40px;
    padding:10px;
    overflow-x:auto;
    scroll-behavior:smooth;
}
.icon-slider::-webkit-scrollbar{
    display:none;
}

.icon-item{
    text-align:center;
    min-width:120px;
    cursor:pointer;
    transition:0.3s;
}

.icon-item img{
    width:80px;
    height:80px;
    border-radius:50%;
    border:2px solid #ddd;
    padding:5px;
    transition:0.3s;
}

.icon-item:hover img{
    transform:scale(1.15);
}

/* TEXT */
.icon-item p{
    margin-top:8px;
    font-size:14px;
    font-weight:600;
}


  


/* ---- MAIN PRODUCT GRID ---- */
.products-section {
    padding: 50px 5%;
    background: linear-gradient(to bottom right, #f7f9fc, #eef1f8);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

/* ---- PRODUCT CARD ---- */
.product-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
    transition: all 0.35s ease-in-out;
    border: 1px solid rgba(200, 200, 200, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

/* ---- PRODUCT IMAGE ---- */
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 10px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

/* ---- BADGES ---- */
.badge-new, .badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
}

.badge-new {
    background: #0c84ff;
}

.badge-sale {
    background: #ff3d3d;
}

/* ---- WISHLIST ICON ---- */
.wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    transition: 0.3s ease;
}

.wishlist:hover {
    color: #ff4b4b;
}

/* ---- TEXT ---- */
.product-card h3 {
    font-size: 18px;
    margin: 12px 0 6px;
    color: #222;
    font-weight: 700;
}

.price {
    color: #0c6dfd;
    font-size: 20px;
    font-weight: 700;
}

/* ---- ADD TO CART BUTTON ---- */
.add-cart-btn {
    background: #0c6dfd;
    color: white;
    border: none;
    padding: 12px 0;
    width: 100%;
    border-radius: 10px;
    margin-top: 14px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.add-cart-btn:hover {
    background: #084ec0;
    transform: scale(1.03);
}



/* -------Add Section-------- */


/* Infinite Looping TikTok Slider */
.tiktok-slider {
    width: 100%;
    overflow: hidden;
    padding: 25px 0;
    position: relative;
}

.slide-track {
    display: flex;
    width: calc(250px * 8); /* 8 slides including duplicate */
    animation: scrollLoop 25s linear infinite;
    gap: 25px;
}

.slide {
    width: 250px;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
    text-align: center;
    transition: .3s ease;
}

.slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.slide:hover {
    transform: scale(1.05);
}

/* LOOP ANIMATION */
@keyframes scrollLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 4 - 100px)); 
        /* shifts original 4 slides width so duplicates show */
    }
}



/* ---------------------Fotter----------------------- */
/* ---- PREMIUM FOOTER ---- */
.premium-footer {
    background: rgba(255, 255, 255, 0.85); /* semi-transparent white */
    backdrop-filter: blur(12px); /* blur effect */
    padding: 60px 5% 30px 5%;
    font-family: 'Poppins', sans-serif;
    color: #222; /* default text color */
    border-top: 1px solid rgba(0,0,0,0.1);
}

.premium-footer .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

/* ---- Logo ---- */
.premium-footer .logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #0c6dfd, #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

/* ad section animation */

/* ---- PROMO SECTION ---- */
.promo-section {
    position: relative;
    width: 100%;
    padding: 100px 5%;
    overflow: hidden;
    background: linear-gradient(135deg, #f7f9fc, #eef1f8);
    border-radius: 20px;
    margin: 50px 0;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* Background Layer */
.promo-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(120deg, #0c6dfd, #ff4b4b, #0c6dfd);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    opacity: 0.1;
    z-index: 1;
    border-radius: 20px;
}

/* Content */
.promo-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #222;
}

.promo-content h2 {
    font-size: 40px;
    font-weight: 800;
    color: #0c6dfd;
    margin-bottom: 20px;
    animation: fadeUp 2s ease forwards;
}

.promo-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    animation: fadeUp 2s ease forwards;
}

.promo-content p strong {
    color: #ff4b4b;
}

.promo-content .highlight {
    font-size: 22px;
    font-weight: 700;
    color: #0c6dfd;
    margin-top: 20px;
    animation: glowText 2s infinite alternate;
}

/* ---- Promo Images ---- */
.promo-images {
    position: relative;
    width: 100%;
    margin-top: 50px;
    height: 300px;
    z-index: 2;
}

.promo-images .promo-img {
    position: absolute;
    width: 180px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: floatLoop 10s ease-in-out infinite;
}

/* Position each image differently */
.promo-images .img1 { top: 0; left: 10%; animation-delay: 0s; }
.promo-images .img2 { top: 20px; left: 35%; animation-delay: 2s; }
.promo-images .img3 { top: 50px; left: 60%; animation-delay: 4s; }
.promo-images .img4 { top: 10px; left: 80%; animation-delay: 6s; }
.promo-images .img5 { top: 40px; left: 15%; animation-delay: 1s; }
.promo-images .img6 { top: 80px; left: 50%; animation-delay: 3s; }
.promo-images .img7 { top: 30px; left: 70%; animation-delay: 5s; }


/* ---- ANIMATIONS ---- */
@keyframes floatLoop {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-20px) rotate(-5deg) scale(1.05); }
    50% { transform: translateY(10px) rotate(5deg) scale(1); }
    75% { transform: translateY(-10px) rotate(-3deg) scale(1.02); }
}

@keyframes glowText {
    from { text-shadow: 0 0 5px #0c6dfd, 0 0 10px #0c6dfd; }
    to { text-shadow: 0 0 15px #0c6dfd, 0 0 25px #0c6dfd; }
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .promo-images .promo-img { width: 140px; }
    .promo-content h2 { font-size: 32px; }
    .promo-content p { font-size: 16px; }
}

@media (max-width: 768px) {
    .promo-images { height: 250px; }
    .promo-images .promo-img { width: 120px; }
    .promo-content h2 { font-size: 28px; }
    .promo-content .highlight { font-size: 18px; }
}



/* ---- Footer Columns ---- */
.premium-footer .footer-col {
    flex: 1 1 200px;
}

.premium-footer .footer-col h3 {
    font-size: 18px;
    margin-bottom: 18px;
    font-weight: 600;
    background: linear-gradient(90deg, #0c6dfd, #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-footer .footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.premium-footer .footer-col ul {
    list-style: none;
    padding: 0;
}

.premium-footer .footer-col ul li {
    margin-bottom: 10px;
}

.premium-footer .footer-col ul li a {
    color: #222;
    text-decoration: none;
    transition: 0.3s ease;
}

.premium-footer .footer-col ul li a:hover {
    color: #0c6dfd;
}

/* ---- Social Icons ---- */
.premium-footer .social-links {
    display: flex;
    gap: 12px;
}

.premium-footer .social-links a {
    color: #222;
    font-size: 18px;
    transition: 0.3s ease;
}

.premium-footer .social-links a:hover {
    color: #0c6dfd;
    transform: scale(1.2);
}

/* ---- Footer Bottom ---- */
.premium-footer .footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 13px;
    color: #555;
}

.premium-footer .footer-bottom strong {
    color: #0c6dfd;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .premium-footer .footer-container {
        flex-direction: column;
        gap: 25px;
    }
}






