/* Home Page Slider Styles */

.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background-color: var(--bg-cream);
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

/* Left Content Side */
.slide-content {
    flex: 1;
    background-color: var(--bg-cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    position: relative;
}

.slide-content h1 {
    font-size: clamp(40px, 6vw, 75px);
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 2px;
    font-family: var(--font-serif);
}

.slide-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.slide-divider .line {
    width: 60px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.slide-divider i {
    font-size: 10px;
    color: var(--primary-color);
}

.slide-content p {
    font-size: 18px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 50px;
}

.btn-explore {
    background: var(--bg-dark);
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    transition: 0.3s;
}

.btn-explore:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Right Image Side */
.slide-image {
    flex: 1;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    font-size: 24px;
    color: var(--text-dark);
    opacity: 0.3;
    transition: 0.3s;
}

.nav-btn:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Pagination Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 8%;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    width: 30px;
    border-radius: 4px;
    background: var(--text-dark);
}

/* Category Section Styles */
.categories-section {
    padding: 80px 0;
    background-color: var(--bg-cream);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 5%;
}

.section-header h2 {
    font-size: 32px;
    font-family: var(--font-serif);
    color: var(--text-dark);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.category-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding: 20px 5% 40px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.category-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.category-item {
    flex: 0 0 320px;
    height: 420px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item:hover img {
    transform: scale(1.1);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: 0.4s;
}

.category-info h3 {
    font-size: 22px;
    font-family: var(--font-serif);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.category-info span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    width: fit-content;
    padding-bottom: 3px;
}

/* Our Story Section */
.story-section {
    display: flex;
    background-color: var(--bg-cream);
    min-height: 600px;
}

.story-image {
    flex: 2;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    background-color: var(--bg-cream);
}

.story-content .sub-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
}

.story-content h2 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-family: var(--font-serif);
    font-weight: 400;
}

.story-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.btn-story {
    background: var(--bg-dark);
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    transition: 0.3s;
}

.btn-story:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Animation Styles */
.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-fade-up {
    transform: translateY(50px);
}

.reveal-fade-left {
    transform: translateX(-50px);
}

.reveal-fade-right {
    transform: translateX(50px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered animation for feature items */
.feature-item:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-item:nth-child(2) {
    transition-delay: 0.2s;
}

.feature-item:nth-child(3) {
    transition-delay: 0.3s;
}

.feature-item:nth-child(4) {
    transition-delay: 0.4s;
}

/* Staggered animation for category items */
.category-item:nth-child(1) {
    transition-delay: 0.1s;
}

.category-item:nth-child(2) {
    transition-delay: 0.2s;
}

.category-item:nth-child(3) {
    transition-delay: 0.3s;
}

.category-item:nth-child(4) {
    transition-delay: 0.4s;
}

.category-item:nth-child(5) {
    transition-delay: 0.5s;
}

.category-item:nth-child(6) {
    transition-delay: 0.6s;
}

/* Bestseller Section */
.bestseller-section {
    padding: 0px 0;
    background-color: var(--bg-cream);
}

.product-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 5% 40px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
}

.product-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.product-card {
    flex: 0 0 320px;
    background: transparent;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 0.8;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 4px;
    /* Slight rounding to match luxury feel */
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-info {
    text-align: center;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: capitalize;
}

.product-info .price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.current-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.old-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.bestseller-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FFF9E6;
    color: #D97706;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 5;
    border-radius: 2px;
}

.sale-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e11d48;
    color: white;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 5;
    border-radius: 2px;
}

.scroll-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scroll-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.scroll-btn.prev {
    left: 10px;
}

.scroll-btn.next {
    right: 10px;
}

/* Staggered animation for products */
.product-card:nth-child(1) {
    transition-delay: 0.1s;
}

.product-card:nth-child(2) {
    transition-delay: 0.2s;
}

.product-card:nth-child(3) {
    transition-delay: 0.3s;
}

.product-card:nth-child(4) {
    transition-delay: 0.4s;
}

.product-card:nth-child(5) {
    transition-delay: 0.5s;
}

.product-card:nth-child(6) {
    transition-delay: 0.6s;
}

.product-card:nth-child(7) {
    transition-delay: 0.7s;
}

.product-card:nth-child(8) {
    transition-delay: 0.8s;
}

/* Features Section */
.features-section {
    padding: 60px 5%;
    background-color: var(--bg-cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-item i {
    font-size: 32px;
    color: var(--primary-color);
    opacity: 0.8;
}

.feature-info h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.feature-info p {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.feature-divider-line {
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    opacity: 0.2;
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-slider {
        height: 70vh;
    }

    .slide-content {
        padding: 0 5%;
    }

    .slide-content h1 {
        font-size: 48px;
    }

    .category-item {
        flex: 0 0 280px;
        height: 380px;
    }

    .story-content {
        padding: 0 5%;
    }

    .story-content h2 {
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        min-height: 80vh;
    }

    .slide {
        flex-direction: column-reverse;
    }

    .slide-content {
        padding: 60px 20px;
        text-align: center;
        align-items: center;
    }

    .slide-image {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 36px;
    }

    .slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }

    .slider-nav {
        padding: 0 10px;
    }

    .nav-btn {
        font-size: 20px;
        opacity: 0.5;
    }

    .categories-section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .category-item {
        flex: 0 0 250px;
        height: 340px;
    }

    .story-section {
        flex-direction: column;
    }

    .story-image {
        height: 400px;
    }

    .story-content {
        padding: 60px 20px;
        text-align: center;
        align-items: center;
    }

    .story-content h2 {
        font-size: 32px;
    }

    .features-section {
        padding: 40px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-item {
        justify-content: center;
        text-align: left;
    }
}

/* ─────────────────────────────────────────────────────────────
   VIDEO SHOWCASE SECTION
───────────────────────────────────────────────────────────── */
.video-showcase-section {
    padding: 80px 0 60px;
    background-color: var(--bg-cream);
    overflow: hidden;
}

.video-showcase-section .section-header h2 {
    color: var(--text-dark);
    letter-spacing: 6px;
    font-size: 30px;
}

.video-section-sub {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 10px;
    display: block;
}

.video-showcase-section .slide-divider .line {
    background: rgba(0, 0, 0, 0.1);
}

.video-showcase-section .slide-divider i {
    color: var(--primary-color);
}

/* ── Scrollable track ──────────────────────────────────────── */
.video-showcase-wrapper {
    position: relative;
    margin-top: 12px;
}

.video-track {
    display: flex;
    gap: 20px;
    padding: 30px 5% 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.video-track::-webkit-scrollbar {
    display: none;
}

/* ── Individual card ───────────────────────────────────────── */
.video-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-card:hover {
    transform: translateY(-8px);
}

.video-card-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    /* portrait – reels / TikTok style */
    border-radius: 12px;
    overflow: hidden;
    background: #f0ede6;
}

/* ── Video element ─────────────────────────────────────────── */
.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-card:hover .showcase-video {
    transform: scale(1.04);
}

/* ── Play icon overlay (idle) ──────────────────────────────── */
.video-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.3s, opacity 0.3s;
    pointer-events: none;
}

.video-card:hover .video-card-overlay {
    background: rgba(0, 0, 0, 0.05);
}

.video-play-icon {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}

.video-card:hover .video-play-icon {
    transform: scale(0.8);
    opacity: 0;
}

/* ── Info panel at bottom of card ─────────────────────────── */
.video-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 48px 16px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.video-card-label {
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    opacity: 0.9;
}

.video-card-title {
    font-size: 14px;
    font-family: var(--font-serif);
    color: #fff;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

.video-card-price {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

/* ── Dots navigation ───────────────────────────────────────── */
.video-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-bottom: 10px;
}

.video-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s, border-radius 0.3s;
}

.video-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s, border-radius 0.3s;
}

.video-dot.active {
    width: 24px;
    border-radius: 3px;
    background: var(--primary-color);
}

/* ── Stagger for video cards ───────────────────────────────── */
.video-card:nth-child(1) {
    transition-delay: 0.05s;
}

.video-card:nth-child(2) {
    transition-delay: 0.12s;
}

.video-card:nth-child(3) {
    transition-delay: 0.19s;
}

.video-card:nth-child(4) {
    transition-delay: 0.26s;
}

.video-card:nth-child(5) {
    transition-delay: 0.33s;
}

.video-card:nth-child(6) {
    transition-delay: 0.40s;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .video-card {
        flex: 0 0 200px;
    }

    .video-showcase-section .section-header h2 {
        font-size: 22px;
    }
}