/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

a {
    color: #2c5f7c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* === Navbar === */
.navbar {
    background-color: #2c5f7c;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-brand {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-brand:hover {
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links a {
    color: #d9e8ef;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #fff;
    text-decoration: none;
}

/* === Language Toggle === */
.lang-form {
    display: inline;
}

.lang-toggle {
    background: transparent;
    border: 1px solid #d9e8ef;
    color: #d9e8ef;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* === Content === */
.content {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section {
    margin-bottom: 3rem;
}

.section h1,
.section h2 {
    color: #2c5f7c;
    margin-bottom: 1rem;
}

.section h1 {
    font-size: 2rem;
}

.section h2 {
    font-size: 1.5rem;
}

/* === Hero === */
.hero {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2c5f7c;
    background-color: #d9e8ef;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: #2c5f7c;
    margin-bottom: 0.25rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #5a7d8f;
}

/* === Service Cards === */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
}

.card h3 {
    color: #2c5f7c;
    margin-bottom: 0.5rem;
}

/* === Contact === */
.contact-info p {
    margin-bottom: 0.5rem;
}

/* === Reviews === */
.filter-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid #2c5f7c;
    border-radius: 4px;
    color: #2c5f7c;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background-color: #2c5f7c;
    color: #fff;
    text-decoration: none;
}

.filter-btn.active {
    background-color: #2c5f7c;
    color: #fff;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
}

.review-stars {
    margin-bottom: 0.75rem;
}

.star {
    font-size: 1.25rem;
}

.star.filled {
    color: #f0a500;
}

.star.empty {
    color: #ccc;
}

.review-text {
    margin-bottom: 1rem;
    font-style: italic;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.review-author {
    font-weight: 600;
}

.review-link {
    text-decoration: none;
    display: block;
}

.review-card-linked {
    color: #2c5f7c;
    cursor: pointer;
    border-color: #2c5f7c;
}

.review-card-linked .review-text {
    color: #2c5f7c;
}

.review-card-linked .review-meta {
    color: #2c5f7c;
}

.review-card-linked:hover {
    background-color: #f0f7fb;
}


/* === Footer === */
.footer {
    background-color: #2c5f7c;
    color: #d9e8ef;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
}

.footer-container {
    max-width: 960px;
    margin: 0 auto;
}

/* === Responsive === */
@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .nav-container {
        flex-wrap: wrap;
        height: auto;
        padding: 0.75rem 0;
    }

    .nav-links {
        gap: 0.75rem;
    }
}
