﻿/* =================================================================
   SVAŘOVANÉ ZÁBRADLÍ - MODERN CSS
   ================================================================= */

/* CSS Variables */
:root {
    --orange-primary: #003366;
    --orange-light: #004488;
    --orange-accent: #F59C00;
    --orange-lighter: rgba(0, 51, 102, 0.1);
    --weld-orange: #ff6600;
    --weld-yellow: #ffcc00;
    --dark-bg: #1a1a1a;
    --grey-light: #f4f4f4;
    --grey-medium: #e0e0e0;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
}

/* Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =================================================================
   HERO SECTION WITH WELDING ANIMATIONS
   ================================================================= */
.hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    padding: 4rem 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Animated Weld Frames */
.weld-frame {
    position: absolute;
    border: 4px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.weld-frame.frame-1 {
    width: 350px;
    height: 220px;
    top: 12%;
    left: 10%;
    border-radius: 8px;
    animation: floatWeld1 19s ease-in-out infinite;
}

.weld-frame.frame-2 {
    width: 300px;
    height: 180px;
    top: 50%;
    right: 15%;
    border-radius: 8px;
    animation: floatWeld2 17s ease-in-out infinite;
}

.weld-frame.frame-3 {
    width: 280px;
    height: 160px;
    bottom: 18%;
    left: 20%;
    border-radius: 8px;
    animation: floatWeld3 21s ease-in-out infinite;
}

@keyframes floatWeld1 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-28px) rotate(2deg); opacity: 0.8; }
}

@keyframes floatWeld2 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    50% { transform: translateY(-35px) rotate(-2deg); opacity: 0.75; }
}

@keyframes floatWeld3 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-22px) rotate(1deg); opacity: 0.85; }
}

/* Welding Sparks */
.spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, var(--weld-yellow), var(--weld-orange));
    border-radius: 50%;
    box-shadow: 0 0 10px var(--weld-orange), 0 0 20px var(--weld-yellow);
}

.spark.spark-1 {
    top: 20%;
    left: 25%;
    animation: sparkFly 2.5s ease-out infinite;
}

.spark.spark-2 {
    top: 30%;
    left: 28%;
    animation: sparkFly 2.5s ease-out infinite 0.5s;
}

.spark.spark-3 {
    top: 60%;
    right: 30%;
    animation: sparkFly 2.5s ease-out infinite 1s;
}

.spark.spark-4 {
    top: 65%;
    right: 33%;
    animation: sparkFly 2.5s ease-out infinite 1.5s;
}

.spark.spark-5 {
    bottom: 25%;
    left: 35%;
    animation: sparkFly 2.5s ease-out infinite 2s;
}

@keyframes sparkFly {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(40px, 60px) scale(0); opacity: 0; }
}

/* Metal Bars */
.metal-bar {
    position: absolute;
    width: 6px;
    height: 140px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.15));
    border-radius: 3px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
}

.metal-bar.bar-1 {
    top: 18%;
    right: 22%;
    animation: floatBar 16s ease-in-out infinite;
}

.metal-bar.bar-2 {
    bottom: 22%;
    right: 40%;
    height: 120px;
    animation: floatBar 18s ease-in-out infinite 8s;
}

@keyframes floatBar {
    0%, 100% { transform: translateY(0) rotate(15deg); opacity: 0.4; }
    50% { transform: translateY(-35px) rotate(15deg); opacity: 0.7; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.hero h1 .subtitle {
    display: block;
    font-size: 3rem;
    color: rgba(255,255,255,0.95);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    max-width: 650px;
    width: 100%;
    margin: 0 auto 2rem;
    animation: fadeInUp 1.1s ease;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.hero-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.badge-item i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.badge-item span {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =================================================================
   INTRO SECTION
   ================================================================= */
.intro-section {
    padding: 100px 0;
    background: var(--white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-header {
    margin-bottom: 30px;
}

.section-label {
    display: inline-block;
    color: var(--orange-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-primary), transparent);
    border-radius: 2px;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.intro-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.intro-stats {
    display: grid;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-icon {
    margin-bottom: 15px;
}

.stat-icon i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* =================================================================
   TYPES SECTION
   ================================================================= */
.types-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--grey-light), var(--white));
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.type-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 5px solid var(--orange-primary);
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.type-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-icon i {
    font-size: 2rem;
    color: white;
}

.type-badge {
    background: var(--orange-primary);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.type-badge.premium {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

.type-badge.exclusive {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--text-dark);
}

.type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.type-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.type-features {
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.feature-item i {
    color: var(--orange-primary);
    font-size: 1.1rem;
}

.type-tech {
    background: var(--grey-light);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.type-tech strong {
    color: var(--text-dark);
}

/* =================================================================
   MOUNTING SECTION
   ================================================================= */
.mounting-section {
    padding: 100px 0;
    background: var(--white);
}

.mounting-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mounting-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mounting-option {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    color: white;
    padding: 40px 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mounting-option:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.mounting-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mounting-icon i {
    font-size: 2.5rem;
}

.mounting-option h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.mounting-option p {
    opacity: 0.95;
    line-height: 1.6;
}

/* =================================================================
   GALLERY SECTION
   ================================================================= */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--grey-light), var(--white));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,51,102,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 3rem;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* =================================================================
   SOLUTIONS SECTION
   ================================================================= */
.solutions-section {
    padding: 100px 0;
    background: var(--white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.solution-card {
    background: var(--grey-light);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--orange-primary);
}

.solution-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.solution-card i {
    font-size: 2.5rem;
    color: var(--orange-primary);
    margin-bottom: 15px;
}

.solution-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* =================================================================
   FILLINGS SECTION
   ================================================================= */
.fillings-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--grey-light), var(--white));
}

.fillings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.filling-item {
    position: relative;
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--orange-primary);
}

.filling-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.filling-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.filling-icon i {
    font-size: 2.5rem;
    color: white;
}

.filling-item h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.filling-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.filling-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--orange-primary);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* =================================================================
   ADVANTAGES SECTION
   ================================================================= */
.advantages-section {
    padding: 100px 0;
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-item {
    background: var(--grey-light);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--orange-primary);
}

.advantage-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 1.8rem;
    color: white;
}

.advantage-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.advantage-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =================================================================
   CTA SECTION
   ================================================================= */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    color: white;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.floating-circle.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation: floatCircleCTA 15s ease-in-out infinite;
}

.floating-circle.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation: floatCircleCTA 18s ease-in-out infinite 5s;
}

