:root {
    --brand-pink: #dfc4c2;
    --brand-pink-light: #f4e9e8;
    --text-color: #333333;
    --heading-color: #000000;
    --white: #ffffff;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
    
    --container-width: 1200px;
    --gutter: 20px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: scroll; /* Force vertical scrollbar to prevent layout shift */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Global Button Style */
.btn {
    background-color: var(--brand-pink);
    color: #fff;
    padding: 12px 24px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #dcb3b0; /* Slightly darker shade for hover */
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: none; /* Removed default border */
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert-success {
    background-color: #d4edda; 
    color: #155724; 
    /* Use a color closer to brand if desired, but green is standard for success */
    border-left: 5px solid #28a745;
}

.alert-error {
    background-color: #f8d7da; 
    color: #721c24; 
    border-left: 5px solid #dc3545;
}

/* Validation Error Styling */
.validation-error {
    color: #721c24;
    font-size: 0.9rem;
    margin-top: 5px;
    background-color: #f8d7da;
    padding: 8px 12px;
    border-left: 5px solid #dc3545;
}

/* Header */
.site-header {
    padding: 2rem 0;
    background-color: var(--white);
}

.site-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    flex-shrink: 0; /* Prevent logo from squashing */
    padding-top: 20px;
}

.logo-img {
    max-width: 250px;
    margin-bottom: 1.5rem;
    width: 100%; /* Ensure it scales correctly */
    height: auto;
}

.site-nav ul {
    display: flex;
    gap: 2rem;
}

.site-nav a {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--heading-color);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
    border-bottom-color: var(--brand-pink);
}

/* Hero Section */
.hero-section {
    padding: 2rem 0 0.1rem 0;
    text-align: center;
    background-color: var(--white);
}

.brand-flower-svg {
    width: 150px;
    height: auto;
    margin: 0 auto;
    color: var(--brand-pink); /* Allows fill: currentColor to work */
}

/* Rotate animation for flower - optional nice touch */
@keyframes slow-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brand-flower-svg .hero-flower-path {
    fill: var(--brand-pink);
}

/* Main Content */
.main-content {
    padding: 2rem 0 4rem;
    flex: 1;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 300;
    color: #444;
}

/* Featured Items */
.featured-items {
    padding-top: 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.item-card {
    text-align: center;
}

.item-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 4px; /* Slight soft edge */
}

.item-image img {
    transition: transform 0.5s ease;
    width: 100%;
}

.item-card:hover .item-image img {
    transform: scale(1.03);
}

.item-card h3 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.item-price {
    font-weight: 600;
    margin-top: 0.5rem;
}

.item-desc {
    color: #555555;
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.item-placeholder {
    align-items: center;
    background-color: var(--brand-pink-light);
    border-radius: 4px;
    color: #6c6c6c;
    display: flex;
    font-size: 0.85rem;
    height: 100%;
    justify-content: center;
    letter-spacing: 0.5px;
    padding: 2rem;
    text-transform: uppercase;
    width: 100%;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 0 0 2.5rem;
}

.category-nav a {
    border: 1px solid var(--brand-pink);
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    padding: 0.4rem 0.9rem;
    text-transform: uppercase;
}

.category-nav a:hover {
    background-color: var(--brand-pink-light);
}

.category-section {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    text-align: center;
    background-color: var(--brand-pink-light);
    color: var(--heading-color);
    margin-top: auto;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    /* 
       Keeping logo and nav centered on desktop as per request.
       No changes needed to flex-direction (column is default from mobile styles)
       or justify-content (center is default from mobile styles).
    */

    .logo-img {
        margin-bottom: 1.5rem; /* Maintain spacing */
        max-width: 260px; /* Allow logo to be slightly larger on desktop */
        height: auto;
    }

    .brand-flower-svg {
        width: 200px;
    }
}

/* Value Snapshot */
.value-snapshot {
    padding: 4rem 0;
    background-color: var(--brand-pink-light);
}

.value-snapshot .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

.value-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}


.value-icon .material-symbols-outlined {
    font-size: 2.5rem; /* Increased size for better visibility */
    color: var(--text-color); /* Using the main text color for contrast */
    margin-bottom: 1rem;
    display: block; /* Ensures it sits on its own line */
}

.value-icon svg {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem auto;
    display: block;
    fill: var(--heading-color);
}


/* How It Works */
.how-it-works {
    padding: 4rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--brand-pink);
    margin-bottom: 1rem;
}

/* Brand Story Teaser */
.brand-story-teaser {
    padding: 4rem 0;
    background-color: var(--brand-pink-light);
}

.brand-story-teaser .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .brand-story-teaser .container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Social Proof */
.social-proof {
    padding: 4rem 0;
}

/* Enhanced Footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-col h3 {
    margin-bottom: 1rem;
}

.footer-col ul {
    padding-left: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form input {
    margin-bottom: 1rem;
    padding: 0.5rem;
}
