/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d9596;
    --secondary-color: #9ad0c2;
    --accent-color: #ffd966;
    --accent-soft: #fff4d6;
    --gradient-start: #265073;
    --gradient-end: #2d9596;
    --text-dark: #1a1a1a;
    --text-light: #4a5568;
    --bg-light: #f8fffe;
    --white: #ffffff;
    --shadow: rgba(45, 149, 150, 0.15);
    --shadow-hover: rgba(45, 149, 150, 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Header */
#header {
    background-color: var(--white);
    box-shadow: 0 2px 15px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    backdrop-filter: blur(10px);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.logo .tagline {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Navigace */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    background-image: url('/images/hero-desktop.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

/* Jemný filtr na pozadí */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: brightness(0.95) saturate(1.1);
    z-index: 1;
}

.hero-overlay {
    width: 100%;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 4rem 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.95;
}

/* Tlačítka */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sekce */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 4px;
}

/* Content Box */
.content-box {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.content-box p {
    margin-bottom: 1.5rem;
}

/* About Section - Fotka vlevo, text vpravo */
.about-wrapper {
    display: flex;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    flex-shrink: 0;
}

.about-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 40px var(--shadow-hover);
    border: 5px solid var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px var(--shadow-hover);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.about-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem !important;
    font-weight: 500;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
    border: 2px solid var(--accent-color);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(45, 149, 150, 0.2));
}

.service-card:hover .service-icon svg {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(45, 149, 150, 0.3));
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Benefits Section - pozadí s obrázkem */
#vyhody {
    background-image: url('/images/background-vyhody.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

#vyhody::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 255, 254, 0.85);
    backdrop-filter: blur(2px);
    z-index: 0;
}

#vyhody .container {
    position: relative;
    z-index: 1;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(45, 149, 150, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px var(--shadow-hover);
    background: rgba(255, 255, 255, 0.97);
}

.benefit-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(45, 149, 150, 0.15));
}

.benefit-item:hover .benefit-icon svg {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(45, 149, 150, 0.25));
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Pricing Wrapper - dvousloupcový layout */
.pricing-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto 2rem;
}

.pricing-illustration {
    flex-shrink: 0;
    width: 350px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-illustration svg {
    width: 350px;
    height: 350px;
    filter: drop-shadow(0 4px 12px rgba(45, 149, 150, 0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.pricing-illustration svg:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 16px rgba(45, 149, 150, 0.25));
}

/* Pricing Table */
.pricing-table {
    flex: 1;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px var(--shadow);
    border: 1px solid var(--accent-soft);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--accent-soft);
}

.price-item:last-child {
    border-bottom: none;
}

.price-duration {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    flex: 1;
}

.price-amount {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
    margin-left: 1rem;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    font-weight: 400;
}

.voucher-info {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-color) 100%);
    border-radius: 15px;
    border: 2px solid var(--accent-color);
    max-width: 1100px;
    margin: 0 auto;
}

.voucher-info p {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Oblast působnosti Section */
.area-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.area-category {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(45, 149, 150, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px var(--shadow-hover);
}

.area-category h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-soft);
}

.cities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cities-list li {
    padding: 0.6rem 0;
    color: var(--text-dark);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--bg-light);
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.cities-list li:last-child {
    border-bottom: none;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
}

.cities-list li:hover {
    padding-left: 0.5rem;
    color: var(--primary-color);
}

.area-note {
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
}

/* Contact Section */
.section-contact {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.contact-wrapper {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-photo-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-hover);
    border: 5px solid var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-photo img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px var(--shadow-hover);
}

.contact-info-box {
    flex: 1;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px var(--shadow);
    border: 1px solid var(--accent-soft);
    display: flex;
    flex-direction: column;
}

.contact-info-box h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 500;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(45, 149, 150, 0.1);
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-item:hover .contact-item-icon svg {
    color: var(--gradient-start);
    transform: scale(1.1);
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--primary-color);
}

.contact-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-contact,
.btn-contact-secondary {
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    display: block;
}

.btn-contact {
    background: var(--gradient-start);
    color: var(--white);
    border-color: var(--gradient-start);
}

.btn-contact:hover {
    background: #1a3a4d;
    border-color: #1a3a4d;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

.btn-contact-secondary {
    background: var(--white);
    color: var(--gradient-start);
    border-color: var(--gradient-start);
}

.btn-contact-secondary:hover {
    background: var(--gradient-start);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

/* Footer */
#footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 0;
}

#footer p {
    font-size: 0.95rem;
    opacity: 0.9;
}

#footer a {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-color);
}

/* Responzivní design - Tablet */
@media (max-width: 968px) {
    .hero {
        background-image: url('/images/hero-tablet.jpeg');
        min-height: 60vh;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .benefits-grid {
        gap: 1.5rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper {
        gap: 2rem;
    }

    .about-image img {
        width: 280px;
        height: 280px;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .pricing-wrapper {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .pricing-illustration {
        display: none;
    }

    .area-grid {
        gap: 2rem;
    }
}

/* Responzivní kontakty - střední obrazovky */
@media (max-width: 895px) {
    .contact-wrapper {
        gap: 1.5rem;
    }
}

/* Responzivní design - Mobile */
@media (max-width: 768px) {
    #header .container {
        flex-wrap: wrap;
        align-items: center;
    }

    .logo {
        flex: 1;
        order: 1;
    }

    .hamburger {
        display: flex;
        order: 2;
        align-self: center;
    }

    #nav {
        flex-basis: 100%;
        order: 3;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 1rem;
        background-color: var(--bg-light);
        border-radius: 15px;
        padding: 1rem 0;
        box-shadow: 0 4px 15px var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        padding: 0.5rem 0;
    }

    .nav-menu li a {
        display: block;
        padding: 0.8rem 1rem;
    }

    .hero {
        background-image: url('/images/hero-mobile.jpeg');
        min-height: 60vh;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .about-image img {
        width: 250px;
        height: 250px;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .area-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .area-intro,
    .area-note {
        padding: 1rem;
    }

    .pricing-wrapper {
        margin-bottom: 2rem;
    }

    .pricing-illustration {
        display: none;
    }

    .pricing-table {
        padding: 2rem 1.5rem;
    }

    .price-item {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .price-amount {
        flex-basis: 100%;
        margin-left: 0;
        margin-top: 0.3rem;
    }

    .price-note {
        display: block;
        margin-left: 0;
        margin-top: 0.3rem;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .contact-photo-box {
        order: -1;
        max-width: 400px;
        width: 100%;
    }

    .contact-info-box {
        padding: 2rem 1.5rem;
        width: 100%;
    }

    .contact-info-box h3 {
        font-size: 1.5rem;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .logo .tagline {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        background-image: url('/images/hero-mobile-small.jpeg');
        min-height: 50vh;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 450px) {
    .contact-photo-box {
        max-width: 300px;
    }

    .contact-info-box {
        padding: 2rem 1rem;
    }

    .contact-item {
        padding: 0.8rem 0.5rem;
    }
}
