:root {
    --primary: #8B0000;
    --secondary: #4B2E2B;
    --accent: #6BA368;
    --cream: #FAF8F5;
    --dark: #1F1F1F;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--cream);
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .hero-section {
        padding-bottom: 40vh;
    }
    
    .hero-content-wrapper {
        padding-top: 3rem;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
    
    .hero-section {
        padding-bottom: 45vh;
    }
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

.bg-cream {
    background-color: var(--cream);
}

.text-primary {
    color: var(--primary);
}

.text-dark {
    color: var(--dark);
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 35vh;
    z-index: 1;
}

.hero-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    animation: zoomIn 20s ease-in-out infinite alternate;
    filter: brightness(1);
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-mask-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 100% at center, transparent 30%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 1;
    visibility: visible;
    z-index: 0;
    pointer-events: none;
}

.hero-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    transition: background 0.2s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.hero-bg .bg-gradient-to-b {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-flash.flash {
    background: rgba(255, 255, 255, 0.6);
    animation: flash 0.4s ease-in-out;
}

@keyframes flash {
    0% {
        background: rgba(255, 255, 255, 0);
    }
    50% {
        background: rgba(255, 255, 255, 0.7);
    }
    100% {
        background: rgba(255, 255, 255, 0);
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content-wrapper {
    position: relative;
    min-height: 200px;
    width: 100%;
    text-align: center;
    padding-top: 2rem;
}

.hero-content-item {
    width: 100%;
    transition: opacity 0.6s ease, transform 0.6s ease;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content-item.active {
    position: relative;
    opacity: 1;
}

.hero-title {
    text-align: center !important;
    display: block;
    width: 100%;
    margin: 0 auto;
    line-height: 1.2;
    padding: 0;
    word-spacing: normal;
    letter-spacing: normal;
}

.hero-tagline {
    text-align: center !important;
    display: block;
    width: 100%;
    margin: 0 auto;
    line-height: 1.5;
    padding: 0;
    word-spacing: normal;
    letter-spacing: normal;
}

.hero-title .letter,
.hero-tagline .letter {
    display: inline-block;
    white-space: normal;
    vertical-align: baseline;
    position: relative;
    line-height: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    opacity: 1;
}

.hero-content-item.active {
    visibility: visible !important;
}

.hero-content-item.active .hero-title,
.hero-content-item.active .hero-tagline {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-content-item:not(.active) {
    visibility: hidden !important;
    pointer-events: none !important;
}

.hero-content-item.active .hero-title .letter,
.hero-content-item.active .hero-tagline .letter {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-content-item:not(.active) .hero-title,
.hero-content-item:not(.active) .hero-tagline,
.hero-content-item:not(.active) .hero-title .letter,
.hero-content-item:not(.active) .hero-tagline .letter {
    visibility: hidden !important;
    opacity: 0 !important;
}

.hero-title .letter-space,
.hero-tagline .letter-space {
    display: inline-block;
    width: 0.3em;
    position: relative;
    vertical-align: baseline;
}

.hero-title br,
.hero-tagline br {
    display: block;
    content: "";
    margin: 0;
    width: 100%;
    height: 0;
    line-height: 0.5em;
}

.hero-content-item .hero-title,
.hero-content-item .hero-tagline {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
}

@media (max-width: 768px) {
    .hero-section {
        padding-bottom: 25vh;
    }
    
    .hero-content-wrapper {
        min-height: 180px;
        padding-top: 1rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-tagline {
        font-size: 1.125rem !important;
    }
    
    .mobile-hero-text {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .mobile-hero-text .letter {
        display: inline !important;
        opacity: 1 !important;
    }
    
    .hero-title.mobile-hero-text,
    .hero-tagline.mobile-hero-text {
        animation: none !important;
    }
    
    .hero-content-item.active .hero-title.mobile-hero-text,
    .hero-content-item.active .hero-tagline.mobile-hero-text {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.categories-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.categories-bg-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 5% 10%, rgba(139, 0, 0, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 95% 90%, rgba(107, 163, 104, 0.02) 0%, transparent 40%);
    pointer-events: none;
}

.categories-modern-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    position: relative;
    z-index: 10;
}

.category-item-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
}

.category-item-left {
    direction: ltr;
}

.category-item-left .category-image-modern {
    order: 1;
}

.category-item-left .category-info-modern {
    order: 2;
}

.category-item-right {
    direction: ltr;
}

.category-item-right .category-image-modern {
    order: 2;
}

.category-item-right .category-info-modern {
    order: 1;
}

.category-image-modern {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item-modern:hover .category-image-modern {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

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

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

.category-overlay-modern {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), rgba(107, 163, 104, 0.1));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.category-item-modern:hover .category-overlay-modern {
    opacity: 1;
}

.category-info-modern {
    padding: 2rem;
    position: relative;
}

.category-tag {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(139, 0, 0, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(139, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.category-item-modern:hover .category-tag {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateX(10px);
}

.category-title-modern {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.category-item-modern:hover .category-title-modern {
    color: var(--primary);
}

.category-title-modern::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.6s ease;
}

.category-item-modern:hover .category-title-modern::after {
    width: 100%;
}

.category-desc {
    max-width: 500px;
    line-height: 1.8;
}

.category-link-modern {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 14px 28px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.category-link-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.category-link-modern:hover::before {
    left: 0;
}

.category-link-modern:hover {
    color: white;
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.category-link-modern svg {
    transition: transform 0.4s ease;
}

.category-link-modern:hover svg {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .category-item-modern {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .category-item-right {
        direction: ltr;
    }
    
    .category-image-modern {
        height: 400px;
    }
    
    .category-info-modern {
        order: 2;
    }
    
    .category-image-modern {
        order: 1;
    }
}

@media (max-width: 768px) {
    .categories-modern-grid {
        gap: 4rem;
    }
    
    .category-image-modern {
        height: 300px;
        border-radius: 24px;
    }
    
    .category-title-modern {
        font-size: 2.5rem !important;
    }
    
    .category-info-modern {
        padding: 1rem;
    }
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

.product-card.cursor-pointer {
    cursor: pointer;
}

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

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.add-to-cart-btn {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.product-card:hover .add-to-cart-btn {
    bottom: 20px;
}

.add-to-cart-btn:hover {
    background: var(--secondary);
    transform: translateX(-50%) scale(1.05);
}

.cart-icon-btn {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-icon-btn:hover {
    transform: scale(1.1) rotate(90deg);
    background: var(--accent);
}

.benefits-section {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    margin: 0 !important;
    padding: 80px 0 !important;
}

.benefits-bg-image {
    position: absolute;
    top: -32%;
    left: 0;
    right: 0;
    width: 100%;
    height: 153%;
    margin: 0;
    padding: 0;
    background-image: url('../image/why.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 1;
    will-change: transform;
    transform-origin: center center;
}

.benefits-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.75) 0%, rgba(75, 46, 43, 0.8) 0%);
    z-index: 2;
}

.benefit-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 1);
}

.benefit-icon {
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.2);
    color: var(--accent);
}

.benefit-card h3 {
    color: var(--dark);
}

.benefit-card p {
    color: var(--dark);
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.testimonials-section {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.testimonials-carousel-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
}

.testimonials-carousel .clone-slide {
    pointer-events: none;
}

.testimonial-slide {
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .testimonial-slide {
        width: 400px;
    }
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

.testimonials-section * {
    opacity: 1 !important;
    visibility: visible !important;
}

.testimonials-section .container {
    opacity: 1 !important;
    visibility: visible !important;
}

.testimonials-section h2,
.testimonials-section p {
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--dark) !important;
}

footer {
    background-color: rgb(31, 31, 31) !important;
    background: rgb(31, 31, 31) !important;
}

.footer-logo {
    transition: transform 0.3s ease;
    object-fit: contain;
    display: block;
    max-width: 100%;
}

.footer-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    footer .grid > div {
        text-align: center;
    }
    
    footer .grid > div > a {
        display: inline-block;
    }
    
    footer .grid > div ul {
        display: inline-block;
        text-align: center;
    }
    
    footer .flex {
        justify-content: center;
    }
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.cta-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.cta-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    }
    50% {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    }
}

.btn-cta {
    background: white;
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.3);
}

#navbar {
    background: rgb(31, 31, 31) !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 9999 !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
}

@media (min-width: 768px) {
    #navbar .hidden.md\:flex,
    #navbar [class*="hidden"][class*="md:flex"] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    #navbar .nav-link {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
    }
    
    #navbar.scrolled .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    #navbar.scrolled .nav-link:hover {
        color: rgba(255, 255, 255, 1) !important;
    }
    
    #navbar .md\:hidden {
        display: none !important;
    }
}

#navbar .container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

#navbar > div {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

#navbar .logo {
    flex-shrink: 0;
    z-index: 10;
    display: flex;
    align-items: center;
}

#navbar .logo img {
    transition: transform 0.3s ease;
    object-fit: contain;
    height: 48px;
    filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    width: auto;
    display: block;
}

#navbar .logo img:hover {
    transform: scale(1.05);
}

@media (min-width: 1024px) {
    #navbar .logo img {
        height: 50px;
    }
}

#navbar > div > div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
}

#navbar .hidden.md\\:flex {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    #navbar .hidden.md\\:flex {
        display: none !important;
    }
}