.floating-circle.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -75px;
    animation: floatCircleCTA 20s ease-in-out infinite 10s;
}

@keyframes floatCircleCTA {
    0%, 100% { transform: translate(0, 0); opacity: 0.5; }
    50% { transform: translate(30px, -30px); opacity: 0.8; }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: var(--orange-primary);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.btn-cta-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 15px 40px;
    border: 2px solid white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--orange-primary);
    transform: translateY(-3px);
}

/* =================================================================
   FOOTER STYLES
   ================================================================= */
.main-footer {
    background: var(--dark-bg);
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--orange-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--orange-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h1 .subtitle {
        font-size: 2.3rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 140px;
        height: 60vh;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h1 .subtitle {
        font-size: 1.9rem;
    }
    
    .hero-image-wrapper {
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }
    
    .hero-image {
        border-radius: 16px;
        border-width: 2px;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-badges {
        gap: 25px;
    }
    
    .weld-frame.frame-1 {
        width: 280px;
        height: 170px;
    }
    
    .weld-frame.frame-2 {
        width: 240px;
        height: 140px;
    }
    
    .weld-frame.frame-3 {
        width: 220px;
        height: 130px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .intro-section,
    .types-section,
    .mounting-section,
    .gallery-section,
    .solutions-section,
    .fillings-section,
    .advantages-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 125px;
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h1 .subtitle {
        font-size: 1.6rem;
    }
    
    .hero-image-wrapper {
        margin: 0 auto 1.2rem;
    }
    
    .hero-image {
        border-radius: 12px;
    }
    
    .hero-badges {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1.05rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
    }
}

/* =================================================================
   HERO CONTENT LAYOUT
   ================================================================= */
.content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.content-text {
    padding-right: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35);
}

.card-content {
    padding: 3rem;
}

.card-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 1.5rem;
}

.card-content p:last-child {
    margin-bottom: 0;
}

.content-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-wrapper:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 35px 70px -12px rgba(0, 0, 0, 0.4);
}

.feature-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-wrapper:hover .feature-image {
    transform: scale(1.08);
}

/* Animace pro hero elementy */
@keyframes fadeInUpHero {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.info-card,
.image-wrapper {
    animation: fadeInUpHero 0.8s ease backwards;
}

.info-card {
    animation-delay: 0.3s !important;
}

.image-wrapper {
    animation-delay: 0.5s !important;
}

/* Responsive pro content-wrapper */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-text {
        padding-right: 0;
    }

    .card-content {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
   .content-wrapper {
        gap: 2rem;
        margin-top: 2rem;
    }

    .card-content {
        padding: 2rem;
    }

    .card-content p {
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .image-wrapper:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

/* Hero safe-height override */
@media (max-width: 768px) {
    .hero {
        height: auto !important;
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: auto !important;
        min-height: 420px;
    }
}

/* Hero header offset override */
.hero {
    margin-top: 118px !important;
}

@media (max-width: 768px) {
    .hero {
        margin-top: 140px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 125px !important;
    }
}

/* Hero image proportion override */
.hero-image-wrapper {
    max-width: min(820px, 92vw) !important;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 20px;
}

.hero-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 992px) {
    .hero-image-wrapper {
        max-width: min(700px, 94vw) !important;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 768px) {
    .hero-image-wrapper {
        max-width: 100% !important;
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .hero-image-wrapper {
        aspect-ratio: 5 / 4;
        border-radius: 12px;
    }
}

/* Footer consistency override */
.main-footer {
    background: #1a1a1a !important;
    color: #f3f3f3 !important;
    width: 100%;
    clear: both;
}

.main-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1.5rem;
}

.main-footer .footer-content {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.main-footer .footer-section {
    min-width: 0;
}

.main-footer .footer-section h3 {
    margin-bottom: 1rem;
}

.main-footer .footer-section p,
.main-footer .footer-section li,
.main-footer .footer-section a {
    line-height: 1.7;
    word-break: break-word;
}

.main-footer .footer-links,
.main-footer .footer-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-footer .footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

@media (max-width: 992px) {
    .main-footer .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-footer .footer-container {
        padding: 2rem 1rem 1.25rem;
    }

    .main-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .main-footer .footer-section {
        text-align: left;
    }
}
