@import url('https://fonts.googleapis.com/css2?family=Lavishly+Yours&family=Lexend+Deca:wght@100..900&display=swap');

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: #353535;
    color: #252525;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #524c4c;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ================= CONTAINER ================= */
.container {
    display: flex;
    align-items: center;
    padding: 15px 2%;
}

/* ================= MENU ICON ================= */
#menu-toggle {
    font-size: 28px;
    padding: 10px 0px;
    cursor: pointer;
    display: none;
    z-index: 100;
}

/* ================= NAV ================= */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 99;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-mobile-actions {
    display: none;
}

.nav-links li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transition: color 0.8s ease-in-out;
}

.nav-links li a:hover {
    color: #d15c32;
}

/* ================= NAV ACTIONS ================= */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* ================= SEARCH ================= */
.search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.srch {
    padding: 8px 24px;
    border-radius: 20px;
    border: 1px solid #646161;
    background-color: #1b1b1b7a;
    outline: none;
    transition: all 0.3s ease;
}

.srch:focus {
    border-color: #d15c32;
}

.srch-btn {
    padding: 6px 19px;
    border-radius: 15px;
    border: 1px solid #ffffff;
    background: #eb5620e3;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.srch-btn:hover {
    transform: scale(1.05);
    background: #ff6424;
}

.srch-btn:active {
    border-bottom: 2px solid #ffffff;
}

