/* ============================================
   CSS Variables - Color Palette & Design Tokens
   ============================================ */
:root {
    /* Colors */
    /* Sage green palette */
    --primary-green: #8AA494;
    --primary-green-dark: #6F8D7B;
    --primary-green-light: #A9C0B3;
    --off-white: #F5F5DC;
    --off-white-light: #FAFAD2;
    --text-dark: #333333;
    --text-dark-alt: #222222;
    --text-light: #FFFFFF;
    --border-light: #E0E0E0;
    
    /* Typography */
    --font-primary: 'Montserrat', 'Open Sans', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    --font-sans: 'Source Sans Pro', 'Montserrat', 'Open Sans', sans-serif;
    --font-script: 'Great Vibes', 'Brush Script MT', cursive;
    --font-weight-bold: 700;
    --font-weight-semibold: 600;
    --font-weight-regular: 400;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-family: var(--font-serif);
    font-weight: var(--font-weight-bold);
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-family: var(--font-sans);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    background-color: var(--off-white);
    padding: var(--spacing-sm) var(--spacing-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: var(--font-weight-regular);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.nav-links a:hover {
    background-color: var(--primary-green-light);
    color: var(--text-light);
}

.logo {
    text-align: left;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-green);
    flex-shrink: 0;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.nav-icons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background-color: var(--primary-green);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/BayleeNathanKissingovercake.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text {
    color: var(--text-light);
    z-index: 2;
    text-align: center;
    max-width: 800px;
    position: relative;
}

.hero-text h1 {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.hero-text h2 {
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background-color: var(--off-white);
    color: var(--primary-green);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button::after {
    content: '→';
    font-size: 1.2rem;
}

.hero-feature-card {
    background-color: var(--off-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    max-width: 300px;
    z-index: 2;
}

.hero-feature-card img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    aspect-ratio: 1;
    object-fit: cover;
    background-color: var(--border-light);
}

.rating {
    color: #FFD700;
    margin-bottom: var(--spacing-xs);
}

.hero-feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.hero-feature-card p {
    font-size: 0.9rem;
    color: var(--text-dark-alt);
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: var(--spacing-xl) var(--spacing-md);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

/* ============================================
   Product/Service Grid
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.product-card {
    background-color: var(--text-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background-color: var(--border-light);
}

.product-card-content {
    padding: var(--spacing-md);
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.product-card p {
    color: var(--text-dark-alt);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.product-card .cta-button {
    width: 100%;
    justify-content: center;
    background-color: var(--primary-green);
    color: var(--text-light);
}

.product-card .cta-button:hover {
    background-color: var(--primary-green-dark);
}

/* ============================================
   Value/Feature Section
   ============================================ */
.values-section {
    position: relative;
    overflow: hidden;
}

.values-background-text {
    position: absolute;
    font-size: 15rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-green-light);
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.values-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.values-image {
    text-align: center;
}

.values-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 1;
    object-fit: cover;
    background-color: var(--border-light);
}

.values-list {
    list-style: none;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.value-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    flex-shrink: 0;
    font-weight: var(--font-weight-bold);
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.value-item p {
    color: var(--text-dark-alt);
}

/* ============================================
   How It Works / Process Section
   ============================================ */
.process-section {
    background-color: var(--primary-green);
    color: var(--text-light);
    border-bottom-left-radius: var(--radius-xl);
    position: relative;
}

.process-section h2,
.process-section p {
    color: var(--text-light);
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.process-text h2 {
    margin-bottom: var(--spacing-md);
}

.process-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.process-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.process-image-item {
    background-color: var(--text-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    text-align: center;
}

.process-image-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
    background-color: var(--border-light);
}

.process-image-item p {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
}

/* ============================================
   Showcase Section
   ============================================ */
.showcase-section {
    display: flex;
    justify-content: center;
    min-height: 500px;
    padding-bottom: 0;
}

.showcase-left {
    background-color: var(--off-white);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-left img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    aspect-ratio: 1;
    object-fit: cover;
    background-color: var(--border-light);
}

.showcase-right {
    background-color: var(--off-white);
    color: var(--text-dark);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-right h2 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.showcase-item {
    text-align: center;
    padding: var(--spacing-sm);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
}

.showcase-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-xs);
    object-fit: cover;
    background-color: var(--border-light);
}

.showcase-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* ============================================
   Section Divider
   ============================================ */
.section-divider {
    height: 3px;
    background-color: var(--primary-green);
    width: 100%;
    margin: var(--spacing-md) 0 0 0;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    text-align: center;
    padding-top: var(--spacing-md);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--text-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--spacing-sm);
    background-color: var(--border-light);
    display: block;
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: var(--spacing-xs);
}

.testimonial-card p {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-dark-alt);
    margin-bottom: var(--spacing-xs);
}

.testimonial-card h4 {
    font-size: 1rem;
    color: var(--primary-green);
}

/* ============================================
   Form Styles
   ============================================ */
.form-section {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.form-container {
    background-color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.submit-button {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--primary-green);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.submit-button:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-2px);
}

/* ============================================
   Gallery Styles
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--border-light);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--text-light);
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h3 {
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

/* ============================================
   About Page Styles
   ============================================ */
.about-hero {
    background-color: var(--primary-green);
    color: var(--text-light);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.about-hero h1 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 1;
    object-fit: cover;
    background-color: var(--border-light);
}

.about-text h2 {
    margin-bottom: var(--spacing-md);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark-alt);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--primary-green-dark);
    color: var(--text-light);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    list-style: none;
}

.footer-links a {
    color: var(--text-light);
    transition: opacity var(--transition-fast);
}

.footer-links a:hover {
    opacity: 0.8;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .hero-content,
    .values-content,
    .process-content,
    .showcase-section,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .process-images {
        grid-template-columns: 1fr;
    }
    
    .values-background-text {
        font-size: 8rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .product-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .values-background-text {
        font-size: 5rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
