:root {
    --primary-color: #5A5A40;
    /* Muted Olive */
    --secondary-color: #f5f2ed;
    /* Warm off-white */
    --text-dark: #1A1A1A;
    --text-light: #8E9299;
    --accent-color: #D4A373;
    /* Sandy tan */
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.4);
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-font {
    font-family: 'Playfair Display', serif;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Navbar */
.navbar {
    transition: var(--transition);
    padding: 1.5rem 0;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 242, 237, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-dark) !important;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--text-dark) !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

/* Hero Section Enhancements */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-slider,
.hero-item {
    height: 100%;
    width: 100%;
}

.hero-item {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Ken Burns (Slow Zoom) Animation */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.carousel-item.active .hero-item {
    animation: kenBurns 20s ease-out forwards;
}

.hero-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    /* Dark gradient overlay */
    z-index: 1;
}

.hero-content-glass {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 850px;
    padding: 60px 40px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s cubic-bezier(0.24, 0.6, 0.35, 1) forwards 0.5s;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.btn-white-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-white-glass:hover {
    background: var(--white);
    color: var(--text-dark);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-premium.glow {
    position: relative;
    overflow: hidden;
}

.btn-premium.glow:hover {
    box-shadow: 0 0 25px rgba(212, 163, 115, 0.6);
    transform: scale(1.05);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 0.7;
    color: var(--white);
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    width: 2px;
    height: 6px;
    background: var(--white);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

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

/* Animations */
.category-card {
    position: relative;
    overflow: hidden;
    height: 400px;
    border-radius: 20px;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 20px;
    padding: 15px;
    transition: var(--transition);
    border: none;
    margin-bottom: 30px;
    position: relative;
}

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

.product-card.minimal {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 0;
}

.product-card.minimal:hover {
    transform: none !important;
    box-shadow: none !important;
}

.product-img-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.transition-scale {
    transition: transform 0.3s ease;
}

.product-card:hover .transition-scale {
    transform: scale(1.05);
}

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

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 20px;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 20px;
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    display: grid;
    place-items: center;
    color: var(--text-dark);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.product-info {
    padding-top: 15px;
    text-align: center;
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
}

/* Glass Banner */
.glass-banner {
    padding: 100px 0;
    background: url('https://picsum.photos/seed/interior/1920/1080?blur=5') no-repeat center center/cover;
    background-attachment: fixed;
}

.glass-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 30px;
    color: var(--text-dark);
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Buttons */
.btn-premium {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
}

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

.btn-primary-custom:hover {
    background: var(--text-dark);
    color: var(--white);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: none;
    outline: none;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--text-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

/* Footer */
footer {
    background: #151515;
    color: var(--white);
    padding: 80px 0 20px;
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
}

.social-icons a:hover {
    background: var(--primary-color);
}

/* Newsletter */
.newsletter-section {
    background-color: var(--white);
    padding: 80px 0;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
}

.input-group-custom {
    background: #f8f9fa;
    padding: 5px;
    border-radius: 50px;
    display: flex;
}

.input-group-custom input {
    border: none;
    background: transparent;
    padding: 10px 25px;
    flex-grow: 1;
    outline: none;
}

/* Custom Cursor */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-dot.hover {
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-color);
    border-width: 1px;
    background-color: rgba(212, 163, 115, 0.1);
}

@media (max-width: 1024px) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }
}

body {
    cursor: none;
}

a,
button,
[role="button"],
.category-card,
.thumb-item,
.product-card {
    cursor: none;
}

/* Image Zoom */
.zoom-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 20px;
    background: #f8f9fa;
}

.zoom-container img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    display: block;
}

.zoom-container:hover img {
    transform: scale(1.5);
}

/* Product Thumbnails */
.product-thumbnails {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumb-item.active {
    border-color: var(--primary-color);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover {
    opacity: 0.8;
}

/* Variation Swatches */
.variation-group {
    margin-bottom: 25px;
}

.variation-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
    color: var(--text-dark);
}

.swatch-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.color-swatch.active {
    border-color: var(--primary-color);
}

.color-swatch:hover {
    transform: scale(1.1);
}

.size-select {
    padding: 10px 15px;
    border-radius: 0;
    border: 1px solid #ddd;
    background: var(--white);
    font-size: 14px;
    width: 100%;
    max-width: 250px;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.size-select:focus {
    border-color: var(--primary-color);
}

/* Shop Filters */
.filter-btn {
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 50px;
    margin: 5px;
    border: 1px solid #ddd;
    transition: var(--transition);
}

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