:root {
    /* Hlavní barvy */
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #60a5fa;
    
    /* Neutrální barvy */
    --background-color: #ffffff;
    --text-color: #1f2937;
    --nav-text-color: #4b5563;
    
    /* Přechody a stíny */
    --transition-speed: 0.3s;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --hero-gradient: linear-gradient(135deg, rgba(37,99,235,0.1) 0%, rgba(96,165,250,0.1) 100%);
    --hero-text-color: #0f172a;
    --button-hover-transform: translateY(-3px);
    --button-radius: 12px;
    --hero-spacing: clamp(2rem, 5vw, 5rem);
    --hero-animation-duration: 0.8s;
    
    /* Rozměry */
    --navbar-height: 80px;
    --container-width: 1200px;
    --mobile-breakpoint: 768px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: var(--background-color);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: transform var(--transition-speed);
}

/* Efekt schování navbaru při scrollování dolů */
.navbar.hide {
    transform: translateY(-100%);
}

.navbar .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform var(--transition-speed);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--nav-text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all var(--transition-speed);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all var(--transition-speed);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 100;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all var(--transition-speed);
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background-color: var(--background-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-speed);
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-link {
        font-size: 1.2rem;
    }
}

/* Animace při načtení */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    animation: fadeInDown 0.5s ease-out;
}


/* Hero Section Styles */
.hero {
    min-height: 80vh; /* Zmenšeno z 100vh na 80vh */
    padding: calc(var(--navbar-height) + 1rem) 0;
    background: var(--hero-gradient);
    overflow: hidden;
    display: flex;
    align-items: center; /* Centrování vertikálně */
    justify-content: center; /* Centrování horizontálně */
}

.hero .container {
    max-width: 1200px; /* Maximální šířka containeru */
    width: 90%; /* Responsive šířka */
    margin: 0 auto;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--hero-spacing);
    align-items: center;
    justify-content: center;
    max-width: 1000px; /* Maximální šířka obsahu */
    margin: 0 auto;
    animation: fadeIn var(--hero-animation-duration) ease-out;
    padding: 2rem;
}

