﻿:root { --primary: #0f172a; --secondary: #0284c7; --accent: #38bdf8; --dark: #1e293b; --light: #f8fafc; --white: #ffffff; --gray: #64748b; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { line-height: 1.6; color: var(--dark); background-color: var(--light); overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
body.no-scroll { overflow: hidden; }
main { flex: 1; }

header { background: rgba(255, 255, 255, 0.98); box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: fixed; width: 100%; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 15px 20px; }
.logo-wrapper { display: flex; align-items: center; gap: 12px; text-decoration: none; z-index: 1001; }
.logo-svg { width: 42px; height: 42px; fill: none; stroke: var(--secondary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* FIX: Zjednotené LOGO - už nikdy neposkočí */
.logo-text .brand-name { color: var(--primary); font-family: 'Inter', sans-serif; font-size: clamp(18px, 4vw, 22px); font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; display: block; margin: 0; padding: 0; }
.logo-text p { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; margin: 0; padding: 0; }

.nav-menu { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 16px; transition: color 0.3s; padding: 10px 0; position: relative; }
.nav-menu a:hover, .nav-menu a.active { color: var(--secondary); }
.social-icon { color: #1877F2; display: flex; align-items: center; transition: transform 0.3s; }
.social-icon:hover { transform: scale(1.1); }

.menu-toggle { display: none; cursor: pointer; border: none; background: transparent; width: 44px; height: 44px; position: relative; z-index: 1001; }
.menu-toggle span { display: block; width: 26px; height: 3px; background-color: var(--primary); margin: 5px auto; transition: all 0.3s ease; border-radius: 3px; }

.btn { display: inline-block; padding: 16px 40px; background: var(--secondary); color: var(--white); text-decoration: none; font-weight: 600; border-radius: 8px; transition: all 0.3s; text-align: center; }
.btn:hover { background: #0369a1; transform: translateY(-3px); box-shadow: 0 15px 25px -10px var(--secondary); }
.section-padding { padding: clamp(50px, 8vw, 100px) 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: clamp(28px, 4vw, 38px); color: var(--primary); margin-bottom: clamp(40px, 8vw, 70px); font-weight: 800; letter-spacing: -1px; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--secondary); margin: 20px auto 0; border-radius: 2px; }

.hero { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 100px auto 40px; padding: 40px 20px; min-height: 60vh; gap: 50px; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: var(--primary); line-height: 1.15; letter-spacing: -1px; margin-bottom: 25px; }
.hero-text p { font-size: clamp(16px, 2vw, 19px); color: var(--gray); margin-bottom: 40px; max-width: 500px; }
.hero-image { flex: 1; position: relative; display: flex; justify-content: center; width: 100%; }
.hero-image img { width: 100%; max-width: 500px; height: auto; border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); animation: float 6s ease-in-out infinite; object-fit: cover; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
@media (min-width: 1024px) {
    .services-grid.five-items > article:nth-child(4) { grid-column: 1 / span 1; justify-self: end; width: 100%; max-width: 550px;}
    .services-grid.five-items > article:nth-child(5) { grid-column: 2 / span 1; justify-self: start; width: 100%; max-width: 550px;}
}
.service-card { position: relative; border-radius: 20px; overflow: hidden; height: clamp(280px, 40vw, 380px); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1); cursor: pointer; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.4) 50%, rgba(15,23,42,0.1) 100%); transition: background 0.3s ease; }
.card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 25px; color: var(--white); transform: translateY(20px); transition: transform 0.3s; }
.card-content h2, .card-content h3 { font-size: clamp(20px, 4vw, 24px); font-weight: 700; margin-bottom: 10px; color: var(--white); }
.card-content p { font-size: 15px; color: #cbd5e1; opacity: 0; transition: opacity 0.3s ease; margin: 0; }
@media (hover: hover) {
    .service-card:hover img { transform: scale(1.1); }
    .service-card:hover .card-overlay { background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 60%, rgba(15,23,42,0.3) 100%); }
    .service-card:hover .card-content { transform: translateY(0); }
    .service-card:hover .card-content p { opacity: 1; }
}

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 12px; margin-bottom: 20px; padding: clamp(20px, 4vw, 30px); box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; transition: transform 0.3s ease; }
.faq-item:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: var(--secondary); }
.faq-item h3 { color: var(--primary); font-size: clamp(18px, 3vw, 20px); margin-bottom: 12px; font-weight: 700; display: flex; align-items: flex-start; gap: 15px; }
.faq-item h3::before { content: '?'; background: #f0f9ff; color: var(--secondary); border-radius: 50%; min-width: 30px; height: 30px; display: flex; justify-content: center; align-items: center; font-size: 16px; flex-shrink: 0; margin-top: 2px;}
.faq-item p { color: var(--gray); font-size: 16px; margin-left: 45px; }

.contact-bg { background: var(--white); border-radius: 24px; padding: clamp(30px, 5vw, 80px); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.05); }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 80px); }
.contact-info h3, .contact-form h3 { color: var(--primary); font-size: clamp(24px, 3vw, 30px); margin-bottom: 30px; font-weight: 800; }

/* FIX: ZAROVNANIE KONTAKTOV - Flexbox bez Emodži */
.info-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.info-icon { width: 50px; height: 50px; min-width: 50px; flex-shrink: 0; background: #f0f9ff; color: var(--secondary); border-radius: 12px; display: flex; justify-content: center; align-items: center; margin-right: 20px; }
.info-content { flex: 1; min-width: 0; font-style: normal; margin: 0; padding-top: 2px; }
.info-content strong { display: block; font-size: 18px; color: var(--primary); margin-bottom: 5px; line-height: 1.2; }
.info-content p, .info-content a { color: var(--gray); text-decoration: none; font-size: 15px; margin: 0; line-height: 1.5; word-wrap: break-word; overflow-wrap: break-word; }

.form-group { margin-bottom: 20px; }
.form-control { width: 100%; padding: 16px; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 16px; background: #f8fafc; appearance: none; transition: all 0.3s; }
.form-control:focus { outline: none; border-color: var(--secondary); background: var(--white); box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1); }
textarea.form-control { min-height: 140px; resize: vertical; }

footer { background: var(--primary); color: #94a3b8; text-align: center; padding: 30px 20px; font-size: 14px; margin-top: auto; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }

@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 20px; gap: 40px; margin-top: 80px; }
    .hero-text p { margin: 0 auto 30px; }
    .hero-image img { max-width: 400px; }
    .contact-container { grid-template-columns: 1fr; }
    .faq-item p { margin-left: 0; margin-top: 15px; }
    .faq-item h3::before { display: none; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-menu { 
        position: fixed; top: 0; right: -100%; width: 100%; max-width: 320px; 
        height: 100dvh; background: var(--white); flex-direction: column; 
        justify-content: flex-start; padding-top: 100px; gap: 20px; 
        transition: right 0.4s ease-in-out; box-shadow: -10px 0 30px rgba(0,0,0,0.1); 
        z-index: 999; overflow-y: auto; 
    }
    .nav-menu.active { right: 0; }
    .nav-menu a { font-size: 20px; padding: 10px 20px; display: block; width: 100%; text-align: center; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hero { min-height: auto; margin-bottom: 20px; }
    .btn { width: 100%; padding: 18px 20px; }
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
}
