/*
  PSI Montage Bulgaria
  Primary:   #1e2d3b  (rgb 30 45 59)
  Secondary: #edcd1f  (rgb 237 205 31)
*/

:root {
    --primary: #1e2d3b;
    --primary-light: #2d4455;
    --secondary: #edcd1f;
}

@font-face {
    font-family: "Raleway";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/raleway-v37-latin.woff2") format("woff2");
}

body {
    font-family: "Raleway", sans-serif;
    font-size: 1.2em;
    color: #707070;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    transition: all 0.3s ease;
    color: var(--primary);
}

a:hover,
a:focus {
    text-decoration: none;
    color: var(--secondary);
}

a:focus {
    outline: none;
}

.btn {
    padding: 8px 32px;
}

.btn:hover {
    background-color: #ced4da;
}

blockquote {
    font-size: 0.86em;
    line-height: 1.8em;
}

.tm-section-pad-top {
    padding-top: 40px;
}

.tm-content-box {
    padding-top: 20px;
    padding-bottom: 40px;
}

.tm-text-primary {
    color: var(--primary);
}

.tm-font-big {
    font-size: 1.25rem;
}

.tm-btn-primary {
    color: white;
    background-color: var(--primary);
    padding: 14px 30px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
    color: white;
    background-color: var(--primary-light);
}

/* Navbar */

.tm-navbar {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: var(--secondary);
    transition: all 0.3s ease;
}

.tm-navbar.scroll {
    background-color: var(--secondary);
    border-bottom: 1px solid #d4b800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
    color: var(--primary-light);
}

.tm-navbar.scroll .navbar-brand {
    color: var(--primary);
}

.nav-item {
    list-style: none;
    text-wrap: nowrap;
    font-weight: 300;
}

.tm-nav-link {
    color: var(--primary);
}

.tm-lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tm-lang-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.tm-lang-divider {
    color: var(--primary);
    font-weight: 600;
}

.tm-lang-active {
    font-weight: 700;
}

.tm-navbar.scroll .tm-nav-link {
    color: var(--primary);
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
    color: #fff;
    background-color: var(--primary);
}

.navbar-toggler {
    border: 1px solid var(--primary);
    padding-left: 10px;
    padding-right: 10px;
}

.navbar-toggler-icon {
    color: var(--primary);
    padding-top: 6px;
}

.tm-navbar.scroll .navbar-toggler {
    border: 1px solid var(--primary);
}

.tm-navbar.scroll .navbar-toggler-icon {
    color: var(--primary);
}

/* Hero */

#home {
    background-color: #222;
    background-image: url(../img/hero-bg.webp);
    background-repeat: no-repeat;
    height: 100vh;
    min-height: 375px;
    position: relative;
}

@media (min-height: 600px) and (min-width: 1920px) {
    #home {
        background-size: cover;
    }
}

@media (min-height: 830px) {
    #home {
        background-position: center -210px;
    }
}

@media (min-height: 680px) and (max-height: 829px) {
    #home {
        background-position: center -300px;
    }
}

@media (min-height: 500px) and (max-height: 679px) {
    #home {
        background-position: center -400px;
    }
}

@media (max-height: 499px) {
    #home {
        background-position: center -450px;
    }
}

.tm-hero-text-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.tm-hero-text-container-inner {
    margin-top: -200px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.tm-hero-title {
    font-size: 3.5rem;
    text-shadow: 2px 2px 2px #333;
    font-weight: bold;
    letter-spacing: 2px;
}

.tm-hero-subtitle {
    text-shadow: 2px 2px 2px #333;
}

.tm-intro-next {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
}

@media (max-height: 480px) {
    .tm-hero-text-container-inner {
        margin-top: -40px;
    }

    .tm-intro-next {
        bottom: 20px;
    }
}

.tm-down-arrow-link {
    display: block;
    margin-top: 18%;
}

.tm-down-arrow {
    color: #FFF;
    cursor: pointer;
    background: var(--primary);
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
    color: #FFF;
    background: var(--primary-light);
    padding: 20px 50px;
}

/* Introduction */

.tm-section-title {
    font-size: 2.6rem;
    font-weight: normal;
}

/* Services */

.tm-service-card {
    padding: 0 20px 40px;
}

.tm-service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.tm-service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-service-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

/* About — split panel */
#about {
    background-image: url(../img/about-bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.tm-about-layout {
    display: flex;
    min-height: 580px;
}

.tm-about-panel {
    width: 50%;
    background: rgba(30, 45, 59, 0.95);
    color: white;
    padding: 50px 60px;
}

.tm-about-panel .tm-section-title {
    color: var(--secondary);
}

.tm-about-lead {
    font-size: 1.05rem;
    font-weight: 600;
    opacity: 0.9;
}

.tm-about-panel p {
    font-size: 0.95rem;
    line-height: 1.9;
    opacity: 0.85;
}

.tm-about-est {
    font-size: 1.4rem !important;
    font-weight: bold;
    padding: 18px 60px;
    background: var(--secondary);
    color: var(--primary);
    text-align: center;
    letter-spacing: 2px;
}

@media (max-width: 767px) {
    .tm-about-est {
        padding: 18px 30px;
    }
}

@media (max-width: 767px) {
    .tm-about-panel {
        width: 100%;
        padding: 60px 30px;
    }
}

/* Work */

.tm-section-desc {
    max-width: 650px;
    width: 100%;
    font-size: 0.9rem;
}

.tm-gallery-container {
    padding-top: 70px;
    padding-bottom: 120px;
}

.tm-gallery-item {
    margin: 0 15px;
}

.tm-gallery-slider {
    max-width: 100%;
}

.tm-gallery-slider .slick-slide {
    padding: 0 8px;
}

.tm-gallery-slider figure.effect-honey {
    max-width: none;
    float: none;
}

.tm-gallery-slider .tm-gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.tm-gallery-note {
    width: 100%;
    background: #d9d9d9;
    padding: 28px 0;
    color: #3f3f3f;
    text-align: right;
}

.tm-gallery-note p {
    margin-left: auto;
    max-width: 980px;
    font-size: 1.25rem;
    line-height: 1.7;
}

.tm-gallery-note-meta {
    font-weight: 600;
}

.slick-dots {
    bottom: -65px;
}

.slick-dots li {
    margin: 0 13px;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--secondary);
}

.tm-testimonials-carousel .slick-dots li button:before {
    color: white;
    opacity: 0.5;
}

.tm-testimonials-carousel .slick-dots li button:hover:before,
.tm-testimonials-carousel .slick-dots li button:focus:before,
.tm-testimonials-carousel .slick-dots li.slick-active button:before {
    color: white;
    opacity: 1;
}

.slick-dots li button:before {
    font-size: 18px;
}

/* Hover Effect */
/* Common style */
.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    background: var(--primary);
    text-align: center;
    cursor: pointer;
}