.hero-text {
    opacity: 0;
    animation: slideInLeft var(--hero-animation-duration) ease-out forwards;
    animation-delay: 0.3s;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3.5rem); /* Zmenšené velikosti */
    color: var(--hero-text-color);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text h2 {
    font-size: clamp(1rem, 1.5vw, 1.5rem); /* Zmenšené velikosti */
    color: var(--text-color);
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.primary-btn, .secondary-btn {
    padding: 0.8rem 1.8rem; /* Zmenšené padding */
    border-radius: var(--button-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover, .secondary-btn:hover {
    transform: var(--button-hover-transform);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.primary-btn::after, .secondary-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.primary-btn:hover::after, .secondary-btn:hover::after {
    left: 100%;
}

.hero-image {
    position: relative;
    opacity: 0;
    animation: slideInRight var(--hero-animation-duration) ease-out forwards;
    animation-delay: 0.5s;
    max-width: 90%; /* Omezení maximální šířky obrázku */
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    object-fit: cover; /* Zajistí správné oříznutí obrázku */
    max-height: 400px; /* Maximální výška obrázku */
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Animace */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero {
        min-height: auto; /* Automatická výška na mobilu */
        padding: calc(var(--navbar-height) + 1rem) 0 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap; /* Umožní zalamování tlačítek na menších obrazovkách */
    }

    .hero-image {
        order: -1;
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-image img {
        max-height: 300px; /* Menší výška obrázku na mobilu */
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .primary-btn, .secondary-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Menší obrazovky */
@media (max-width: 480px) {
    .hero-content {
        padding: 0.5rem;
    }

    .hero-image {
        max-width: 90%;
    }

    .hero-image img {
        max-height: 250px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
    }
}

/* Přidání hover efektů pro interaktivitu */
.hero-content:hover .hero-image img {
    transform: perspective(1000px) rotateY(5deg);
}

/* Přidání loading animace */
.loading {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.loaded {
    opacity: 1;
}

/* About Section Styles */
.about {
    padding: var(--hero-spacing) 0;
    background: linear-gradient(135deg, 
        rgba(37,99,235,0.03) 0%, 
        rgba(96,165,250,0.05) 100%);
    position: relative;
    overflow: hidden;
}

/* Dekorativní prvky na pozadí */
.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.03;
    top: -150px;
    left: -150px;
}

.about::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.05;
    bottom: -100px;
    right: -100px;
}

.about .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.about-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUpFade 0.8s ease-out forwards;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--hero-text-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.about-content:hover .section-title::after {
    width: 100px;
}

.about-description {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.about-description:nth-child(2) {
    animation: slideUpFadeDelayed 0.8s ease-out 0.2s forwards;
}

.about-description:nth-child(3) {
    animation: slideUpFadeDelayed 0.8s ease-out 0.4s forwards;
}

.about-description:nth-child(4) {
    animation: slideUpFadeDelayed 0.8s ease-out 0.6s forwards;
}

/* Hover efekt pro celou kartu */
.about-content:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

/* Animace */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpFadeDelayed {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .about {
        padding: 3rem 0;
    }

    .about-content {
        padding: 2rem;
    }

    .section-title {
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-description {
        text-align: center;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-content {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .about-description {
        margin-bottom: 1rem;
    }
}

/* Přidání efektu pro AOS animaci */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Services Section */
.services {
    padding: 5rem 0;
    /* Změna backgroundu na výraznější, ale stále elegantní */
    background: linear-gradient(135deg, 
        rgba(37,99,235,0.08) 0%,
        rgba(96,165,250,0.12) 50%,
        rgba(37,99,235,0.08) 100%);
    position: relative;
    overflow: hidden;
}
.services h2 {
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.5rem);
    /* Změna barvy nadpisu pro lepší čitelnost */
    color: var(--hero-text-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700; /* Přidáno pro lepší čitelnost */
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.services:hover h2::after {
    width: 120px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform: translateY(30px);
    opacity: 0;
    animation: cardAppear 0.6s ease-out forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Hover efekt pro karty */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

/* Pozadí ikon */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(37,99,235,0.05) 0%, 
        rgba(96,165,250,0.08) 100%);
    clip-path: circle(60px at 90% -20%);
    transition: clip-path 0.4s ease;
}

.service-card:hover::before {
    clip-path: circle(400px at 90% -20%);
}

/* Ikony */
.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

/* Nadpisy služeb */
.service-card h3 {
    font-size: 1.5rem;
    color: var(--hero-text-color);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
}

/* Text služeb */
.service-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
}

/* Animace pro karty */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Přidání shine efektu */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.service-card:hover::after {
    left: 100%;
}

/* Media Queries */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 3rem 0;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card i {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .services h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.8rem 1.2rem;
    }
}


.featured-routes {
    padding: 6rem 0;
    background: var(--background-color);
    position: relative;
    overflow: hidden;
}

.featured-routes h2 {
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--text-color);
    margin-bottom: 3.5rem;
    position: relative;
    font-weight: 700;
}

.featured-routes h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: var(--transition-speed);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.route-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--background-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition-speed);
    transform: translateY(30px);
    opacity: 0;
    animation: cardSlideUp 0.6s ease forwards;
}

.route-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.route-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.route-info {
    padding: 1.5rem;
    background: var(--background-color);
    position: relative;
}

.route-info h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.route-info p {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.route-btn {
    background: var(--primary-color);
    color: var(--background-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-speed);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.route-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

/* Shine efekt pro tlačítko */
.route-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: var(--transition-speed);
}

.route-btn:hover::after {
    left: 100%;
}

/* Badge Popular */
.route-card::before {
    content: 'Popular';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--background-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition-speed);
}

.route-card:hover::before {
    opacity: 1;
    transform: translateY(0);
}

@keyframes cardSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 968px) {
    .routes-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .featured-routes {
        padding: 4rem 0;
    }

    .route-card img {
        height: 200px;
    }

    .route-info {
        padding: 1.2rem;
    }

    .route-info h3 {
        font-size: 1.2rem;
    }

    .route-info p {
        font-size: 1.2rem;
    }

    .route-btn {
        padding: 0.7rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .featured-routes h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .routes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--background-color);
    position: relative;
    overflow: hidden;
}

/* Dekorativní pozadí */
.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(37,99,235,0.03) 0%,
        rgba(96,165,250,0.05) 100%);
    z-index: 0;
}

.faq .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.faq .section-title {
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative; /* Přidáno pro absolutní pozicování podtržení */
    padding-bottom: 1.5rem; /* Prostor pro podtržení */
}

/* Upravené podtržení */
.faq .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; /* Zarovnání na střed */
    transform: translateX(-50%); /* Vycentrování */
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: var(--transition-speed);
}

/* Hover efekt pro podtržení */
.faq .section-title:hover::after {
    width: 100px;
}

.faq .section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--nav-text-color);
    margin-bottom: 3rem;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--background-color);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition-speed);
}

