/* =========================================
   ZÁKLADNÉ NASTAVENIA A PREMENNÉ
   ========================================= */
:root {
    --primary: #E63946;
    --primary-dark: #D62828;
    --dark: #111827;
    --gray: #4B5563;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(230, 57, 70, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    color: var(--gray);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Reset obrázkov */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   SPOLOČNÉ KOMPONENTY
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary { background: var(--primary); color: var(--white); border: 2px solid var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); transform: translateY(-3px); }
.btn-secondary { background: var(--dark); color: var(--white); }
.btn-secondary:hover { background: #000; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-large { padding: 18px 40px; font-size: 1.1rem; }
.btn-glow { box-shadow: var(--shadow-glow); animation: pulseGlow 2s infinite; }

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 2.5rem; margin-bottom: 10px; }
.section-subtitle { color: var(--primary); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   NAVIGÁCIA
   ========================================= */
nav { position: fixed; width: 100%; top: 0; z-index: 1000; padding: 20px 0; transition: all 0.4s ease; }
nav.scrolled { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 12px 0; box-shadow: var(--shadow-sm); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; color: var(--white); transition: color 0.3s; }
nav.scrolled .logo { color: var(--primary); }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: var(--white); font-weight: 500; transition: color 0.3s; }
nav.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover { color: var(--primary); }
.btn-nav { background: var(--primary); color: var(--white); padding: 10px 24px; border-radius: 50px; font-weight: 600; }
.btn-nav:hover { background: var(--primary-dark); }

/* =========================================
   HERO SEKCIA
   ========================================= */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; background: url('https://images.unsplash.com/photo-1513104890138-7c749659a591?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat; text-align: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4)); }
.hero-content { position: relative; z-index: 1; color: var(--white); max-width: 800px; }
.badge { display: inline-block; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); padding: 8px 16px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; }
.hero h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; color: var(--white); text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; margin-bottom: 40px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* =========================================
   SEKCIA: AKO TO FUNGUJE
   ========================================= */
.how-it-works { background: var(--light); }
.steps-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.step-box { background: var(--white); padding: 40px 30px; border-radius: 20px; text-align: center; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.step-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-number { width: 60px; height: 60px; background: var(--primary); color: var(--white); font-size: 1.8rem; font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3); }
.step-box h3 { margin-bottom: 15px; font-size: 1.4rem; }

/* =========================================
   SEKCIA: PONUKA (OPRAVENÉ OBRÁZKY)
   ========================================= */
.menu-teaser { background: var(--white); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-bottom: 50px; }
.card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.4s ease; border: 1px solid #eee; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

/* TÁTO ČASŤ RIEŠI PROBLÉM S DEFORMÁCIOU NA PC */
.card-img { 
    width: 100%; 
    height: 250px; 
    min-height: 250px; /* Tvrdá poistka */
    max-height: 250px; /* Tvrdá poistka */
    object-fit: cover; 
    display: block; 
    flex-shrink: 0; /* Zabraňuje stlačeniu v rámci flexboxu */
    transition: transform 0.5s ease; 
}
.card:hover .card-img { transform: scale(1.05); }

.card-content { padding: 30px; text-align: center; background: var(--white); position: relative; z-index: 2; flex-grow: 1; }
.card-content h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--dark); }

