﻿/* ============================
   CSS Variables
   ============================ */
:root {
    --orange-primary: #003366;
    --orange-light: #004488;
    --orange-accent: #F59C00;
    --dark-bg: #1a1a1a;
    --grey-light: #f4f4f4;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --steel-gray: #5a6268;
    --aluminum-silver: #c0c0c0;
    --stainless-shine: #e0e0e0;
}

/* ============================
   Reset & Base 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
   ============================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #001a33 0%, #003366 50%, #004488 100%);
    padding: 4rem 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Stair Step Animations */
.stair-step {
    position: absolute;
    width: 100px;
    height: 30px;
    background: linear-gradient(135deg, rgba(90, 98, 104, 0.2) 0%, rgba(90, 98, 104, 0.05) 100%);
    border-left: 3px solid rgba(90, 98, 104, 0.3);
    border-top: 2px solid rgba(90, 98, 104, 0.3);
    backdrop-filter: blur(5px);
}

.stair-step::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 3px;
    height: 25px;
    background: rgba(90, 98, 104, 0.3);
}

.step-1 {
    top: 15%;
    left: 10%;
    animation: floatStep1 16s ease-in-out infinite;
}

.step-2 {
    top: 35%;
    right: 15%;
    width: 120px;
    animation: floatStep2 18s ease-in-out infinite;
}

.step-3 {
    bottom: 25%;
    left: 15%;
    width: 90px;
    animation: floatStep3 17s ease-in-out infinite;
}

.step-4 {
    top: 60%;
    right: 8%;
    width: 110px;
    animation: floatStep4 19s ease-in-out infinite;
}

/* Handrail Animations */
.handrail {
    position: absolute;
    width: 150px;
    height: 8px;
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.4) 0%, rgba(192, 192, 192, 0.15) 100%);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.handrail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: rgba(255, 165, 0, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
}

.handrail::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: rgba(255, 165, 0, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
}

.handrail-1 {
    top: 25%;
    left: 20%;
    transform: rotate(15deg);
    animation: floatHandrail1 14s ease-in-out infinite;
}

.handrail-2 {
    bottom: 30%;
    right: 20%;
    transform: rotate(-20deg);
    animation: floatHandrail2 16s ease-in-out infinite;
}

/* Geometric Line Animations */
.geometric-line {
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.5) 0%, rgba(192, 192, 192, 0.1) 100%);
}

.line-1 {
    top: 20%;
    right: 30%;
    animation: growLine 12s ease-in-out infinite;
}

.line-2 {
    bottom: 20%;
    left: 25%;
    animation: growLine 14s ease-in-out infinite;
    animation-delay: -4s;
}

.line-3 {
    top: 50%;
    left: 35%;
    animation: growLine 13s ease-in-out infinite;
    animation-delay: -7s;
}

/* Keyframe Animations */
@keyframes floatStep1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -15px) rotate(3deg); }
    50% { transform: translate(50px, 10px) rotate(-2deg); }
    75% { transform: translate(20px, 20px) rotate(4deg); }
}

@keyframes floatStep2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-35px, 20px) rotate(-5deg); }
    66% { transform: translate(-15px, -25px) rotate(4deg); }
}

@keyframes floatStep3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    30% { transform: translate(40px, 15px) rotate(6deg); }
    60% { transform: translate(-25px, -20px) rotate(-4deg); }
}

@keyframes floatStep4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    40% { transform: translate(-30px, -20px) rotate(-7deg); }
    70% { transform: translate(25px, 15px) rotate(5deg); }
}

@keyframes floatHandrail1 {
    0%, 100% { transform: rotate(15deg) translateY(0); }
    50% { transform: rotate(20deg) translateY(-25px); }
}

@keyframes floatHandrail2 {
    0%, 100% { transform: rotate(-20deg) translateY(0); }
    50% { transform: rotate(-15deg) translateY(-30px); }
}

