﻿/* === GLOBAL STYLES === */
:root {
    --orange-primary: #003366;
    --orange-light: #004488;
    --orange-accent: #F59C00;
    --dark-bg: #1a1a1a;
    --grey-light: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    padding: 4rem 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
}

}

/* Building Block Animations */
.building-block {
    position: absolute;
    width: 80px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3), rgba(255, 193, 7, 0.2));
    border: 2px solid rgba(255, 152, 0, 0.4);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.building-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 2px;
    background: rgba(255, 152, 0, 0.3);
}

.block-1 {
    top: 20%;
    left: 15%;
    animation: floatBlock1 16s ease-in-out infinite;
}

.block-2 {
    bottom: 25%;
    right: 20%;
    width: 100px;
    height: 60px;
    animation: floatBlock2 18s ease-in-out infinite;
}

.block-3 {
    top: 55%;
    left: 10%;
    width: 70px;
    height: 45px;
    animation: floatBlock3 14s ease-in-out infinite;
}

@keyframes floatBlock1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
    25% { transform: translate(20px, -30px) rotate(5deg); opacity: 0.6; }
    50% { transform: translate(40px, 20px) rotate(-5deg); opacity: 0.5; }
    75% { transform: translate(10px, 35px) rotate(3deg); opacity: 0.6; }
}

@keyframes floatBlock2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
    33% { transform: translate(-35px, 30px) rotate(-6deg); opacity: 0.6; }
    66% { transform: translate(25px, -40px) rotate(4deg); opacity: 0.4; }
}

@keyframes floatBlock3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    50% { transform: translate(-25px, -35px) rotate(-7deg); opacity: 0.6; }
}

/* Blueprint Line Animations */
.blueprint-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(33, 150, 243, 0.6), 
        rgba(33, 150, 243, 0.4), 
        transparent);
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
}

.blueprint-line::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(33, 150, 243, 0.6);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.line-1 {
    width: 300px;
    top: 30%;
    left: -100px;
    animation: slideLine1 20s linear infinite;
}

.line-2 {
    width: 250px;
    bottom: 35%;
    right: -80px;
    animation: slideLine2 18s linear infinite;
}

.line-3 {
    width: 200px;
    top: 65%;
    left: -70px;
    animation: slideLine3 16s linear infinite;
}

@keyframes slideLine1 {
    0% { left: -100px; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { left: 100%; opacity: 0; }
}

@keyframes slideLine2 {
    0% { right: -80px; opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { right: 100%; opacity: 0; }
}

@keyframes slideLine3 {
    0% { left: -70px; opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { left: 100%; opacity: 0; }
}

/* Construction Tool Animations */
.construction-tool {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid rgba(76, 175, 80, 0.4);
    transform: rotate(45deg);
}

.construction-tool::before,
.construction-tool::after {
    content: '';
    position: absolute;
    background: rgba(76, 175, 80, 0.3);
}

.construction-tool::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.construction-tool::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.tool-1 {
    top: 40%;
    right: 15%;
    animation: rotateTool1 20s ease-in-out infinite;
}

.tool-2 {
    bottom: 20%;
    left: 25%;
    width: 50px;
    height: 50px;
    animation: rotateTool2 18s ease-in-out infinite;
}

@keyframes rotateTool1 {
    0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.4; }
    25% { transform: rotate(135deg) scale(1.2); opacity: 0.6; }
    50% { transform: rotate(225deg) scale(0.9); opacity: 0.5; }
    75% { transform: rotate(315deg) scale(1.1); opacity: 0.6; }
}

@keyframes rotateTool2 {
    0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.3; }
    50% { transform: rotate(225deg) scale(1.3); opacity: 0.6; }
}

/* Grid Pattern */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 30s linear infinite;
}

@keyframes moveGrid {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
    letter-spacing: 2px;
    line-height: 1.1;
}

.hero-content h1 .subtitle {
    display: block;
    font-size: 4rem;
    background: linear-gradient(45deg, var(--orange-primary), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* 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-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange-light);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 400;
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent);
}

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--orange-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--orange-primary), var(--orange-light));
    margin: 1.5rem auto;
    border-radius: 2px;
}

