/* ==========================================================================
   01. Variables & Reset
   ========================================================================== */
:root {
    --primary: #2C4230;       
    --primary-dark: #1e2e21;  
    --accent: #C19B54;        
    --accent-hover: #A68241;  
    --bg-light: #F4F7F5;      
    --white: #ffffff;
    --text-main: #555555;
    --text-dark: #222222;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    text-transform: uppercase; 
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* UI Elements */
.btn {
    display: inline-block;
    padding: 16px 36px;
    background-color: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* ==========================================================================
   02. Header & Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary); 
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(44, 66, 48, 0.98);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 100%;
    transition: var(--transition);
    display: block;
}

header.scrolled .logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

nav ul li a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    position: relative;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--accent);
}

/* Active State indicator */
nav ul li a.nav-link:not(.nav-contact-btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

nav ul li a.nav-link.active:not(.nav-contact-btn)::after {
    width: 100%;
}

.nav-contact-btn {
    background-color: var(--accent);
    padding: 10px 24px;
    color: var(--white) !important;
    border: 2px solid var(--accent);
}

.nav-contact-btn:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary) !important;
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 26px;
    cursor: pointer;
}

/* ==========================================================================
   03. Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
    text-align: left;
    animation: slideUp 1s ease forwards;
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--accent);
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    margin-bottom: 25px;
    border-left: 4px solid var(--accent);
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 20px;
    font-weight: 300;
    color: #dddddd;
    margin-bottom: 45px;
    max-width: 600px;
    border-left: 2px solid var(--accent);
    padding-left: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   04. Layout Structure & Typography
   ========================================================================== */
.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
}

.section-title.center {
    text-align: center;
}

.section-title span {
    display: block;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 500;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
}

/* ==========================================================================
   05. Intro Section
   ========================================================================== */
.intro-section {
    background-color: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-image-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.intro-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 20px;
    left: 20px;
    border: 3px solid var(--accent);
    z-index: -1;
    transition: var(--transition);
}

.intro-image-wrapper::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    bottom: -30px;
    left: -30px;
    background-color: rgba(44, 66, 48, 0.04); 
    z-index: -2;
}

.intro-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.intro-text p {
    font-size: 17px;
    margin-bottom: 25px;
    color: var(--text-main);
}

.intro-text p.lead {
    font-size: 24px;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

/* ==========================================================================
   06. About Section
   ========================================================================== */
.about-section {
    background-color: var(--bg-light);
    border-top: 1px solid #e0e5e2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-box {
    background: var(--white);
    padding: 50px 40px;
    border-bottom: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    gap: 30px;
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.about-box-icon {
    flex-shrink: 0;
}

.about-box-icon i {
    font-size: 40px;
    color: var(--accent);
}

.about-box-content h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--primary);
}

/* ==========================================================================
   07. Services Section
   ========================================================================== */
.services-section {
    background-color: var(--primary);
    color: var(--white);
}

.services-section .section-title h2 {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: transparent;
    margin-bottom: 30px;
    display: block; 
    color: inherit;
    text-decoration: none;
    outline: none;
}

.service-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-content {
    background-color: var(--white);
    width: 85%;
    margin: 0 auto;
    position: relative;
    margin-top: -40px; 
    z-index: 2;
    padding: 30px 20px 50px; 
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.service-card:hover .service-content {
    background-color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
    margin: 0 auto 20px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--primary);
}

.service-content h4 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 15px;
    margin-top: 15px;
    transition: var(--transition);
}

.service-content p {
    color: var(--text-main);
    font-size: 15px;
    margin: 0;
    transition: var(--transition);
}

.service-card:hover .service-content h4,
.service-card:hover .service-content p {
    color: var(--white);
}

.service-arrow-wrapper {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(-15px);
    transition: var(--transition);
}

.service-card:hover .service-arrow-wrapper {
    opacity: 1;
    transform: translateX(0);
}

.service-arrow {
    color: var(--white);
    font-size: 20px;
    display: inline-block;
}

.services-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   08. Contact Section
   ========================================================================== */
.contact-section {
    background-color: var(--bg-light);
}

