﻿/* =================================================================
   STŘÍŽKY NAD VCHOD - MODERN CSS
   ================================================================= */

/* CSS Variables */
:root {
    --orange-primary: #003366;
    --orange-light: #004488;
    --orange-accent: #F59C00;
    --orange-lighter: rgba(0, 51, 102, 0.1);
    --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 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 Canopy Shapes */
.canopy-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50% 50% 0 0;
    backdrop-filter: blur(5px);
}

.canopy-shape.shape-1 {
    width: 400px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation: floatCanopy1 18s ease-in-out infinite;
}

.canopy-shape.shape-2 {
    width: 350px;
    height: 175px;
    top: 50%;
    right: 10%;
    animation: floatCanopy2 16s ease-in-out infinite;
}

.canopy-shape.shape-3 {
    width: 300px;
    height: 150px;
    bottom: 15%;
    left: 15%;
    animation: floatCanopy3 20s ease-in-out infinite;
}

@keyframes floatCanopy1 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-30px) rotate(5deg); opacity: 0.8; }
}

@keyframes floatCanopy2 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-40px) rotate(-5deg); opacity: 0.7; }
}

@keyframes floatCanopy3 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-25px) rotate(3deg); opacity: 0.9; }
}

/* Animated Rain Drops */
.rain-drop {
    position: absolute;
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    border-radius: 50%;
}

.rain-drop.drop-1 {
    top: -50px;
    left: 20%;
    animation: fallDrop 3s linear infinite;
}

.rain-drop.drop-2 {
    top: -50px;
    left: 50%;
    animation: fallDrop 3s linear infinite 1s;
}

.rain-drop.drop-3 {
    top: -50px;
    left: 80%;
    animation: fallDrop 3s linear infinite 2s;
}

@keyframes fallDrop {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Animated Sun Rays */
.sun-ray {
    position: absolute;
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    transform-origin: top center;
}

.sun-ray.ray-1 {
    top: 15%;
    right: 20%;
    animation: rotateSun 15s linear infinite;
}

.sun-ray.ray-2 {
    top: 25%;
    right: 35%;
    animation: rotateSun 15s linear infinite 7.5s;
}

@keyframes rotateSun {
    0%, 100% { transform: rotate(0deg); opacity: 0.3; }
    50% { transform: rotate(180deg); opacity: 0.6; }
}

/* 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: 3.5rem;
    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-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-feature i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.hero-feature 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-grid {
    display: grid;
    grid-template-columns: 1fr 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;
}

.feature-box {
    background: var(--grey-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--orange-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-box p {
    color: var(--text-light);
    line-height: 1.8;
}

/* =================================================================
   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 {
    position: relative;
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--orange-primary);
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.type-number {
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 4rem;
    font-weight: 700;
    color: var(--orange-lighter);
    line-height: 1;
}

.type-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-bottom: 25px;
}

.type-icon i {
    font-size: 2rem;
    color: white;
}

.type-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.type-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.type-badge {
    display: inline-block;
    background: var(--orange-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 20px;
}

/* =================================================================
   SUSPENDED SECTION
   ================================================================= */
.suspended-section {
    padding: 100px 0;
    background: var(--white);
}

.suspended-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.suspended-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.suspended-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.suspended-image:hover img {
    transform: scale(1.05);
}

.image-overlay-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--orange-primary);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.image-overlay-badge i {
    font-size: 1.2rem;
}

.specs-grid {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.spec-item {
    display: flex;
    gap: 20px;
    align-items: start;
    background: var(--grey-light);
    padding: 20px;
    border-radius: 10px;
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-icon i {
    font-size: 1.3rem;
    color: var(--orange-primary);
}

.spec-content strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.spec-content p {
    color: var(--text-light);
    margin: 0;
}

.highlight-box {
    background: linear-gradient(135deg, var(--orange-lighter), transparent);
    border-left: 4px solid var(--orange-primary);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
}

.highlight-box i {
    font-size: 1.5rem;
    color: var(--orange-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.highlight-box p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.8;
}

.check-list {
    list-style: none;
    margin-top: 25px;
}

.check-list li {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.check-list i {
    color: var(--orange-primary);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* =================================================================
   CONSTRUCTION SECTION
   ================================================================= */
.construction-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--grey-light), var(--white));
}

.construction-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantage-items {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.advantage-item {
    display: flex;
    gap: 20px;
    align-items: start;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.advantage-item i {
    font-size: 2rem;
    color: var(--orange-primary);
    flex-shrink: 0;
}

.advantage-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.advantage-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.material-options {
    background: var(--grey-light);
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.material-options h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.material-options h4 i {
    color: var(--orange-primary);
}

.option-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.option-tag i {
    color: var(--orange-primary);
}

.construction-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.construction-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.construction-image:hover img {
    transform: scale(1.05);
}

/* =================================================================
   GLUING SECTION
   ================================================================= */
.gluing-section {
    padding: 100px 0;
    background: var(--white);
}

.gluing-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gluing-card {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.gluing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gluing-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.gluing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.gluing-card p {
    opacity: 0.9;
    line-height: 1.7;
}

/* =================================================================
   BENEFITS SECTION
   ================================================================= */
.benefits-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--grey-light), var(--white));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    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);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.benefit-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;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* =================================================================
   GALLERY SECTIONS
   ================================================================= */
.gallery-preview-section {
    padding: 80px 0;
    background: var(--white);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.preview-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.preview-image:hover img {
    transform: scale(1.1);
}

.full-gallery-section {
    padding: 0 0 80px 0;
    background: var(--white);
}

/* Gallery Styles (Swiper) */
.gallery-section {
    margin-top: 0;
}

.swiper {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey-light);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--orange-primary);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: var(--orange-primary);
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* =================================================================
   FOOTER STYLES
   ================================================================= */
.main-footer {
    background: var(--dark-bg);
    color: #ccc;
    padding: 60px 0 30px;
}

.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-section p {
    line-height: 1.8;
    color: #ccc;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--orange-primary);
    transform: translateY(-3px);
}

.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.5rem;
    }
    
    .intro-grid,
    .suspended-content,
    .construction-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .construction-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 140px;
        height: 60vh;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h1 .subtitle {
        font-size: 2rem;
    }
    
    .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-features {
        gap: 25px;
    }
    
    .canopy-shape.shape-1 {
        width: 300px;
        height: 150px;
    }
    
    .canopy-shape.shape-2 {
        width: 250px;
        height: 125px;
    }
    
    .canopy-shape.shape-3 {
        width: 200px;
        height: 100px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-section,
    .types-section,
    .suspended-section,
    .construction-section,
    .gluing-section,
    .benefits-section {
        padding: 60px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 125px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h1 .subtitle {
        font-size: 1.7rem;
    }
    
    .hero-image-wrapper {
        margin: 0 auto 1.2rem;
    }
    
    .hero-image {
        border-radius: 12px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1.05rem;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   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;
    }
}
