/*
Theme Name: Birger Web AI
Description: A custom WordPress theme designed for Birger restaurant job listings, optimized for Elementor page builder.
Version: 1.0
Author: Birger Team
*/

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



.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.05);
    z-index: 998;
}


.section-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #8b4513;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.content-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #4a5568;
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 100%;
}

.navigation-arrow {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 1.2rem;
    color: #2d3748;
    cursor: pointer;
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.navigation-arrow:hover {
    background: #f7fafc;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateX(-50%) translateY(-2px);
}

.marble-bg {
    background: #f8f9fa;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.02) 0%, transparent 50%);
}

.content-section {
    padding: 2.5rem 1.5rem 4rem;
    background: #f8f9fa;
    min-height: calc(100vh - 340px);
    position: relative;
}

.navbar {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    /* padding: 0.75rem 1rem; */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
    
}

.navbar .container-fluid {
    justify-content: space-between;
}

.navbar-brand {
    display: none;
}

.navbar-toggler {
    border: none;
    padding: 0.375rem 0.5rem;
    color: #8b4513;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2899, 99, 99, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link.active {
    color: #d4a574;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    color: #d4a574;
}

.language-switcher {
    position: relative;
}

.language-switcher .btn {
    background: none;
    border: none;
    color: #4a5568;
    padding: 0.5rem;
    z-index: 1001;
    transition: color 0.3s ease;
}

.language-switcher .btn:hover,
.language-switcher .btn:focus {
    color: #d4a574;
    box-shadow: none;
}

.language-switcher .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.language-switcher .dropdown-item {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
}

.language-switcher .dropdown-item:hover {
    background: rgba(212, 165, 116, 0.1);
    color: #d4a574;
}

/* .menu-item.active a{
    font-weight: 700;
} */

/* .language-option.active {
    font-weight: 700;
} */

/* Additional mobile optimizations */
@media (max-width: 576px) {
   
    .content-section {
        padding: 2rem 1rem 3rem;
        min-height: calc(100vh - 240px);
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        letter-spacing: 0.03em;
    }
    
    .content-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .navbar {
        padding: 0.5rem 1rem;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 2.5rem 1.5rem 3rem;
    background: #f8f9fa;
    position: relative;
}

.contact-description {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #4a5568;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-form {
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #4a5568;
    width: 100%;
}

.form-control::placeholder {
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.form-control:focus {
    border-color: #8b4513;
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
    outline: none;
}

.offices-section {
    padding: 2rem 1.5rem 4rem;
    background: #f8f9fa;
}

.office-card {
    border-radius: 8px;
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
}

.office-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #8b4513;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.office-details {
    margin-bottom: 1.5rem;
}

.office-details p {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.phone-container-diagonal {
    display: flex;
    height: 48px;
    margin-bottom: 1.5rem;
    border: #000000 solid 1px;
}

.phone-label-diagonal {
    background: #ffffff;
    flex: 0 0 80px;
    position: relative;
    border: 1px solid #e2e8f0;
    border-right: none;
}

.phone-label-diagonal::after {
    content:'';
    position:absolute;
    top:-1px; right:0;
    width:100%; height:105%;
    background-color: #fff;
    z-index: 9;
    -webkit-transform-origin:100% 100%;
    -ms-transform-origin:100% 100%;
    transform-origin:100% 100%;

    -webkit-transform:skewX(-203deg);
    -ms-transform:skewX(-203deg);
    transform:skewX(-203deg)
}

.phone-number-diagonal {
    background: #8b4513;
    color: #ffffff;
    flex: 1;
    padding: 0 1.5rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 0;
    padding-left: 2.5rem;
    position: relative;
    z-index: 1;
}



.office-map {
    border-radius: 6px;
    overflow: hidden;
}

.map-image,
.map-iframe {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

/* Contact page mobile optimizations */
@media (max-width: 576px) {
    .contact-section {
        padding: 2rem 1rem 2.5rem;
    }
    
    .offices-section {
        padding: 1.5rem 1rem 3rem;
    }
    
    .office-card {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .office-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-description {
        font-size: 0.9rem;
    }
    
    .form-control {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}

/* Header Styles */
.site-header {
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    position: absolute;
    width: 100%;
    padding-inline: 10px;
}

/* Desktop Navigation Menu */
.desktop-menu {
    display: block;
}

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

.desktop-nav-menu li {
    position: relative;
}

.desktop-nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.2s ease;
    position: relative;
}

.desktop-nav-menu a:hover,
.desktop-nav-menu a:focus {
    color: #8B4513;
}

.desktop-nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #8B4513;
    transition: width 0.3s ease;
}

.desktop-nav-menu a:hover::after,
.desktop-nav-menu a:focus::after {
    width: 100%;
}

/* Mobile Hamburger Menu */
.hamburger-menu {
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.2s ease;
    
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

/* Language Selector Container */
.language-selector {
    position: relative;
    display: inline-block;
}

/* Polylang Language Selector */
.polylang-selector {
    position: relative;
    display: inline-block;
}

.selected-polylang-flag {
    width: 32px;
    height: 22px;
    cursor: pointer;
    border-radius: 3px;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    
}


.selected-polylang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: unset;
    /* margin-top: 8px; */
    width: 24px !important;
    height: 16px !important;
}

.header-content svg{
    vertical-align: unset !important
}

.polylang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 1000;
    margin-top: 4px;
    min-width: 120px;
}

.polylang-dropdown.show {
    display: flex;
}

.polylang-option {
    width: 28px;
    height: 20px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.polylang-option:hover {
    background: rgba(139, 69, 19, 0.1);
    transform: scale(1.05);
}

.polylang-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.lang-code {
    font-size: 12px;
    font-weight: bold;
    color: #8B4513;
    text-align: center;
    line-height: 1;
}

/* Custom Language Selector (Fallback) */
.custom-language-selector {
    position: relative;
    display: inline-block;
}

.selected-flag {
    width: 32px;
    height: 22px;
    cursor: pointer;
    border-radius: 3px;
    transition: transform 0.2s ease;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.selected-flag:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.flag-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 1000;
    margin-top: 4px;
}

.flag-dropdown.show {
    display: flex;
}

.flag-option {
    width: 28px;
    height: 20px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.flag-option:hover {
    background: rgba(139, 69, 19, 0.1);
    transform: scale(1.05);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: right;
}

.mobile-menu-close {
    font-size: 32px;
    color: #8B4513;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.mobile-menu-close:hover {
    transform: scale(1.1);
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 20px 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a:focus {
    background: #f8f8f8;
    color: #8B4513;
    padding-left: 25px;
}

/* Body class when menu is open */
body.menu-open {
    overflow: hidden;
}

.diagonal{
    padding: unset !important;
}

.main-section{
    padding-inline: 10px !important;
    padding-bottom: 40px !important;
}

.menu-nav{
    padding: unset !important;
    list-style: none !important;
    max-width: 80%;
}

.overlay-header-logo{
    position: absolute;
    top: -23px;
    right: -20px;
    height: 200px;
    width: 200px;
}

#language-menu .overlay-header-logo{
    right: -10px;
}

.language-flag img{
    width: 24px !important;
    height: 16px !important;
}


@media screen and (max-width: 600px) {
    .mobile-menu-overlay {
        position: fixed;
        z-index: 999999;
    }
}