.faq-item:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--background-color);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    transition: var(--transition-speed);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
    padding-right: 2rem;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform var(--transition-speed);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: linear-gradient(to bottom,
        rgba(37,99,235,0.03),
        rgba(96,165,250,0.05));
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--nav-text-color);
    line-height: 1.6;
    margin: 0;
}

/* Aktivní stav */
.faq-item.active .faq-question {
    background: linear-gradient(to right, 
        var(--primary-color),
        var(--accent-color));
    border-color: transparent;
}

.faq-item.active .faq-question h3 {
    color: var(--background-color);
}

.faq-item.active .faq-question i {
    color: var(--background-color);
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Dostatečně velká hodnota pro obsah */
}

/* Animace */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .faq {
        padding: 4rem 0;
    }

    .faq-question {
        padding: 1.2rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq .section-title {
        font-size: 1.8rem;
    }

    .faq .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .faq-question {
        padding: 1rem;
    }
}

/* Quote Section - upravený background a styling */
.quote {
    padding: 6rem 0;
    /* Změněný background na světlejší a více kontrastní vůči ostatním sekcím */
    background: linear-gradient(135deg, 
    rgba(37,99,235,0.08) 0%,
    rgba(96,165,250,0.12) 50%,
    rgba(37,99,235,0.08) 100%);
    position: relative;
    overflow: hidden;
}

/* Dekorativní prvky pro vizuální oddělení */
.quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom,
        rgba(37,99,235,0.05) 0%,
        transparent 100%);
}

.quote .container {
    max-width: 700px; /* Zmenšená maximální šířka */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.quote-content {
    background: var(--background-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Upravený spacing pro formulářové prvky */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--background-color);
    transition: var(--transition-speed);
}

/* Vylepšený vzhled textarea */
.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

/* Upravený submit button */
.quote-submit-btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-speed);
    width: 100%;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.quote-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* Media Queries */
@media (max-width: 768px) {
    .quote {
        padding: 4rem 0;
    }

    .quote-content {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .quote-content {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
    }

    .quote-submit-btn {
        padding: 1rem;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%,
        var(--secondary-color) 100%);
    color: var(--background-color);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

/* Dekorativní prvek */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-section h3 {
    color: var(--background-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-section p {
    color: var(--background-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Quick Links */
.footer-section a {
    color: var(--background-color);
    text-decoration: none;
    transition: var(--transition-speed);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--background-color);
    transform: translateX(5px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-speed);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.social-links i {
    font-size: 1.2rem;
    color: var(--background-color);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-section a:hover {
        transform: translateX(0) scale(1.05);
    }
}

/* Animace pro sociální ikony */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.social-links a:hover i {
    animation: float 0.8s ease infinite;
}

/* Hover efekt pro logo */
.footer-section:first-child h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--background-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-speed);
}

