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

:root {
    --primary-purple: #c8b5d4;
    --light-purple: #e8dced;
    --primary-green: #c8d4a3;
    --light-green: #e8f0d4;
    --dark-text: #4a4a4a;
    --light-text: #666;
    --white: #ffffff;
    --cream: #fef9f3;
    --accent-purple: #9d7ca8;
    --accent-green: #8faa54;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--cream);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--dark-text);
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(254, 249, 243, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 75px;
    width: auto;
    max-width: 75px;
    object-fit: contain;
}

.nav-logo .logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    display: none; /* Hidden by default, shown only if image fails */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nav-logo .logo-text {
    font-size: 0.5rem;
    font-weight: 800;
    color: var(--dark-text);
    text-align: center;
    line-height: 0.9;
    z-index: 2;
}

.brand-name {
    font-family: 'Truculenta', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-text);
    letter-spacing: -0.01em;
    font-optical-sizing: auto;
    margin-left: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    justify-self: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-purple);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    transition: 0.3s;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-button {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--light-purple);
    border-radius: 25px;
    padding: 0.7rem 1.3rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 80px;
}

.lang-button:hover {
    border-color: var(--accent-purple);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lang-text {
    font-weight: 700;
    font-size: 1rem;
}

.lang-arrow {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.lang-button.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 2px solid var(--light-purple);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    margin-top: 0.5rem;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
    color: var(--dark-text);
}

.lang-option:first-child {
    border-radius: 13px 13px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 13px 13px;
}

.lang-option:only-child {
    border-radius: 13px;
}

.lang-option:hover {
    background: linear-gradient(135deg, var(--light-purple), var(--light-green));
}

.lang-option.selected {
    background: var(--accent-purple);
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-green) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.hero-berries {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, var(--accent-purple), transparent 70%);
    border-radius: 50%;
}

.hero-berries::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-purple);
    border-radius: 50%;
}

.hero-berries::after {
    content: '';
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    background: var(--accent-purple);
    border-radius: 50%;
}

.hero-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-green) 0%, var(--accent-green) 50%, var(--primary-green) 100%);
    clip-path: polygon(0 100%, 0 60%, 20% 40%, 40% 50%, 60% 30%, 80% 45%, 100% 35%, 100% 100%);
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: brightness(0.85) contrast(1.3) saturate(1.2);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(200, 181, 212, 0.15) 0%, 
        rgba(200, 212, 163, 0.1) 50%, 
        rgba(200, 181, 212, 0.15) 100%);
    z-index: 1;
}

.fallback-bg {
    display: none; /* Hidden by default, shown only if hero image fails */
}

.hero-content {
    text-align: center;
    z-index: 3;
    position: relative;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    max-width: 550px;
    margin: 0 auto;
}

.hero-logo {
    width: 150px;
    height: auto;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-title {
    font-family: 'Truculenta', sans-serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-optical-sizing: auto;
    line-height: 1.2;
    text-align: center;
}

.hero-tagline {
    max-width: 550px;
    margin: 0 auto 2rem auto;
}

.tagline-line1,
.tagline-line2 {
    font-size: 1.3rem;
    color: var(--dark-text);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 0.15rem 0;
}

.tagline-line1 {
    margin-bottom: 0.6rem;
    font-weight: 600;
    font-size: 1.4rem;
}

.tagline-line2 {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-green));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Logo Circles with Illustrations */
.logo-circle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-circle.small {
    width: 80px;
    height: 80px;
}

.berries-illustration {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 15px;
}

.berries-illustration::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-purple);
    border-radius: 50%;
    top: 0;
    left: 2px;
}

.berries-illustration::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--primary-purple);
    border-radius: 50%;
    top: 2px;
    right: 2px;
}

.mountains-illustration {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 8px;
    background: linear-gradient(45deg, var(--accent-green), var(--primary-green));
    clip-path: polygon(0 100%, 30% 20%, 50% 60%, 70% 10%, 100% 100%);
}

