/* Ognakan Marketing public brand system.
   Loaded by the shared public layout; Voyager/admin uses a separate layout. */

:root {
    --brand-green: #6DAB34;
    --brand-dark: #111827;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --bg-light: #F8FAF8;
    --bg-card: #FFFFFF;
    --border-color: #E5E7EB;
    --gradient-start: #7AC74F;
    --gradient-end: #5A9A2A;
    --hover-green: #8BC65A;
    --brand-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
    --brand-shadow-hover: 0 14px 32px rgba(17, 24, 39, 0.09);
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-family: "Plus Jakarta Sans", Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--brand-green);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(109, 171, 52, 0.2);
}

.page-wrapper {
    overflow: clip;
    background: var(--bg-light);
}

.btn-primary,
.main-header .widget_shopping_cart_content .button {
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    box-shadow: 0 4px 14px rgba(109, 171, 52, 0.3);
    color: var(--bg-card);
    font-weight: 600;
    padding: 14px 28px;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.main-header .widget_shopping_cart_content .button:hover {
    background: var(--hover-green);
    box-shadow: 0 6px 20px rgba(109, 171, 52, 0.35);
    color: var(--bg-card);
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    padding: 14px 28px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--brand-green);
    background: var(--bg-light);
    color: var(--text-primary);
}

/* Header and navigation */
.main-header {
    padding: 0;
}

.main-header .container-fluid {
    padding: 0;
}

.main-header--five__inner {
    border-radius: 0;
    background: var(--bg-card);
    box-shadow: 0 1px 0 var(--border-color), 0 8px 24px rgba(17, 24, 39, 0.04);
}

.main-header--five .topbar {
    min-height: 42px;
    border-radius: 0;
    background: var(--brand-dark);
    padding: 8px clamp(24px, 5vw, 80px);
}

.main-header--five .topbar__social {
    gap: 24px;
}

.main-header--five .topbar__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.main-header--five .topbar__social a:hover {
    color: var(--hover-green);
    transform: translateY(-1px);
}

.main-header--five .topbar > .topbar__lang-dropdown .topbar__lang-btn {
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: var(--bg-card);
    padding: 4px 11px;
}

.main-header--five .topbar > .topbar__lang-dropdown .topbar__lang-btn:hover {
    border-color: var(--hover-green);
    box-shadow: none;
}

.main-header--five .topbar__lang-menu {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

.main-header--five .topbar__lang-item {
    color: var(--text-primary);
}

.main-header--five .topbar__lang-item:hover {
    background: var(--bg-light);
    color: var(--brand-green);
}

.main-header--five .main-header__inner {
    min-height: 98px;
    padding: 0 clamp(24px, 5vw, 80px);
}

.main-header--five .main-header__logo img {
    width: 152px;
    max-height: 66px;
    object-fit: contain;
}

.main-header--five .main-menu .main-menu__list > li {
    padding-top: 36px;
    padding-bottom: 36px;
}

.main-header--five .main-menu .main-menu__list > li + li {
    margin-left: clamp(24px, 2.65vw, 42px);
}

.main-header--five .main-menu .main-menu__list > li > a {
    position: relative;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.main-header--five .main-menu .main-menu__list > li > a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-green);
    content: "";
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.main-header--five .main-menu .main-menu__list > li.current > a,
.main-header--five .main-menu .main-menu__list > li:hover > a {
    color: var(--brand-green);
}

.main-header--five .main-menu .main-menu__list > li.current > a::after,
.main-header--five .main-menu .main-menu__list > li:hover > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.main-header--five .cart-icon > a {
    color: var(--text-primary);
}

.main-header--five .cart-icon > a:hover {
    color: var(--brand-green);
}

.main-header--five .mobile-nav__btn span {
    background: var(--brand-dark);
}

.main-header--five button.mobile-nav__btn,
.mobile-nav__close {
    border: 0;
    background: transparent;
    padding: 0;
}

.main-header--five.sticky-header--cloned {
    background: var(--bg-card);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.main-header--five.sticky-header--cloned .main-header--five__inner {
    box-shadow: none;
}

/* Footer */
.main-footer,
.main-footer--home-five {
    background: var(--brand-dark);
}

.main-footer__bg,
.main-footer__shape {
    opacity: 0.04;
    animation: none;
    mix-blend-mode: normal;
}

.main-footer__top {
    padding-top: 64px;
    padding-bottom: 16px;
}

.main-footer__top .container,
.main-footer__bottom .container {
    max-width: 1320px;
}

.main-footer .footer-widget {
    margin-bottom: 32px;
}

.main-footer .footer-widget__logo {
    margin-bottom: 18px;
}

.main-footer .footer-widget__logo img {
    width: 180px;
    max-height: 76px;
    object-fit: contain;
}

.main-footer .footer-widget__title {
    margin-bottom: 34px;
    color: var(--hover-green);
    font-size: 19px;
    font-weight: 700;
}

.main-footer .footer-widget__title::after {
    bottom: -13px;
    width: 36px;
    height: 2px;
    background: var(--brand-green);
}

.main-footer .footer-widget__title::before {
    display: none;
}

.main-footer .footer-widget__links {
    margin-top: 0;
}

.main-footer .footer-widget__links li + li {
    margin-top: 12px;
}

.main-footer .footer-widget__links a,
.main-footer .footer-widget__social__text,
.main-footer .main-footer__copyright {
    color: rgba(255, 255, 255, 0.68);
}

.main-footer .footer-widget__links a {
    font-size: 15.5px;
    line-height: 1.55;
}

.main-footer .footer-widget__links a:hover {
    color: var(--hover-green);
}

.main-footer .footer-widget__social {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.main-footer .footer-widget__social__text {
    flex-basis: 100%;
    margin-bottom: 4px;
    font-size: 15px;
}

.main-footer .footer-widget__social__text::before {
    background: var(--brand-green);
}

.main-footer .footer-widget__social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.76);
}

.main-footer .footer-widget__contact-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.55;
}