.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    word-spacing: -0.15em;
    font-size: 0.9em;
    font-weight: 300;
}

.grid figure h2 span {
    font-weight: 600;
}

.grid figure h2,
.grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey {
    background: var(--primary);
    max-width: 220px;
}

figure.effect-honey img {
    opacity: 1;
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

figure.effect-honey:hover img {
    opacity: 0.4;
}

figure.effect-honey figcaption::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--secondary);
    content: "";
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1em 1.5em;
    width: 100%;
    text-align: left;
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
}

figure.effect-honey h2 i {
    font-style: normal;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* Contact */

.tm-contact-map {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.tm-contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 767px) {
    #contact .tm-about-layout {
        flex-direction: column;
    }

    .tm-contact-map {
        width: 100%;
        min-height: 300px;
    }
}

#contact {
    background-image: url(../img/contact-bg.webp);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

#contact .tm-about-panel .tm-section-title {
    color: var(--secondary);
}

#contact .tm-footer {
    position: static;
    padding: 20px 15px;
}

.contact-item {
    margin-left: 20px;
    margin-bottom: 20px;
}

.item-link {
    display: flex;
    align-items: center;
}

.item-link i,
.item-link span {
    color: white;
    transition: all 0.3s ease;
}

.item-link:hover i,
.item-link:hover span {
    color: var(--secondary);
}

.tm-input {
    margin: 0 0 20px 0;
    width: 100%;
    padding: 8px 20px;
    border-radius: 6px;
    border: 1px solid white;
    background: transparent;
    color: white;
}

.tm-btn-submit {
    font-size: 0.9em;
    color: var(--primary);
    background-color: var(--secondary);
    width: 50%;
}

.tm-btn-submit:hover {
    color: var(--primary);
    background-color: #f5d820;
}

.tm-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.tm-form-feedback {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.92rem;
    display: none;
}

.tm-form-feedback-success,
.tm-form-feedback-error {
    display: block;
}

.tm-form-feedback-success {
    background: rgba(54, 153, 94, 0.2);
    border: 1px solid rgba(94, 197, 135, 0.6);
    color: #e7ffee;
}

.tm-form-feedback-error {
    background: rgba(181, 55, 55, 0.2);
    border: 1px solid rgba(227, 95, 95, 0.65);
    color: #ffeaea;
}

::placeholder {
    color: white;
    opacity: 1;
}

:-ms-input-placeholder {
    color: white;
}

::-ms-input-placeholder {
    color: white;
}

.tm-footer {
    background-color: #1e2d3b;
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    padding: 0 15px;
    color: var(--secondary);
}

.tm-footer a {
    color: #fff;
}

.tm-footer a:hover {
    color: var(--secondary);
}

.tm-footer-link {
    color: white;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
    color: var(--secondary);
    text-decoration: none;
}

p {
    line-height: 1.9;
}

@media (min-width: 768px) {
    .tm-intro-text-container {
        padding-left: 0px;
    }

    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 30px;
        padding-left: 30px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1275px;
    }

    .tm-container-gallery {
        max-width: 1290px;
    }

    .tm-container-contact {
        max-width: 1063px;
    }
}

@media (max-width: 991px) {
    .tm-intro-text-container {
        padding-left: 15px;
        padding-top: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .tm-intro-img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .tm-btn-submit {
        margin-left: 0;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {

    .navbar-nav {
        max-width: 200px;
        text-align: right;
    }

    .navbar-collapse {
        background-color: var(--secondary);
        padding: 10px;
        border-radius: 3px;
    }

    .navbar-collapse .nav-link {
        color: var(--primary);
        padding-right: 20px;
    }

    .tm-hero-title {
        font-size: 2.5rem;
        text-shadow: 2px 2px 2px #333;
        font-weight: bold;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .tm-gallery-container {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .tm-gallery-slider {
        max-width: 100%;
    }

    .tm-gallery-container-2 {
        max-width: 350px;
    }

    .slick-dots li {
        margin: 0 8px;
    }

    .tm-gallery-item {
        margin: 0;
    }
}