/* Catalog Section */
.catalog {
    padding: 4rem 0 8rem 0;
    background: var(--white);
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.catalog-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: stretch;
    height: auto;
    max-height: calc(100vh - 200px);
}

/* Product Info Section */
.product-info-section {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-green) 100%);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    position: relative;
}

/* Product Counter */
.product-counter {
    position: absolute;
    top: -15px;
    right: -15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    color: var(--dark-text);
    font-size: 0.9rem;
    z-index: 15;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(200, 181, 212, 0.3);
}

/* Product Navigation */
.product-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 120px);
    left: -60px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 15;
}

.product-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(200, 181, 212, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    color: var(--dark-text);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.product-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-purple);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.product-btn:active {
    transform: scale(0.95);
}

.product-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Product Content Container */
.product-content {
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-slide {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-slide.active {
    display: flex;
    opacity: 1;
}

.product-header {
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.product-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.product-type {
    font-size: 1.2rem;
    color: var(--accent-purple);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.product-description {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 0;
}

.product-specifications {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-specifications h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1.2rem;
}

.spec-grid {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex: 1;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    gap: 1rem;
}

.spec-label {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
    flex-shrink: 0;
    min-width: 90px;
}

.spec-value {
    font-weight: 500;
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word;
    max-width: 100%;
    text-align: right;
    flex: 1;
}

/* Mobile-first: reset any large screen styles */
@media (max-width: 1023px) {
    .spec-item {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        min-height: auto !important;
        gap: 1rem !important;
    }
    
    .spec-value {
        text-align: right !important;
        max-width: 60% !important;
        width: auto !important;
        margin-top: 0 !important;
        line-height: 1.4 !important;
    }
    
    .spec-label {
        margin-bottom: 0 !important;
        font-weight: 600 !important;
    }
}

/* Improved layout for medium screens and up */
@media (min-width: 1024px) {
    .spec-item {
        flex-wrap: wrap;
        align-items: flex-start;
        min-height: 50px;
    }
    
    .spec-value {
        max-width: 60%;
        text-align: right;
    }
}

/* Special handling for large screens - stack layout for long text */
@media (min-width: 1440px) {
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        min-height: 60px;
        flex-wrap: nowrap;
    }
    
    .spec-value {
        text-align: left;
        margin-top: 0.2rem;
        line-height: 1.3;
        width: 100%;
        max-width: 100%;
    }
    
    .spec-label {
        margin-bottom: 0.1rem;
        font-weight: 700;
    }
}



.contact-wholesale {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-purple));
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.contact-wholesale:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Image Carousel Section */
.image-carousel-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-height: 700px;
}

.carousel-container:hover .carousel-nav {
    opacity: 1;
    pointer-events: auto;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    flex: 1;
    min-height: 500px;
    max-height: 650px;
    height: 580px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.fallback-carousel {
    display: none;
}

.berry-illustration.large {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, var(--accent-purple), var(--primary-purple));
    border-radius: 50%;
    position: relative;
}

.berry-illustration.large::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 30px;
    width: 25px;
    height: 25px;
    background: var(--primary-purple);
    border-radius: 50%;
    opacity: 0.8;
}

.berry-illustration.large::after {
    content: '';
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 20px;
    height: 20px;
    background: var(--accent-purple);
    border-radius: 50%;
    opacity: 0.9;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(200, 181, 212, 0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    color: var(--dark-text);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-purple);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
    flex-shrink: 0;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(74, 74, 74, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-purple);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--accent-green);
    transform: scale(1.1);
}

/* About Section */
.about {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-purple) 100%);
    margin-top: 2rem;
}

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

.about-paragraphs {
    margin-bottom: 2rem;
}

.about-paragraphs p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    line-height: 1.7;
}

.about-paragraphs p:last-child {
    margin-bottom: 0;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    text-align: center;
}

.feature p {
    font-size: 0.95rem;
    color: var(--light-text);
    text-align: center;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 350px;
    height: 350px;
    position: relative;
}

