/* VANDAL CSS - MiVi Brand (Mobile-First Architecture) */
:root {
    --brand-red: #c02b2b;
    --brand-dark: #050505;
    --brand-gray: #111;
    --text-light: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--brand-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

.section-subtitle {
    font-size: 1.05rem;
    color: #999;
    margin-bottom: 30px;
    font-weight: 500;
}

/* HLAVIČKA A LOGO */
header {
    background-color: var(--brand-dark); padding: 10px 0; 
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(192, 43, 43, 0.4); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); 
}

.header-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-wrapper { display: flex; align-items: center; }
.logo-img { height: 50px; width: auto; display: block; }
.header-contact { display: flex; align-items: center; gap: 8px; }
.hidden-mobile { display: none !important; }

/* SOCIÁLNE SIETE */
.social-links { display: flex; gap: 15px; align-items: center; }
.social-links a { color: #fff; transition: 0.3s; display: flex; align-items: center; gap: 5px; text-decoration: none; font-weight: bold; }
.social-links a:hover { color: var(--brand-red); transform: scale(1.1); }

.nonstop {
    background: var(--brand-red); color: #fff; font-weight: 900;
    font-size: 0.6rem; padding: 3px 5px; text-transform: uppercase;
    letter-spacing: 1px; border-radius: 2px; white-space: nowrap !important;
}

@media (max-width: 360px) { .nonstop { display: none !important; } }

/* TLAČIDLÁ */
.btn-primary, .btn-secondary {
    padding: 15px 30px; font-size: 16px; font-weight: 900; text-decoration: none; 
    text-transform: uppercase; display: inline-block; transition: 0.3s; 
    text-align: center; width: 100%; cursor: pointer;
}
.btn-primary { background-color: var(--brand-red); color: var(--text-light); border: 2px solid var(--brand-red); }
.btn-primary:hover { background-color: #ff3333; border-color: #ff3333; }

.btn-secondary { background-color: transparent; color: var(--text-light); border: 2px solid var(--text-light); }
.btn-secondary:hover { background-color: var(--text-light); color: var(--brand-dark); }

.btn-outline {
    border: 2px solid var(--brand-red); color: var(--text-light); height: 32px;
    padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; font-weight: 900; font-size: 0.8rem; transition: 0.3s;
    border-radius: 2px; white-space: nowrap !important;
}
.btn-outline:hover { background-color: var(--brand-red); }

/* HERO SEKCIA */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 80px 0; background-image: url('assets/hero.jpg');
    background-size: cover; background-position: center; border-bottom: 4px solid var(--brand-red); 
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: left; width: 100%; }
.hero h1 { font-size: 2.2rem; font-weight: 900; text-transform: uppercase; line-height: 1.1; margin-bottom: 20px; }
.highlight { color: var(--brand-red); }
.hero p { font-size: 1rem; max-width: 600px; margin-bottom: 30px; font-weight: bold; }
.hero-buttons { display: flex; flex-direction: column; gap: 15px; }

/* BENEFITY */
.benefits { padding: 15% 0; background-color: var(--brand-gray); border-bottom: 5px solid var(--brand-red); }
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.benefit-card { background: var(--brand-dark); padding: 20px; border-left: 4px solid var(--brand-red); }
.benefit-card h3 { color: var(--brand-red); font-weight: 900; margin-bottom: 5px; font-size: 1.1rem; }
.benefit-card p { font-size: 0.9rem; }

/* INTERAKTÍVNY SLIDER */
.before-after-section { padding: 60px 0; background: var(--brand-dark); border-bottom: 5px solid var(--brand-red); }
.before-after-section h2 { font-size: 2rem; font-weight: 900; margin-bottom: 10px; }
.ba-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn { background: transparent; border: 2px solid #333; color: #fff; width: 40px; height: 40px; font-weight: 900; font-size: 1rem; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.tab-btn:hover { border-color: var(--brand-red); }
.tab-btn.active { background: var(--brand-red); border-color: var(--brand-red); box-shadow: 0 0 15px rgba(192, 43, 43, 0.4); }
.ba-slider { position: relative; width: 100%; max-width: 900px; margin: 0 auto; aspect-ratio: 4 / 3; border: 3px solid var(--brand-red); box-shadow: 5px 5px 0 #111; overflow: hidden; background: #000; }
.ba-img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; pointer-events: none; }
.ba-after-img { clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); }
.ba-range { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 10; }
.ba-slider-line { position: absolute; top: 0; left: 50%; width: 4px; height: 100%; background: var(--brand-red); pointer-events: none; transform: translateX(-50%); z-index: 5; }
.ba-slider-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 35px; height: 35px; background: var(--brand-dark); border: 2px solid var(--brand-red); border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; }
.ba-labels { position: absolute; bottom: 10px; width: 100%; display: flex; justify-content: space-between; padding: 0 10px; pointer-events: none; z-index: 4; }
.ba-label-pred, .ba-label-po { background: rgba(0, 0, 0, 0.7); color: #fff; padding: 3px 8px; font-weight: 900; border: 1px solid var(--brand-red); text-transform: uppercase; font-size: 0.7rem; }

/* PARTNERI (Upravené pre mobil) */
.partners-section { padding: 50px 0; background-color: var(--brand-gray); border-bottom: 5px solid var(--brand-red); }
.partners-section h2 { font-size: 2rem; font-weight: 900; margin-bottom: 10px; }
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; justify-items: center; align-items: center; margin-top: 20px; }
.partners-grid img { max-height: 110px; max-width: 180px; width: 100%; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: 0.4s ease-in-out; }
.partners-grid img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); }

