/* Základní styly */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

/* Hlavička */
header {
    background-color: #ff4500;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    width: 100px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    margin: 0 auto;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.wave {
    height: 50px;
    background-color: white;
    border-radius: 100% 100% 0 0 / 100% 100% 0 0;
    margin-top: -20px;
}

/* Hero sekce */
.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #f5f5f5;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-button {
    background-color: #ff4500;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e63e00;
}

/* Služby */
.services {
    padding: 50px 20px;
    text-align: center;
}

.services h2 {
    margin-bottom: 40px;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.service-item {
    flex: 1 1 200px;
    margin-bottom: 30px;
    max-width: 300px;
    padding: 20px;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 36px;
    color: #ff4500;
    margin-bottom: 15px;
}

/* Případové studie */
.case-studies {
    background-color: #f5f5f5;
    padding: 50px 20px;
}

.case-studies h2 {
    text-align: center;
    margin-bottom: 40px;
}

.case-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.case-item {
    flex: 1 1 300px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    transition: transform 0.3s;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-image {
    height: 200px;
    background-color: #ddd;
    position: relative;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    padding: 20px;
}

.case-item h3 {
    color: #333;
    margin-top: 0;
}

.more-link {
    display: inline-block;
    color: #ff4500;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.3s;
}

.more-link:hover {
    color: #e63e00;
}

/* Kontaktní formulář */
.contact {
    padding: 50px 20px;
    text-align: center;
}

.contact h2 {
    margin-bottom: 30px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: center;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    max-width: 400px; /* Set the max width to 400px */
    margin: 0 auto; /* Center the form control horizontally */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #ff4500;
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    background-color: #ff4500;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #e63e00;
}

/* Zápatí */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}

/* Responsivní design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .service-item {
        flex: 1 1 100%;
    }
    
    .case-item {
        flex: 1 1 100%;
    }
}