:root {
    --primary-color: #054228;
    --secondary-color: #8B7355;
    --accent-color: #D4AF37;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --bg-light: #F8F6F3;
    --bg-white: #FFFFFF;
    --border-light: #E5E5E5;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    padding-top: 0; /* No padding since header is transparent initially */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
    --shrink-height: 100px;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: height 0.3s ease;
}

.header.scrolled .nav-container {
    height: 70px;
}

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

.site-logo-container {
    display: block;
    position: relative;
}

.site-logo-container img {
    height: 60px;
    width: auto;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.header.scrolled .site-logo-container img {
    height: 45px;
}

.default-logo {
    opacity: 1;
}

.sticky-logo {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.header.scrolled .default-logo {
    opacity: 0;
}

.header.scrolled .sticky-logo {
    opacity: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.header.scrolled .nav-link {
    color: var(--primary-color);
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-badge {
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-cta {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-cta {
        display: none;
    }
}

.ct-button-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.header.scrolled .ct-button-ghost {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.ct-button-ghost:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

.ct-button-ghost svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.ct-button-ghost:hover svg {
    transform: translateX(2px);
}

/* Desktop/Mobile element visibility */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.header.scrolled .bar {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

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

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Intro Section */
.intro {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.intro-text {
    font-size: 1.2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

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

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 0;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-icon svg {
    width: 3rem;
    height: 3rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Products Section */
.products {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Product Carousel */
.product-carousel {
    position: relative;
    margin: 2rem 0;
}

.carousel-container {
    overflow: hidden;
    margin: 0;
    position: relative;
    padding-bottom: 20px;
}


.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.carousel-track .product-card {
    flex: 0 0 calc(25% - 1.5rem);
    max-width: calc(25% - 1.5rem);
    min-height: 580px;
    height: auto;
    margin-bottom: 10px;
}

/* Gift boxes specific styling - 3 cards per row */
#gifts .carousel-track .product-card,
#cesti .carousel-track .product-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    max-width: calc(33.333% - 1.33rem);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: -60px;
}

.carousel-nav.next {
    right: -60px;
}

.product-card {
    background: white;
    border-radius: 0;
    overflow: visible;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

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

.product-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin: 0;
    border: none;
    width: 100%;
    aspect-ratio: 3/4;
}

.product-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    min-height: 230px;
}

.product-text {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.product-button {
    margin-top: auto;
    text-align: left;
}

.product-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.product-content p {
    margin-bottom: 1rem;
}

.product-details {
    margin: 1.5rem 0;
    font-size: 0.9rem;
    flex-grow: 1;
}

.product-details span {
    display: block;
    margin-bottom: 0.5rem;
}

.product-details p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.product-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Showcase Gallery Section */
.showcase-gallery {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.showcase-content.reverse {
    direction: rtl;
}

.showcase-content.reverse > * {
    direction: ltr;
}

.showcase-gallery-wrapper {
    position: relative;
}

.showcase-single-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: var(--shadow-medium);
}

.showcase-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-container {
    position: relative;
}

.gallery-main {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.gallery-slides {
    position: relative;
    width: 100%;
    height: 400px;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    border: none;
    background: rgba(5,66,40,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active,
.gallery-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Gallery dots in testimonials section (green background) */
.testimonials .gallery-dot {
    background: rgba(255, 255, 255, 0.4);
}

.testimonials .gallery-dot.active,
.testimonials .gallery-dot:hover {
    background: white;
    transform: scale(1.2);
}

.showcase-description {
    padding: 2rem 0;
}

.showcase-description h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.showcase-description h3 {
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.showcase-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.showcase-features {
    margin: 2rem 0;
}

.showcase-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.showcase-feature svg {
    color: var(--primary-color);
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

.showcase-cta {
    margin-top: 2rem;
}


/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-item {
    padding: 2rem;
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow-light);
}

.benefit-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.benefit-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #086d42 100%);
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.testimonials-track {
    position: relative;
    min-height: 400px;
    height: 400px;
    overflow: hidden;
    display: block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonials-carousel .testimonial-card {
    position: absolute;
    top: 0;
    width: calc(33.333% - 1rem);
    height: 350px;
    background: white;
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 0;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin: 0 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonials-carousel .testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.testimonials-carousel .testimonial-card:nth-child(1) { left: 0; }
.testimonials-carousel .testimonial-card:nth-child(2) { left: calc(33.333% + 0.5rem); }
.testimonials-carousel .testimonial-card:nth-child(3) { left: calc(66.666% + 1rem); }
.testimonials-carousel .testimonial-card:nth-child(4) { left: 0; }
.testimonials-carousel .testimonial-card:nth-child(5) { left: calc(33.333% + 0.5rem); }
.testimonials-carousel .testimonial-card:nth-child(6) { left: calc(66.666% + 1rem); }
.testimonials-carousel .testimonial-card:nth-child(7) { left: 0; }
.testimonials-carousel .testimonial-card:nth-child(8) { left: calc(33.333% + 0.5rem); }
.testimonials-carousel .testimonial-card:nth-child(9) { left: calc(66.666% + 1rem); }
.testimonials-carousel .testimonial-card:nth-child(10) { left: 0; }
.testimonials-carousel .testimonial-card:nth-child(11) { left: calc(33.333% + 0.5rem); }
.testimonials-carousel .testimonial-card:nth-child(12) { left: calc(66.666% + 1rem); }

.testimonial-content {
    font-style: italic;
    line-height: 1.8;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--accent-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Testimonial Dots Navigation */

/* Process Section */
.process {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 1rem;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    flex-shrink: 0;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    flex: 0 0 auto;
    align-self: center;
}

/* Timeline Section */
.deadlines {
    padding: 80px 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-light);
}

.timeline-item.highlight {
    border-left-color: var(--accent-color);
    background: linear-gradient(to right, rgba(212,175,55,0.1), transparent);
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 180px;
}

.timeline-content {
    margin-left: 2rem;
    color: var(--text-light);
}

/* CTA Middle Section */
.cta-middle {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #086d42 100%);
    color: white;
    text-align: center;
}

.cta-middle h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Guarantees Section */
.guarantees {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guarantee-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow-light);
}

.guarantee-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.guarantee-icon svg {
    width: 3rem;
    height: 3rem;
}

.guarantee-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Product Gallery Section - Full Width */
/* Illustrations Gallery - Horizontal layout, square format, no hover */
.illustrations-gallery-section {
    padding: 0;
    background: var(--bg-light);
    overflow-x: hidden;
}

.illustrations-gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 400px;
}

.illustration-item {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    border: none;
}

.illustration-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive illustrations gallery */
@media (max-width: 768px) {
    .illustrations-gallery-grid {
        height: 300px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-gallery-grid {
        height: 300px;
    }
    
    .gallery-overlay {
        padding: 15px;
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    }
    
    .gallery-overlay h4 {
        font-size: 0.9rem;
    }
    
    .gallery-overlay p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .product-gallery-grid {
        height: 250px;
    }
    
    .gallery-overlay h4 {
        font-size: 0.8rem;
    }
    
    .gallery-overlay p {
        font-size: 0.6rem;
    }
}

/* Section Background Pattern - Alternating */
/* Default white backgrounds */
.intro,
.showcase-gallery,
.deadlines,
.guarantees,
.product-gallery-section {
    background: white;
}

/* Alt background sections (light gray) */
.products.alt-bg,
.benefits.alt-bg,
.process.alt-bg,
.contact-form.alt-bg,
.showcase-gallery.alt-bg {
    background: var(--bg-light);
}

/* Special backgrounds */
.testimonials {
    background: linear-gradient(135deg, var(--primary-color) 0%, #086d42 100%);
    color: white;
}

.cta-middle {
    background: var(--primary-color);
}

.green-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, #086d42 100%);
    color: white;
}

.green-bg .section-title {
    color: white;
}

.green-bg .benefit-icon {
    color: var(--accent-color);
}

.green-bg .benefit-item h3 {
    color: white;
}

.green-bg .benefit-item p {
    color: rgba(255, 255, 255, 0.9);
}

.green-bg .benefit-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Contact Form Section */
.contact-form {
    padding: 80px 0;
}

/* Multi-step Form */
.multi-step-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Progress Indicator */
.form-progress {
    display: flex;
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-step.active:not(:last-child)::after,
.progress-step.completed:not(:last-child)::after {
    background: var(--primary-color);
}

.form-step-number {
    width: 30px;
    height: 30px;
    border-radius: 0;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step.active .form-step-number,
.progress-step.completed .form-step-number {
    background: var(--primary-color);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    font-weight: 500;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--primary-color);
}

/* Form Steps */
.form-step {
    display: none;
    padding: 40px;
    min-height: 350px;
}

.form-step.active {
    display: block;
}

.step-title {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

/* Product Selection */
.product-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.product-option {
    position: relative;
}

.product-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.product-card-mini {
    display: block;
    padding: 20px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.product-card-mini:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-option input:checked + .product-card-mini {
    border-color: var(--primary-color);
    background: rgba(76, 175, 80, 0.05);
}

.product-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.product-price-mini {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Summary Box */
.summary-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 0;
    margin-bottom: 25px;
}

.summary-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

#form-summary {
    color: var(--text-dark);
    line-height: 1.6;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.privacy-check input {
    margin-top: 4px;
    width: auto;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.form-navigation .btn {
    min-width: 120px;
}

/* Simple Contact Form */
.contact-form-simple {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

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

.section-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-item input[type="checkbox"] {
    margin-top: 2px;
    min-width: 18px;
    min-height: 18px;
}

.checkbox-item label {
    font-weight: 500;
    cursor: pointer;
    line-height: 1.4;
}

.privacy-checkbox {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 5px;
    border-left: 4px solid var(--accent-color);
}

.privacy-checkbox label {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.form-note {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
}

.thank-you-message {
    max-width: 800px;
    margin: 40px auto 0;
    background: var(--primary-color);
    color: white;
    border-radius: 0;
    padding: 40px;
    text-align: center;
}

.thank-you-content h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 2rem;
}

.thank-you-content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.thank-you-content ul {
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
}

.thank-you-content li {
    margin-bottom: 8px;
    padding-left: 10px;
}

.summary-box {
    background: var(--bg-light);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
}

.summary-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

#form-summary {
    line-height: 1.6;
}

#form-summary p {
    margin-bottom: 8px;
}

#form-summary strong {
    color: var(--primary-color);
}

/* Mobile Fullscreen - Only when opened */
@media (max-width: 768px) {
    .contact-form.mobile-fullscreen {
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        background: white;
        overflow-y: auto;
    }
    
    .contact-form {
        padding: 20px 0;
    }
    
    .contact-form.mobile-fullscreen .multi-step-form {
        max-width: none;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
    }
    
    .multi-step-form {
        width: 100%;
        margin: 0;
        padding: 20px;
    }
    
    .contact-form.mobile-fullscreen .form-progress {
        padding: 15px 10px;
        flex-shrink: 0;
    }
    
    .contact-form.mobile-fullscreen .progress-step {
        margin: 0 5px;
    }
    
    .contact-form.mobile-fullscreen .form-step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .contact-form.mobile-fullscreen .step-label {
        font-size: 0.75rem;
        display: none; /* Hide labels on very small screens */
    }
    
    .contact-form.mobile-fullscreen .form-step {
        flex: 1;
        padding: 20px 20px 100px 20px;
        overflow-y: auto;
        min-height: auto;
    }
    
    .contact-form.mobile-fullscreen .step-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
        margin-top: 40px;
        padding-right: 50px;
    }
    
    .contact-form.mobile-fullscreen .section-title {
        font-size: 1.5rem;
        margin-top: 60px;
        margin-bottom: 15px;
        padding: 0 15px;
        text-align: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .product-selection {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .product-card-mini {
        padding: 15px 10px;
    }
    
    .contact-form.mobile-fullscreen .form-navigation {
        padding: 15px 20px;
        flex-shrink: 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #eee;
        z-index: 10000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    
    .contact-form.mobile-fullscreen .form-navigation .btn {
        min-width: 100px;
        padding: 12px 16px;
    }
    
    /* Close button for mobile fullscreen */
    .contact-form.mobile-fullscreen .multi-step-form::before {
        content: '✕';
        position: absolute;
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        font-size: 1.2rem;
        color: #666;
    }
}

@media (min-width: 480px) and (max-width: 768px) {
    .step-label {
        display: block;
    }
    
    .product-selection {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile sticky footer - hidden by default on desktop */
.mobile-sticky-footer {
    display: none;
}

/* Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: white;
    padding: 3rem;
    border-radius: 0;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

.popup-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 0;
}

/* Product Popups */
.product-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.product-popup-overlay.active {
    display: flex;
}

.product-popup-content {
    background: white;
    border-radius: 0;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.product-popup-close:hover {
    background: rgba(0,0,0,0.7);
}

.product-popup-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

.product-gallery {
    padding: 20px;
    background: var(--bg-light);
}

.gallery-main-image {
    width: 100%;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: var(--shadow-medium);
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 0;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.product-price {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.product-description h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.product-description ul {
    list-style: none;
    margin-bottom: 20px;
}

.product-description li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
}

.product-description li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-specs {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 0;
    margin-bottom: 25px;
}

.product-specs p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.product-popup-cta {
    margin-top: auto;
    align-self: flex-start;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Desktop/Mobile visibility */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .nav-menu-content.mobile-only {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        gap: 1.5rem;
        width: 100%;
        margin-top: 2rem;
    }
    
    .nav-address.mobile-only {
        display: block !important;
    }
    
    /* Use full width on mobile */
    .container {
        padding: 0 10px;
    }
    
    /* Some sections can use even less padding */
    .hero .container {
        padding: 0 5px;
    }
    
    .showcase-gallery .container {
        padding: 0 20px;
    }
    
    /* Hide gallery dots for product and gift carousels on mobile */
    #products .gallery-dots,
    #gifts .gallery-dots,
    .product-carousel .gallery-dots {
        display: none;
    }
    
    /* Hide product gallery section on mobile */
    .product-gallery-section {
        display: none;
    }
    
    /* Mobile sticky footer with CTA button */
    .mobile-sticky-footer {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 15px 20px;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    
    .mobile-sticky-footer .btn {
        width: 100%;
        background: white;
        color: var(--primary-color);
        padding: 15px;
        text-align: center;
        border: 2px solid var(--primary-color);
        border-radius: 0;
        font-weight: 600;
        text-decoration: none;
        display: block;
        transition: all 0.3s ease;
    }
    
    .mobile-sticky-footer .btn:hover {
        background: var(--primary-color);
        color: white;
    }
    
    /* Product Carousel Mobile */
    .carousel-container {
        margin: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 15px;
        position: relative;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .carousel-nav.prev {
        left: 10px;
        z-index: 100;
        pointer-events: auto;
    }
    
    .carousel-nav.next {
        right: 10px;
        z-index: 100;
        pointer-events: auto;
    }
    
    .carousel-track {
        display: flex;
        gap: 1rem;
        padding: 0 2rem;
    }
    
    .carousel-track .product-card {
        flex: 0 0 calc(100vw - 4rem);
        max-width: calc(100vw - 4rem);
        min-height: 520px;
        height: auto;
        margin-bottom: 8px;
    }
    
    .product-image {
        height: 300px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .nav-container {
        height: 80px;
    }

    .header.scrolled .nav-container {
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        display: flex;
        flex-direction: column;
        background: var(--primary-color);
        width: 100vw;
        height: 100vh;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: none;
        padding: 80px 2rem 2rem 2rem;
        z-index: 1001;
        align-items: center;
        overflow-y: auto;
    }
    
    /* Logo in mobile menu */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: 60px;
        background-image: url('https://oleificio.oliopolla.it/wp-content/uploads/2024/12/olio-polla-casa-olearia-dal-1875-logo-bianco.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    /* Close button for mobile menu */
    .nav-menu::after {
        content: '×';
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
        font-size: 2rem;
        font-weight: 300;
        cursor: pointer;
        line-height: 1;
        z-index: 1000;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }
    
    .nav-menu::after:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        color: white !important;
        font-size: 1.3rem;
        font-weight: 500;
        padding: 1rem 0;
        width: 100%;
        max-width: 300px;
        border-bottom: none;
    }

    .nav-menu .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }

    .nav-menu .mobile-menu-cta {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        margin-bottom: 0;
        width: 100%;
    }

    .nav-menu .ct-button-ghost {
        background: var(--primary-color);
        color: white !important;
        padding: 15px 30px;
        font-size: 1.1rem;
        border: 2px solid white !important;
        border-radius: 0;
        width: auto;
        min-width: 250px;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .nav-menu .ct-button-ghost:hover {
        background: white !important;
        color: var(--primary-color) !important;
        transform: translateY(-2px);
    }
    
    
    .nav-address {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.5;
        text-align: center;
        margin-top: auto;
        padding-top: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-content {
        margin-left: 0;
        margin-top: 1rem;
    }

    /* Product Popups Mobile */
    .product-popup-content {
        max-width: 95%;
        margin: 10px;
    }

    .product-popup-body {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .gallery-main-image {
        height: 300px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .thumbnail {
        height: 60px;
    }

    .product-info {
        padding: 20px;
    }

    .product-info h2 {
        font-size: 1.5rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    /* Showcase Gallery Mobile */
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-slides {
        height: 300px;
    }

    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .showcase-description h2 {
        font-size: 2rem;
    }

    .showcase-description h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .products-grid,
    .benefits-grid,
    .testimonials-grid,
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-carousel {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .testimonials-track {
        flex-direction: column;
        min-height: auto;
        position: relative;
    }
    
    .testimonial-card {
        position: relative !important;
        width: 100% !important;
        left: 0 !important;
        margin: 0.5rem 0 !important;
        min-height: 200px;
    }
    
    .testimonial-card:nth-child(n) {
        left: 0 !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Product Popup CTA Button Styling */
.product-popup-cta {
    margin-top: 20px !important;
    padding-top: 12px !important;
}