/* =========================================
   ELEKTROMONTAZE LEJSAL - STYLES
   ========================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #f5c518;
    --primary-dark: #d4a812;
    --primary-light: #fff3d6;
    --bg-dark: #0a0e1a;
    --bg-darker: #050810;
    --bg-card: #111827;
    --bg-card-hover: #1a2435;
    --text: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --gradient-primary: linear-gradient(135deg, #f5c518 0%, #d4a812 100%);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(245, 197, 24, 0.15);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-pattern {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(245, 197, 24, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(245, 197, 24, 0.05) 0%, transparent 50%),
        var(--bg-darker);
    z-index: -1;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 5px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: rgba(10, 14, 26, 0.95);
}

nav.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 0px 60px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon { height: 70px; width: auto; }

.logo-text {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-cta {
    background: var(--gradient-primary);
    color: var(--bg-dark) !important;
    padding: 12px 25px !important;
    border-radius: 50px;
    font-weight: 700 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 197, 24, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px; height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
}

.hero-content { max-width: 550px; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: 68px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 197, 24, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-image {
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: 55%; height: 85%;
    z-index: 1;
}

.hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 30px 0 0 30px;
    mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
}

.hero-image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 40%);
    border-radius: 30px 0 0 30px;
}

.car-badge {
    position: absolute;
    bottom: 40px; left: 40px;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.car-badge .name { font-size: 16px; font-weight: 800; color: var(--primary); }
.car-badge .year { font-size: 12px; color: var(--text-secondary); }

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--bg-card);
    padding: 50px 60px;
    display: flex;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
    max-width: 250px;
    flex: 1;
}

.stat-number {
    font-size: 52px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
}

/* ===== SECTIONS ===== */
.services, .why-us { padding: 120px 60px; }

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 45px 35px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 197, 24, 0.2);
}

.service-icon {
    width: 75px; height: 75px;
    background: rgba(245, 197, 24, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 28px;
    transition: all 0.3s;
}
.service-icon img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }

.service-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(245, 197, 24, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
}

/* ===== WHY US ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.why-card { text-align: center; padding: 40px 30px; }

.why-card .icon {
    width: 90px; height: 90px;
    background: rgba(245, 197, 24, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 25px;
}

.why-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 15px; }

.why-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.about-image { position: relative; }

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -25px; right: -25px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge .number { font-size: 44px; font-weight: 900; line-height: 1; }
.about-badge .text { font-size: 12px; font-weight: 700; }

.about-content h2 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 25px;
}

.about-content h2 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item .icon {
    width: 38px; height: 38px;
    background: rgba(245, 197, 24, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
}

.feature-item span { font-size: 14px; font-weight: 600; }

/* ===== AREAS ===== */
.areas, .gallery { padding: 120px 60px; background: var(--bg-darker); }

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.area-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.area-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.area-icon { font-size: 55px; margin-bottom: 18px; }
.area-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.area-card p { font-size: 13px; color: var(--text-secondary); }

/* ===== LOKALITY ===== */
.lokality { padding: 120px 60px; background: var(--bg-darker); }

