:root {
    --bg-white: #ffffff;
    --text-dark: #333333;
    --text-light: #777777;
    --magenta: #e51d9b;
    --magenta-light: #fad6ed;
    --promo-bg: #000000;
    --hero-bg: #f8f1eb; /* warm beige resembling the wood/light room */
    --border-color: #eaeaea;
}

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

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

h1, h2, h3, .logo-text, .nav-links a {
    font-family: 'Montserrat', sans-serif;
}

/* Navigation */
.main-nav {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-icon {
    color: var(--magenta);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--magenta);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
}

.nav-icons a {
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-icons a:hover {
    color: var(--magenta);
}

/* Hero Section with Slider */
.hero {
    height: 70vh;
    min-height: 500px;
    background-color: var(--hero-bg);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden; /* Hide overflowing slider images */
}

/* Dynamic Slider Background */
.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-slider-track {
    display: flex;
    height: 100%;
    width: max-content;
    animation: scrollSlide 120s linear infinite;
}

.hero-slider-track img {
    height: 100%;
    width: 600px; /* fixed width for smooth scrolling */
    object-fit: cover;
    opacity: 1; /* removed blurriness */
}

@keyframes scrollSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Hero Overlay to ensure text readability without blurring images */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 500px;
    padding-left: 10%;
    position: relative;
    z-index: 3;
}

.hero-subtitle {
    font-size: 4rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px #b19cd9; /* Pastel purple outline */
    background: linear-gradient(90deg, #b19cd9, #fdb99b);
    -webkit-background-clip: text;
    margin-bottom: 10px;
    line-height: 1.1;
}

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

.btn-primary {
    display: inline-block;
    background-color: var(--text-dark);
    color: var(--bg-white);
    text-decoration: none;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #555;
}

/* Gallery / Shop Section */
.gallery-section {
    padding: 60px 10%;
    background-color: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

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

.product-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.product-info p {
    color: var(--magenta);
    font-weight: 600;
}

/* Floating Action Button */
.fab-help {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #fad6ed, #fdb99b);
    color: var(--text-dark);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(229, 29, 155, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
    transition: transform 0.3s;
}

.fab-help:hover {
    transform: scale(1.05);
}

.loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-icons {
        display: none;
    }
    .hero-subtitle {
        font-size: 3rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .features {
        grid-template-columns: 1fr;
    }
}
