:root {
    /* Color Palette */
    --color-bg-main: #FDFBF7; /* Cream/Warm White */
    --color-bg-secondary: #eaf1ed; /* Soft mint green */
    --color-mint-accent: #8bc3a3; /* Mint accent */
    --color-gold: #D4AF37; /* Elegant Gold */
    --color-text-main: #3B2A22; /* Warm Dark Chocolate */
    --color-text-secondary: #5A4438; /* Lighter Chocolate */
    --color-border: rgba(59, 42, 34, 0.1);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing & Sizes */
    --container-width: 1200px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(253, 251, 247, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(59, 42, 34, 0.05);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(59, 42, 34, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 0.5px;
}

.logo span {
    font-weight: 400;
    color: var(--color-gold);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-main);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--color-mint-accent);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-primary {
    background-color: var(--color-mint-accent);
    color: #fff;
    margin-top: 1.5rem;
    font-weight: 700;
}

.btn-primary:hover {
    background-color: #7ab392;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 195, 163, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Soft gradient fallback */
    background: linear-gradient(135deg, var(--color-bg-main) 0%, var(--color-bg-secondary) 100%);
    z-index: -1;
}

/* Background image for hero if we have one, otherwise the gradient looks nice */
.hero-bg::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('images/image_10.jpeg') center/cover;
    opacity: 0.15;
    mix-blend-mode: multiply;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* About Section */
.about {
    background-color: var(--color-bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(59, 42, 34, 0.1);
    transition: transform 0.5s ease;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

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

/* About Me Section */
.custom-shape-divider-top {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: var(--color-bg-alt);
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    transform: rotateX(180deg);
}

.custom-shape-divider-top .shape-fill {
    fill: var(--color-bg-secondary);
}

.custom-shape-divider-bottom {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: var(--color-bg-secondary);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom .shape-fill {
    fill: var(--color-bg-main);
}

.about-me {
    background-color: var(--color-bg-secondary);
    padding: 2rem 0 2rem 0;
}

.about-me-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-me-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(59, 42, 34, 0.1);
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-grid img {
    border-radius: 8px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(59, 42, 34, 0.05);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Products Section */
.products {
    background-color: var(--color-bg-main);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
}

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

.product-card {
    background-color: var(--color-bg-main);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(59, 42, 34, 0.08);
    border-color: var(--color-gold);
}

.product-img-wrapper {
    overflow: hidden;
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 16px 16px 0 0;
}

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

.product-info {
    padding: 2.5rem 2rem;
    text-align: center;
}

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

.product-info p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background-color: var(--color-bg-alt);
    display: flex;
    justify-content: center;
}

.contact-card {
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    font-size: 2.5rem;
}

.contact-subtitle {
    margin-bottom: 3rem;
}

.contact-info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

.info-item .icon {
    color: var(--color-mint-accent);
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-family: var(--font-body);
}

.info-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.info-item a {
    color: var(--color-mint-accent);
    font-weight: 700;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--color-bg-secondary);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(139, 195, 163, 0.2);
    text-align: left;
}

.contact-form-container h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(139, 195, 163, 0.3);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-bg-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-mint-accent);
    box-shadow: 0 0 0 3px rgba(139, 195, 163, 0.2);
    background-color: #fff;
}

.contact-form .btn {
    align-self: center;
    width: 100%;
    max-width: 300px;
}

/* Footer */
.footer {
    background-color: var(--color-text-main);
    color: var(--color-bg-main);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    display: block;
    color: rgba(253, 251, 247, 0.9);
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--color-gold);
}

.footer p {
    color: rgba(253, 251, 247, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Animations / Scroll-driven effects */

/* Base fallback for non-supported browsers (JS will add .is-visible) */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Native CSS Scroll-driven animations where supported */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    /* Reset JS classes if CSS is supported */
    .scroll-animate {
        opacity: 0;
        transform: translateY(50px);
        animation: fade-in-up auto ease-out forwards;
        animation-timeline: view();
        animation-range: entry 10% cover 30%;
    }
    
    .hero-content.scroll-animate {
        /* Hero is already visible on load, don't use scroll timeline for it */
        animation: fade-in-up 1s ease-out forwards;
        animation-timeline: auto; 
    }

    @keyframes fade-in-up {
      from {
        opacity: 0;
        transform: translateY(50px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .about-grid,
    .about-me-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image,
    .about-me-image {
        order: -1;
    }
    .about-image img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .desktop-nav {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(253, 251, 247, 0.98);
        border-bottom: 1px solid var(--color-border);
        padding: 2rem;
    }
    .desktop-nav.active {
        display: block;
    }
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .section {
        padding: 5rem 0;
    }
    .contact-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}