/* CENNÍK */
.pricing { padding: 60px 0; background-color: var(--brand-dark); border-bottom: 5px solid var(--brand-red); }
.pricing h2 { font-size: 2rem; margin-bottom: 30px; font-weight: 900; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }
.price-box { background: var(--brand-gray); padding: 25px; border: 1px solid #333; transition: border-color 0.3s; }
.price-box:hover { border-color: var(--brand-red); }
.price-box h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 900; }
.price { font-size: 2.2rem; font-weight: 900; color: var(--brand-red); margin-bottom: 10px; }

.btn-dropdown { background: transparent; color: var(--brand-red); border: 2px solid var(--brand-red); padding: 15px 20px; font-size: 13px; font-weight: 900; cursor: pointer; text-transform: uppercase; margin-bottom: 40px; transition: 0.3s; width: 100%; }
.btn-dropdown:hover { background: var(--brand-red); color: #fff; }
.hidden { display: none !important; }

.cennik-details { background: var(--brand-gray); border: 1px solid #333; padding: 15px; text-align: left; margin-bottom: 40px; }
.cennik-columns { display: grid; grid-template-columns: 1fr; gap: 20px; }
.cennik-col h4 { color: var(--brand-red); font-size: 1.1rem; margin-bottom: 10px; font-weight: 900; border-bottom: 1px solid #333; padding-bottom: 8px; }
.cennik-col ul { list-style: none; }
.cennik-col li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #222; font-weight: bold; font-size: 0.85rem; }
.cennik-col li.extra { color: var(--brand-red); }

.extra-services { border: 2px dashed #555; padding: 15px; margin-bottom: 30px; }
.extra-services h3 { color: #fff; margin-bottom: 5px; font-size: 1rem; }
.price-filter { background: var(--brand-red); color: var(--text-light); padding: 12px 15px; font-size: 0.85rem; max-width: fit-content; margin: 0 auto; border-radius: 2px; }
.price-filter strong { font-size: 1rem; display: block; margin-bottom: 3px; }

/* RECENZIE */
.reviews-section { padding: 60px 0; background-color: var(--brand-gray); border-bottom: 5px solid var(--brand-red); }
.reviews-section h2 { font-size: 2rem; font-weight: 900; margin-bottom: 10px; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }
.review-card { background: var(--brand-dark); border: 1px solid #333; padding: 20px; border-radius: 4px; text-align: left; transition: transform 0.3s, border-color 0.3s; }
.review-card:hover { border-color: var(--brand-red); transform: translateY(-3px); }
.review-card .stars { color: #fbbc04; font-size: 1.1rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-card .review-text { font-style: italic; font-size: 0.95rem; color: #ccc; margin-bottom: 15px; line-height: 1.5; }
.review-card .review-author { font-weight: 900; color: #fff; font-size: 0.85rem; display: block; }
.btn-reviews { margin-top: 10px; padding: 15px; height: auto; font-size: 13px; width: 100%; display: block; }

/* FAQ */
.faq-section { padding: 60px 0; background-color: var(--brand-dark); border-bottom: 5px solid var(--brand-red); }
.faq-section h2 { font-size: 2rem; font-weight: 900; margin-bottom: 30px; }
.faq-container { max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item { background: var(--brand-gray); border: 1px solid #333; margin-bottom: 10px; border-radius: 4px; overflow: hidden; }
.faq-item summary { padding: 15px; padding-right: 40px; font-size: 1rem; font-weight: 900; cursor: pointer; position: relative; display: block; list-style: none; transition: background 0.3s, color 0.3s; }
.faq-item summary:hover { background: #1a1a1a; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: '+'; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--brand-red); font-size: 1.5rem; font-weight: 400; transition: 0.3s; }
.faq-item[open] summary { border-bottom: 1px solid #333; }
.faq-item[open] summary:after { content: '−'; }
.faq-content { padding: 15px; color: #bbb; line-height: 1.6; font-size: 0.9rem; }
.faq-content p { margin-bottom: 10px; }

/* FORMULÁR */
.lead-gen { padding: 60px 0; background: var(--brand-gray); border-bottom: 5px solid var(--brand-red); }
.lead-gen h2 { font-size: 1.8rem; margin-bottom: 25px; font-weight: 900; }
.form-wrapper { width: 100%; max-width: 900px; margin: 0 auto; }
.vandal-form { display: flex; flex-direction: column; gap: 15px; }
.vandal-form input { padding: 18px; font-size: 15px; border: none; background: #fff; color: #000; font-weight: 700; width: 100%; border-radius: 2px; }
.form-btn { border: none; border-radius: 2px; }

/* OCHRANA SÚKROMIA TEXT POD FORMULÁROM */
.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5); 
    width: 100%;
    text-align: center;
}
.form-disclaimer .shield-icon { width: 14px; height: 14px; opacity: 0.8; }
.form-disclaimer a {
    color: #fff; 
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}
.form-disclaimer a:hover { color: var(--brand-red); border-bottom-color: var(--brand-red); }

/* PÄTIČKA (Základ pre mobil) */
footer { padding: 30px 0; background: #000; font-size: 0.85rem; color: #666; }
.footer-flex { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.footer-left p { margin-bottom: 8px; }
.footer-legal {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; opacity: 0.8;
}
.footer-legal .separator { opacity: 0.3; font-size: 0.9em; }
.footer-legal a { color: inherit; text-decoration: none; transition: opacity 0.2s ease; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; }

/* =====================================================================
   DESKTOP & TABLET UPSCALING
   ===================================================================== */
@media(min-width: 768px) {
    header { padding: 12px 0; }
    .logo-img { height: 55px; } 
    .btn-outline { height: 42px; font-size: 1rem; padding: 0 20px; }
    .hidden-mobile { display: flex !important; } 
    .header-contact { gap: 20px; }
    .nonstop { font-size: 0.8rem; padding: 5px 8px; }
    .btn-primary, .btn-secondary { width: auto; font-size: 18px; }

    .hero { padding: 120px 0; }
    .hero h1 { font-size: 4rem; }
    .hero p { font-size: 1.2rem; margin-bottom: 40px; }
    .hero-buttons { flex-direction: row; gap: 20px; }

    .benefits { padding: 10% 0; }
    .benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .benefit-card { padding: 25px; }
    
    .before-after-section h2 { font-size: 3rem; }
    .tab-btn { width: 50px; height: 50px; font-size: 1.2rem; }
    .ba-slider { aspect-ratio: 16 / 9; box-shadow: 10px 10px 0 #111; } 
    .ba-slider-button { width: 45px; height: 45px; }
    
    .partners-section { padding: 80px 0; }
    .partners-section h2 { font-size: 3rem; }
    .partners-grid { grid-template-columns: repeat(4, 1fr); gap: 80px; }
    .partners-grid img { max-height: 80px; max-width: 250px; }

    .pricing { padding: 80px 0; }
    .pricing h2 { font-size: 3rem; margin-bottom: 50px; }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .price-box { padding: 35px; }
    .cennik-columns { grid-template-columns: repeat(2, 1fr); gap: 40px; }

    .reviews-section { padding: 80px 0; }
    .reviews-section h2 { font-size: 3rem; margin-bottom: 10px; }
    .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .review-card { padding: 30px; }
    .btn-reviews { display: inline-block; height: 60px; line-height: 60px; padding: 0 40px; text-align: center; }

    .faq-section { padding: 80px 0; }
    .faq-section h2 { font-size: 3rem; margin-bottom: 50px; }
    .faq-item summary { padding: 20px 50px 20px 20px; font-size: 1.1rem; }
    .faq-content { padding: 20px; font-size: 1rem; }
    
    .lead-gen { padding: 80px 0; }
    .lead-gen h2 { font-size: 2.5rem; }
    
    /* Na desktope dáme inputy a tlačidlo do jedného riadku */
    .vandal-form { flex-direction: row; justify-content: center; }
    .vandal-form input { width: 250px; }
    
    /* Desktop footer - rozdelenie do rohov */
    .footer-flex { flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: left; }
    .footer-left p { margin-bottom: 5px; }
    .footer-legal { justify-content: flex-start; } 
}