/* CSS Variables */
:root {
    --primary-color: #1a4d2e;
    --secondary-color: #4a7c59;
    --accent-color: #d4a574;
    --background-color: #f8f9fa;
    --text-color: #1a1a1a;
    --text-light: #4a4a4a;
    --white: #ffffff;
    --border-color: #d1d5db;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0f2e1c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #c19660;
    transform: translateY(-3px);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 18px 36px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.navbar {
    padding: 1.2rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand .logo {
    height: 60px;
    width: auto;
}

.navbar-brand a {
    cursor: pointer;
}

.navbar-brand a:hover .logo {
    transform: scale(1.05);
    transition: transform 0.2s;
    cursor: pointer;
}

.navbar-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(26, 77, 46, 0.1);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar-toggle span {
    width: 30px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 120px 4rem; /* Přidán padding na stranách */
    display: flex;
    align-items: center;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    gap: 3rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    padding-left: 4rem;
    padding-right: 3rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.hero-image {
    flex: 0.7; /* Užší container */
    text-align: left;
    position: relative;
    z-index: 2;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.2);
    width: 1400px; /* Prohodili jsme width a height */
    height: 800px; /* Prohodili jsme width a height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove border from carousel images */
.hero-carousel img {
    width: 120%; /* Širší než container */
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 8px; /* Lehké zaoblení obrázku uvnitř */
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 2rem; /* Menší padding na mobilu */
    }
    
    .hero-image {
        width: 100%;
        max-width: 400px; /* Zde nastavíte maximální šířku na mobilech */
        height: 800px; /* Zde nastavíte výšku na mobilech */
        margin: 0 auto;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.feature p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Booking Preview */
.booking-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent-color), #e6b885);
    color: var(--white);
    text-align: center;
    position: relative;
}

.booking-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.booking-preview .container {
    position: relative;
    z-index: 2;
}

.booking-preview h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.booking-preview p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Form Styles */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--white);
    transition: var(--transition);
    color: var(--text-color);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Special requirements field - half width */
.form-textarea.special-requirements {
    width: 50%;
    max-width: 400px; /* Limit maximum width for better UX */
}

@media (max-width: 768px) {
    .form-textarea.special-requirements {
        width: 100%; /* Full width on mobile devices */
    }
}

/* Calendar Styles */
.calendar {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.calendar-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
}

.calendar-nav button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
}

.calendar-nav button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: var(--border-color);
}

.calendar-day {
    background-color: var(--white);
    padding: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1.1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.calendar-day.available {
    background-color: #e8f5e8; /* zelená */
    color: #1a4d2e;
}
.calendar-day.booked {
    background-color: #f44336; /* červená */
    color: #fff;
    cursor: not-allowed;
}
.calendar-day.pending {
    background-color: #ffb347; /* oranžová */
    color: #fff;
    cursor: not-allowed;
}
.calendar-day.half-start {
    background: linear-gradient(to right, #f44336 50%, #e8f5e8 50%);
    color: #fff;
    border-radius: 8px;
}
.calendar-day.half-end {
    background: linear-gradient(to left, #f44336 50%, #e8f5e8 50%);
    color: #fff;
    border-radius: 8px;
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: var(--white);
}

.calendar-day.past {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.footer-section p,
.footer-section .contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-section .contact-info {
    background: transparent;
    border: none;
    outline: none;
}

.footer-section .contact-info p {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    padding: 4px 0;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

/* Remove cursor pointer from images and icons */
img, .icon {
    cursor: default;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Alert Styles */
.alert {
    padding: 1.2rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 2px solid #bee5eb;
} 

/* Social media icons styling */
.social-link i {
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

.social-link .fa-instagram {
    color: #ffe6fa;
    filter: brightness(1.5) saturate(1.2);
}


.social-link:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    .hero-content {
        order: 1;
        padding-left: 2rem;
        padding-right: 2rem;
        margin-bottom: 1.5rem;
    }
    .hero-image {
        order: 2;
        width: 100%;
        height: 500px; /* Vyšší i na mobilu */
        margin-top: 0;
        padding: 1.5rem; /* Větší padding na mobilu, ať border není u kraje */
        border-radius: 10px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        border: 4px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: none;
        border-radius: 8px;
    }
}