.contact-wrap {
    display: flex;
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.contact-info {
    flex: 1;
    background-color: var(--primary);
    color: var(--white);
    padding: 70px 50px;
    position: relative;
    overflow: hidden;
}

.contact-info::after {
    content: '\f1bb'; 
    font-family: 'FontAwesome';
    position: absolute;
    right: -30px;
    bottom: -30px;
    font-size: 250px;
    color: rgba(255,255,255,0.03);
    pointer-events: none;
}

.contact-info h3 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    margin-right: 20px;
}

.info-content h5 {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.info-content p, .info-content a {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
}

.info-content a:hover {
    color: var(--accent);
}

.contact-form-wrap {
    flex: 1.5;
    padding: 70px 60px;
}

.contact-form-wrap h3 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #ddd;
    background: var(--bg-light);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
    margin-bottom: 20px;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

/* ==========================================================================
   09. Footer
   ========================================================================== */
footer {
    background-color: var(--primary-dark);
    color: #a0a8a3;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 60px;
    max-width: 100%;
}

.footer-col p {
    max-width: 400px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #a0a8a3;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.creator-link {
    color: var(--accent);
    font-weight: 400; 
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.creator-link:hover {
    color: var(--white);
}

.creator-link i {
    font-size: 11px;
    margin-left: 4px;
}

/* ==========================================================================
   10. Animations & Responsive
   ========================================================================== */
@keyframes slideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .hero h1 { font-size: 52px; }
    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .intro-image-wrapper { padding: 0; margin-top: 30px; }
    .intro-image-wrapper::before { top: -15px; right: -15px; bottom: 15px; left: 15px; }
    .intro-image-wrapper::after { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-wrap { flex-direction: column; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid-bottom { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero { padding-top: 100px; text-align: center; }
    .hero-content { text-align: center; margin: 0 auto; }
    .hero p { border-left: none; padding-left: 0; margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; flex-direction: column; gap: 15px; }
    
    .hero h1 { font-size: 42px; }
    
    .services-grid, .services-grid-bottom { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    
    .contact-info { padding: 40px 30px; }
    .contact-form-wrap { padding: 40px 30px; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-col p { margin: 0 auto; }
    
    .logo img { height: 40px; }
    
    /* Mobile Menu */
    .mobile-menu-btn { display: block; }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        padding: 20px;
        border-top: 1px solid rgba(255,255,255,0.05);
        display: none;
        flex-direction: column;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    nav.active { display: flex; }
    nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        width: 100%;
    }
    .nav-contact-btn { display: inline-block; }
}

/* ==========================================================================
   11. Prominent Service (Jagdschein)
   ========================================================================== */
.prominent-service {
    background-color: transparent;
    border: 2px solid var(--accent);
    border-radius: 4px;
    padding: 45px 50px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 35px;
    transition: var(--transition);
}

.prominent-service:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.prominent-icon i {
    font-size: 55px;
    color: var(--accent);
}

.prominent-text {
    flex: 1;
}

.prominent-text h3 {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 28px;
}

.prominent-text p {
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
    color: var(--white);
}

.prominent-action {
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .prominent-service {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
}


/* Contact Form Additions */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}
.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    accent-color: var(--accent);
    cursor: pointer;
}
.checkbox-group label {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.5;
    cursor: pointer;
}
.checkbox-group label a {
    color: var(--accent);
    text-decoration: underline;
}

.recaptcha-text {
    font-size: 12px;
    color: #999;
    margin-top: 15px; /* Odsazení shora od tlačítka */
    line-height: 1.5;
    /* text-align: center; můžete odkomentovat, pokud to chcete mít pod tlačítkem vycentrované */
}
.recaptcha-text a {
    color: var(--primary);
}

/* Form Messages */
#form-messages {
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
    display: none;
    padding: 15px 20px;
    border-radius: 4px;
}
#form-messages.success {
    display: block;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}
#form-messages.error {
    display: block;
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

/* Tlačítko načítání */
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* Skrytí původního reCAPTCHA odznaku */
.grecaptcha-badge { 
    visibility: hidden !important; 
}



/* ==========================================================================
   12. Subpages (Rehwild, Jagdgebiet, Unterkunft)
   ========================================================================== */

/* Banner Podstránky */
.page-hero {
    height: 40vh;
    min-height: 350px;
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 15px;
}

/* Drobečková navigace */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    color: #ccc;
    font-size: 15px;
}

.breadcrumbs a {
    color: var(--accent);
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs i {
    font-size: 12px;
    color: #888;
}

/* Tlačítko zpět */
.back-bar {
    background-color: var(--bg-light);
    padding: 15px 0;
    border-bottom: 1px solid #e0e5e2;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-back:hover {
    color: var(--accent);
    transform: translateX(-5px);
}

/* Obsah podstránky */
.subpage-content {
    padding: 80px 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.main-article {
    color: var(--text-main);
}

.main-article h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 25px;
}

.main-article h3 {
    font-size: 24px;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 15px;
}

.main-article p {
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.main-article ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.main-article ul li {
    margin-bottom: 10px;
    font-size: 17px;
}

/* Postranní informační box */
.info-sidebar {
    position: sticky;
    top: 120px;
}

.info-box {
    background-color: var(--bg-light);
    border-top: 4px solid var(--accent);
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.info-box h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-list li {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.info-list span.label {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-list span.value {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 16px;
}

/* Galerie na podstránce */
.page-gallery {
    padding: 80px 0;
    background-color: var(--primary);
}

.page-gallery .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.page-gallery .section-title h2 {
    color: var(--white);
}

.page-gallery .section-title span {
    display: block;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(44, 66, 48, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 32px;
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Subpage Responsiveness Additions */
@media (max-width: 992px) {
    .content-layout { grid-template-columns: 1fr; gap: 40px; }
    .info-sidebar { position: static; }
}

@media (max-width: 768px) {
    .page-hero h1 { font-size: 42px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
    .gallery-grid { grid-template-columns: 1fr; }
}



/* ==========================================================================
   Tschechischer Jagdschein Box (Podstránky)
   ========================================================================== */
.subpage-service-box {
    background-color: var(--bg-light);
    border: 1px solid #e0e5e2;
    border-left: 4px solid var(--accent);
    padding: 45px 50px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.subpage-service-icon i {
    font-size: 55px;
    color: var(--accent);
}

.subpage-service-text {
    flex: 1;
}

.subpage-service-text h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 28px;
}

.subpage-service-text p {
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
    color: var(--text-main);
}

.subpage-service-action {
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .subpage-service-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
}



/* ==========================================================================
   Lightbox Gallery (Plně funkční prohlížeč obrázků)
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 17, 0.95); /* Tmavě zelený nádech ladící s webem */
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border-radius: 4px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

/* Navigační tlačítka */
.lightbox-btn {
    position: absolute;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Odstraněno transform u transition, aby se tlačítko nezvětšovalo */
    transition: background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    z-index: 2001;
}

.lightbox-btn:hover:not(.disabled) {
    background: var(--accent);
    border-color: var(--accent);
}

.lightbox-btn.disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.lightbox-close {
    top: 25px;
    right: 35px;
}

.lightbox-prev {
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
}

/* Počítadlo obrázků */
.lightbox-counter {
    position: absolute;
    top: 35px;
    left: 35px;
    color: var(--white);
    font-size: 16px;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    z-index: 2001;
    opacity: 0.8;
}

/* Responzivita pro galerii na mobilech */
@media (max-width: 768px) {
    .lightbox-close { top: 15px; right: 15px; width: 40px; height: 40px; font-size: 20px; }
    .lightbox-prev { left: 10px; width: 40px; height: 40px; }
    .lightbox-next { right: 10px; width: 40px; height: 40px; }
    .lightbox-counter { top: 25px; left: 15px; font-size: 14px; }
}


.amenities-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.amenities-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: #333;
}
.amenities-list li .icon-wrap {
    width: 35px;
    height: 35px;
    background-color: #4a5d4e; /* Tmavě zelená - uprav podle barvy tvého webu */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 0.9rem;
}
.amenities-list li:last-child {
    margin-bottom: 0;
}