/* =========================================================
   cataloniahosting.css — Catalunya Hosting .net
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* === BASE === */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* === LANGUAGE BAR === */
.lang-bar {
    display: flex;
    width: 100%;
    background: #f1f3f5;
    border-bottom: 2px solid #dee2e6;
}

.lang-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    text-decoration: none;
    color: #6c757d;
    font-size: 0.88rem;
    transition: background 0.2s, color 0.2s;
    border-right: 1px solid #dee2e6;
}

.lang-option:last-child {
    border-right: none;
}

.lang-option .fi {
    width: 1.6em;
    height: 1.2em;
    flex-shrink: 0;
}

.lang-option .flag-emoji {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
}

.lang-option .lang-tagline {
    font-style: italic;
}

.lang-option.active {
    background: #ffffff;
    color: #212529;
    font-weight: 500;
    border-bottom: 3px solid #198754;
    margin-bottom: -2px;
}

.lang-option:hover:not(.active) {
    background: #e9ecef;
    color: #212529;
    text-decoration: none;
}

@media (max-width: 576px) {
    .lang-option .lang-tagline {
        display: none;
    }
    .lang-option {
        justify-content: center;
        padding: 12px;
    }
}

/* === HERO === */
.hero-section {
    padding-top: 30px;
    padding-bottom: 10px;
}

/* === CONTENT BOXES === */
.fixed-text-box {
    text-align: justify;
    padding: 20px;
}

@media (min-width: 768px) {
    .fixed-text-box {
        height: 420px;
        overflow: auto;
    }
}

.img-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* === CONTACT SECTION === */
.contact-section {
    background-color: #f8f9fa;
    padding: 50px 20px;
    margin-top: 40px;
}

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

/* === FOOTER === */
footer {
    border-top: 1px solid #dee2e6;
    margin-top: 40px;
    padding-top: 10px;
}