/* === INTRO SECTION === */
.intro-section {
    padding: 5rem 0;
    background: white;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-text strong {
    color: var(--orange-primary);
    font-weight: 600;
}

/* === MATERIALS SECTION === */
.materials-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, white, var(--grey-light));
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.material-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.material-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--orange-primary), var(--orange-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.material-card:hover::before {
    transform: scaleX(1);
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,51,102,0.15);
}

.material-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.material-icon.zinc {
    background: linear-gradient(135deg, #9E9E9E, #757575);
    box-shadow: 0 5px 20px rgba(158, 158, 158, 0.3);
}

.material-icon.aluminum {
    background: linear-gradient(135deg, #CFD8DC, #90A4AE);
    box-shadow: 0 5px 20px rgba(144, 164, 174, 0.3);
}

.material-icon.stainless {
    background: linear-gradient(135deg, #B0BEC5, #78909C);
    box-shadow: 0 5px 20px rgba(120, 144, 156, 0.3);
}

.material-icon.glass {
    background: linear-gradient(135deg, #81D4FA, #4FC3F7);
    box-shadow: 0 5px 20px rgba(79, 195, 247, 0.3);
}

.material-card h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.material-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.material-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* === GLASS TYPES SECTION === */
.glass-types-section {
    padding: 5rem 0;
    background: white;
}

.glass-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.glass-type-card {
    background: linear-gradient(135deg, #f8f9fa, white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
}

.glass-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,51,102,0.15);
}

.type-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,51,102,0.3);
}

.glass-type-card h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding-right: 60px;
}

.type-features {
    list-style: none;
}

.type-features li {
    padding: 0.8rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.type-features li i {
    color: var(--orange-primary);
    font-size: 0.9rem;
}

/* === ROD RAILINGS SECTION === */
.rod-railings-section {
    padding: 5rem 0;
    background: var(--grey-light);
}

.rod-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.rod-type-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.rod-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,51,102,0.15);
}

.rod-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.rod-type-card h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.rod-type-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* === COMBINED SECTION === */
.combined-section {
    padding: 5rem 0;
    background: white;
}

.combined-content {
    max-width: 1000px;
    margin: 0 auto;
}

.combined-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.combined-item {
    background: linear-gradient(135deg, var(--grey-light), white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.combined-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,51,102,0.15);
}

.combined-item i {
    font-size: 3rem;
    color: var(--orange-primary);
    margin-bottom: 1rem;
}

.combined-item h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.combined-item p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* === GALLERY SECTION === */
.gallery-section {
    padding: 5rem 0;
    background: var(--grey-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    aspect-ratio: 1/1;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,51,102,0.9), rgba(0,68,136,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay i {
    font-size: 3rem;
    color: white;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* === CTA SECTION === */
.cta-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
    animation: floatElement 20s ease-in-out infinite;
}

.element-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.element-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.element-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes floatElement {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta,
.btn-cta-secondary {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-cta {
    background: linear-gradient(45deg, var(--orange-primary), var(--orange-light));
    color: white;
    box-shadow: 0 5px 20px rgba(0,51,102,0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,51,102,0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--orange-primary);
    transform: translateY(-3px);
}

/* === FOOTER === */
.main-footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 0 2rem;
}

.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: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--orange-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--orange-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-content h1 .subtitle {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 140px;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h1 .subtitle {
        font-size: 2.5rem;
    }
    
    .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-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-divider {
        width: 50px;
        height: 2px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .materials-grid,
    .glass-types-grid,
    .rod-types-grid,
    .combined-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 125px;
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h1 .subtitle {
        font-size: 2rem;
    }
    
    .hero-image-wrapper {
        margin: 0 auto 1.2rem;
    }
    
    .hero-image {
        border-radius: 12px;
    }
    
    .material-card,
    .glass-type-card,
    .rod-type-card,
    .combined-item {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
/* =================================================================
   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;
    }
}
