/* Inter Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Plynulý crossfade efekt pro pozadí */
@keyframes crossfade {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Reset a základní styly */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Crossfade background mixin */
.crossfade-bg {
    position: relative;
    overflow: hidden;
}

.crossfade-bg::before,
.crossfade-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    transition: opacity 2s ease-in-out;
}

.crossfade-bg::before {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 400px, transparent 600px), url('../images/duha-foto-v1.webp');
}

.crossfade-bg::after {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 400px, transparent 600px), url('../images/prerov-foto.webp');
    animation: crossfade 20s ease-in-out infinite;
}

/* Crossfade for hero sections */
.crossfade-hero::before {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/duha-foto-v1.webp');
}

.crossfade-hero::after {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/prerov-foto.webp');
}

/* Přidání transition pro všechny hero pseudo-elementy */
.about-hero::before,
.about-hero::after,
.contact-hero::before,
.contact-hero::after,
.services-hero::before,
.services-hero::after,
.service-hero::before,
.service-hero::after,
.application-hero::before,
.application-hero::after,
.legal-hero::before,
.legal-hero::after {
    transition: opacity 2.5s ease-in-out;
}

/* Základní body styl - defaultně index stránka */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 400px, transparent 600px), url('../images/duha-foto-v1.webp') no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Hlavní stránka s crossfade efektem */
body.home {
    position: relative;
    overflow-x: hidden;
}

body.home::before,
body.home::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    transition: opacity 2.5s ease-in-out;
}

body.home::before {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 400px, transparent 600px), url('../images/duha-foto-v1.webp');
}

body.home::after {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 400px, transparent 600px), url('../images/prerov-foto.webp');
    animation: crossfade 22s ease-in-out infinite;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Explicitní font definice */
h1, h2, h3, h4, h5, h6,
p, div, span, a, li, ul, ol,
input, textarea, button, select,
label, strong, em, i, b,
td, th, table, tr,
header, main, section, article, aside, footer,
nav, menu {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ================================
   OVERRIDES PRO RŮZNÉ STRÁNKY
   ================================ */

/* O nás stránka */
.page-o-nas body {
    background: white !important;
    background-attachment: scroll !important;
}

/* Kontakt stránka */
.page-kontakt body {
    background: white !important;
    background-attachment: scroll !important;
}

/* Služby stránka */
.page-sluzby body {
    background: white !important;
    background-attachment: scroll !important;
}

/* Service stránky */
.page-service body {
    background: white !important;
    background-attachment: scroll !important;
}

/* Přihláška stránka */
.page-prihlaska body {
    background: white !important;
    background-attachment: scroll !important;
}

/* Právní stránky */
.page-legal body {
    background: white !important;
    background-attachment: scroll !important;
}

/* ================================
   MAIN HEADER - DESKTOP ONLY
   ================================ */

.main-header {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2002;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-bottom: none;
}

.main-header.hide {
    transform: translateY(-100%);
    opacity: 0;
}

.main-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    position: relative;
}

.main-desktop-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.main-logo-clickable {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 50px;
    cursor: pointer;
    z-index: 1003;
}

.main-desktop-menu {
    position: relative;
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2rem;
    width: 100%;
    height: 70px;
}