.lokality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.lokality-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.lokality-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.lokality-card .icon { font-size: 55px; margin-bottom: 18px; }
.lokality-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; color: var(--primary); }
.lokality-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 980px) {
    .lokality-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.gallery-item:hover::after { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active { display: flex; }

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.lightbox-close:hover { color: var(--primary); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    padding: 20px;
    transition: color 0.3s;
}

.lightbox-nav:hover { color: var(--primary); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    color: var(--text-secondary);
    margin-top: 15px;
    font-size: 14px;
}

.lightbox-alt {
    color: var(--text);
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    max-width: 600px;
}

/* ===== CONTACT ===== */
.contact { padding: 120px 60px; }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h2 { font-size: 44px; font-weight: 900; margin-bottom: 25px; }

.contact-info > p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    padding: 18px;
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.contact-item .icon {
    width: 55px; height: 55px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.contact-item .text { flex: 1; text-align: center; }
.contact-item .label { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.contact-item .value { font-size: 18px; font-weight: 700; }
.contact-item .value a { color: var(--text); text-decoration: none; }
.contact-item .value a:hover { color: var(--primary); }

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 45px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-submit { width: 100%; margin-top: 8px; }

/* ===== FOOTER ===== */
footer {
    background: var(--bg-card);
    padding: 50px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 70px; width: auto; }

.footer-links { display: flex; gap: 25px; }

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--primary); }

.footer-copy { 
    font-size: 13px; 
    color: var(--text-muted); 
    width: 100%;
    text-align: center;
    order: 99;
    margin-top: 15px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { opacity: 1; transform: translateY(0); transition: all 0.8s ease; }

.animate-fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero h1 { font-size: 52px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    nav { padding: 15px 30px; }
    nav.scrolled { padding: 15px 30px; }
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }

    /* 🆕 : Hamburger menu — otevřít po kliknutí */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-darker);
        padding: 20px 30px;
        gap: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    /* Animace hamburger ikony */
    .mobile-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero { padding: 120px 30px 80px; min-height: auto; }
    .hero h1 { font-size: 40px; }
    .hero-image {
        position: relative;
        width: 100%; height: 400px;
        margin-top: 40px;
    }
    .hero-image-overlay { display: none; }
    .hero-image img {
        border-radius: 20px;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .car-badge { bottom: 20px; left: 20px; }
    
    .stats-bar { flex-wrap: wrap; gap: 20px; padding: 40px 30px; }
    .stat-item { min-width: 120px; }
    .stat-number { font-size: 42px; }
    
    .services, .areas, .gallery, .contact, .why-us { padding: 80px 30px; }
    .section-title { font-size: 34px; }
    
    .about { grid-template-columns: 1fr; gap: 40px; }
    .about-badge { right: 20px; bottom: -20px; padding: 18px; }
    .about-badge .number { font-size: 34px; }
    
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
        .contact-form { padding: 30px; }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* ===== SOCIAL LINKS ===== */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a svg {
    width: 22px;
    height: 22px;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 30px; }
    .hero-desc { font-size: 15px; }
    .hero-buttons { flex-direction: column; }
    
    .services-grid, .areas-grid, .gallery-grid { grid-template-columns: 1fr; }
    
    .gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
    
    .form-row, .about-features { grid-template-columns: 1fr; }

    .footer-content {
            flex-direction: column;
            flex-wrap: nowrap;
            gap: 20px;
            text-align: center;
            padding: 0 20px;
        }
    
    .about-content h2,
    .contact-info h2,
    .section-title { font-size: 30px; }
    
    .why-grid { grid-template-columns: 1fr; }
}

/* ===== BLOG ===== */
.blog-preview { padding: 120px 60px; background: var(--bg-dark); }
.blog-preview .section-header { text-align: center; margin-bottom: 60px; }
.blog-preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; }
.blog-preview-grid .blog-card { background: var(--bg-card); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s; height: 100%; }
.blog-preview-grid .blog-card:hover { transform: translateY(-8px); border-color: var(--primary); }
.blog-preview-grid .blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-preview-grid .blog-card .blog-content { padding: 25px; }
.blog-preview-grid .blog-card h3 { font-size: 20px; font-weight: 700; margin: 10px 0 15px; color: var(--text); }
.blog-preview-grid .blog-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.section-cta { text-align: center; margin-top: 50px; }
.blog-hero { padding: 160px 60px 80px; text-align: center; background: var(--bg-darker); }
.blog-hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 15px; }
.blog-hero p { font-size: 18px; color: var(--text-secondary); }
.blog-list { padding: 80px 60px; background: var(--bg-dark); }
.blog-list .blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; }
.blog-post { padding: 160px 60px 80px; }
.blog-post-content { max-width: 800px; margin: 0 auto; }
.blog-post-image { width: 100%; max-height: 500px; object-fit: cover; border-radius: 20px; margin-bottom: 30px; }
.blog-post .blog-date { font-size: 14px; color: var(--primary); }
.blog-post h1 { font-size: 42px; font-weight: 800; margin: 15px 0 30px; }
.blog-post-body { font-size: 17px; line-height: 1.8; color: var(--text); margin-bottom: 40px; }
.blog-post-body p { margin-bottom: 20px; }
.blog-post-body h2 { font-size: 28px; margin: 30px 0 15px; }
.blog-post-body h3 { font-size: 24px; margin: 25px 0 12px; }
.blog-post-body h4 { font-size: 20px; margin: 20px 0 10px; }
.blog-post-body ul, .blog-post-body ol { margin: 15px 0 20px 25px; }
.blog-post-body li { margin-bottom: 10px; }
.blog-post-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 20px 0; cursor: pointer; transition: transform 0.3s; }
.blog-post-body img:hover { transform: scale(1.02); }
.blog-post-body p img { 
    width: calc(33% - 4px); 
    aspect-ratio: 4/3; 
    object-fit: cover; 
    display: inline-block; 
    vertical-align: top; 
    margin: 2px; 
}
.blog-post-body p:has(img) { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: flex-start; 
    gap: 4px; 
}
.blog-post-body a { color: var(--primary); text-decoration: underline; }
.blog-post-body a:hover { color: var(--primary-dark); }
.blog-post-body b, .blog-post-body strong { font-weight: 700; }
.blog-post-body i, .blog-post-body em { font-style: italic; }
.blog-post-body hr { border: none; border-top: 2px solid var(--primary); margin: 30px 0; opacity: 0.3; }
.blog-post .btn-secondary { display: inline-block; padding: 12px 30px; background: var(--bg-card); border-radius: 10px; color: var(--text); text-decoration: none; transition: all 0.3s; }
.blog-post .btn-secondary:hover { background: var(--primary); }

@media (max-width: 768px) {
    .blog-preview-grid, .blog-list .blog-grid { grid-template-columns: 1fr; }
    .blog-hero h1 { font-size: 32px; }
    .blog-post h1 { font-size: 28px; }
}

/* 9.7.2026: Skryt .hero-image do 1299px (mobily, tablety, mensi 1.5K) */
@media (max-width: 1299px) {
    .hero-image {
        display: none !important;
    }

    /* 🆕 : Footer - social ikony pod navigaci na stred */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 0 30px;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-links {
        justify-content: center;
    }
}
