* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: rgb(248, 248, 248);
}

header {
    background-color: #000000;
    text-align: center;
    padding: 50px;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.header-section {
    width: 100%;
    text-align: center;
    background: url('your-image-path.jpg') no-repeat center center;
    background-size: cover;
    color: black;
    padding: 50px 20px;
    margin-top: 40px;
}

.poplatky {
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
    max-width: 505px;
}

.poplatky li {
    list-style-type: disc;
    margin-left: 20px;
}

.header-section h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.header-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.reserve-button {
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.reserve-button:hover {
    background-color: #444;
}

.contact-info {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px; /* Added margin-bottom to space it properly */
    padding-left: 20px; /* Ensuring padding for better alignment */
    padding-right: 20px; /* Ensuring padding for better alignment */
    padding-top: 70px;

}

.contact-card, .pricing-card {
    margin-bottom: 20px;
}

.contact-card img, .pricing-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.contact-card h2, .pricing-card h2 {
    margin-bottom: 20px;
    font-size: 2em;
}

.contact-details, .pricing-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.contact-details div, .pricing-details div {
    margin: 10px;
    text-align: center;
}

.pricing-details p {
    text-align: left;
    line-height: 30px;
}

.modern-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px; /* Added margin-bottom for spacing */
}

.modern-form-container form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding-left: 20px; /* Ensuring padding for better alignment */
    padding-right: 20px; /* Ensuring padding for better alignment */
}

.modern-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modern-form-group label {
    font-weight: bold;
}

.zprava {
    margin-top: 10px;
}

.small-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    transition: border-color 0.3s;
    height: 40px; /* Adjust the height as needed */
}

.small-textarea:focus {
    border-color: #007bff;
    outline: none;
}

.large-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    transition: border-color 0.3s;
}

.large-textarea:focus {
    border-color: #007bff;
    outline: none;
}

.modern-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: black;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.modern-button:hover {
    background-color: rgba(18, 18, 18, 0.888);
}

.contact-section {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
}

.contact-section h2 {
    margin-bottom: 20px;
    font-size: 2em;
}

/* Responsive CSS */
@media (max-width: 768px) {
    .header-section h1 {
        font-size: 2em;
    }

    .header-section p {
        font-size: 1em;
    }

    .contact-info, .modern-form-container {
        padding: 0 10px; /* Consistent padding for both elements */
    }

    .modern-form-container form, .contact-info {
        padding-left: 10px; /* Ensuring padding for better alignment */
        padding-right: 10px; /* Ensuring padding for better alignment */
    }

    .contact-details, .pricing-details {
        flex-direction: column;
        align-items: center;
    }
}