#navbar.scrolled {
    background: rgb(31, 31, 31) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.nav-link {
    position: relative;
    padding: 8px 12px;
    display: inline-block;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.nav-link.active {
    color: rgba(255, 255, 255, 1) !important;
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transition: width 0.3s ease;
}

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

#navbar .lang-switcher {
    position: relative;
    flex-shrink: 0;
}

#navbar .lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

#navbar .lang-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

#navbar .lang-btn:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.25);
}

.lang-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
}

.lang-btn-text {
    white-space: nowrap;
}

.lang-btn-chevron {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.lang-btn-mobile {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.lang-btn-mobile .lang-btn-icon {
    opacity: 0.9;
}

#navbar .lang-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    min-width: 150px;
    padding: 0.375rem 0;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 60;
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

#navbar .lang-dropdown-mobile {
    min-width: 130px;
    padding: 0.25rem 0;
}

.lang-dropdown-item {
    display: block;
    padding: 0.625rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.lang-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.lang-dropdown-item-active {
    background: rgba(139, 0, 0, 0.2);
    color: #fff;
    font-weight: 500;
}

.lang-dropdown-mobile .lang-dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark) !important;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.mobile-menu-btn {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(139, 0, 0, 0.2);
    border: 2px solid rgba(139, 0, 0, 0.5);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.mobile-menu-btn:hover {
    background: rgba(139, 0, 0, 0.3);
    border-color: rgba(139, 0, 0, 0.7);
    transform: scale(1.05);
}

.mobile-menu-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: var(--primary);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: white;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: white;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    z-index: 1000;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 50%, #ffffff 100%);
    opacity: 0.98;
}

.mobile-menu-bg::before {
    display: none;
}

.mobile-menu-bg::after {
    display: none;
}

@keyframes rotateBg {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.mobile-menu-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 100px 0 40px;
    overflow-y: auto;
}

.mobile-menu-header {
    text-align: center;
    padding: 0 32px 40px;
    border-bottom: 2px solid rgba(139, 0, 0, 0.1);
    margin-bottom: 40px;
}

.mobile-menu-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(139, 0, 0, 0.2));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.mobile-nav {
    flex: 1;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(139, 0, 0, 0.1);
    border-radius: 20px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(50px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.mobile-menu.active .mobile-nav-item {
    animation: slideInMenuItem 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.mobile-menu.active .mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active .mobile-nav-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu.active .mobile-nav-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu.active .mobile-nav-item:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu.active .mobile-nav-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideInMenuItem {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
   
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.15);
}

.mobile-nav-item:hover::before,
.mobile-nav-item.active::before {
    width: 100%;
}

.mobile-nav-item:hover .mobile-nav-arrow,
.mobile-nav-item.active .mobile-nav-arrow {
    transform: translateX(8px);
    opacity: 1;
}

.mobile-nav-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(107, 163, 104, 0.1) 100%);
    border-radius: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-nav-item:hover .mobile-nav-icon,
.mobile-nav-item.active .mobile-nav-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    transform: scale(1.1) rotate(5deg);
}