.main-desktop-menu .nav-group-left {
    position: absolute;
    left: 15%;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.main-desktop-menu .nav-group-right {
    position: absolute;
    right: 15%;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.main-desktop-menu .nav-spacer {
    display: none;
}

.main-desktop-menu .nav-group-left a,
.main-desktop-menu .nav-group-right a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.main-desktop-menu .nav-group-left a:hover,
.main-desktop-menu .nav-group-right a:hover {
    color: #3498db;
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(52, 152, 219, 0.5);
}

/* Logo pro desktop layout */
.main-logo-clickable::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../icons/Logo-Autoskola-Martinec-1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.main-logo-clickable:hover::after {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transform: translateY(-2px);
}

/* Sticky header - desktop only */
.sticky-header {
    background: rgba(255, 255, 255, 1.0);
    backdrop-filter: none;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2001;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sticky-header.show {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.sticky-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

/* Sticky header mobile layout */
.sticky-mobile-layout {
    display: none;
    align-items: center;
}

.sticky-social-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sticky-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 2004;
    transition: all 0.3s ease;
}

.sticky-hamburger span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.sticky-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.sticky-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.sticky-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.sticky-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sticky-social-link:hover {
    transform: translateY(-2px) scale(1.05);
}

.sticky-social-link img {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.sticky-social-link:hover img {
    transform: scale(1.1);
}

/* Logo pro sticky header */
.sticky-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 50px;
    background-image: url('../icons/Logo-Autoskola-Martinec-1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1003;
    pointer-events: auto;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ================================
   MOBILE NAVIGATION
   ================================ */

/* Mobilní layout */
.main-mobile-layout {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.main-mobile-layout::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 50px;
    background-image: url('../icons/Logo-Autoskola-Martinec-1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1003;
}

.main-mobile-layout::after:hover {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transform: translate(-50%, -50%) translateY(-2px);
}

.main-social-container {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 2004;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobilní menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-menu-links a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.mobile-menu-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-menu-links a:hover::after,
.mobile-menu-links a:focus::after {
    width: 100%;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:focus {
    color: #3498db;
    transform: translateY(-3px);
}

.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-phone {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mobile-menu-phone:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #3498db;
    transform: translateY(-2px);
}

.mobile-menu-phone img {
    width: 24px;
    height: 24px;
}

.mobile-menu-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.mobile-menu-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mobile-menu-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #3498db;
    transform: translateY(-3px) scale(1.1);
}

.mobile-menu-social img {
    width: 24px;
    height: 24px;
}

/* ================================
   HERO SECTIONS PRO RŮZNÉ STRÁNKY
   ================================ */

/* Index Hero */
.hero {
    background: none;
    color: white;
    padding: 60px 0 80px;
    text-align: left;
    margin-top: 0;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    transform: translateY(0);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 8px rgba(0,0,0,0.7), 0 2px 12px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.85;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,0.7), 0 2px 12px rgba(0,0,0,0.5);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-feature-icon {
    width: 24px;
    height: 24px;
    filter: brightness(1.1) saturate(1.2);
    transition: all 0.3s ease;
}

.hero-feature:hover .hero-feature-icon {
    filter: brightness(1.3) saturate(1.4);
    transform: scale(1.1);
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-cta-section {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

/* Hero Image - pouze pro desktop */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    min-height: 300px;
    transition: all 0.3s ease;
}

.hero-car-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-car-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.car-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.car-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 0 0 15px 15px;
}

.hero-car-image:hover .car-description {
    transform: translateY(0);
}

.car-description h3 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
}

.car-description p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image-placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* O nás Hero */
.about-hero {
    padding: 140px 0 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-hero::before,
.about-hero::before,
.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.about-hero::before {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/duha-foto-v1.webp');
}

.about-hero::after {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/prerov-foto.webp');
    animation: crossfade 28s ease-in-out infinite;
}

/* Přidání transition pro všechny hero pseudo-elementy */
.about-hero::before,
.about-hero::after,
.contact-hero::before,
.contact-hero::after,
.services-hero::before,
.services-hero::after,
.service-hero::before,
.service-hero::after,
.application-hero::before,
.application-hero::after,
.legal-hero::before,
.legal-hero::after {
    transition: opacity 2.5s ease-in-out;
}

/* O nás Hero - specifické styly */
.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.about-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Kontakt Hero */
.contact-hero {
    padding: 140px 0 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-hero::before,
.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.contact-hero::before {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/duha-foto-v1.webp');
}

.contact-hero::after {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/prerov-foto.webp');
    animation: crossfade 32s ease-in-out infinite;
}

/* Kontakt Hero - specifické styly */
.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.contact-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
}

.contact-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Služby Hero */
.services-hero {
    padding: 140px 0 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.services-hero::before,
.services-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.services-hero::before {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/duha-foto-v1.webp');
}

.services-hero::after {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/prerov-foto.webp');
    animation: crossfade 26s ease-in-out infinite;
}

/* Služby Hero - specifické styly */
.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.services-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
}

.services-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Service Hero */
.service-hero {
    padding: 140px 0 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero::before,
.service-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.service-hero::before {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/duha-foto-v1.webp');
}

.service-hero::after {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/prerov-foto.webp');
    animation: crossfade 30s ease-in-out infinite;
}

/* Service Hero - specifické styly */
.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.service-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.service-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.service-price-hero {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.price-label {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
}

.service-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Přihláška Hero */
.application-hero {
    padding: 140px 0 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.application-hero::before,
.application-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.application-hero::before {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/duha-foto-v1.webp');
}

.application-hero::after {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/prerov-foto.webp');
    animation: crossfade 34s ease-in-out infinite;
}

/* Přihláška Hero - specifické styly */
.application-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.application-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.application-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
}

.application-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Právní Hero */
.legal-hero {
    padding: 140px 0 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.legal-hero::before,
.legal-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.legal-hero::before {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/duha-foto-v1.webp');
}

.legal-hero::after {
    background-image: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, transparent 500px), url('../images/prerov-foto.webp');
    animation: crossfade 36s ease-in-out infinite;
}

.legal-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.legal-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
}

.legal-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Společné highlight prvky */
.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ================================
   CONTENT SECTIONS
   ================================ */

/* Hlavní sekce obsahu - univerzální */
.about-content-section,
.contact-content-section,
.services-content-section,
.service-content-section,
.legal-content-section {
    padding: 80px 0;
    background: #ffffff;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hlavní obsah - karty */
.main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Univerzální info karty */
.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.info-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card .icon-img {
    width: 60px;
    height: 60px;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.info-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e74c3c;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    margin-bottom: 1.5rem;
}

.service-features li {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-list li {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

/* Pobočky specifické styly */
.branch-badge {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.branch-badge.secondary {
    background: #3498db;
}

/* Kontaktní detaily */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item span {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2980b9;
}

/* Mapy */
.map-container {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 200px;
    border: none;
    display: block;
    border-radius: 12px;
}

/* Otevírací doba */
.opening-hours {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e9ecef;
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: #2c3e50;
}

.time {
    color: #3498db;
    font-weight: 500;
}

.hours-note {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
}

/* Sociální kontakty */
.social-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.social-link:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.social-link img {
    width: 20px;
    height: 20px;
}

.social-note {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
}

/* Sociální tlačítka */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}

.instagram-btn {
    background: linear-gradient(135deg, #E4405F, #C13584);
    color: white;
}

.instagram-btn:hover {
    background: white;
    color: #E4405F;
    border-color: #E4405F;
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2, #0C63D4);
    color: white;
}

.facebook-btn:hover {
    background: white;
    color: #1877F2;
    border-color: #1877F2;
}

.instagram-btn:hover .social-icon,
.facebook-btn:hover .social-icon {
    filter: none;
}

/* ================================
   SIDEBAR
   ================================ */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.highlight-card {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
}

.highlight-card .card-title {
    color: white;
}

.highlight-card .card-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.card-icon-small {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.card-subtitle {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.price-box {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.price-box .price-amount {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.price-box .price-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA tlačítka */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    border: 2px solid rgba(255,255,255,0.2);
    text-align: center;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
    color: white;
}

/* Sidebar specifické CTA */
.sidebar .cta-button {
    background: white;
    color: #3498db;
    padding: 12px 24px;
    border: 2px solid white;
    font-size: 0.9rem;
}

.sidebar .cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Floating tlačítko přihláška */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    border: 2px solid rgba(255,255,255,0.2);
    z-index: 1000;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-btn.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.5);
    color: white;
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.floating-btn-icon {
    width: 20px;
    height: 20px;
}

.floating-btn-text {
    font-weight: 600;
    white-space: nowrap;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
    .floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .floating-btn-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .floating-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .floating-btn-text {
        display: none;
    }
    
    .floating-btn {
        border-radius: 50%;
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
    }
    
    .floating-btn-icon {
        width: 24px;
        height: 24px;
    }
}

/* Rychlé kontakty */
.quick-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.quick-contact-item:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
}

.quick-contact-item img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.quick-contact-item div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.quick-contact-item strong {
    font-size: 0.9rem;
    color: #2c3e50;
}

.quick-contact-item span {
    font-size: 0.85rem;
    color: #3498db;
}

/* Rychlé odkazy */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quick-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.quick-link:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.quick-link img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* Požadavky */
.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: #2c3e50;
}

.requirement-item img {
    width: 16px;
    height: 16px;
}

/* Kontaktní informace v sidebaru */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Úspěchy sekce */
.achievements {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.achievement-number {
    color: #3498db;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.achievement-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2c3e50;
}

/* Pobočky info */
.branches-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.branch-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.branch-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.branch-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* FAQ */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item strong {
    display: block;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Informační položky */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item strong {
    display: block;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.info-item p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* ================================
   PŘIHLÁŠKA SPECIFICKÉ STYLY
   ================================ */

/* Hlavní sekce formuláře */
.application-form-section {
    padding: 80px 0;
    background: white;
}

.application-form-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.application-form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 3rem;
    text-align: center;
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.form-header-icon {
    width: 32px;
    height: 32px;
}

.form-header p {
    font-size: 1.1rem;
    opacity: 1;
    color: #ffffff;
    font-weight: 500;
}

/* Iframe kontejner pro externí formuláře */
.iframe-container {
    padding: 2rem;
    background: white;
}

.iframe-container iframe {
    width: 100%;
    min-height: 800px;
    border: none;
    background: white;
    margin: 0;
    padding: 0;
    display: block;
}

.iframe-footer {
    margin: -220px 0 0 0;
    padding: 0;
    text-align: center;
    background: white;
    line-height: 1.2;
}

.iframe-footer p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.iframe-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.iframe-footer a:hover {
    text-decoration: underline;
}

/* Formulář */
.application-form {
    padding: 3rem;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-icon {
    width: 24px;
    height: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Výběr kurzu */
.course-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.course-option {
    cursor: pointer;
}

.course-option input[type="radio"] {
    display: none;
}

.course-card {
    padding: 2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
}

.course-option input[type="radio"]:checked + .course-card {
    border-color: #3498db;
    background: #f8fbff;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.15);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.course-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

.course-price {
    font-weight: 700;
    color: #e74c3c;
    font-size: 1.1rem;
    white-space: nowrap;
}

.course-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.course-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.course-features span {
    font-size: 0.9rem;
    color: #27ae60;
    font-weight: 500;
}

/* Výběr pobočky */
.branch-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.branch-option {
    cursor: pointer;
}

.branch-option input[type="radio"] {
    display: none;
}

.branch-card {
    padding: 2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.branch-option input[type="radio"]:checked + .branch-card {
    border-color: #3498db;
    background: #f8fbff;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.15);
}

.branch-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    margin-right: 6rem;
    line-height: 1.2;
}

.branch-card p {
    color: #7f8c8d;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Souhlas */
.consent-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.consent-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.consent-item input[type="checkbox"]:checked + .checkmark {
    background: #3498db;
    border-color: #3498db;
}

.consent-item input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-text {
    color: #2c3e50;
    line-height: 1.5;
    font-size: 0.95rem;
}

.consent-text a {
    color: #3498db;
    text-decoration: none;
}

.consent-text a:hover {
    text-decoration: underline;
}

/* Tlačítko odeslání */
.form-submit {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.submit-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #1f618d);
}

.submit-icon {
    width: 20px;
    height: 20px;
}

.submit-note {
    margin-top: 1rem;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Boční panel přihlášky */
.application-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Styly pro povinné hvězdičky */
.required-asterisk {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1em;
}

.required-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-left: 3px solid #e74c3c;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required-note .required-asterisk {
    font-size: 1rem;
}

.required-note-small {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.required-note-small .required-asterisk {
    font-size: 0.9rem;
}

/* ================================
   PRÁVNÍ STRÁNKY SPECIFICKÉ STYLY
   ================================ */

/* Hlavní obsah - dokument */
.main-content.legal-main {
    display: block;
}

.legal-document {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.document-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 3rem;
    text-align: center;
}

.document-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.update-date {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.document-content {
    padding: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

.legal-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 2rem 0 1rem 0;
}

.legal-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.legal-section ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.legal-section li {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
}

.legal-section li::before {
    content: '•';
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.legal-section strong {
    color: #2c3e50;
    font-weight: 600;
}

.legal-section a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    border-bottom-color: #3498db;
}

/* Kontaktní box */
.contact-box {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tabulka cookies */
.cookies-table {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #e9ecef;
}

.table-row.header {
    background: #3498db;
    color: white;
    font-weight: 600;
}

.table-row:nth-child(even):not(.header) {
    background: #f8f9fa;
}

.cell {
    padding: 1rem 1.5rem;
    border-right: 1px solid #e9ecef;
}

.cell:last-child {
    border-right: none;
}

/* ================================
   INDEX STRÁNKA OBSAH
   ================================ */

/* Služby */
.services {
    padding: 40px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.services .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    height: 80px;
    position: relative;
}

.service-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon-img {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px rgba(52, 152, 219, 0.3));
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.3;
    flex-shrink: 0;
}

.service-card p {
    color: #7f8c8d;
    margin-bottom: auto;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
    padding-bottom: 1.5rem;
}

.price {
    color: #e74c3c;
    font-weight: 700 !important;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: block;
    flex-shrink: 0;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    flex-shrink: 0;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.service-btn:hover::before {
    left: 100%;
}

/* Tlačítka služeb v ostatních sekcích */
.service-btn:hover {
    background: white;
    color: #3498db;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Recenze */
.reviews {
    padding: 80px 0;
    background: #f8f9fa;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.section-description {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Google Reviews Widget */
.google-reviews-widget {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.widget-header {
    text-align: center;
    margin-bottom: 2rem;
}

.widget-header h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.widget-header p {
    color: #7f8c8d;
    margin: 0;
    font-size: 1rem;
}

.google-reviews-placeholder {
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border: 2px dashed #dee2e6;
}

.placeholder-content {
    max-width: 400px;
    margin: 0 auto;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.placeholder-content h4 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.placeholder-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.google-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.google-reviews-link,
.google-reviews-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.google-reviews-link {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
}

.google-reviews-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
    background: linear-gradient(135deg, #3367d6, #2d7d32);
    color: white;
}

.google-reviews-view {
    background: white;
    color: #4285f4;
    border: 2px solid #4285f4;
}

.google-reviews-view:hover {
    background: #4285f4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

/* O nás */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.award-section {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.award-badge {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #d35400 100%);
    border-radius: 20px;
    padding: 2rem 3rem;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    transition: all 0.3s ease;
}

.award-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.award-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.4);
}

.award-badge .award-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: bounce 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all 0.3s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.award-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.award-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    color: white;
    margin: 0;
}

.award-content strong {
    font-weight: 800;
    color: #fff3cd;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.award-content .firmy-link {
    color: #fff3cd;
    text-decoration: underline;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.award-content .firmy-link:hover {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    border-bottom: 2px solid #ffffff;
    transform: translateY(-1px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #7f8c8d;
}

.about-benefits {
    list-style: none;
    padding: 0;
}

.about-benefits li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.about-benefits li:hover .check-icon {
    transform: scale(1.1);
}
/* About Image - stejný styl jako hero image */
.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    min-height: 300px;
    transition: all 0.3s ease;
}

.about-students-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-students-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.students-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.students-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 0 0 15px 15px;
}

.about-students-image:hover .students-description {
    transform: translateY(0);
}

.students-description h3 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
}

.students-description p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}
/* ================================
   GALERIE SEKCE
   ================================ */

.gallery-section {
    padding: 80px 0;
    background: #ffffff;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-overlay p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive design pro galerii */
@media screen and (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-section h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .gallery-item {
        aspect-ratio: 16/10;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    .gallery-section h2 {
        font-size: 1.8rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .gallery-overlay h4 {
        font-size: 1.1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
}

/* Pobočky */
.locations {
    padding: 80px 0;
    background: #f8f9fa;
}

.locations h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.location-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.location-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-icon {
    background: rgba(255,255,255,0.2);
    padding: 0.8rem;
    border-radius: 15px;
    flex-shrink: 0;
}

.location-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.location-title h3 {
    font-size: 1.4rem;
    margin: 0 0 0.3rem 0;
    font-weight: 600;
}

.location-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.location-map {
    position: relative;
    overflow: hidden;
}

.location-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.location-map iframe:hover {
    filter: grayscale(0%);
}

.location-details {
    padding: 2rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #5a6c7d;
    line-height: 1.5;
    font-size: 0.95rem;
}

.info-link {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.info-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Kontakt */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-modern {
    flex: 1;
    max-width: 800px;
}

.info-header {
    text-align: center;
    margin-bottom: 2rem;
}

.info-header h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.info-header p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
}

.contact-card-icon img {
    width: 24px;
    height: 24px;
}

.contact-card-content h4 {
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #2980b9;
}

.contact-note {
    display: block;
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.locations-list span {
    color: #5a6c7d;
    font-size: 0.9rem;
}

.social-section-modern {
    margin-top: 3rem;
    text-align: center;
}

.social-section-modern h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.social-section-modern p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #0d4fb8);
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #0d4fb8, #1877f2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #833ab4, #f09433);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #f09433, #e4405f, #833ab4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 64, 95, 0.3);
}

.social-link:hover img {
    transform: scale(1.1);
}

.social-link:active {
    transform: translateY(0);
}

/* Footer */
.simple-footer {
    background: #f8f9fa;
    color: #2c3e50;
    text-align: center;
    padding: 2rem 0;
    margin-top: 0;
}

.simple-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.simple-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.footer-links a:hover {
    color: #495057;
    background-color: rgba(108, 117, 125, 0.1);
    transform: translateY(-1px);
}

.footer-links a:not(:last-child)::after {
    content: "•";
    color: #dee2e6;
    font-weight: bold;
    position: absolute;
    right: -0.25rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ================================
   FONT STYLING OPTIMALIZACE
   ================================ */

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    letter-spacing: 0.01em !important;
}

*::before,
*::after {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    letter-spacing: 0.01em !important;
}

h1, .hero-title {
    letter-spacing: 0.02em !important;
    font-weight: 800 !important;
}

h2 {
    letter-spacing: 0.015em !important;
    font-weight: 700 !important;
}

h3, h4, h5, h6 {
    letter-spacing: 0.01em !important;
    font-weight: 600 !important;
}

p, span, div {
    letter-spacing: 0.005em !important;
    font-weight: 400 !important;
}

.main-desktop-menu .nav-group-left a,
.main-desktop-menu .nav-group-right a {
    letter-spacing: 0.02em !important;
    font-weight: 500 !important;
}

.hero-title {
    letter-spacing: 0.025em !important;
    font-weight: 800 !important;
}

.hero-subtitle {
    letter-spacing: 0.02em !important;
    font-weight: 600 !important;
}

.cta-button,
.contact-button,
.service-btn {
    letter-spacing: 0.03em !important;
    font-weight: 600 !important;
}

.services h2,
.about h2,
.contact h2,
.reviews h2,
.locations h2 {
    letter-spacing: 0.015em !important;
    font-weight: 700 !important;
}

.service-card h3 {
    letter-spacing: 0.01em !important;
    font-weight: 600 !important;
}

.service-card p {
    letter-spacing: 0.005em !important;
    font-weight: 400 !important;
}

/* ================================
   RESPONSIVE DESIGN - KOMPLETNÍ
   ================================ */

/* Tablet Landscape (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-image {
        display: none !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .info-card .card-icon {
        width: 70px;
        height: 70px;
    }
    
    .info-card .icon-img {
        width: 50px;
        height: 50px;
    }
    
    .info-card h3 {
        font-size: 1.3rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-layout {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    .main-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .sidebar {
        top: 80px;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .application-form-section .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .application-sidebar {
        grid-row: 1;
        position: static;
    }
}

/* Tablet Portrait & Large Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Navigation - Mobile burger menu */
    .main-header {
        background: transparent;
        backdrop-filter: none;
        padding: 0;
    }
    
    .main-nav-container {
        height: 60px;
        padding: 0 15px;
    }
    
    .main-desktop-layout {
        display: none;
    }
    
    .main-mobile-layout {
        display: flex;
    }
    
    .main-mobile-layout::after {
        width: 160px;
        height: 45px;
    }
    
    .mobile-menu-container {
        display: flex;
    }
    
    /* Prevent scrolling when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* Sticky header mobile */
    .sticky-header {
        height: 60px;
    }
    
    .sticky-nav-container {
        height: 60px;
        justify-content: center;
        padding: 0 15px;
    }
    
    .sticky-mobile-layout {
        display: flex !important;
        position: absolute;
        right: 15px;
        z-index: 2004;
    }
    
    .sticky-social-container {
        position: absolute;
        left: 15px;
        gap: 0.5rem;
    }
    
    .sticky-social-link {
        width: 40px;
        height: 40px;
    }
    
    .sticky-social-link img {
        width: 24px;
        height: 24px;
    }
    
    .sticky-header::after {
        width: 150px;
        height: 40px;
    }
    
    /* Hero section mobile */
    .hero {
        padding: 60px 0 40px;
        margin-top: 0;
        text-align: center;
        min-height: 100vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-image {
        display: none !important;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin: 1.5rem 0;
    }
    
    .hero-feature {
        padding: 0.6rem;
    }
    
    .hero-cta-section {
        margin: 2rem 0;
        transform: translateY(0);
    }
    
    .cta-button.primary {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* Hero stránky pro různé sekce */
    .about-hero,
    .contact-hero,
    .services-hero,
    .service-hero,
    .application-hero,
    .legal-hero {
        background: linear-gradient(rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 300px, rgba(0,0,0,0.1) 100%), url('../images/duha-foto-v1.webp') no-repeat center center;
        background-size: cover;
        background-attachment: local;
        background-position: center center;
        padding: 120px 0 60px 0;
    }
    
    .about-hero::after { animation: crossfade 22s ease-in-out infinite; }
    .contact-hero::after { animation: crossfade 24s ease-in-out infinite; }
    .services-hero::after { animation: crossfade 20s ease-in-out infinite; }
    .service-hero::after { animation: crossfade 26s ease-in-out infinite; }
    .application-hero::after { animation: crossfade 28s ease-in-out infinite; }
    .legal-hero::after { animation: crossfade 30s ease-in-out infinite; }
    
    .about-title,
    .contact-title,
    .services-title,
    .service-title,
    .application-title,
    .legal-title {
        font-size: 2.5rem;
    }
    
    .about-subtitle,
    .contact-subtitle,
    .services-subtitle,
    .service-subtitle,
    .application-subtitle,
    .legal-subtitle {
        font-size: 1.2rem;
    }
    
    .about-highlights,
    .contact-highlights,
    .services-highlights,
    .service-highlights,
    .application-benefits,
    .legal-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Content sections mobile */
    .about-content-section,
    .contact-content-section,
    .services-content-section,
    .service-content-section,
    .legal-content-section {
        padding: 60px 0;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        order: 2;
    }
    
    .sidebar {
        position: static;
        order: 1;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Services mobile */
    .services {
        padding: 60px 0;
    }
    
    .services h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .service-card {
        padding: 2rem;
        min-height: auto;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .price {
        font-size: 1.6rem;
    }
    
    /* Reviews mobile */
    .reviews {
        padding: 60px 0;
    }
    
    .reviews h2 {
        font-size: 2rem;
    }
    
    .google-reviews-widget {
        margin: 0 15px 2rem 15px;
        padding: 1.5rem;
    }
    
    .google-cta {
        flex-direction: column;
        align-items: center;
    }
    
    /* About mobile */
.about {
    padding: 60px 0;
}

.about h2 {
    font-size: 2rem;
}

.award-badge {
    padding: 1.5rem 2rem;
    margin: 0 15px;
}

.award-content h3 {
    font-size: 1.5rem;
}

/* PŘIDEJTE TOTO: */
.about-content {
    grid-template-columns: 1fr !important;
    gap: 2rem;
}

.about-image {
    order: -1; /* Zobrazí obrázek jako první na mobilu */
    min-height: 250px;
}

.about-students-image {
    max-width: 350px;
}
    
    /* Locations mobile */
    .locations {
        padding: 60px 0;
    }
    
    .locations h2 {
        font-size: 2rem;
    }
    
    .location-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .location-title h3 {
        font-size: 1.2rem;
    }
    
    .location-details {
        padding: 1.5rem;
    }
    
    /* Contact mobile */
    .contact {
        padding: 60px 0;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .social-links-container {
        flex-direction: column;
        align-items: center;
    }
    
    /* Přihláška mobile */
    .application-form-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .application-sidebar {
        grid-row: 1;
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .course-options {
        grid-template-columns: 1fr;
    }
    
    .branch-options {
        grid-template-columns: 1fr;
    }
    
    .application-form {
        padding: 2rem;
    }
    
    .form-header {
        padding: 2rem;
    }
    
    .submit-button {
        width: 100%;
        justify-content: center;
    }
    
    /* Právní stránky mobile */
    .document-content {
        padding: 2rem;
    }
    
    .document-header {
        padding: 2rem;
    }
    
    .legal-section h3 {
        font-size: 1.4rem;
    }
    
    .table-row {
        grid-template-columns: 1fr;
    }
    
    .cell {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .table-row .cell:last-child {
        border-bottom: none;
    }
    
    .table-row:not(:last-child) .cell:last-child {
        border-bottom: 1px solid #e9ecef;
    }
    
    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile Small (max-width: 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .main-nav-container,
    .sticky-nav-container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-image {
        display: none !important;
    }
    
    .services h2,
    .about h2,
    .contact h2,
    .reviews h2,
    .locations h2 {
        font-size: 1.6rem;
    }
    
    .about-title,
    .contact-title,
    .services-title,
    .service-title,
    .application-title,
    .legal-title {
        font-size: 1.8rem;
    }
    
    .about-subtitle,
    .contact-subtitle,
    .services-subtitle,
    .service-subtitle,
    .application-subtitle,
    .legal-subtitle {
        font-size: 1.1rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .info-card {
        padding: 1.2rem;
    }
    
    .sidebar-card {
        padding: 1rem;
    }
    
    .award-badge {
        padding: 1rem;
    }
    
    .google-reviews-widget {
        margin: 0 8px 2rem 8px;
    }
    
    .document-content {
        padding: 1.2rem;
    }
    
    .document-header {
        padding: 1.2rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .map-container iframe {
        height: 160px;
    }
}

/* Mobile Extra Small (max-width: 360px) */
@media screen and (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .main-nav-container,
    .sticky-nav-container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-image {
        display: none !important;
    }
    
    .services h2,
    .about h2,
    .contact h2,
    .reviews h2,
    .locations h2 {
        font-size: 1.6rem;
    }
    
    .about-title,
    .contact-title,
    .services-title,
    .service-title,
    .application-title,
    .legal-title {
        font-size: 1.8rem;
    }
    
    .highlight-item,
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .about-content-section,
    .contact-content-section,
    .services-content-section,
    .service-content-section,
    .legal-content-section {
        padding: 40px 0;
    }
    
    /* Services mobile small */
    .services {
        padding: 40px 0;
    }
    
    .services h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .info-card .icon-img {
        width: 50px;
        height: 50px;
    }
    
    .info-card h3 {
        font-size: 1.2rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
    
    .sidebar-card {
        padding: 1.2rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
    
    .service-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    
    /* Contact mobile small */
    .contact-card {
        padding: 1.2rem;
    }
    
    .contact-card h4 {
        font-size: 1rem;
    }
    
    .contact-link {
        font-size: 0.9rem;
    }
    
    /* Award badge mobile small */
.award-badge {
    padding: 1.2rem 1.5rem;
}

.award-content h3 {
    font-size: 1.3rem;
}

.award-content p {
    font-size: 1rem;
}

/* PŘIDEJTE TOTO: */
.about-image {
    min-height: 200px;
}

.about-students-image {
    max-width: 300px;
}

.students-description {
    padding: 20px 15px 15px;
}

.students-description h3 {
    font-size: 1.2rem;
}

.students-description p {
    font-size: 0.85rem;
}
    
    /* Location mobile small */
    .location-header {
        padding: 1.2rem;
    }
    
    .location-details {
        padding: 1.2rem;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }
    
    .info-content {
        gap: 0.2rem;
    }
    
    .map-container iframe {
        height: 180px;
    }
    
    /* Google reviews mobile small */
    .google-reviews-widget {
        padding: 1rem;
    }
    
    .google-reviews-placeholder {
        padding: 2rem 1rem;
    }
    
    .placeholder-content h4 {
        font-size: 1.1rem;
    }
    
    .placeholder-content p {
        font-size: 0.9rem;
    }
    
    /* Přihláška mobile small */
    .application-form {
        padding: 1.5rem;
    }
    
    .form-header {
        padding: 1.5rem;
    }
    
    .submit-button {
        width: 100%;
        justify-content: center;
    }
    
    /* Právní stránky mobile small */
    .document-content {
        padding: 1.5rem;
    }
    
    .document-header {
        padding: 1.5rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.3rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 0.95rem;
    }
    
    .contact-box {
        padding: 1.2rem;
        font-size: 0.9rem;
    }
}

/* Landscape orientation optimizations */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 40px 0 20px;
        margin-top: 0;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .services,
    .reviews,
    .about,
    .locations,
    .contact {
        padding: 40px 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-feature-icon,
    .service-icon-img,
    .location-icon-img,
    .info-icon,
    .check-icon,
    .award-icon-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility improvements for touch devices */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .location-card:hover,
    .contact-card:hover,
    .info-card:hover {
        transform: none;
    }
    
    .hero-feature:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }
    
    .cta-button:hover,
    .service-btn:hover,
    .google-reviews-link:hover,
    .google-reviews-view:hover {
        transform: none;
    }
    
    /* Larger touch targets */
    .cta-button,
    .service-btn,
    .contact-link,
    .social-link {
        min-height: 44px;
        padding: 12px 24px;
    }
    
    .sticky-social-link {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Print styles */
@media print {
    .main-header,
    .sticky-header {
        display: none;
    }
    
    .hero {
        margin-top: 0;
        padding-top: 0;
    }
    
    .service-card,
    .location-card,
    .contact-card,
    .info-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .google-reviews-placeholder {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

