/* ============================================
   RIZÓSFERA - STYLES
   Organic, minimal, inspired by underground systems
   ============================================ */

/* ============================================
   CSS VARIABLES - Color Palette
   Will be extracted from logo.png and favicon.ico
   Default organic earth tones as fallback
   ============================================ */
:root {
    /* Primary Colors - Extracted from logo */
    --color-primary: #2d5016;
    --color-primary-light: #4a7c2a;
    --color-primary-dark: #1a3009;
    
    /* Secondary Colors - Earth tones */
    --color-secondary: #8b6f47;
    --color-accent: #d4a574;
    
    /* Neutrals */
    --color-bg: #faf9f7;
    --color-surface: #ffffff;
    --color-text: #2c2c2c;
    --color-text-light: #666666;
    --color-border: #e0ddd9;
    
    /* Semantic Colors */
    --color-success: #4a7c2a;
    --color-error: #c44536;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease-out;
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    position: relative;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    margin-bottom: var(--spacing-sm);
    font-size: clamp(1rem, 2vw, 1.125rem);
}

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

a:hover {
    color: var(--color-primary-light);
}

.galery {
    width: 60% !important;
    height: 60% !important;
    object-fit: cover !important;
    object-position: center;
    display: block !important;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

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

.section:nth-child(even) {
    background: var(--color-surface);
}

/* Smooth section entrance with intersection observer */
.section.fade-in-up {
    animation: fadeInUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Section transition improvements */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-border), 
        transparent
    );
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.section.is-visible::before {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: var(--spacing-sm) auto 0;
    border-radius: 2px;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.language-switcher {
    position: fixed;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
    background: var(--color-surface);
    padding: 0.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
    font-size: 0.875rem;
}

.lang-btn:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

.lang-btn.active {
    background: var(--color-primary);
    color: white;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.logo img {
    height: 50px;
    transition: transform var(--transition-medium);
}

.logo img:hover {
    transform: scale(1.05) rotate(2deg);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    transition: opacity 0.8s ease-out;
}

.hero-background {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../img/logo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        transparent 20%, 
        var(--color-primary) 20%, 
        var(--color-primary) 21%, 
        transparent 21%);
    background-size: 40px 40px;
    opacity: 0.03;
    animation: driftPattern 60s linear infinite;
}

@keyframes driftPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.hero-content {
    z-index: 1;
    animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    margin-bottom: var(--spacing-md);
    color: var(--color-primary-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light);
    font-size: 0.875rem;
    animation: bounceIndicator 2s ease-in-out infinite;
}

@keyframes bounceIndicator {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-medium);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
}

.about-text {
    will-change: transform, opacity;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-visual {
    position: relative;
    min-height: 400px;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
}

#rootCanvas {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.image-section {
    width: 95%;
    height: 100vh;               /* responsive height */
    background-image: url("../img/rizosfera.jpg");
    background-size: cover;     /* fills width */
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    padding-left: 2.5%;
    padding-right: 2.5%;
}

.reveal img {
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.2s ease, transform 1.2s ease;
  }
  
  .reveal.active img {
    opacity: 1;
    transform: scale(1);
  }
  


/* ============================================
   IMAGE PARALLAX SECTION
   ============================================ */
.image-parallax-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: clamp(400px, 70vh, 900px);
    min-height: 400px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--spacing-xl) 0;
    padding: 0;
    box-sizing: border-box;
}

.parallax-image-wrapper {
    position: absolute;
    top: -10%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 120%;
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.parallax-image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    /* Ensure image maintains quality on different screens */
    image-rendering: auto;
    /* Smooth scaling */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    /* Better performance */
    will-change: transform;
    /* Prevent horizontal overflow */
    box-sizing: border-box;
    /* Ensure image never exceeds container */
    min-width: 0;
}

/* Overlay for better text readability if needed */
.image-parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0) 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--color-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--color-bg);
    padding: var(--spacing-lg);
    border-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-border);
    will-change: transform, box-shadow;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
    text-align: center;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-light);
    line-height: 1.7;
    position: relative;
    padding-left: var(--spacing-md);
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
}


/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
    background: var(--color-surface);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    background: var(--color-bg);
    padding: var(--spacing-md);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-border);
    will-change: transform, box-shadow;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.benefit-item p {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SERVICE AREA SECTION
   ============================================ */
.service-area {
    background: var(--color-bg);
    text-align: center;
}

.service-areas-text {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Hero tagline styling */
.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* ============================================
   VISUAL SECTION
   ============================================ */
.visual-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background: radial-gradient(ellipse at center, 
        rgba(45, 80, 22, 0.05) 0%, 
        transparent 70%);
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

.generative-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

#myceliumCanvas {
    width: 100%;
    height: 100%;
}

.visual-overlay {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.visual-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    color: var(--color-primary-dark);
    max-width: 700px;
    text-align: center;
    line-height: 1.6;
}

/* ============================================
   SIGNUP SECTION
   ============================================ */
.signup {
    background: var(--color-surface);
}

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

.signup-form {
    display: flex;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
    flex-wrap: wrap;
}

.signup-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid var(--color-border);
    border-radius: 50px;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.signup-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.consent-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.comment-form {
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--color-surface);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

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

.form-message {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(74, 124, 42, 0.1);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.form-message.error {
    display: block;
    background: rgba(196, 69, 54, 0.1);
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: var(--spacing-sm);
    /*filter: brightness(0) invert(1);*/
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.footer-links h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.footer-links h4:first-child {
    margin-top: 0;
}

.contact-info {
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.contact-info a {
    color: white;
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.contact-info a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-sm);
}

.footer-logo p:last-child {
    margin-top: var(--spacing-xs);
    font-size: 0.9rem;
    opacity: 0.8;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-fast);
    font-size: 1.25rem;
}

.social-links a:hover {
    background: var(--color-primary-light);
    transform: translateY(-3px);
}

.footer-legal {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal p {
    margin-bottom: var(--spacing-xs);
}


.parallax {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
  
.parallax-bg {
    position: absolute;
    inset: 0;
    background-image: url("../img/rizosfera.jpg");
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
    will-change: transform;
}

.parallax-content {
    position: relative;
    z-index: 1;
    color: white;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}



/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        min-height: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .signup-form input {
        min-width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .image-parallax-section {
        height: clamp(300px, 50vh, 600px);
        min-height: 300px;
        max-height: 600px;
        margin: var(--spacing-lg) 0;
    }
    
    .parallax-image-wrapper {
        top: -5%;
        height: 110%;
    }

    .image-section {
        height: 40vh;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .image-parallax-section {
        height: 300px;/* clamp(250px, 40vh, 500px); */
        min-height: 250px;
        max-height: 500px;
        margin: var(--spacing-md) 0;
    }
    
    .parallax-image-wrapper {
        top: 0;
        height: 100%;
    }
}

/* Large screens - better image display */
@media (min-width: 1200px) {
    .image-parallax-section {
        height: clamp(600px, 75vh, 1000px);
        max-height: 1000px;
    }
    
    .parallax-image-wrapper {
        top: -15%;
        height: 130%;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Disable parallax for users who prefer reduced motion */
    .hero-background,
    .hero-content,
    .generative-visual,
    .visual-section::before,
    .parallax-image-wrapper {
        transform: none !important;
    }
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
