/* ===== CSS Variables ===== */
:root {
    --primary-color: #6b9080;
    --primary-dark: #4a7063;
    --secondary-color: #a4c3b2;
    --accent-color: #cce3de;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Navigation ===== */
.navbar {
    background-color: var(--background);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    text-decoration: none;
    color: inherit;
}

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.nav-brand h1:hover {
    opacity: 0.8;
}

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

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 2px;
}

.nav-link:focus:not(:focus-visible) {
    outline: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* ===== Hero Section ===== */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/hero_background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 9.375rem 1.25rem 6.25rem;
    text-align: center;
    margin-top: 4.375rem;
    position: relative;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.btn-primary:focus {
    outline: 3px solid white;
    outline-offset: 4px;
}

.btn-primary:focus:not(:focus-visible) {
    outline: none;
}

/* ===== Sections ===== */
.section {
    padding: 5rem 1.25rem;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    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-color: var(--primary-color);
    border-radius: 2px;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3/4;
}

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

/* ===== Services Section ===== */
.services-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.services-text {
    display: flex;
    flex-direction: column;
}

.services-intro {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: left;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.services-list li {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 0.8rem 0 0.8rem 2.5rem;
    position: relative;
}

.services-list li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0.8rem;
    top: 0.5rem;
}

.services-closing {
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    text-align: left;
}

.services-footer {
    background-color: var(--accent-color);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.services-footer p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.services-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.services-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===== Process Section ===== */
.meeting-content {
    max-width: 800px;
    margin: 0 auto;
}

.meeting-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    text-align: left;
}

.meeting-text-highlighted {
    background-color: var(--accent-color);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
    font-weight: 500;
}

/* ===== Pricing Section ===== */
.pricing-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.price-card {
    background-color: var(--background);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.price-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.price-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.price-duration {
    color: var(--text-light);
    font-size: 1rem;
}

.payment-info {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
    padding: 1.5rem 2rem;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

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

.payment-info p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.cancellation-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    padding: 1.5rem 2rem;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

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

.cancellation-info p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    justify-items: center;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-item a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.contact-item a:focus:not(:focus-visible) {
    outline: none;
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 100%;
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 20px;
}

.footer p {
    opacity: 0.8;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu li {
        padding: 0.5rem 20px;
    }

    .nav-link::after {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 120px 20px 80px;
    }

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

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Sections */
    .section {
        padding: 3.75rem 1.25rem;
    }

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

    /* O mně */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Services */
    .services-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-image {
        max-width: 400px;
        margin: 0 auto;
    }
    .services-list li {
        padding: 0.6rem 0 0.6rem 2rem;
        font-size: 1rem;
    }

    .services-list li::before {
        left: 0.5rem;
        font-size: 1.3rem;
    }

    .services-footer {
        padding: 1.2rem 1.5rem;
    }

    /* Meeting */
    .meeting-text {
        font-size: 1rem;
    }

    .meeting-text-highlighted {
        padding: 1.2rem 1.5rem;
    }

    /* Pricing */
    .pricing-content {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-map iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

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

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

    .price {
        font-size: 2rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