.about-logo {
    width: auto;
    height: auto;
    max-width: 350px;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

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

.fallback-about {
    display: none; /* Hidden by default, shown only if logo fails */
}

.mountain-scene {
    width: 250px;
    height: 250px;
    position: relative;
    background: radial-gradient(circle at 50% 70%, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    overflow: hidden;
}

.mountain-range {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(45deg, var(--accent-green), var(--primary-green));
    clip-path: polygon(0 100%, 0 40%, 25% 20%, 50% 35%, 75% 15%, 100% 30%, 100% 100%);
}

.berry-bush {
    position: absolute;
    top: 60px;
    right: 50px;
    width: 40px;
    height: 40px;
    background: var(--accent-purple);
    border-radius: 50%;
}

.berry-bush::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    width: 15px;
    height: 15px;
    background: var(--primary-purple);
    border-radius: 50%;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form h3,
.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-purple);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(200, 181, 212, 0.2);
}

/* Label highlighting when input is focused */
.form-group input:focus + label,
.form-group input:focus ~ label,
.form-group textarea:focus + label,
.form-group textarea:focus ~ label {
    color: var(--accent-purple);
    text-shadow: 0 0 8px rgba(200, 181, 212, 0.4);
}

/* Alternative: target label when any input in form-group is focused */
.form-group:focus-within label {
    color: var(--accent-purple);
    text-shadow: 0 0 8px rgba(200, 181, 212, 0.4);
}

/* Subtle hover effect on form groups */
.form-group:hover label {
    color: var(--medium-text);
    text-shadow: 0 0 4px rgba(200, 181, 212, 0.2);
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-green));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item strong {
    display: block;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    padding: 3rem 0;
    color: var(--dark-text);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
}

.fallback-footer {
    display: none; /* Hidden by default, shown only if footer image fails */
}

.footer-logo .logo-circle {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.footer-logo h3 {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--dark-text);
    text-align: center;
    line-height: 0.9;
    z-index: 2;
}

.footer-text {
    flex: 1;
    max-width: 600px;
}

.footer-text p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--dark-text);
}

.footer-text p:first-child {
    font-weight: 600;
    font-size: 1.05rem;
}