.mobile-nav-text {
    flex: 1;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.mobile-nav-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.mobile-menu-footer {
    margin-top: auto;
    padding: 40px 24px 0;
    position: relative;
}

.mobile-menu-pattern {
    height: 100px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(139, 0, 0, 0.03) 10px,
        rgba(139, 0, 0, 0.03) 20px
    );
    border-radius: 20px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    #navbar {
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }
    
    #navbar.scrolled {
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    }
    
    #navbar .logo img {
        height: 40px;
        transition: transform 0.3s ease;
        filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }
    
    #navbar .logo:hover img {
        transform: scale(1.05);
    }
    
    .mobile-menu-btn {
        width: 48px;
        height: 48px;
        gap: 5px;
    }
    
    .hamburger-line {
        width: 22px;
        height: 2.5px;
    }
    
    .mobile-menu {
        max-width: 100%;
    }
    
    .mobile-menu-content {
        padding: 90px 0 30px;
    }
    
    .mobile-nav {
        padding: 0 20px;
        gap: 10px;
    }
    
    .mobile-nav-item {
        padding: 18px 20px;
        font-size: 1rem;
        gap: 16px;
    }
    
    .mobile-nav-icon {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
    
    .mobile-menu-logo {
        height: 50px;
    }
    
    .mobile-menu-header {
        padding: 0 24px 30px;
        margin-bottom: 30px;
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(139, 0, 0, 0.4);
}

.back-to-top.show {
    display: flex;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

.btn-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.story-image {
    opacity: 1 !important;
    visibility: visible !important;
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    margin: 0 auto;
}

.story-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: cover;
    min-height: 300px;
    background-color: var(--cream);
    border-radius: 24px;
}

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

.welcome-section {
    background: linear-gradient(135deg, #FAF8F5 0%, #f5f2ed 100%);
    position: relative;
    min-height: 600px;
}

.welcome-bg-image {
    background-image: url('/spice/assets/image/bg.png');
    background-size: 400px auto;
    background-position: right top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 0.6;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.welcome-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../image/bg.png');
    background-size: 400px auto;
    background-position: right top;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
}

.welcome-bg-overlay {
    background: linear-gradient(135deg, rgba(250, 248, 245, 0.6) 0%, rgba(245, 242, 237, 0.7) 100%);
    z-index: 2;
}

.welcome-bg-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 163, 104, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(75, 46, 43, 0.1) 0%, transparent 50%);
    background-size: 600px 600px, 800px 800px, 500px 500px;
    animation: patternMove 20s ease-in-out infinite alternate;
    z-index: 3;
}