/* Bublinky / Tagy */
.all-categories { text-align: center; margin: 40px 0 50px; padding: 30px; background: var(--light); border-radius: 20px; border: 1px dashed #ccc; }
.all-categories h4 { font-size: 1.2rem; color: var(--gray); margin-bottom: 20px; font-weight: 600; }
.tags-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.category-tag { background: var(--white); color: var(--dark); padding: 10px 20px; border-radius: 50px; font-weight: 500; font-size: 0.95rem; box-shadow: var(--shadow-sm); transition: all 0.3s ease; border: 1px solid #eee; cursor: default; }
.category-tag:hover { transform: translateY(-3px); background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.center-btn { text-align: center; }

/* =========================================
   SEKCIA: GALÉRIA
   ========================================= */
.gallery-section { background: var(--dark); color: var(--white); }
.gallery-section .section-title { color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

/* Oprava roztiahnutia galérie */
.gallery-item { border-radius: 15px; overflow: hidden; cursor: pointer; height: 250px; }
.gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.4s ease, filter 0.4s ease; filter: brightness(0.8); }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1); }

/* =========================================
   SEKCIA: O NÁS
   ========================================= */
.about-us { background: var(--white); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.feature-box { text-align: center; padding: 40px 20px; background: var(--light); border-radius: 20px; box-shadow: var(--shadow-sm); transition: transform 0.3s; }
.feature-box:hover { transform: translateY(-5px); }
.icon-wrap { font-size: 3.5rem; margin-bottom: 20px; display: inline-block; background: var(--white); width: 100px; height: 100px; line-height: 100px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.feature-box h4 { font-size: 1.3rem; margin-bottom: 15px; }

/* =========================================
   PÄTIČKA
   ========================================= */
.footer { background: var(--dark); color: #9CA3AF; padding: 80px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-box h3 { color: var(--white); margin-bottom: 25px; font-size: 1.3rem; }
.phone-link { display: block; color: var(--primary); font-size: 2rem; font-weight: 800; margin-bottom: 10px; transition: color 0.3s; }
.phone-link:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }
.footer-bottom a { text-decoration: none; color: inherit; }
.footer-bottom a:hover { text-decoration: underline; color: var(--primary); }

/* =========================================
   FLOATING TLAČIDLO (Vždy viditeľné)
   ========================================= */
.floating-btn { position: fixed; bottom: 30px; right: 30px; background: var(--primary); color: var(--white); padding: 15px 25px; border-radius: 50px; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-glow); z-index: 999; transition: all 0.3s; animation: pulseGlow 2s infinite; }
.floating-btn:hover { background: var(--primary-dark); transform: scale(1.05); color: var(--white); }

/* =========================================
   ANIMÁCIE
   ========================================= */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONZIVITA PRE MOBILY A TABLETY
   ========================================= */
@media (max-width: 992px) {
    .nav-links { display: none; }
}

@media (max-width: 768px) {
    section { padding: 70px 0; }
    .hero { height: auto; padding: 120px 0 80px; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1rem; margin-bottom: 28px; }
    .hero-buttons { flex-direction: column; width: 100%; padding: 0 10px; }
    .hero-buttons .btn { width: 100%; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 0.95rem; }
    .step-box { padding: 28px 20px; }
    .card-content { padding: 22px 18px; }
    .all-categories { padding: 20px; margin: 30px 0 40px; }
    .features { gap: 24px; }
    .feature-box { padding: 28px 18px; }
    .footer { padding: 60px 0 20px; }
    .footer-content { gap: 24px; margin-bottom: 40px; }
    .floating-btn { bottom: 18px; right: 18px; padding: 10px 18px; font-size: 0.95rem; }
}
/* =========================================
   EPIC FAREBNÝ BOX RECENZIÍ (Dizajn)
   ========================================= */
.reviews-section { 
    padding: 120px 0; 
    background: var(--light); 
}

.epic-color-box {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    border-radius: 30px;
    z-index: 1;
}

/* Toto spraví tie brutálne moderné pohyblivé farby okolo boxu */
.ecb-glow {
    position: absolute;
    inset: -6px;
    background: linear-gradient(90deg, #E63946, #FFB800, #E63946, #FFB800);
    background-size: 300% 300%;
    border-radius: 35px;
    filter: blur(15px);
    opacity: 0.7;
    z-index: -1;
    animation: glowMove 4s ease infinite;
}
@keyframes glowMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ecb-content {
    background: linear-gradient(145deg, #111827 0%, #1f2937 100%);
    padding: 70px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: inset 0 2px 20px rgba(255,255,255,0.05);
}

.ecb-badge {
    display: inline-block;
    background: rgba(255, 184, 0, 0.15);
    color: #FFB800;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 184, 0, 0.3);
}

.ecb-score-wrap { 
    display: flex; 
    align-items: baseline; 
    justify-content: center; 
    margin-bottom: 5px; 
}
.ecb-score { 
    font-size: 8.5rem; 
    font-weight: 800; 
    color: #ffffff; 
    line-height: 0.85; 
    letter-spacing: -4px; 
    text-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    font-variant-numeric: tabular-nums; 
}
.ecb-max { 
    font-size: 2.5rem; 
    color: #9ca3af; 
    font-weight: 700; 
    margin-left: 10px; 
}
.ecb-stars { 
    font-size: 3rem; 
    color: #FFB800; 
    letter-spacing: 8px; 
    margin-bottom: 25px; 
    text-shadow: 0 0 25px rgba(255, 184, 0, 0.4); 
}
.ecb-title { 
    font-size: 2.5rem; 
    color: #ffffff; 
    font-weight: 800; 
    margin-bottom: 15px; 
}
.ecb-title span { 
    color: var(--primary); 
}
.ecb-desc { 
    font-size: 1.15rem; 
    color: #d1d5db; 
    max-width: 600px; 
    margin: 0 auto 40px; 
    line-height: 1.7; 
}
.ecb-btn { 
    font-size: 1.2rem; 
    padding: 16px 45px; 
    border: none; 
}

/* Dvojstĺpcové rozloženie recenzií */
.ecb-main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: stretch;
    margin-top: 20px;
}

.ecb-main-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
}

.ecb-highlights {
    margin: 10px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ecb-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.ecb-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFB800, #E63946);
    box-shadow: 0 0 10px rgba(255, 184, 0, 0.7);
}

.ecb-main-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-card {
    background: rgba(17, 24, 39, 0.9);
    border-radius: 18px;
    padding: 20px 18px;
    border: 1px solid rgba(249, 250, 251, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
}

.review-card-muted {
    opacity: 0.9;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: radial-gradient(circle at 30% 0, #FFB800, #E63946);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.review-name {
    font-size: 0.98rem;
    color: #f9fafb;
    margin-bottom: 2px;
}

.review-meta {
    font-size: 0.8rem;
    color: #9ca3af;
}

.review-stars {
    font-size: 1.1rem;
    color: #FFB800;
    margin-bottom: 8px;
}

.review-text {
    font-size: 0.95rem;
    color: #e5e7eb;
    line-height: 1.6;
}

/* Úprava boxu pre mobily */
@media (max-width: 768px) {
    .ecb-content { padding: 40px 20px; }
    .ecb-main {
        grid-template-columns: 1fr;
    }
    .ecb-main-right {
        margin-top: 8px;
    }
    .ecb-score { font-size: 3.8rem; }
    .ecb-max { font-size: 1.6rem; }
    .ecb-stars { font-size: 1.8rem; letter-spacing: 3px; margin-bottom: 14px; }
    .ecb-title { font-size: 1.6rem; }
    .ecb-desc { font-size: 0.95rem; margin-bottom: 24px; }
    .review-card { padding: 16px 14px; }
    .review-text { font-size: 0.9rem; }
}

/* Extra malé mobily */
@media (max-width: 480px) {
    .hero { padding: 110px 0 70px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 0.95rem; }
    .badge { font-size: 0.75rem; }
    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.9rem; }
    .phone-link { font-size: 1.5rem; }
    .ecb-score { font-size: 3.2rem; }
    .ecb-max { font-size: 1.4rem; }
    .ecb-stars { font-size: 1.6rem; }
}