/* ==========================================
   CSS RESET & BASE STYLES
   ========================================== */

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

:root {
    /* Sireel Brand Colors */
    --color-orange: #FF8C42;
    --color-dark-orange: #E67A30;
    --color-black: #000000;
    --color-primary: #191817;
    --color-secondary: #555555;
    --color-white: #FFFFFF;
    --color-light-gray: #FAFAFA;
    --color-border: #E5E5E5;

    /* Typography */
    --font-primary: 'Lexend Deca', Arial, Helvetica, sans-serif;

    /* Header heights */
    --header-height-mobile: 60px;
    --header-height-desktop: 100px;

    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-medium: 400ms ease;
    --transition-slow: 600ms ease;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==========================================
   STICKY HEADER (Hidden until scroll)
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.header.header-visible {
    transform: translateY(0);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--header-height-mobile);
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .header-container {
        height: 60px;
        padding: 0 2.25rem;
    }
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-img {
    height: 30px;
    width: auto;
}

@media (min-width: 768px) {
    .logo-img {
        height: 35px;
    }
}

.menu-toggle {
    display: none;
}

.hamburger {
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    position: relative;
    transition: background-color var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: transform var(--transition-medium);
}

.hamburger::before {
    transform: translateY(-7px);
}

.hamburger::after {
    transform: translateY(7px);
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}

.nav-icons {
    display: none;
}

.icon-btn {
    padding: 0.5rem;
    color: var(--color-primary);
    transition: color var(--transition-fast);
    position: relative;
}

.icon-btn:hover {
    color: var(--color-orange);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--color-orange);
    color: var(--color-white);
    font-size: 0.625rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.primary-nav {
    display: none;
}

@media (min-width: 1024px) {
    .primary-nav {
        display: flex;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        justify-content: center;
        align-items: center;
        pointer-events: none;
    }
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
    pointer-events: auto;
}

.nav-left {
    padding-right: 6rem;
    transform: translateX(-37px);
}

.nav-right {
    padding-left: 6rem;
}

.nav-list li a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    position: relative;
    transition: opacity var(--transition-fast);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width var(--transition-medium);
}

.nav-list li a:hover::after {
    width: 100%;
}

@media (max-width: 1023px) {
    .primary-nav {
        position: fixed;
        top: var(--header-height-mobile);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-white);
        transform: translateX(-100%);
        transition: transform var(--transition-medium);
        overflow-y: auto;
    }

    .primary-nav.active {
        display: block;
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 2rem 1rem;
    }

    .nav-list li a {
        font-size: 1.125rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-border);
    }
}

/* ==========================================
   VIDEO HERO SECTION
   ========================================== */

.video-hero {
    position: relative;
    height: 100vh;
    margin-top: 0;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.video-content {
    position: absolute;
    bottom: 4rem;
    left: 2rem;
    z-index: 2;
    color: var(--color-white);
}

@media (min-width: 768px) {
    .video-content {
        bottom: 6rem;
        left: 3rem;
    }
}

.video-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
    color: var(--color-orange);
}

.video-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .video-title {
        font-size: 3.5rem;
    }
}

.video-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 500px;
}

@media (min-width: 768px) {
    .video-subtitle {
        font-size: 1.125rem;
    }
}

.btn-video {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: all var(--transition-medium);
}

.btn-video:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* ==========================================
   BESTSELLERS SECTION
   ========================================== */

.bestsellers-section {
    padding: 4rem 0 5rem;
    background-color: var(--color-white);
}

@media (min-width: 768px) {
    .bestsellers-section {
        padding: 6rem 0 7rem;
    }
}

.bestsellers-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bestsellers-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .bestsellers-title {
        font-size: 2rem;
        margin-bottom: 4rem;
    }
}

.bestsellers-carousel {
    position: relative;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-medium);
    color: var(--color-primary);
}

.carousel-nav:hover {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    color: var(--color-white);
}

.carousel-prev {
    left: -24px;
}

.carousel-next {
    right: -24px;
}

@media (max-width: 768px) {
    .carousel-nav {
        display: none;
    }
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
}

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

.bestseller-card {
    flex: 0 0 auto;
    width: 200px;
    cursor: pointer;
    transition: transform var(--transition-medium);
}

@media (min-width: 768px) {
    .bestseller-card {
        width: 250px;
    }
}

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

.bestseller-image {
    aspect-ratio: 1;
    background-color: var(--color-light-gray);
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 4px;
}

.bestseller-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.bestseller-card:hover .bestseller-image img {
    transform: scale(1.05);
}

.bestseller-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.bestseller-category {
    font-size: 0.875rem;
    color: var(--color-secondary);
}

/* ==========================================
   FULL-PAGE PRODUCT FEATURES
   ========================================== */

.full-page-feature {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.feature-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.feature-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    padding: 2rem;
    max-width: 500px;
}

@media (min-width: 768px) {
    .feature-content {
        padding: 3rem;
    }
}

.feature-content-right {
    margin-left: auto;
    margin-right: 4rem;
    text-align: right;
}

.feature-content-left {
    margin-left: 4rem;
    margin-right: auto;
    text-align: left;
}

@media (max-width: 768px) {
    .feature-content-right,
    .feature-content-left {
        margin: 0 2rem;
        text-align: left;
    }
}

.feature-label {
    display: inline-block;
    font-size: 0.625rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 3.5rem;
    }
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

@media (min-width: 768px) {
    .feature-description {
        font-size: 1.125rem;
    }
}

.btn-feature {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: all var(--transition-medium);
}

.btn-feature:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 768px) {
    .footer-container {
        padding: 0 3rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 3rem;
    }
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: var(--color-white);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--color-orange);
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-orange);
}

.region-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    transition: color var(--transition-fast);
}

.region-selector:hover {
    color: var(--color-orange);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ==========================================
   RESPONSIVE UTILITIES
   ========================================== */

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* ==========================================
   DISCOVERY CARD LINKS
   ========================================== */

.bo-discovery-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bo-discovery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bo-discovery-card h4 {
    transition: color 0.3s ease;
}

.bo-discovery-card:hover h4 {
    color: var(--color-orange);
}