.footer-text p:last-child {
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Large Desktop Responsive */
@media (max-width: 1600px) {
    .catalog-content {
        max-width: 1200px;
        gap: 2.5rem;
    }
    
    .product-info-section {
        padding: 2.2rem;
    }
    
    .carousel-container {
        max-width: 420px;
        max-height: 600px;
    }
    
    .carousel-wrapper {
        height: 480px;
        min-height: 400px;
        max-height: 520px;
    }
}

/* Optimized for 1470x956 screen */
@media (max-width: 1500px) and (max-height: 1000px) {
    .catalog {
        padding: 3rem 0 6rem 0;
        min-height: auto;
    }
    
    .catalog-content {
        max-width: 1250px;
        gap: 2.5rem;
        max-height: none;
    }
    
    .product-info-section {
        padding: 2.2rem;
    }
    
    .product-name {
        font-size: 1.9rem;
    }
    
    .carousel-container {
        max-width: 450px;
        max-height: 650px;
    }
    
    .carousel-wrapper {
        height: 520px;
        min-height: 450px;
        max-height: 580px;
    }
    
    .about {
        padding: 6rem 0;
        margin-top: 2rem;
    }
}

@media (max-width: 1400px) {
    .catalog-content {
        max-width: 1100px;
        gap: 2rem;
    }
    
    .product-info-section {
        padding: 2rem;
    }
    
    .product-name {
        font-size: 1.8rem;
    }
    
    .carousel-container {
        max-width: 380px;
        max-height: 580px;
    }
    
    .carousel-wrapper {
        height: 460px;
        min-height: 380px;
        max-height: 500px;
    }
}

@media (max-width: 1200px) {
    .catalog-content {
        max-width: 1000px;
        gap: 2rem;
    }
    
    .product-info-section {
        padding: 1.8rem;
    }
    
    .product-name {
        font-size: 1.7rem;
    }
    
    .carousel-container {
        max-width: 350px;
        max-height: 540px;
    }
    
    .carousel-wrapper {
        height: 420px;
        min-height: 350px;
        max-height: 460px;
    }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    .footer-content {
        gap: 1.8rem;
        padding: 0 1.5rem;
    }
    
    .footer-text {
        max-width: 500px;
    }
}

/* Tablet and Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--cream);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        gap: 1rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .language-switcher {
        order: -1;
    }
    
    .lang-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        min-width: 70px;
    }
    
    .lang-dropdown {
        right: auto;
        left: 0;
    }
    
    .brand-name {
        font-size: 1.4rem;
        margin-left: 0.3rem;
        font-weight: 600;
    }
    
    .logo-img {
        height: 60px;
        max-width: 60px;
    }
    
    .nav-logo .logo-circle {
        width: 50px;
        height: 50px;
    }
    
    .hero-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        padding: 1.5rem 1.2rem;
        margin: 0 1rem;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        /* Fallback for browsers without backdrop-filter support */
        background-image: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12));
    }
    
    .tagline-line1 {
        font-size: 1.4rem;
    }
    
    .tagline-line2 {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .catalog {
        padding: 2rem 0 8rem 0;
        min-height: auto;
    }
    
    .catalog-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: start;
        max-height: none;
    }
    
    .product-info-section {
        padding: 1.5rem;
        margin: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .product-counter {
        top: -12px;
        right: -12px;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .product-nav {
        width: calc(100% + 70px);
        left: -35px;
    }
    
    .product-btn {
        width: 38px;
        height: 38px;
    }
    
    .product-name {
        font-size: 1.6rem;
    }
    
    .spec-item {
        padding: 0.7rem 1rem;
    }
    
    .spec-label {
        font-size: 0.92rem;
    }
    
    .spec-value {
        font-size: 0.92rem;
    }
    
    .image-carousel-section {
        height: auto;
        margin: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .carousel-container {
        max-width: 350px;
        height: auto;
        max-height: 520px;
    }
    
    .carousel-wrapper {
        height: 450px;
        flex: none;
        min-height: 380px;
        max-height: 480px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    /* Show carousel navigation on mobile since hover doesn't work */
    .carousel-nav {
        opacity: 1;
        pointer-events: auto;
    }
    
    .about {
        padding: 6rem 0 3rem 0;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-paragraphs {
        padding: 0 1rem;
        margin-bottom: 2.5rem;
    }
    
    .about-paragraphs p {
        font-size: 1.05rem;
        margin-bottom: 1.8rem;
        line-height: 1.8;
    }
    
    .about-logo-container {
        max-width: 375px;
        height: 375px;
        margin-bottom: 2rem;
    }
    
    .about-logo {
        max-width: 300px;
        max-height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact {
        padding: 5rem 0 3rem 0;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .footer {
        padding: 2.5rem 0;
        position: relative;
        z-index: 1;
        margin-bottom: 0;
        padding-bottom: 2.5rem;
        margin-top: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1.5rem;
        align-items: center;
    }
    
    .footer-logo {
        margin-bottom: 0.5rem;
    }
    
    .footer-text p {
        font-size: 0.95rem;
    }
    
    .footer-text p:first-child {
        font-size: 1rem;
    }
    
    .hero-berries {
        width: 150px;
        height: 150px;
        top: 5%;
        right: 5%;
    }
    
    .about-logo-container {
        max-width: 250px;
        height: 250px;
        margin-bottom: 2rem;
    }
    
    .about-logo {
        max-width: 200px;
        max-height: 200px;
    }
    
    .mountain-scene {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-content {
        padding: 1.2rem 0.8rem;
        margin: 0 0.5rem;
        margin-bottom: 2rem;
        background: rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.28);
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
        /* Fallback for browsers without backdrop-filter support */
        background-image: linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14));
    }
    
    .tagline-line1 {
        font-size: 1.2rem;
    }
    
    .tagline-line2 {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .product-info-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .product-counter {
        top: -10px;
        right: -10px;
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .product-nav {
        width: calc(100% + 60px);
        left: -30px;
    }
    
    .product-btn {
        width: 38px;
        height: 38px;
    }
    
    .product-name {
        font-size: 1.6rem;
    }
    
    .contact {
        padding: 4rem 0 3rem 0;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .features {
        margin-bottom: 2rem;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.8rem 1rem;
        min-height: auto;
    }
    
    .spec-label {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--dark-text);
        margin-bottom: 0.2rem;
    }
    
    .spec-value {
        font-size: 0.9rem;
        word-break: break-word;
        line-height: 1.4;
        max-width: 100%;
        color: var(--light-text);
        font-weight: 500;
    }
    
    .spec-grid {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-container {
        max-width: 340px;
        height: auto;
        max-height: 520px;
        margin-bottom: 2rem;
    }
    
    .carousel-wrapper {
        height: 420px;
        flex: none;
        min-height: 340px;
        max-height: 450px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    /* Show carousel navigation on mobile since hover doesn't work */
    .carousel-nav {
        opacity: 1;
        pointer-events: auto;
    }
    
    .carousel-indicators {
        padding-top: 1rem;
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .berry-illustration.large {
        width: 100px;
        height: 100px;
    }
    
    .footer {
        padding: 2rem 0;
        position: relative;
        z-index: 1;
        margin-bottom: 0;
        min-height: auto;
        margin-top: 2rem;
    }
    
    .footer-content {
        padding: 0 1rem;
        gap: 1.2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 1rem;
    }
    
    .footer-text {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-logo-img {
        height: 75px;
        max-width: 75px;
    }
    
    .footer-logo .logo-circle {
        width: 60px;
        height: 60px;
    }
    
    .footer-text p {
        font-size: 0.9rem;
    }
    
    .footer-text p:first-child {
        font-size: 0.95rem;
    }
    
    .about-logo-container {
        max-width: 250px;
        height: 250px;
        margin-bottom: 2rem;
    }
    
    .about-logo {
        max-width: 200px;
        max-height: 250px;
    }
    
    .catalog {
        padding: 1.5rem 0 6rem 0;
    }
    
    .about {
        padding: 4rem 0 3rem 0;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-paragraphs {
        padding: 0 1.5rem;
        margin-bottom: 2rem;
    }
    
    .about-paragraphs p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }
    
    /* Ensure footer is accessible on mobile */
    .footer {
        scroll-margin-top: 2rem;
        scroll-snap-align: end;
        position: relative;
        bottom: 0;
        width: 100%;
        margin-bottom: 0;
        padding-bottom: 2rem;
    }
    
    /* Fix mobile scrolling to footer */
    html, body {
        height: 100%;
        overflow-x: hidden;
    }
    
    body {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    /* Ensure main sections don't block footer */
    .catalog, .about, .contact {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .brand-name {
        font-size: 1.3rem;
        margin-left: 0.2rem;
    }
    
    .logo-img {
        height: 55px;
        max-width: 55px;
    }
    
    .nav-logo .logo-circle {
        width: 45px;
        height: 45px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .lang-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        min-width: 65px;
    }
    
    .footer-links {
        gap: 30px;
    }
    
    .footer-links a:not(:last-child)::after {
        right: -18px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    height: 100%;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: 0;
    margin-bottom: 0;
    height: auto;
}

/* Animation for elements coming into view */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.feature,
.about-visual {
    animation: fadeInUp 0.6s ease-out;
}

/* Form validation styles */
.form-group input.error,
.form-group textarea.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.form-group input.success,
.form-group textarea.success {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

/* Label styling for validation states */
.form-group:has(input.error) label,
.form-group:has(textarea.error) label {
    color: #ff6b6b;
    text-shadow: 0 0 6px rgba(255, 107, 107, 0.3);
}

.form-group:has(input.success) label,
.form-group:has(textarea.success) label {
    color: var(--accent-green);
    text-shadow: 0 0 6px rgba(76, 175, 80, 0.3);
}

.form-group .error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group .error-message.show {
    display: block;
}

/* Image Modal (Lightbox) */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000000;
}

.image-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.image-modal.active .modal-content {
    transform: scale(1);
}

.modal-image-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    min-height: 400px;
}

.modal-image-container:hover .modal-nav {
    opacity: 0.8;
}

.modal-image-container:not(:hover) .modal-nav {
    opacity: 0.2;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 20px;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    transform: scale(1);
}

.modal-image.fade-out {
    opacity: 0;
    transform: scale(0.98);
}

.modal-image.fade-in {
    opacity: 1;
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--dark-text);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.modal-close:active {
    transform: scale(0.95);
}

/* Modal Navigation Arrows */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10002;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.image-modal.active .modal-nav {
    opacity: 0.3;
    visibility: visible;
    pointer-events: auto;
}



.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.modal-nav:active {
    transform: translateY(-50%) scale(0.96);
    background: rgba(255, 255, 255, 0.3);
}

.modal-nav:disabled {
    opacity: 0.15 !important;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.1);
}

.modal-nav svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

/* Modal Counter */
.modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.active .modal-counter {
    opacity: 1;
    visibility: visible;
}

.modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.modal-loading.active {
    display: block;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--accent-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        background: transparent;
    }
    
    .modal-image-container {
        border-radius: 0;
        min-height: 100vh;
        width: 100vw;
        background: transparent;
    }
    
    .modal-image {
        border-radius: 0;
        max-height: 100vh;
        max-width: 100vw;
        background: transparent;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .modal-nav {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.25);
    }
    
    .modal-prev {
        left: 15px;
    }
    
    .modal-next {
        right: 15px;
    }
    
    .modal-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .modal-image-container:hover .modal-nav {
        opacity: 0.9;
    }
    
    .modal-image-container:not(:hover) .modal-nav {
        opacity: 0.25;
    }
    
    .modal-counter {
        bottom: 15px;
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        background: transparent;
    }
    
    .modal-image-container {
        border-radius: 0;
        min-height: 100vh;
        width: 100vw;
        background: transparent;
    }
    
    .modal-image {
        border-radius: 0;
        max-height: 100vh;
        max-width: 100vw;
        background: transparent;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.3);
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-nav svg {
        width: 18px;
        height: 18px;
    }
    
    .modal-image-container:hover .modal-nav {
        opacity: 0.85;
    }
    
    .modal-image-container:not(:hover) .modal-nav {
        opacity: 0.3;
    }
    
    .modal-counter {
        bottom: 10px;
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .image-modal,
    .modal-content {
        transition: none !important;
    }
    
    .loading-spinner {
        animation: none !important;
    }
}

/* ===========================
   LEGAL PAGES STYLES
=========================== */

.legal-content {
    padding: 120px 0 80px;
    background: var(--background-cream);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 1rem;
    font-style: italic;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-green);
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.legal-section ul, .legal-section ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.legal-section strong {
    color: var(--accent-purple);
    font-weight: 600;
}

.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--accent-purple);
}

.footer-links a:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -12px;
    color: var(--text-muted);
    font-weight: bold;
}

/* Mobile responsive for legal pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 0 60px;
    }
    
    .legal-header h1 {
        font-size: 2.2rem;
    }
    
    .legal-text {
        margin: 0 20px;
        padding: 40px 30px;
        border-radius: 15px;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 25px;
    }
    
    .footer-links a:not(:last-child)::after {
        right: -15px;
    }
}

/* Form Messages Styles */
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-width: 100%;
    word-wrap: break-word;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Submit Button Loading State */
.submit-button:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.submit-button.loading {
    position: relative;
}

.submit-button.loading::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Mobile responsive for form messages */
@media (max-width: 768px) {
    .form-message {
        margin: 15px 0 0 0;
        padding: 12px 15px;
        font-size: 0.9rem;
        border-radius: 6px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .form-message {
        margin: 12px 0 0 0;
        padding: 10px 12px;
        font-size: 0.85rem;
        border-radius: 5px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}