.main-footer .footer-widget__contact-item i {
    position: relative;
    top: 4px;
    color: var(--brand-green);
    font-size: 14px;
}

.main-footer .footer-widget__contact-item a,
.main-footer .footer-widget__contact-item span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.main-footer .footer-widget__social a:hover {
    border-color: var(--brand-green);
    background: var(--brand-green);
    color: var(--bg-card);
    transform: translateY(-2px);
}

.main-footer__bottom__inner {
    min-height: 88px;
    padding: 22px 0;
    border-top-color: rgba(255, 255, 255, 0.12);
}

.main-footer__bottom__menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.main-footer__bottom__menu li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-footer__bottom__menu img {
    max-width: 122px;
    max-height: 34px;
    object-fit: contain;
}

/* Mobile navigation and floating contact controls */
.mobile-nav__content {
    background: var(--brand-dark);
}

.mobile-nav__content .main-menu__list li a,
.mobile-nav__contact li a {
    color: rgba(255, 255, 255, 0.82);
}

.mobile-nav__content .main-menu__list li.current > a,
.mobile-nav__content .main-menu__list li a:hover,
.mobile-nav__contact li i,
.mobile-nav__contact li a:hover {
    color: var(--hover-green);
}

.mobile-nav__social a {
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.78);
}

.mobile-nav__social a:hover {
    border-color: var(--brand-green);
    background: var(--brand-green);
    color: var(--bg-card);
}

.home-page-icons {
    right: 18px;
    gap: 9px;
}

.home-page-icons a {
    border-radius: 50%;
    background: var(--bg-card);
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.12);
}

.scroll-to-top {
    color: var(--brand-green);
}

@media (max-width: 1199px) {
    .main-header--five .main-header__inner {
        min-height: 88px;
        padding: 15px 28px;
    }

    .main-footer .footer-widget--contact {
        padding-left: 0;
    }
}

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

    .main-header--five .main-header__inner {
        min-height: 82px;
        padding: 13px 20px;
    }

    .main-header--five .main-header__logo {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .main-header--five .main-header__right {
        flex: 0 0 auto;
        gap: 13px;
        padding-left: 10px;
    }

    .main-header--five .mobile-nav__btn {
        flex: 0 0 auto;
        margin-left: 0;
    }

    .main-header--five .main-header__logo img {
        width: 124px;
        max-height: 56px;
    }

    .main-header--five .lang-part-mobile .topbar__lang-btn {
        border-color: var(--border-color);
        background: var(--bg-card);
        color: var(--text-primary);
    }

    .main-footer__top {
        padding-top: 50px;
    }

    .main-footer .footer-widget {
        margin-bottom: 38px;
    }

    .main-footer__bottom__inner {
        gap: 20px;
    }

    .main-footer__bottom__menu {
        gap: 13px;
    }

    .main-footer__bottom__menu img {
        max-width: 82px;
        max-height: 27px;
    }

    .home-page-icons {
        right: 10px;
        bottom: 112px;
    }
}

@media (max-width: 420px) {
    .main-header--five .main-header__inner {
        padding-right: 14px;
        padding-left: 14px;
    }

    .main-header--five .main-header__right {
        padding-left: 8px;
    }

    .main-footer__bottom__menu {
        gap: 10px;
    }
}

@media (max-width: 991px) {
    .home-page-icons {
        position: relative;
        right: auto;
        bottom: auto;
        z-index: 1;
        flex-direction: row;
        justify-content: center;
        width: max-content;
        max-width: calc(100% - 32px);
        margin: 16px auto 24px;
        padding: 7px 10px;
        border: 1px solid var(--border-color);
        border-radius: 999px;
        background: var(--bg-card);
        box-shadow: var(--brand-shadow);
    }

    .home-page-icons a {
        width: 38px;
        height: 38px;
    }

    .home-page-icons img {
        width: 34px;
        height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
.footer-widget__links li.footer-widget__contact-item::after {
    display: none;
    text-transform: none;
}

.main-footer .footer-widget__contact-item a, .main-footer .footer-widget__contact-item span {
    text-transform: none;
}
.btn-portfolio {
        display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 142px;
    min-height: 42px;
    border: 1px solid rgba(109, 171, 52, 0.68);
    border-radius: 8px;
    background: var(--bg-card);
    box-shadow: none;
    color: var(--brand-green) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    padding: 0px 18px;
    position: relative;
    top: 0 !important;
    text-transform: none;
    cursor: pointer;
}
.btn-portfolio:hover {
    border-color: var(--brand-green);
    background: var(--brand-green);
    box-shadow: 0 7px 18px rgba(109, 171, 52, 0.2);
    color: var(--bg-card) !important;
    transform: translateY(-1px);
}

.btn-portfolio::after {
    content: "\2192";
    font-size: 19px;
    line-height: 1;
}