:root {
    /* Brand Colors */
    --cream: #FDFBF7;
    --mocha: #4A3B32;
    --maroon: #6B2727;
    --gold: #C5A059;
    --text-dark: #2A2624;
    --text-light: #FDFBF7;
    --bg-dark: #1F1916;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --section-pad: 8rem 2rem;
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    transition: background-color 0.4s ease, padding 0.4s ease, transform 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.4s ease;
}

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

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gold);
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.navbar.transparent .nav-links a {
    color: var(--gold);
}
.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--maroon);
    color: var(--text-light) !important;
    padding: 1rem 2.5rem;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #8C3333;
    transform: translateY(-2px);
}

.btn-primary-sm {
    display: inline-block;
    background-color: var(--maroon);
    color: var(--text-light) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background-color 0.3s ease;
}
.btn-primary-sm:hover {
    background-color: #8C3333;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    background-image: url('assets/media__1782399450927.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Craft Section */
.craft-section {
    padding: var(--section-pad);
    background-color: var(--cream);
}

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

.craft-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--mocha);
}

.craft-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #5A504B;
}

.craft-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    object-fit: cover;
    aspect-ratio: 4/5;
}

/* About Us Section */
.about-section {
    padding: var(--section-pad);
    background-color: #F7F3EB;
    text-align: center;
}

.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-image {
    width: 100%;
    max-width: 400px;
}

.family-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: #5A504B;
    line-height: 1.8;
}

/* Offerings Section */
.offerings-section {
    padding: var(--section-pad);
    background-color: var(--cream);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.offering-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: left;
}

.offering-card:hover {
    transform: translateY(-8px);
}

.offering-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.offering-card h3 {
    font-family: var(--font-serif);
    color: var(--mocha);
    font-size: 1.5rem;
    margin: 1.5rem 1.5rem 0.5rem;
}

.offering-card p {
    color: #5A504B;
    font-size: 1rem;
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: var(--section-pad);
    background-color: var(--cream);
}

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

.gallery-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: transform 0.4s ease;
}

.gallery-img:hover {
    transform: translateY(-5px);
}

/* Subscriptions Section */
.subscriptions-section {
    padding: var(--section-pad);
    background-color: #F7F3EB;
}

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

.section-header h2 {
    font-size: 3rem;
    color: var(--mocha);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #5A504B;
    max-width: 600px;
    margin: 0 auto;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mocha);
    margin: 1.5rem 0 1rem;
}

.price span {
    font-size: 1.1rem;
    color: #5A504B;
    font-weight: 400;
}

.tier-desc {
    color: #5A504B;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.tier-features {
    list-style: none;
    margin-bottom: 2.5rem;
    padding-left: 0;
}

.tier-features li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    color: #5A504B;
}

.tier-features li::before {
    content: "•";
    color: var(--mocha);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.subscription-tiers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tier-card {
    background-color: #FFF;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.tier-card .btn-secondary, .tier-card .btn-primary {
    margin-top: auto;
    text-align: center;
}

.tier-card.highlight {
    border: 2px solid var(--mocha);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--mocha);
    color: #FFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ecwid-wrapper {
    background: #FFF;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* How It Works Section */
.how-it-works-section {
    padding: var(--section-pad);
    background-color: var(--cream);
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background-color: #FFF;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.step-number {
    background-color: var(--mocha);
    color: #FFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    color: var(--mocha);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.step-card p {
    color: #5A504B;
    line-height: 1.6;
}

/* Customize Section */
.customize-section {
    padding: var(--section-pad);
    background-color: #F7F3EB;
}

.customize-section .tier-features li {
    margin-bottom: 1.2rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-pad);
    background-color: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media screen and (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

a .offering-img {
    transition: transform 0.3s ease;
}

a:hover .offering-img {
    transform: scale(1.05);
}

.testimonial-card {
    background-color: #FFF;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--mocha);
    display: flex;
    flex-direction: column;
}

.quote {
    font-style: italic;
    color: #5A504B;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.author {
    font-weight: bold;
    color: var(--mocha);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Shop Page Styles */
.shop-hero {
    background-color: var(--cream);
    padding: 120px 0 60px;
}

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

.shop-hero-text h1 {
    font-size: 3rem;
    color: var(--maroon);
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.shop-hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5A504B;
}

.shop-hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ecwid-store-section {
    padding: var(--section-pad);
    background-color: #FFF;
}

@media screen and (max-width: 768px) {
    .shop-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Flavor Submission Form */
.flavor-section {
    padding: var(--section-pad);
    background-color: var(--cream);
}

.flavor-form-container {
    max-width: 700px;
    margin: 3rem auto 0;
    background-color: #FFF;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #D5C8B8;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: #FDFBF7;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--maroon);
    background-color: #FFF;
}

@media screen and (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .flavor-form-container {
        padding: 2rem 1.5rem;
    }
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 6rem 2rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4rem;
}

.footer-brand h3 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-style: italic;
    opacity: 0.7;
}

.footer-contact a {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-bg {
        background-image: url('assets/hero_cropped.jpg');
        background-size: cover;
        background-position: center;
    }
    .craft-grid, .subscription-tiers {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .nav-links {
        display: none; /* simple mobile hide for now */
    }
}
