/*
 * Site‑wide stylesheet for the Czech Construction Services website.
 *
 * This CSS defines a clean, modern layout with a responsive navigation
 * system, flexible grid layouts for service cards, project galleries
 * and testimonials, and sensible typography. The palette uses neutral
 * shades with a blue accent colour for interactive elements. Media
 * queries ensure the navigation adapts on smaller screens.
 */

/* Reset and basic styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #ffffff;
}

a {
    color: inherit;
}

/* Header */
header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar {
    background: #f8f8f8;
    padding: 0.4rem 2rem;
    text-align: right;
    font-size: 0.9rem;
}

.lang-switch a {
    margin-left: 1rem;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.lang-switch a:hover {
    text-decoration: underline;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    position: relative;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 0.75rem;
    display: block;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #0070c0;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Mobile navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 2rem;
        display: none;
        border-bottom: 1px solid #e5e5e5;
    }
    .nav-links li {
        margin: 0.5rem 0;
    }
    .navbar.active .nav-links {
        display: flex;
    }
}

/* Layout containers */
main {
    width: 100%;
    overflow-x: hidden;
}

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero section */
.hero {
    background-image: url('https://via.placeholder.com/1920x600?text=Construction');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 6rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #0070c0;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.btn:hover {
    background: #005a9e;
}

/* About section */
.about, .services-intro, .services-page, .projects-page, .testimonials-page, .contact-page {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about h2,
.services-intro h2,
.services-page h1,
.projects-page h1,
.testimonials-page h1,
.contact-page h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.about p,
.services-intro p,
.services-page p,
.projects-page p,
.testimonials-page p,
.contact-page p {
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.values-list li {
    flex: 1 1 200px;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    font-weight: bold;
    color: #0070c0;
}

.values-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #0070c0;
}

/* Services cards */
.services-cards,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    border: 1px solid #e5e5e5;
    padding: 1.5rem;
    border-radius: 4px;
    background: #fafafa;
    transition: box-shadow 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: #0070c0;
}

.service-card p {
    font-size: 0.95rem;
}

/* Projects gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    background: #fafafa;
    transition: box-shadow 0.2s ease;
}

.project:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project img {
    width: 100%;
    height: auto;
    display: block;
}

.project .caption {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: #333;
}

/* Testimonials */
.testimonial-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    border: 1px solid #e5e5e5;
    padding: 1.5rem;
    border-radius: 4px;
    background: #fafafa;
    position: relative;
    font-size: 0.95rem;
}

.testimonial::before {
    content: '\201C';
    font-size: 3rem;
    color: #0070c0;
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
}

.testimonial p {
    margin-bottom: 0.5rem;
}

.testimonial .author {
    font-weight: bold;
    color: #0070c0;
}

/* Contact form */
.contact-info {
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin-top: 2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    padding: 0.75rem 1.5rem;
    background: #0070c0;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-form button:hover {
    background: #005a9e;
}

/* Footer */
footer {
    background: #f8f8f8;
    padding: 2rem 2rem;
    border-top: 1px solid #e5e5e5;
    font-size: 0.9rem;
}

.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    flex: 1 1 300px;
    margin-bottom: 1rem;
}

.footer-nav {
    flex: 1 1 300px;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-nav a {
    color: #333;
    text-decoration: none;
    margin-right: 1rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #0070c0;
}

/* Additional sections for modern design */
.section-cta {
    text-align: center;
    margin-top: 2rem;
}

.why-choose {
    background: #f5faff;
    padding: 4rem 2rem;
}
.why-choose h2 {
    margin-bottom: 1rem;
    color: #0070c0;
    text-align: center;
}
.why-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}
.why-list li {
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.projects-preview {
    padding: 4rem 2rem;
    background: #ffffff;
}
.projects-preview h2 {
    text-align: center;
    color: #0070c0;
    margin-bottom: 1rem;
}
.projects-preview p {
    text-align: center;
    margin-bottom: 2rem;
}
.projects-preview .project-gallery {
    justify-content: center;
}

.insights {
    padding: 4rem 2rem;
    background: #f5faff;
    text-align: center;
}
.insights h2 {
    margin-bottom: 1rem;
    color: #0070c0;
}
.insights p {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section {
    background: #0070c0;
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}
.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}
.cta-section p {
    margin-bottom: 2rem;
}
.cta-section .btn {
    background: #ffffff;
    color: #0070c0;
}
.cta-section .btn:hover {
    background: #e6e6e6;
}

/* About page sections */
.about-page .about-section {
    margin-bottom: 2rem;
}
.about-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.about-page .about-section h2 {
    color: #0070c0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.about-page .about-section p {
    margin-bottom: 1rem;
}

/* Services page sections */
.services-page h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.service-section {
    margin-bottom: 2rem;
}
.service-section h2 {
    color: #0070c0;
    margin-bottom: 0.5rem;
}
.service-section p {
    margin-bottom: 0.5rem;
}

/* Projects page sections */
.project-section {
    margin-bottom: 3rem;
}
.project-section h2 {
    color: #0070c0;
    margin-bottom: 0.5rem;
}
.project-section p {
    margin-bottom: 1rem;
}
.project-section .project-image {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 4px;
}

/* Testimonials extended sections */
.testimonials-page .testimonial-section {
    margin-bottom: 3rem;
}
.testimonials-page h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.testimonial-section h2 {
    color: #0070c0;
    margin-bottom: 0.5rem;
}
.clients-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}
.clients-list li {
    background: #f5faff;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    text-align: center;
}
.case-studies h3 {
    font-size: 1.2rem;
    color: #0070c0;
    margin-top: 1rem;
}
.case-studies p {
    margin-bottom: 0.5rem;
}

/* Contact page extended sections */
.offices-section,
.faq-section,
.hours-section,
.careers-section {
    margin-top: 3rem;
}
.offices-section h2,
.faq-section h2,
.hours-section h2,
.careers-section h2 {
    color: #0070c0;
    margin-bottom: 0.5rem;
}
.offices-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.office {
    background: #f5faff;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}
.office h3 {
    margin-bottom: 0.25rem;
    color: #0070c0;
}
.faq-section .faq-item {
    margin-bottom: 1rem;
}
.faq-section .faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #0070c0;
}
.hours-section p,
.careers-section p {
    margin-bottom: 0.5rem;
}