@keyframes patternMove {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    100% {
        background-position: 100% 100%, 0% 0%, 30% 70%;
    }
}

.welcome-badge {
    background: rgba(139, 0, 0, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid rgba(139, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(139, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(139, 0, 0, 0);
    }
}

.welcome-title span {
    position: relative;
    display: inline-block;
    animation: titleFloat 6s ease-in-out infinite;
}

.welcome-title span:first-child {
    animation-delay: 0s;
}

.welcome-title span:last-child {
    animation-delay: 1.5s;
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.welcome-feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.welcome-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.welcome-feature-card:hover::before {
    transform: scaleX(1);
}

.welcome-feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(139, 0, 0, 0.2);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), rgba(107, 163, 104, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.welcome-feature-card:hover .feature-icon-wrapper::after {
    opacity: 0.1;
}

.welcome-feature-card:hover .feature-icon-wrapper {
    transform: rotate(5deg) scale(1.1);
}

.welcome-feature-card:hover .feature-icon-wrapper svg {
    color: var(--primary);
    transform: scale(1.1);
}

.welcome-stats {
    margin-top: 60px;
}

.stat-card {
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: numberCount 2s ease-out;
}

.stat-label {
    position: relative;
    z-index: 1;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes numberCount {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero-section {
    position: relative;
    min-height: 85vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
}

.about-hero-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: imageSlide 20s ease-in-out infinite alternate;
}

@keyframes imageSlide {
    0% {
        transform: scale(1) translateX(0);
    }
    100% {
        transform: scale(1.15) translateX(20px);
    }
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 0, 0, 0.2) 0%, transparent 50%);
    background-size: 400px 400px, 600px 600px;
    animation: patternMove 15s ease-in-out infinite alternate;
}

@keyframes patternMove {
    0% {
        background-position: 0% 0%, 100% 100%;
    }
    100% {
        background-position: 100% 100%, 0% 0%;
    }
}

.about-badge {
    animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-hero-title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.about-hero-tagline {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-wave {
    pointer-events: none;
}

.story-timeline {
    position: relative;
    padding-left: 40px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary);
}

.timeline-year {
    opacity: 0.9;
}

.mission-vision-image {
    position: relative;
}

.mission-vision-image img,
.mission-vision-img {
    transition: transform 0.5s ease;
    max-height: 600px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.mission-vision-image:hover img,
.mission-vision-image:hover .mission-vision-img {
    transform: scale(1.05);
}

.mission-box,
.vision-box {
    padding: 30px;
    background: rgba(139, 0, 0, 0.03);
    border-radius: 20px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.vision-box {
    border-left-color: var(--accent);
}

.mission-box:hover,
.vision-box:hover {
    background: rgba(139, 0, 0, 0.06);
    transform: translateX(10px);
}

.mission-icon,
.vision-icon {
    transition: transform 0.3s ease;
}

.mission-box:hover .mission-icon,
.vision-box:hover .vision-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card {
    transition: all 0.3s ease;
}

.value-card:hover {
    background: white !important;
}

.value-card-icon {
    transition: transform 0.3s ease;
}

.value-card:hover .value-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-image-wrapper {
    position: relative;
}

.about-image-section img {
    transition: transform 0.5s ease;
}

.about-image-section:hover img {
    transform: scale(1.05);
}

.value-item {
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(139, 0, 0, 0.05);
    transform: translateX(10px);
}

.value-icon {
    flex-shrink: 0;
}

.process-card {
    padding: 40px 20px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-top-color: var(--primary);
}

.process-number {
    opacity: 0.9;
    line-height: 1;
}

.contact-hero-section {
    position: relative;
    min-height: 85vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-hero-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.contact-hero-mask {
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 1;
}

.contact-hero-image,
.shop-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: imageSlide 20s ease-in-out infinite alternate;
}

.shop-hero-section {
    position: relative;
    min-height: 85vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-hero-bg {
    position: absolute;
    inset: 0;
}

.shop-hero-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shop-badge {
    animation: badgeFloat 4s ease-in-out infinite;
}

.shop-hero-title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.shop-hero-tagline {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid transparent;
    background: transparent;
    color: var(--dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.95rem;
    line-height: 1.4;
    display: inline-block;
    opacity: 1;
    visibility: visible;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.sort-select {
    background: white;
    cursor: pointer;
}

.products-grid {
    gap: 30px;
}

.product-card {
    border: 1px solid rgba(0,0,0,0.05);
}

.product-image-wrapper {
    position: relative;
}

.product-image {
    transition: transform 0.5s ease;
}

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

.product-overlay {
    transition: opacity 0.3s ease;
}

.product-badge {
    z-index: 2;
}

.add-to-cart-btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

@keyframes imageSlide {
    0% {
        transform: scale(1) translateX(0);
    }
    100% {
        transform: scale(1.15) translateX(20px);
    }
}

.contact-hero-pattern {
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.05) 49%, rgba(255,255,255,0.05) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.05) 49%, rgba(255,255,255,0.05) 51%, transparent 52%);
    background-size: 60px 60px;
    opacity: 0.3;
    z-index: 0;
}

.contact-hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: shapeFloat 20s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
    animation-delay: 10s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.15;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.2;
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
        opacity: 0.15;
    }
}

.contact-hero-icon {
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

.contact-hero-title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 10;
}

.contact-hero-tagline {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7), 0 1px 5px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.contact-quick-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.contact-quick-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-wave-bottom {
    pointer-events: none;
}

.contact-form {
    max-width: 600px;
}

.contact-input {
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-input:focus {
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.contact-info-card {
    position: sticky;
    top: 100px;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-map {
    transition: all 0.3s ease;
    margin-top: 5rem;
}

.contact-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.contact-map-iframe:hover {
    filter: grayscale(0) opacity(1) !important;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-tagline {
        font-size: 1.25rem !important;
    }
    
    .category-image-wrapper {
        height: 250px;
    }
    
    .welcome-title {
        font-size: 3rem !important;
    }
    
    .welcome-feature-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .about-hero-title {
        font-size: 3rem !important;
    }
    
    .contact-hero-title {
        font-size: 3rem !important;
    }
    
    .story-timeline {
        padding-left: 20px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .contact-info-card {
        position: relative;
        top: 0;
    }
    
    .contact-hero-section {
        min-height: 60vh !important;
        padding: 40px 0;
    }
    
    .contact-hero-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 20px !important;
    }
    
    .contact-hero-icon svg {
        width: 32px !important;
        height: 32px !important;
    }
    
    .contact-hero-title {
        font-size: 2.5rem !important;
        margin-bottom: 20px !important;
        line-height: 1.2 !important;
    }
    
    .contact-hero-tagline {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
        padding: 0 10px;
        line-height: 1.5 !important;
    }
    
    .contact-quick-item {
        min-width: 100% !important;
        width: 100%;
        padding: 15px 20px !important;
        margin-bottom: 12px;
        border-radius: 30px !important;
        font-size: 0.9rem;
    }
    
    .contact-quick-item svg {
        width: 20px !important;
        height: 20px !important;
        margin-bottom: 8px !important;
    }
    
    .contact-quick-item div {
        font-size: 0.875rem !important;
        word-break: break-word;
    }
    
    .contact-hero-content {
        padding: 30px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .contact-hero-content.container {
        margin-top: 20px;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .contact-wave-bottom {
        height: 24px !important;
    }
    
    .filter-btn {
        padding: 12px 18px;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--dark) !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 2px solid rgba(139, 0, 0, 0.2) !important;
        border-radius: 50px;
        white-space: nowrap;
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
        line-height: 1.3;
        min-height: 44px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .filter-btn:hover {
        background: rgba(139, 0, 0, 0.1) !important;
        color: var(--primary) !important;
        border-color: rgba(139, 0, 0, 0.4) !important;
    }
    
    .filter-btn.active {
        background: var(--primary) !important;
        color: white !important;
        border-color: var(--primary) !important;
        box-shadow: 0 4px 12px rgba(139, 0, 0, 0.25);
    }
    
    section.py-12.bg-white {
        padding: 16px 0;
    }
    
    section.py-12.bg-white .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    section.py-12.bg-white .flex {
        flex-wrap: wrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 4px;
    }
    
    section.py-12.bg-white .flex::-webkit-scrollbar {
        display: none;
    }
    
    section.py-12.bg-white .flex:first-child {
        margin-bottom: 12px;
    }
    
    .sort-select {
        width: 100%;
        max-width: 200px;
        padding: 12px 36px 12px 16px;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--dark) !important;
        background: white !important;
        border: 2px solid rgba(139, 0, 0, 0.2) !important;
        border-radius: 12px;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238B0000' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 16px center !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .sort-select option {
        color: var(--dark);
        background: white;
        padding: 10px;
    }
}

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.product-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: white;
    border-radius: 32px;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.9) translateY(50px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
}

.product-modal.active .product-modal-container {
    transform: scale(1) translateY(0);
}

.product-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--dark);
}

.product-modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal-image-wrapper {
    position: relative;
    background: linear-gradient(135deg, var(--cream) 0%, #f5f2ed 100%);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 500px;
}

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

.product-modal-info {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.product-modal-header {
    margin-bottom: 32px;
}

.product-modal-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-modal-badge.bg-primary {
    background: var(--primary);
    color: white;
}

.product-modal-badge.bg-accent {
    background: var(--accent);
    color: white;
}

.product-modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.product-modal-description-wrapper {
    flex: 1;
    margin-bottom: 32px;
}

.product-modal-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.product-modal-actions {
    display: flex;
    gap: 16px;
}

.product-modal-add-cart {
    flex: 1;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-modal-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .product-modal {
        padding: 0;
    }

    .product-modal-container {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        height: 100vh;
    }

    .product-modal-content {
        grid-template-columns: 1fr;
        max-height: 100vh;
    }

    .product-modal-image-wrapper {
        min-height: 300px;
        max-height: 40vh;
    }

    .product-modal-image {
        min-height: 300px;
    }

    .product-modal-info {
        padding: 32px 24px;
        max-height: 60vh;
        overflow-y: auto;
    }

    .product-modal-title {
        font-size: 1.875rem;
    }

    .product-modal-price {
        font-size: 1.5rem;
    }

    .product-modal-description {
        font-size: 1rem;
    }

    .product-modal-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
    }
}

.spice-hero-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.hero-image-placeholder.hidden {
    opacity: 0;
    visibility: hidden;
}

.hero-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    will-change: opacity;
}

#spice-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    animation: videoZoom 30s ease-in-out infinite alternate;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

#spice-video.loaded {
    opacity: 1;
}

@keyframes videoZoom {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.video-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.video-grain-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.hero-text-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    margin-top: 10vh;
}

.spice-hero-content {
    text-align: center;
}

.hero-main-text {
    margin-bottom: 3rem;
}

.spice-hero-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.text-line-1 {
    display: inline-block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    animation: fadeInRotate 1.2s ease-out 0.2s both, shimmerText 5s ease-in-out 2s infinite;
    transform-origin: center;
}

.text-line-2 {
    display: inline-block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: -0.02em;
    animation: fadeInRotate 1.2s ease-out 0.5s both, shimmerText 5s ease-in-out 2.5s infinite;
    transform-origin: center;
}

@keyframes fadeInRotate {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes shimmerText {
    0%, 100% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    25% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 255, 255, 0.4);
    }
    75% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.2);
    }
}

.spice-hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.75rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInBlur 1.5s ease-out 0.8s both, gentleWave 6s ease-in-out 2.5s infinite;
    display: inline-block;
}

@keyframes fadeInBlur {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes gentleWave {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.01);
    }
}

.hero-action-area {
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spice-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.spice-cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.button-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.spice-cta-button:hover .button-arrow {
    transform: translateX(5px);
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounceHint 2s ease-in-out infinite;
}

@keyframes bounceHint {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-text-wrapper {
        padding: 0 1.5rem;
        margin-top: 15vh;
    }
    
    .hero-main-text {
        margin-bottom: 2rem;
    }
    
    .spice-cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .scroll-hint {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text-wrapper {
        margin-top: 20vh;
    }
    
    .text-line-1,
    .text-line-2 {
        font-size: 2rem;
    }
    
    .spice-hero-subtitle {
        font-size: 1rem;
    }
}

.premium-products-section {
    position: relative;
    overflow: hidden;
}

.premium-product-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.premium-product-card .product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.premium-product-card .product-image {
    transition: transform 0.5s ease;
}

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

.premium-product-card .product-info {
    background: white;
}

@media (max-width: 768px) {
    .premium-products-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .premium-product-card .product-image {
        height: 200px;
    }
}

