/*
 * Project overrides for GardenZone.
 * Keep this file small: the bought theme owns layout, this layer owns brand fit.
 */

:root {
    --primary: #196730;
    --primary-hover: #1c661f;
    --accent: #d4a574;
    --cream: #fafaf5;
    --ink: #1b4332;
    --leaf-light: #d8f3dc;
    --bs-primary: #196730;
    --bs-primary-rgb: 25, 103, 48;
}

body {
    color: var(--ink);
    background: var(--cream);
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.72;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: var(--ink);
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: -0.01em;
}

a {
    color: var(--primary);
}

a:hover,
a:focus {
    color: var(--primary-hover);
}
.mx-auto {
    margin: 0 auto;
}

.bg-primary,
.site-button,
.site-button.gradient,
.site-button-secondry:hover,
.site-button-secondry:focus,
button.scroltop {
    background-color: var(--primary) !important;
}

.site-button.gradient {
    background-image: linear-gradient(90deg, var(--primary) 0%, #439a0d 100%) !important;
}

.site-button:hover,
.site-button:focus,
.site-button.gradient:hover,
.site-button.gradient:focus {
    background-color: var(--primary-hover) !important;
    background-image: linear-gradient(90deg, var(--primary-hover) 0%, var(--primary) 100%) !important;
}

.text-primary,
.dez-tilte.text-primary,
.counter-text.text-primary {
    color: var(--primary) !important;
}

.breadcrumb-row ul li a,
.header-nav .nav > li.active > a,
.header-nav .nav > li:hover > a {
    color: white !important;
}

.dez-separator.bg-primary {
    background-color: var(--accent) !important;
}

.page-wraper {
    background: #fff;
}

.logo-header img,
.footer-logo img {
    height: auto;
    max-height: 82px;
    object-fit: contain;
    width: auto;
}

.main-bar .logo-header img {
    max-height: 58px;
}

.footer-logo img {
    max-height: 110px;
    filter: none;
}

.header-style-6.dark .middle-bar,
.header-style-6.dark .main-bar {
    background-color: #10251a !important;
}

.header-style-6 .contact-info li h4,
.header-style-6 .contact-info li span,
.header-style-6 .contact-info li i {
    color: #fff;
}

.header-quote-button {
    margin-left: 18px;
}

.language-switcher {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.language-switcher__toggle {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    min-height: 42px;
    padding: 8px 14px;
}

.language-switcher__flag {
    font-size: 22px;
    line-height: 1;
}

.language-switcher__toggle .language-switcher__flag {
    font-size: 24px;
}

.language-switcher__menu {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    list-style: none;
    min-width: 210px;
    opacity: 0;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    transform: translateY(-4px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    visibility: hidden;
    z-index: 999;
}

.language-switcher.is-open .language-switcher__menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

body .site-header .extra-nav .extra-cell ul li {
    width: 100% !important;
}

body .site-header .nav-instagram-button {
    align-items: center;
    display: inline-flex;
    font-size: 24px;
    justify-content: center;
    line-height: 1;
    min-height: 42px;
    padding: 8px 14px;
}

body .site-header .nav-instagram-button i {
    font-size: 24px;
    line-height: 1;
}

body a.language-switcher__item .language-switcher__item-inner {
    padding-top: 3px;
    padding-bottom: 3px;
}

.language-switcher__item,
.language-switcher__item--active {
    align-items: center;
    border-radius: 8px;
    color: var(--ink);
    display: flex !important;
    justify-content: space-between !important;
    padding: 9px 10px !important;
    text-decoration: none;
}

.language-switcher__item:hover,
.language-switcher__item:focus,
.language-switcher__item--active {
    background: var(--leaf-light);
    color: var(--primary);
}

.language-switcher__item-inner {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.language-switcher__meta {
    color: #6b7c72;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.dez-bnr-inr {
    min-height: 300px;
}

.dez-bnr-inr h1,
.dez-bnr-inr .banner-title,
.tp-caption h1 {
    color: #fff;
}

.dez-bnr-inr .banner-title,
.tp-caption.NotGeneric-Title.tp-resizeme.home-hero-title {
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
}

.dez-bnr-inr .banner-title {
    font-size: 45px;
    line-height: 55px;
    margin: 0;
}

.banner-brand-mark {
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
    height: 56px;
    margin: 0 auto 14px;
    object-fit: contain;
    width: auto;
}

.about-brand-logo {
    display: block;
    height: auto;
    margin: 0 0 20px;
    max-width: 260px;
    width: 100%;
}

.contact-brand-mark {
    display: block;
    height: 52px;
    margin: 0 0 16px;
    object-fit: contain;
    width: auto;
}

#loading-area {
    background-color: #fafaf5 !important;
    background-image: url("../img/desyprisgardenslogos/logo_small_brown_green.png") !important;
    background-size: 88px !important;
}

@media only screen and (max-width: 767px) {
    .dez-bnr-inr .banner-title {
        font-size: 26px;
        line-height: 32px;
    }

    .banner-brand-mark {
        height: 44px;
        margin-bottom: 10px;
    }

    .about-brand-logo {
        margin-bottom: 14px;
        max-width: 200px;
    }
}

.header-style-6 .contact-info li .contact-info-label {
    color: #a3a3a3;
    display: block;
    font-size: 16px;
    font-weight: 400;
}

.header-style-6 .contact-info li a {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.header-style-6 .contact-info li a:hover,
.header-style-6 .contact-info li a:focus {
    color: var(--accent);
}

.tp-caption.NotGeneric-Title.tp-resizeme.home-hero-title {
    margin: 0;
    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.72),
        0 8px 24px rgba(0, 0, 0, 0.46);
}

.home-intro.content-inner {
    padding-bottom: 0;
    padding-top: 70px;
}

.home-intro + .home-services.content-inner {
    padding-top: 50px;
}

.home-intro .section-head {
    margin-bottom: 0;
}

.home-intro__brand {
    align-items: center;
    display: flex;
    justify-content: center;
}

.home-intro__logo {
    display: block;
    height: auto;
    max-width: 260px;
    width: 100%;
}

.home-intro__title {
    color: var(--ink);
    font-size: 35px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 12px;
}

.home-intro .dez-separator {
    margin-bottom: 18px;
}

.home-intro__subtitle {
    color: var(--primary);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 16px;
}

.home-intro__text {
    color: #40594c;
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    max-width: 42em;
}

@media (max-width: 991px) {
    .home-intro .section-head {
        text-align: center;
    }

    .home-intro__brand {
        margin-bottom: 16px;
    }

    .home-intro__logo {
        margin: 0 auto;
        max-width: 220px;
    }

    .home-intro .dez-separator {
        margin-left: auto;
        margin-right: auto;
    }

    .home-intro__text {
        margin-left: auto;
        margin-right: auto;
    }
}

.home-services .site-button.light-gray:hover {
    color: #fff;
}

.service-style1 {
    background: #fff;
    box-shadow: 0 12px 36px rgba(27, 67, 50, 0.08);
    min-height: 100%;
}

.service-style1 .icon-cell i {
    color: var(--primary);
    font-size: 48px;
    line-height: 1;
}

.about-list-info .title {
    font-size: 22px;
    margin-bottom: 4px;
}

.counter-plus {
    color: var(--primary);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.portfolio-card-copy {
    min-height: 140px;
}

.portfolio-card-copy .dez-title {
    font-size: 22px;
}

.contact-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.contact-list li {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-list i {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(27, 67, 50, 0.08);
    display: inline-flex;
    flex-shrink: 0;
    height: 42px;
    justify-content: center;
    min-width: 42px;
    padding-top: 0;
    width: 42px;
}

.contact-item-label {
    color: var(--ink);
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin-bottom: 2px;
    opacity: 0.68;
    text-transform: uppercase;
}

.contact-list a,
.contact-list span:not(.contact-item-label) {
    color: var(--ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

.contact-list a:hover,
.contact-list a:focus {
    color: var(--primary);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-map {
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(27, 67, 50, 0.08);
    overflow: hidden;
}

.contact-map iframe {
    border: 0;
    display: block;
    height: 360px;
    min-height: 280px;
    width: 100%;
}

.contact-form-card,
.contact-info-card,
.contact-map-card {
    border-radius: 16px;
    box-shadow: 0 14px 42px rgba(27, 67, 50, 0.08);
}

@media (min-width: 992px) {
    .contact-map-card {
        display: flex;
        flex-direction: column;
    }

    .contact-map {
        flex: 1;
    }

    .contact-map iframe {
        height: 100%;
        min-height: 420px;
    }
}

.contact-form label {
    color: var(--ink);
    font-weight: 700;
}

.contact-form .form-control {
    border-color: rgba(27, 67, 50, 0.18);
    min-height: 48px;
}

.contact-form textarea.form-control {
    min-height: 140px;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.18rem rgba(25, 103, 48, 0.16);
}

.error-box .error-text {
    color: var(--primary);
}

.error-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 24px 0 8px;
}

.error-help-list {
    display: inline-block;
    margin: 20px auto 0;
    text-align: left;
}

.footer-style1 .footer-top {
    background-color: #10251a;
}

.footer-style1 .footer-top p,
.footer-style1 .footer-bottom,
.footer-style1 .footer-bottom span {
    color: rgba(255, 255, 255, 0.88);
}

.footer-style1 .footer-bottom {
    background: #0b1b13;
}

.footer-style1 .footer-bottom .footer-privacy-link,
.footer-style1 .footer-bottom .footer-credit-link {
    color: rgba(255, 255, 255, 0.88);
    display: inline-block;
    font-size: 15px;
    margin-left: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-style1 .footer-bottom .footer-privacy-link:hover,
.footer-style1 .footer-bottom .footer-privacy-link:focus,
.footer-style1 .footer-bottom .footer-credit-link:hover,
.footer-style1 .footer-bottom .footer-credit-link:focus {
    color: #fff;
}

.privacy-updated {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.7;
}

.privacy-page h2 {
    font-size: 26px;
    margin: 36px 0 12px;
}

.privacy-page .privacy-contact-list {
    margin: 8px 0 12px;
}

.privacy-page .list-check-circle {
    margin: 0 0 18px;
}

@media (max-width: 991px) {
    .header-style-6 .middle-bar {
        display: none;
    }

    .extra-nav .header-quote-button {
        display: none;
    }

    .header-style-6 .main-bar .logo-header.mostion {
        height: 50px !important;
        width: 52px !important;
    }

    .header-style-6 .main-bar .logo-header.mostion img {
        height: auto;
        max-height: 44px;
        max-width: 44px;
        width: auto;
    }

    .site-header .xmenu-toggler {
        position: relative;
        z-index: 100000;
    }
}

@media (max-width: 768px) {
    body .site-header .inner-bar {
        display: flex;
        align-items: center;
        min-height: 50px;
    }

    body .site-header .main-bar .logo-header.mostion {
        display: flex !important;
        flex: 0 0 auto;
        float: none;
        order: 1;
    }

    body .site-header .extra-nav {
        align-items: center;
        background: transparent;
        bottom: auto;
        box-shadow: none;
        display: flex;
        float: none;
        height: auto;
        left: auto;
        margin-left: auto;
        order: 2;
        padding: 0;
        position: relative;
        width: auto;
    }

    body .site-header .extra-nav .extra-cell {
        align-items: center;
        display: flex;
        width: auto;
    }

    body .site-header .extra-nav .extra-cell > * {
        margin-left: 8px;
        margin-right: 0;
    }

    body .site-header .xmenu-toggler {
        align-items: center;
        display: flex;
        flex: 0 0 auto;
        float: none;
        height: 42px;
        justify-content: center;
        margin: 0 0 0 8px;
        order: 3;
        width: 42px;
    }

    body .site-header .header-nav,
    body .site-header .menu-close {
        order: 4;
    }

    body .header-style-6 .sticky-header.is-fixed .main-bar {
        height: 70px;
        z-index: 1000;
    }

    body .site-header .sticky-header.is-fixed .xmenu-toggler {
        margin: 0 0 0 8px;
    }
}

@media (max-width: 575px) {
    body {
        font-size: 15px;
    }

    .home-intro.content-inner {
        padding-bottom: 10px;
        padding-top: 50px;
    }

    .home-intro__title {
        font-size: 28px;
    }

    .home-intro__subtitle {
        font-size: 20px;
    }

    .dez-bnr-inr {
        min-height: 220px;
    }

    .contact-map iframe {
        height: 240px;
        min-height: 240px;
    }

    .contact-actions .site-button,
    .contact-actions .site-button-secondry {
        flex: 1 1 100%;
        text-align: center;
    }

    .language-switcher__toggle {
        min-height: 42px;
        padding: 7px 12px;
    }

    body .site-header .sticky-header.is-fixed .xmenu-toggler {
        margin: 0;
    }
}

/* === Portfolio gallery: make the whole hover overlay clickable === */
.dez-gallery-box .overlay-bx .overlay-icon {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
}

.dez-gallery-box .overlay-bx .overlay-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
}

.dez-bnr-inr.overlay-black-middle {
    background-position: center 42%;
}

.about-values .dez-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.about-values .dez-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
