/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: white;
}

@media (max-width: 768px) {
    .hero {
        height: 84vh;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    background: #f5eeea;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: transform, opacity;
}

.hero-bg-image:first-child {
    opacity: 1;
}

.hero-bg-image.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    gap: 60px;
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 0 40px;
        max-width: 90%;
    }
    
    .hero-title {
        font-size: 2.15rem;
        text-align: left;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding-left: 0;
    }
    
    .hero-testimonial,
    .more-testimonials {
        display: none !important;
    }
    
    .about-stats {
        position: static;
        margin-top: 2rem;
        width: 100%;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .hero-text {
        width: 100%;
        text-align: left;
    }
    
    .about-image {
        height: 250px;
    }
    
    .process .container {
        max-width: 90%;
    }
    
    .hero-subtitle-content {
        margin-bottom: 50px;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        color: white;
    }
}

.hero-text {
    flex: 1;
    max-width: 700px;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 300;
    line-height: var(--line-height-tight);
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    max-width: 650px;
}

/* Hero Subtitle - Static */
.hero-subtitle-content {
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: var(--line-height-relaxed);
}


.hero-actions {
    display: flex;
    gap: 20px;
}

.cta-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 0;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--font-size-sm);
    text-decoration: none;
    display: inline-block;
    line-height: 1;
}

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

.cta-btn.primary:hover {
    background: rgba(51, 51, 51, 0.9);
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: #cccccc;
    color: #000;
}

.hero-right {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    align-self: flex-start;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 300;
    line-height: 1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.stat-plus {
    color: white;
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Cleaned up unused product styles */

/* Extra small mobile phones */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.12rem;
        width: 100%;
        max-width: 100%;
        text-align: left;
        margin-left: 0;
        padding-left: 0;
    }

    .stat-number {
        font-size: var(--font-size-xl);
        font-weight: 300;
        line-height: 1;
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
        opacity: 0.8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
}

/* About Section */
.about {
    position: relative;
    padding: 80px 0;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: transparent;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.about-content {
    display: flex;
    justify-content: center;
    color: #000000;
    z-index: 1;
}

.about-centered {
    max-width: 800px;
    text-align: center;
}

@media (max-width: 768px) {
    .about-centered {
        max-width: 100%;
        padding: 0 20px;
    }
}

.about-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.about-accent-line {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    display: block;
}

.about-title {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    color: #000000;
    line-height: var(--line-height-tight);
    margin-bottom: 30px;
}

.about-description {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-description p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: #000000;
    font-weight: 300;
    margin: 0;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid #333;
    color: #000;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-decoration: none;
}

.about-btn:hover {
    background: #333;
    color: white;
}

.about-btn svg {
    transition: transform 0.3s ease;
}

.about-btn:hover svg {
    transform: translate(5px, -5px);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

.about-services {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-services p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin: 0;
}

.about-services h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: white;
    margin: 20px 0 10px 0;
}

.about-cta {
    margin-top: 20px;
}

.about-cta-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 300;
    font-size: 1rem;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
    cursor: pointer;
}

.about-cta-btn:hover {
    background: rgba(51, 51, 51, 0.9);
    transform: translateY(-2px);
}

/* Cleaned up unused certification section */

/* Gallery Section */
.gallery {
    padding: 80px 0 100px;
    background: #f5eeea;
    overflow: hidden;
}

.gallery .section-title {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    text-align: left;
    margin-bottom: 50px;
    color: #000;
    padding: 0;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    text-align: left;
    margin-bottom: 20px;
    color: #000;
}

.gallery-description {
    text-align: center;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Gallery Slider Container */
.gallery-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 80px;
    margin: 0 auto;
    max-width: calc(100% + 100px);
}

.gallery-slider {
    display: flex;
    gap: 5px;
    width: fit-content;
    transition: transform 0.5s ease;
}

.gallery-slide {
    flex-shrink: 0;
    width: 350px;
    height: 300px;
}

/* Override vizualizacie card styling for slider */
.gallery-slider .vizualizacie-card {
    width: 350px;
    height: 300px;
    margin: 0;
    justify-self: unset;
}

/* Gallery Arrow Styles with Liquid Glass Effect */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-arrow-prev {
    left: 10px;
}

.gallery-arrow-next {
    right: 10px;
}

.gallery-arrow svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .gallery-slider-container {
        padding: 0 60px;
        margin: 0 auto;
        max-width: calc(100% + 80px);
    }
    
    .gallery-slide {
        width: 320px;
        height: 225px;
    }
    
    .gallery-slider .vizualizacie-card {
        width: 320px;
        height: 225px;
    }
    
    .gallery-arrow {
        width: 45px;
        height: 45px;
    }
    
    .gallery-arrow svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .gallery-slider-container {
        padding: 0 50px;
        margin: 0 auto;
        max-width: calc(100% + 60px);
    }
    
    .gallery-slide {
        width: 300px;
        height: 210px;
    }
    
    .gallery-slider .vizualizacie-card {
        width: 300px;
        height: 210px;
    }
    
    .gallery-arrow {
        width: 40px;
        height: 40px;
    }
    
    .gallery-arrow svg {
        width: 16px;
        height: 16px;
    }
}

/* Removed conflicting gallery styles - now using vizualizacie-card styling */

/* Gallery All Projects Button */
.gallery-all-projects {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    background: #f5eeea;
    border: grey solid 0.5px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}


.gallery-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f5eeea;
    text-decoration: none;
    color: black;
    position: relative;
    z-index: 2;
}

.gallery-all-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.gallery-all-content h3 {
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.gallery-all-icon {
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.gallery-all-projects:hover .gallery-all-icon {
    transform: translateX(5px);
}