@keyframes growLine {
    0%, 100% { height: 80px; opacity: 0.5; }
    50% { height: 120px; opacity: 0.3; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-content h1 .subtitle {
    display: block;
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* 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: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

/* ============================
   Section Styles
   ============================ */
.intro-section,
.materials-section,
.fillings-section,
.staircase-section,
.gallery-section,
.process-section,
.advantages-section {
    padding: 80px 0;
}

.intro-section {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    color: var(--orange-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-primary), var(--orange-light));
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================
   Intro Section
   ============================ */
.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.4);
}

/* ============================
   Materials Section
   ============================ */
.materials-section {
    background: var(--grey-light);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.material-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.material-card.featured {
    border: 2px solid var(--orange-primary);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 51, 102, 0.3);
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.material-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.material-icon.steel {
    background: linear-gradient(135deg, #5a6268, #3a4148);
}

.material-icon.aluminum {
    background: linear-gradient(135deg, #c0c0c0, #909090);
}

.material-icon.stainless {
    background: linear-gradient(135deg, #e0e0e0, #b0b0b0);
}

.material-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.material-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.material-features {
    list-style: none;
    text-align: left;
}

.material-features li {
    padding: 8px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.material-features li i {
    color: var(--orange-primary);
    font-size: 0.9rem;
}

/* ============================
   Fillings Section
   ============================ */
.fillings-section {
    background: var(--white);
}

.fillings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.filling-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    background: var(--grey-light);
    padding: 30px;
    border-radius: 15px;
    align-items: center;
    transition: all 0.3s ease;
}

.filling-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.filling-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.filling-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.filling-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.filling-content ul {
    list-style: none;
}

.filling-content ul li {
    padding: 5px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.filling-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--orange-primary);
}

/* ============================
   Staircase Section
   ============================ */
.staircase-section {
    background: var(--grey-light);
}

.staircase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.staircase-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.staircase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.staircase-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.image-overlay i {
    font-size: 1.5rem;
    color: var(--orange-primary);
}

.image-overlay span {
    font-weight: 600;
    color: var(--text-dark);
}

.staircase-content .section-header {
    text-align: left;
}

.staircase-content .section-header .section-divider {
    margin: 0;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.staircase-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.staircase-features .feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.staircase-features .feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.staircase-features .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-text p {
    color: var(--text-light);
    margin: 0;
}

/* ============================
   Gallery Section
   ============================ */
.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--white);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ============================
   Process Section
   ============================ */
.process-section {
    background: var(--grey-light);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 30px;
    align-items: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange-primary);
    opacity: 0.3;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.step-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;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

/* ============================
   Advantages Section
   ============================ */
.advantages-section {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--grey-light);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--orange-primary);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================
   CTA Section
   ============================ */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
    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.1);
    animation: floatCircle 20s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
    animation-delay: -5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: -50px;
    animation-delay: -10s;
}

@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.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,
.btn-cta-secondary {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta {
    background: var(--white);
    color: var(--orange-primary);
}

.btn-cta:hover {
    background: var(--grey-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-cta-secondary:hover {
    background: var(--white);
    color: var(--orange-primary);
    transform: translateY(-3px);
}

/* ============================
   Footer Styles
   ============================ */
.main-footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--orange-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    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 Design
   ============================ */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h1 .subtitle {
        font-size: 2rem;
    }
    
    .staircase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .staircase-content .section-header {
        text-align: center;
    }
    
    .staircase-content .section-header .section-divider {
        margin: 0 auto;
    }
    
    .filling-card {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 140px;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 .subtitle {
        font-size: 1.5rem;
    }
    
    .hero-image-wrapper {
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }
    
    .hero-image {
        border-radius: 16px;
        border-width: 2px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .materials-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    .step-icon {
        margin: 0 auto;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Hide some animated elements on mobile */
    .step-3,
    .step-4,
    .handrail-2,
    .line-2,
    .line-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 125px;
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-image-wrapper {
        margin: 0 auto 1.2rem;
    }
    
    .hero-image {
        border-radius: 12px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .intro-section,
    .materials-section,
    .fillings-section,
    .staircase-section,
    .gallery-section,
    .process-section,
    .advantages-section {
        padding: 50px 0;
    }
    
    .material-card,
    .advantage-card {
        padding: 25px 20px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
}

/* =================================================================
   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;
    }
}
