/* =============================================
   Neoedo — CUSTOM STYLES
   Bootstrap 5 + Custom
   ============================================= */

/* ---- Google Font Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray-mid: #888888;
    --color-gray-border: #e0e0e0;
    --font-primary: 'Inter', sans-serif;
    --font-script: 'Playfair Display', serif;
    --navbar-height: 64px;
    --ann-height: 40px;
    --transition-base: 0.3s ease;
}

/* ---- Global Reset ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-black);
    background: var(--color-white);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */
.announcement-bar {
    background-color: var(--color-black);
    color: var(--color-white);
    height: var(--ann-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    /* z-index: 1100; */
}

.announcement-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.ann-messages-wrapper {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.ann-messages {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.ann-message {
    min-width: 100%;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 48px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ann-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s;
    font-size: 0.85rem;
    z-index: 2;
}

.ann-btn:hover {
    opacity: 0.7;
}

/* =============================================
   NAVBAR
   ============================================= */
.main-navbar {
    border-bottom: 1px solid var(--color-gray-border);
    height: var(--navbar-height);
    transition: box-shadow 0.3s ease;
    z-index: 1050;
    top: 0;
}

.main-navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.brand-logo {
    display: flex;
    align-items: center;
    padding: 0;
    height: 100%;
}

.brand-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.brand-logo:hover img {
    transform: scale(1.03);
}

@media (max-width: 576px) {
    .brand-logo img {
        height: 34px;
    }
}

.nav-link-custom {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-black) !important;
    padding: 0.4rem 0.6rem !important;
    letter-spacing: 0.01em;
    position: relative;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--color-black);
    transition: width 0.3s ease;
}

.nav-link-custom:hover::after {
    width: 80%;
}

/* Cart Icon */
.cart-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 0.6rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
}

/* Search Bar */
.search-bar-wrapper {
    display: none;
    width: 100%;
    padding: 10px 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-border);
    animation: slideDown 0.3s ease;
}

.search-bar-wrapper.active {
    display: block;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-input {
    border-radius: 0;
    border: 1px solid var(--color-black);
    font-size: 0.9rem;
    box-shadow: none !important;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--navbar-height) - var(--ann-height));
    min-height: 500px;
    overflow: hidden;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.15) 60%,
            rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.hero-shop-link {
    display: inline-block;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    transition: border-color 0.3s ease, opacity 0.3s ease;
}

.hero-shop-link:hover {
    opacity: 0.8;
    border-color: var(--color-white);
    color: var(--color-white);
}

/* =============================================
   LIMITED COLLECTION SECTION
   ============================================= */
.limited-collection-section {
    background: var(--color-white);
}

.section-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-black);
}

/* Product Card */
.product-card {
    cursor: pointer;
}

.product-card:hover .product-name {
    text-decoration: underline;
}

/* Product Image Carousel */
.product-img-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: var(--color-gray-light);
    aspect-ratio: 3 / 4;
}

.product-img-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-img-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Carousel Arrows */
.product-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease;
    font-size: 0.8rem;
    color: var(--color-black);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

.product-img-carousel:hover .product-carousel-arrow {
    opacity: 1;
}

.product-carousel-arrow:hover {
    background: var(--color-white);
}

/* Carousel Dots */
.product-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}

.product-carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.product-carousel-dots .dot.active {
    background: var(--color-white);
    transform: scale(1.3);
}

/* Product Info */
.product-info {
    padding: 0 2px;
}

.product-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

.product-price {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-black);
    margin: 0;
}

/* =============================================
   VIDEO CAROUSEL SECTION
   ============================================= */
.video-carousel-section {
    background: var(--color-white);
    overflow: hidden;
}

.videoSwiper {
    padding: 0 20px 50px !important;
    overflow: visible !important;
}

.video-slide {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.video-slide-inner {
    position: relative;
    aspect-ratio: 9 / 14;
    background: var(--color-black);
    border-radius: 10px;
    overflow: hidden;
}

.slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.slide-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    color: var(--color-white);
    z-index: 2;
}

.slide-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
    opacity: 0.9;
}

.slide-title {
    font-family: var(--font-script);
    font-size: 1.3rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    margin: 0;
}

/* Swiper Navigation */
.video-swiper-prev,
.video-swiper-next {
    color: var(--color-black) !important;
    background: var(--color-white);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    top: 45% !important;
}

.video-swiper-prev::after,
.video-swiper-next::after {
    font-size: 0.85rem !important;
    font-weight: 700;
}

.video-swiper-prev {
    left: 24px !important;
}

.video-swiper-next {
    right: 24px !important;
}

/* Swiper Pagination */
.video-swiper-pagination {
    bottom: 16px !important;
}

.video-swiper-pagination .swiper-pagination-bullet {
    background: var(--color-black);
    opacity: 0.25;
    width: 6px;
    height: 6px;
}

.video-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 3px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-border);
}

.footer-brand-script {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-black);
    letter-spacing: 0.02em;
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: 1.25rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.85rem;
}

.footer-list a {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--color-black);
    transition: opacity 0.2s ease;
}

.footer-list a:hover {
    opacity: 0.6;
}

/* Newsletter */
.newsletter-input-group {
    border: 1px solid var(--color-black);
    border-radius: 30px;
    overflow: hidden;
}

.newsletter-input {
    border: none !important;
    border-radius: 30px 0 0 30px !important;
    padding: 12px 20px;
    font-size: 0.88rem;
    box-shadow: none !important;
    background: var(--color-white);
}

.newsletter-btn {
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 50% !important;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    transition: background 0.3s ease;
    margin: 2px;
}

.newsletter-btn:hover {
    background: #333;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--color-gray-border);
}

.footer-copyright {
    font-size: 0.78rem;
    color: var(--color-gray-mid);
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
    .hero-section {
        height: 70vh;
        min-height: 400px;
    }

    .main-navbar {
        height: auto;
        padding: 12px 0;
    }

    .navbar-collapse {
        padding: 16px 0;
        border-top: 1px solid var(--color-gray-border);
        margin-top: 12px;
    }

    .nav-link-custom {
        padding: 8px 0 !important;
        border-bottom: 1px solid var(--color-gray-border);
    }

    .cart-icon-wrapper {
        border-bottom: none !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 60vh;
        min-height: 350px;
    }

    .ann-message {
        font-size: 0.65rem;
        letter-spacing: 0.06em;
    }

    .footer-brand-script {
        font-size: 2.5rem;
    }

    .videoSwiper {
        padding: 0 12px 50px !important;
    }

    .video-swiper-prev,
    .video-swiper-next {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 55vh;
    }

    .section-title {
        font-size: 0.85rem;
    }
}

/* =============================================
   UTILITIES & ANIMATIONS
   ============================================= */

/* Fade in on scroll */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading placeholder */
.img-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}