.team-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

.team-photo {
    transition: transform 0.5s ease;
}

/* === TEAM OVERLAY - CONTACT INFO ON HOVER === */
.team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-overlay .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.team-overlay .contact-item i {
    color: #d4af37;
    font-size: 1.1rem;
}

.team-overlay a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-overlay a:hover {
    color: #d4af37;
}

/* Hover effekt */
.team-image-wrapper:hover .team-photo {
    transform: scale(1.05);
}

.team-image-wrapper:hover .team-overlay {
    opacity: 1;
}



/* === HERO SECTION (unchanged) === */
.hero-section4 .carousel-item img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.hero-section4 .carousel-caption {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

/* === FLOATING LANGUAGE SWITCHER === */
.lang-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.lang-btn {
    background: #d4af37;
    border: none;
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: #e5c75a;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

.arrow {
    font-size: 0.8em;
    margin-left: 6px;
}

.lang-options {
    display: none;
    position: fixed;
    bottom: 85px;
    right: 30px;
    background-color: #000;
    border: 1px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    min-width: 170px;
    flex-direction: column;
    white-space: nowrap;
    z-index: 10000;
    overflow: hidden;
    margin-bottom: 4px;
}

.lang-options.show {
    display: flex;
    animation: fadeIn 0.25s ease-in-out;
}

.lang-option {
    padding: 10px 14px;
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #000;
}

.lang-option:hover {
    background-color: #d4af37;
    color: #000;
}

.lang-option.active {
    background-color: #d4af37;
    color: #000;
    font-weight: 700;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .lang-floating {
        bottom: 20px;
        right: 20px;
    }

    .lang-options {
        bottom: 70px;
        right: 20px;
    }
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 56px;
    width: 56px;
    background-color: #25D366;
    color: #fff;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 2500;
    text-decoration: none;
    overflow: hidden;
    transition: width 0.35s ease, box-shadow 0.25s ease;
}

.whatsapp-float i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.whatsapp-text {
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-size: 15px;
    font-weight: 600;
    padding-right: 18px;
}

.whatsapp-float:hover {
    width: 260px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}


/* Alap: desktopon/tableten ne látszódjon */
.mobile-bottom-bar {
    display: none;
}


/* Mobil nézet */
@media (max-width: 768px) {
    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: #25D366;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 14px;
        z-index: 2600;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.25);
    }

    /* WhatsApp rész */
    .mobile-whatsapp {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #fff;
        font-weight: 600;
        text-decoration: none;
        font-size: 16px;
    }

    .mobile-whatsapp i {
        font-size: 22px;
    }

    /* Language switcher */
    .mobile-language {
        display: flex;
        align-items: center;
    }

    /* EREDETI lebegő elemek elrejtése mobilon */
    .whatsapp-float,
    .language-switcher {
        display: none !important;
    }
}


/* BLOG */
.blog-page .blog-hero {
    border: 1px solid rgba(255, 255, 255, .10);
    background:
        radial-gradient(1200px 400px at 20% 0%, rgba(var(--primary-rgb), .25), transparent 60%),
        radial-gradient(900px 350px at 80% 20%, rgba(255, 255, 255, .06), transparent 55%),
        rgba(255, 255, 255, .03);
    padding: 28px;
}

.blog-page .blog-hero h1 {
    font-family: "Libre Baskerville", serif;
    letter-spacing: .2px;
}

.blog-page .blog-card {
    border: 1px solid rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}

.blog-page .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
}

.blog-page .blog-card-media {
    position: relative;
    aspect-ratio: 16/9;
    background:
        radial-gradient(700px 200px at 20% 20%, rgba(var(--primary-rgb), .25), transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .45)),
        var(--secondary-color);
}

.blog-page .blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-page .blog-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-rgb), .35);
    background: rgba(var(--primary-rgb), .10);
    color: var(--primary-color);
    font-size: .78rem;
    font-weight: 600;
}

.blog-page .blog-chip:hover {
    background: rgba(var(--primary-rgb), .18);
}

/* =========================
   Office switch (Dubai/Budapest)
   Uses theme vars: --primary-color / --primary-rgb / --primary-hover
   ========================= */

.office-switch {
    display: flex;
    gap: 14px;
    padding: 14px 14px 10px 14px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    position: relative;
    z-index: 5;
}

.office-switch-btn {
    flex: 1 1 0;
    width: 100%;
    border-radius: 999px;
    border: 2px solid rgba(var(--primary-rgb), .45);
    background: #fff;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 12px 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    transition: all .18s ease;
    user-select: none;
    position: relative;
    overflow: hidden;
}

/* finom "shine" hover (mint a gombjaidnál, de visszafogott) */
.office-switch-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(var(--primary-rgb), .00) 0%,
            rgba(var(--primary-rgb), .18) 50%,
            rgba(var(--primary-rgb), .00) 100%);
    transform: skewX(-15deg);
    transition: left .45s ease;
    pointer-events: none;
}

.office-switch-btn:hover {
    border-color: rgba(var(--primary-rgb), .75);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.office-switch-btn:hover::before {
    left: 120%;
}

/* ACTIVE – szép, brand színnel, nem kék */
.office-switch-btn.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 22px rgba(var(--primary-rgb), .26);
}

.office-switch-btn.is-active:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* nincs csúnya focus */
.office-switch-btn:focus,
.office-switch-btn:active {
    outline: none !important;
}

.office-switch-btn:focus-visible {
    outline: 2px solid rgba(var(--primary-rgb), .35);
    outline-offset: 2px;
}

/* pane váltás */
.office-pane {
    display: none;
}

.office-pane.is-active {
    display: block;
}

/* === NAVBAR STATIC PAGE (Global Fix) === */
.navbar-static-page .navbar {
    background-color: var(--secondary-color) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ensure content starts below the fixed navbar */
.navbar-static-page {
    padding-top: 120px;
}