/* ================= BUTTONS ================= */
.buynow-btn {
    background: #000;
    color: #fff;
    border-radius: 20px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buynow-btn:hover {
    transform: scale(1.05);
    background: #333;
}

.login-btn {
    background: transparent;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #222;
    color: #fff;
}

/* DARK MODE BUTTON */
.dark-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.dark-btn:hover {
    transform: scale(1.2);
}

/* CART */
.icon-cart {
    position: relative;
    cursor: pointer;
}

.icon-cart svg {
    width: 26px;
}

.icon-cart span {
    position: absolute;
    top: 18px;
    right: -9px;
    background: rgb(94, 92, 92);
    color: #fff;
    font-size: 11px;
    padding: 3px 3px;
    border-radius: 50%;
}

/* ================= CAROUSEL ================= */
.carousel {
    position: relative;
    width: 100vw;
    height: calc(100vh - 0px);
    background: #353535;
    overflow: hidden;
}

.carousel .list {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.carousel .item {
    min-width: 100%;
    height: 100%;
    position: relative;
    inset: 0 0 0 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= CAROUSEL CONTENT + BUTTONS ANIMATION ================= */
.carousel .content {
    position: absolute;
    top: 50%;
    left: 10%;
    max-width: 80%;
    transform: translateX(-1px) translateY(-50%);
}

/* Text animations */
.carousel .author {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: #e24c11 4px 4px 4px;
    animation: contentSlideIn 0.8s forwards 0.3s;
}

.carousel .title {
    font-size: 48px;
    font-weight: bold;
    color: #da4805;
    text-shadow: #292321 4px 4px 4px;
    margin-bottom: 10px;
    animation: contentSlideIn 0.8s forwards 0.7s;
}

.carousel .topic {
    font-size: 22px;
    margin-bottom: 10px;
    color: #463f3fbe;
    text-shadow: #504b4a 4px 4px 4px;
    animation: contentSlideIn 0.8s forwards 0.5s;
}

.carousel .des {
    margin-bottom: 20px;
    color: #f78c00;
    text-shadow: #ff7403 4px 4px 4px;
    opacity: 0;
    animation: contentSlideIn 0.8s forwards 0.9s;
}

/* Buttons animations */
.carousel .buttons button {
    border-radius: 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateX(-50px);
}

/* See-more button */
.carousel .See-more {
    background: rgb(65, 64, 64);
    color: #221f1f;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: 20px;
    cursor: pointer;
    animation: buttonSlideIn 0.5s forwards 1.1s;
}

.carousel .See-more:hover {
    transform: scale(1.02);
    background: rgba(71, 66, 66, 0.877);
}

/* Subscribe button */
.carousel .Subscribe {
    background: #9c2d04f6;
    color: #ffffff;
    font-weight: 500;
    border-radius: 20px;
    padding: 10px 26px;
    cursor: pointer;
    animation: buttonSlideIn 0.5s forwards 1.3s;
}

.carousel .Subscribe:hover {
    background: #d15c32;
    transform: scale(1.05);
}

/* ================= ANIMATIONS ================= */
@keyframes contentSlideIn {
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

@keyframes buttonSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================= THUMBNAILS ================= */
.thumbnail {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 10px;
    margin-left: 70%;
    transform: translateX(100%); /* ✅ Fixed case */
    animation: thumbnailsFade 4s forwards 0.5s;
}

.thumbnail .item {
    width: 36px;
    height: 200px;
    cursor: pointer;
    transition: transform 3s ease, box-shadow 0.3s ease;
    border-radius: 10%;
}

.thumbnail .item:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #d15c32;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    align-items: center;
    justify-content: center;
    border-radius: 10%;
}

.thumbnail img:active {
    opacity: 0.7;
    transition: opacity 3s ease;
}

@keyframes thumbnailsFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= ARROWS ================= */
.arrows {
    position: absolute;
    top: 80%;
    left: 10%;
    display: flex;
    pointer-events: none;
    z-index: 99;
}

.arrows button {
    pointer-events: auto;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 12px;
    padding: 5px 10px;
    margin-right: 90%;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.arrows button:hover {
    background: #d15c32;
    transform: scale(1.1);
}

.arrows button:active {
    color: #b39b9b;
    background-color: #fff;
}

/* ================= SOCIAL ================= */
.social_media_links {
    position: fixed;
    right: 15px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social_media_links a {
    background: transparent;
    color: #202020;
    text-align: center;
}

/* ================= RESPONSIVE ================= */

@media screen and (max-width: 768px) {
    #menu-toggle {
        position: absolute;
        display: block;
        z-index: 100;
        padding: 10px 10px;
        cursor: pointer;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 50vw;
        height: 50vh;
        flex-direction: column;
        background: #524c4c;
        z-index: 99;
        gap: 20px;
        border-bottom-right-radius: 15vh;
        transition: left 0.5s ease, opacity 0.5s ease;
        opacity: 0;
    }

    .nav-links.nav-open {
        left: 0;
        padding: 15% 0 0 20%;
        opacity: 1;
        /* ✅ Fixed typo */
        z-index: 100;
    } 

    .nav-links li {
        transform: translateX(-20px);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .nav-links.nav-open li {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-links.nav-open li:nth-child(1) { transition-delay: 0.8s; }
    .nav-links.nav-open li:nth-child(2) { transition-delay: 1s; }
    .nav-links.nav-open li:nth-child(3) { transition-delay: 1.2s; }
    .nav-links.nav-open li:nth-child(4) { transition-delay: 1.4s; }
    .nav-links.nav-open li:nth-child(5) { transition-delay: 1.6s; }

    .carousel .title {
        font-size: 32px;
    }

}

@media screen and (max-width: 425px) {
    #menu-toggle {
        position: absolute;
        display: block;
        z-index: 100;
        padding: 0px 0 0 5px;
        cursor: pointer;
    }

    .nav-actions {
        display: flex;
        align-items: flex-end;
        justify-content: end;
        gap: 9px;
        padding-right: 3%;
        margin-left: auto;
    }

    .nav-links.nav-open {
        width: 42vw;
        height: 55vh;
        padding: 23% 0 0 12%;
        z-index: 100;
    }

    .thumbnail .item{
        width: 6vw;
        height: 180px;
    }

    .desktop-only{
        display: none;
    }
}

@media screen and (max-width: 375px) {
    #menu-toggle {
        position: absolute;
        display: block;
        z-index: 100;
        padding: 0px 20px 0px 0px;
        cursor: pointer;
    }

    .nav-actions {
        display: flex;
        align-items: flex-end;
        justify-content: end;
        gap: 9px;
        margin-left: auto;
    }

    .nav-links.nav-open {
        width: 42vw;
        height: 55vh;
        padding: 23% 0 0 12%;
        z-index: 100;
    }


    /* ================= SEARCH ================= */
    .search {
        align-items: center;
        gap: 4px;
    }
    
    .srch {
        border-radius: 20px;
        width: 170px;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #646161;
        background-color: #1b1b1b7a;
        outline: none;
        transition: all 0.3s ease;
    }
    
    .srch:focus {
        border-color: #d15c32;
    }
    
    .srch-btn {
        padding: 6px 15px;
        border-radius: 15px;
        border: 1px solid #ffffff;
        background: #eb5620e3;
        color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .srch-btn:hover {
        transform: scale(1.05);
        background: #ff6424;
    }
    
    .srch-btn:active {
        border-bottom: 2px solid #ffffff;
    }

    .carousel .content {
        position: absolute;
        top: 49%;
        left: 8%;
        transform: translateX(-2px) translateY(-50%);
        color: #751b1b;
        max-width: 500px;
    }
    
    /* See-more button */
    .carousel .See-more {
        background: rgb(65, 64, 64);
        color: #221f1f;
        font-weight: 500;
        padding: 8px 15px;
        border-radius: 20px;
        cursor: pointer;
        animation: buttonSlideIn 0.5s forwards 1.1s;
    }
    
    /* Subscribe button */
    .carousel .Subscribe {
        background: #9c2d04f6;
        color: #ffffff;
        font-weight: 500;
        border-radius: 20px;
        padding: 8px 18px;
        cursor: pointer;
        animation: buttonSlideIn 0.5s forwards 1.3s;
    }
    
    .buynow-btn {
        display: none;
    }

    .login-btn {
        display: none;
    }
    
    .thumbnail .item{
        width: 6vw;
        height: 32vh;
    }
}

@media screen and (max-width: 320px) {
    #menu-toggle {
        position: absolute;
        display: block;
        padding: 0px 0 0 5px;
        cursor: pointer;
        z-index: 100;
    }

    .nav-actions {
        display: flex;
        align-items: flex-end;
        justify-content: end;
        gap: 9px;
        margin-left: auto;
    }

    .nav-links.nav-open {
        width: 42vw;
        height: 55vh;
        padding: 23% 0 0 12%;
        z-index: 100;
    }

    .carousel .content {
        position: absolute;
        top: 49%;
        left: 5%;
        transform: translateX(-2px) translateY(-50%);
        color: #751b1b;
        max-width: 500px;
    }

    .carousel .content {
        position: absolute;
        transform: translateY(-50%);
        color: #fff;
        max-width: 500px;
    }
    
    /* Buttons animations */
    .carousel .buttons button {
        border-radius: 20px;
        border: none;
        cursor: pointer;
        opacity: 0;
        transform: translateX(-50px);
    }
    
    /* See-more button */
    .carousel .See-more {
        background: rgb(65, 64, 64);
        color: #221f1f;
        font-weight: 500;
        padding: 8px 13px;
        border-radius: 20px;
        cursor: pointer;
        animation: buttonSlideIn 0.5s forwards 1.1s;
    }
    
    .carousel .See-more:hover {
        background: rgb(65, 64, 64);
    }

    .carousel .See-more:active{
        transform: scale(1.02);
        background: rgba(71, 66, 66, 0.877);
    }
    
    /* Subscribe button */
    .carousel .Subscribe {
        background: #9c2d04f6;
        color: #ffffff;
        font-weight: 500;
        border-radius: 20px;
        padding: 8px 13px;
        cursor: pointer;
        animation: buttonSlideIn 2.5s forwards 1.3s;
        transition: all 0.3s ease;
    }
    
    .carousel .Subscribe:hover {
        background: #9c2d04f6;
    }

    .carousel .Subscribe:active {
        background: #d15c32;
        transform: scale(1.05) ease;
    }

    .thumbnail .item {
        width: 20px;
        height: 140px;
        cursor: pointer;
        transition: transform 3s ease, box-shadow 0.3s ease;
    }

    .thumbnail .item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .thumbnail .item:active {
        transform: scale(1.1);
        box-shadow: 0 0 20px #d15c32;
    }

    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        align-items: center;
        justify-content: center;
        border-radius: 10%;
    }

    .thumbnail img:hover {
        opacity: 1;
        transform: none;
        box-shadow: none;
    }

    .thumbnail .item:active {
        transition: opacity 3s ease;
        opacity: 0.5;
    }

    /* ================= SEARCH ================= */
    .search {
        align-items: center;
        gap: 4px;
    }
    
    .srch {
        border-radius: 20px;
        width: 140px;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #646161;
        background-color: #1b1b1b7a;
        outline: none;
        transition: all 0.3s ease;
    }
    
    .search :hover{
        border-color: #d15c32;

    }

    .srch-btn {
        padding: 6px 10px;
        border-radius: 15px;
        border: 1px solid #ffffff;
        background: #eb5620e3;
        color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .srch-btn:hover {
        transform: none;
        background: #eb5620e3;
        border: 1px solid #ffffff;
    }

    .srch-btn:active {
        transform: scale(1.05);
        background: #ff6424;
        border-bottom: 2px solid #ffffff;
    }

    .bx.bx-search-alt-2{
        align-items: center;
        justify-content: center;
    }

    .buynow-btn {
        display: none;
    }

    .login-btn {
        display: none;
    }

    .icon-cart {
        position: relative;
        cursor: pointer;
    }
    
    .icon-cart svg {
        width: 26px;
    }
    
    .icon-cart span {
        position: absolute;
        top: 18px;
        right: -9px;
        background: rgb(94, 92, 92);
        color: #fff;
        font-size: 11px;
        padding: 3px 3px;
        border-radius: 50%;
    }

}


/* ================= REMOVE CLICK/FOCUS HIGHLIGHT ================= */

/* Remove tap highlight on mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

