:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9F7F3;
    --bg-tertiary: #F0EAE1;
    --text-primary: #2C2621;
    --text-secondary: #655E57;

    --accent-teal: #9EA88B;
    --accent-purple: #C8AC8A;
    --accent-green: #7D886D;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.0);
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-accent {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-logo {
    height: 24px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--bg-tertiary);
    border-color: rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-green);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(125, 136, 109, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--accent-teal);
    box-shadow: 0 6px 20px rgba(158, 168, 139, 0.4);
    color: #fff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 10;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-teal), var(--accent-purple), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Aurora Background (Subtle for Light Mode) */
.aurora-glow {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(158, 168, 139, 0.25) 0%, rgba(200, 172, 138, 0.2) 40%, rgba(125, 136, 109, 0.15) 60%, transparent 80%);
    filter: blur(100px);
    animation: pulse 12s ease-in-out infinite alternate;
    border-radius: 50%;
    z-index: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(-30px, 30px);
    }

    100% {
        transform: scale(1.05) translate(30px, -30px);
    }
}

/* Mountain Silhouette generated via CSS SVG (Light Mode) */
.mountain-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 250' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,250 L0,150 L100,200 L250,80 L400,220 L550,50 L750,180 L900,100 L1050,210 L1200,120 L1200,250 Z' fill='%23F9F7F3' opacity='1'/%3E%3Cpath d='M0,250 L0,180 L150,210 L300,120 L450,230 L600,100 L800,200 L950,130 L1100,220 L1200,150 L1200,250 Z' fill='%23F0EAE1' opacity='0.7'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
    z-index: 1;
}

/* Products */
.products {
    padding: 6rem 5%;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.section-headers {
    text-align: center;
    margin-bottom: 4rem;
}

.section-headers h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.section-headers p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08), 0 0 20px rgba(200, 172, 138, 0.2);
    border-color: rgba(200, 172, 138, 0.3);
}

.product-image {
    width: 100%;
    height: 300px;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--bg-tertiary);
    padding: 5rem 5% 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--accent-green);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-purple);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

/* About Page */
.about-page {
    padding: 10rem 5% 6rem;
    background: var(--bg-primary);
    min-height: 80vh;
}

.about-header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeUp 1s ease-out;
}

.about-header h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.about-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.about-body {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text-block h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-text-block p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Product Details Page */
.product-page {
    padding: 10rem 5% 6rem;
    min-height: 80vh;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Carousel */
.product-gallery {
    position: relative;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    backdrop-filter: blur(4px);
    z-index: 10;
    border-radius: 20px;
    pointer-events: none;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: var(--bg-tertiary);
}

.carousel-track {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    width: 100%;
}

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

.carousel-img {
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: white;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.3s;
}

.dot.active {
    opacity: 1;
    background: var(--accent-purple);
}

/* Details */
.product-details h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-price {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 2rem;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.color-selection {
    margin-bottom: 3rem;
}

.color-selection h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.color-options {
    display: flex;
    gap: 1rem;
}

.color-swatch-wrapper {
    cursor: pointer;
    position: relative;
}

.color-swatch-wrapper input {
    display: none;
}

.color-swatch {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, border-color 0.2s;
}

.color-swatch-wrapper input:checked+.color-swatch {
    border-color: var(--accent-teal);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent-teal);
}

.add-to-cart {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .hero h1,
    .about-header h1 {
        font-size: 3rem;
    }

    .navbar {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none;
    }

    .btn-outline {
        display: none;
    }
}