:root {
    --nav-base-height: 64px;
}

/* Base */
html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    /*font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;*/
    /*font-family: "Inter", sans-serif;*/
    /*font-family: 'Helvetica';*/
    font-family: "Avenir Light";
    font-style: normal;
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    /*font-optical-sizing: auto;
    font-style: normal;*/
    /*color: #8e8e8e;*/
    /*color: #ccc;*/
    color: #979797 !important;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 16px;
}

a{
    color: #979797 !important;
    text-decoration: none;
}
/* Top bar / navbar */
.top-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.top-bar.fixed{
    position: fixed;
    top:0;
    width: 100%;
    padding: 30px 0;
    z-index: 9;
}

/* Grid layout to keep logo perfectly centered */
.nav-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* equal left/right, logo in the real center */
    align-items: center;
}

.nav-left {
    justify-self: start;
}

.nav-center {
    justify-self: center;
}

.nav-right {
    justify-self: end;
}

/* Generic nav links */
.nav-link {
    font-size: 0.6rem;
    text-transform: uppercase;
}
.nav-link.active {
    color: #000!important;
}
.nav-link:hover,
.nav-link:focus {
    text-decoration: none;
}

/* Left like icon */
.like-icon {
    font-size: 1.3rem;
}

/* Center logo */
.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    font-size: 1rem;
    padding: 0;
}

/* Desktop menu */
.desktop-menu .main-menu .nav-link {
    padding: 0;
    color: #979797 !important
}

.desktop-menu .main-menu .nav-item{
    position: relative;
    padding-right: 15px;
}
.desktop-menu .main-menu .nav-item::after {
    content: "|";
    position: absolute;
    top: 0;
    right: 0;

}

#project .description, #project .short{
  line-height: 1.1;
}

/* Language dropdown button */
.lang-btn {
    background: transparent;
    border: 0;
    padding: 0;
    text-transform: lowercase;
    font-size: 0.9rem;
}

/* Dropdown menu items */
.dropdown-menu .dropdown-item {
    text-transform: uppercase;
    font-size: 0.6rem;
    padding: 2px 10px;
    color: #979797 !important;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #ccc;
}
.dropdown-menu.show {
    width: 45px;
    min-width: 45px;
    left: -110%;
    text-align: center;
    border: 0;
    padding: 0;
}

/* HERO SLIDER */
.hero-slider {
    height: calc(100vh - 60px);
    overflow: hidden;
    margin-top: 60px;
}

.hero-img {
    width: 100%;
    height: calc(100vh - 50px);
    object-fit: cover;
    display: block;
}

/* Slick dots styling */
.slick-dots {
    bottom: 25px;
}

.slick-dots li button:before {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.slick-dots li.slick-active button:before {
    color: #ffffff;
}

/* Mobile menu spacing */
.mobile-menu .nav-link {
    padding-left: 0;
}

/* Optional: small tweak for very narrow screens */
@media (max-width: 575.98px) {
    .nav-left .nav-link {
        font-size: 0.8rem;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }
}

.navbar-brand .nav-logo {
    max-height: 45px;      /* desktop size */
    height: auto;
    width: auto;
    display: block;
}

/* Slightly smaller on very small screens */
@media (max-width: 575.98px) {
    .navbar-brand .nav-logo {
        max-height: 30px;
    }
}

.like-icon {
    font-size: 1.0rem;
    width: 24px;
    height: 24px;
    background: #5e90ff;     /* Facebook-style blue or match your PDF */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}


.lang-btn {
    background: transparent;
    border: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 0.6rem;
    color: #8e8e8e !important;
}

.lang-dropdown{
    display: flex;
    align-items: center;
}

.lang-btn:hover,
.lang-btn:focus {
    color: #000; /* subtle emphasis on hover */
}

/* Remove dropdown arrow from language selector */
.lang-btn.dropdown-toggle::after {
    display: none !important;
}


/* WORK GRID / MASONRY / LIGHTBOX */
.work-grid {
    padding-bottom: 0; /* the cropping will define the visual bottom */
}

/* Masonry container */
.work-masonry {
    margin: 0 auto;
    overflow: visible; /* will be overridden to hidden on desktop via JS */
}

/* Make Masonry wrapper wrap its floats */
.work-masonry::after {
    content: "";
    display: block;
    clear: both;
}

/* Columns */
.grid-sizer,
.work-item {
    width: 32%;
    margin: 5px;
    /* 3 columns on desktop */
}

.work-item {
    float: left;
}

.work-item img {
    display: block;
    width: 100%;
    height: auto;
}

/* Lightbox hover feel */
.work-lightbox img {
    cursor: zoom-in;
    transition: opacity .3s ease;
}

.work-lightbox:hover img {
    opacity: .85;
}

/* 2 columns on tablets */
@media (max-width: 991.98px) {
    .grid-sizer,
    .work-item {
        width: 50%;
    }
}

/* 1 column on phones */
@media (max-width: 575.98px) {
    .grid-sizer,
    .work-item {
        width: 100%;
    }

    /* on mobile we don't crop; show full masonry */
    .work-masonry {
        height: auto !important;
        overflow: visible !important;
    }
}

.contact-section{
    padding-top: 50px;
    flex: 1;
}
.contact-section img.object-fit-cover {
    object-fit: cover;
}

.footer{
    /*position: absolute!important;*/
    letter-spacing: normal;
    /*position: relative;*/
    /*width: 100%;*/
    /*bottom: 5%;*/
}
.footer a{
    color: #aaa;
    font-size: 1rem;
    text-decoration: none;
}

.map{
    filter: grayscale(1) brightness(1.05);
    height: 95%;
}

.contact-section a{
    text-decoration: none;
    color: #8e8e8e;
}
.contact-section a:hover{
    text-decoration: underline;
    color: #222;
}
.contact-section .form-control, .contact-section button{
    border: 0;
    border-bottom: 1px solid #bbb;
    color: #8e8e8e;
    font-size: 12px;
}

.contact-section .form-control{
    padding-left: 0;    
}

.contact-section textarea {
    resize: none;
}
.contact-section label,
.contact-section .form-label, 
.contact-section .form-control::placeholder{
    /*color: #ccc;*/
    /*font-family: 'Helvetica' !important;*/
    font-style: normal;
    color: #979797 !important;
    font-size: 11px;
    letter-spacing: 1px;
    /*font-size: .875em;*/
    opacity: 1;
}

.contact-section .form-check-input:checked {
    background-color: #aaa;
    border-color: #aaa;
}

.contact-section .form-check-input:focus {
    border-color: #aaa;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(113 113 113 / 25%);
}

.contact-section .form-control:focus {
    box-shadow: none;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1380px;
    }
}

.imageAccordion {
    position: relative;
    margin-top: 80px;
}

.imageAccordion .slide-img {
    display: none;
    width: 100%;
}

.imageAccordion .slide-img.active {
    display: block;
}

#office .description p{
    text-align: justify;
    text-justify: inter-word;
}
#office .description p strong{
    font-weight: 400;
    color: #000;
}



@media (max-width: 768px) {
    #project .description, #project .short{
      text-align: left!important;
    }
}