:root {
    --primary: #3a5798;
    --secondary: #566ea1;
    --accent: #ff6b35;
    --light: #f5f7fa;
    --dark: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--primary);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    color: white;
    font-size: 24px;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.language-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 5px 10px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.language-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-btn.active {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/hero.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 90px;
}

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

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e55a2b;
}

/* Services */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* About */
.about {
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 28px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-features {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: white;
    font-weight: bold;
}

/* Testimonials */
.testimonials {
    background-color: var(--primary);
    color: white;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    position: relative;
}

.testimonial-card::before {
    content: "" ";
 font-size: 80px;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: scale(1.05);
}

.pricing-header {
    background-color: var(--primary);
    color: white;
    padding: 20px 0;
}

.pricing-header h3 {
    margin-bottom: 10px;
}

.price {
    font-size: 36px;
    font-weight: 700;
}

.price span {
    font-size: 16px;
    font-weight: normal;
}

.pricing-features {
    padding: 20px;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 20px;
}

.pricing-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pricing-features ul li:last-child {
    border-bottom: none;
}

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

.ribbon span {
    font-size: 12px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #FF0000;
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    right: -21px;
}

/* FAQ */
.faq {
    background-color: var(--light);
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-content {
    padding-bottom: 20px;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info {
    background-color: var(--primary);
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.info-item i {
    margin-right: 15px;
    color: var(--accent);
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

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

button.btn {
    border: none;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries */
@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }

    .logo h1 {
        font-size: 20px;
    }

    nav ul li {
        margin-left: 15px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .about-content {
        flex-direction: column;
    }

    .section {
        padding: 60px 0;
    }

    .language-switcher {
        margin-left: 15px;
    }

    .language-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 40px;
    }

    .logo h1 {
        font-size: 18px;
    }

    nav ul li {
        margin-left: 10px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .btn {
        padding: 10px 20px;
    }

    .language-switcher {
        margin-left: 10px;
    }

    .language-btn {
        padding: 3px 6px;
        font-size: 11px;
        margin: 0 2px;
    }
}

.pigeon-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.team-member {
    text-align: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 5px solid var(--light);
}

.team-member h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--secondary);
    font-style: italic;
}

.contact-image {
    border-radius: 20px;
    opacity: 1.0;
    width: 90%;
    filter: saturate(0.4) hue-rotate(-40deg);
    max-width: 600px;
    display: block;
    margin: 0 auto 20px;
}

#delivery-map {
    height: 420px;
    border-radius: 12px;
    margin: 0 auto 1em;
}

.delivery-locations {
    margin-top: 2em;
    text-align: center;
    font-size: 1.15em;
    color: var(--primary);
}

.locations-list {
    margin-top: 0.5em;
    font-size: 1.15em;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7em;
}

.locations-list {
    line-height: 2;
    font-weight: 600;
}

.locations-list::after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

@media (max-width: 600px) {
    .locations-list {
        font-size: 1em;
        gap: 0.4em;
    }
}

/* Responsive collapsible menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

nav .nav-list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 900px) {
    nav {
        position: relative;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 101;
    }
    nav ul.nav-list {
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 56px;
        background: var(--primary);
        width: 220px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.15);
        border-radius: 8px;
        overflow: hidden;
        display: none;
    }
    nav ul.nav-list.open {
        display: flex;
    }
    nav ul.nav-list li {
        margin: 0;
        padding: 10px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    nav ul.nav-list li:last-child {
        border-bottom: none;
    }
    nav ul.nav-list li a {
        display: block;
        padding: 5px 0;
    }
}

/* Styly pro právní stránky */
.page-header {
    background-color: var(--primary);
    color: white;
    padding: 120px 0 40px;
    text-align: center;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.legal-note {
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.legal-section ul, 
.legal-section ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-section li {
    margin-bottom: 8px;
}