/*
Theme Name: Astra Child
Template: astra
*/

/* =========================================================
   01. GLOBAL / FONT
========================================================= */
:root {
    --e-global-typography-primary-font-family: 'Nata Sans';
}

.elementor-heading-title {
    font-family: 'Nata Sans', Arial, sans-serif !important;
}

body,
h1, h2, h3, h4, h5, h6,
p, a, li,
input, textarea, button {
    font-family: 'Nata Sans', Arial, sans-serif !important;
}

body.caban-new h1,
body.caban-new h2,
body.caban-new h3,
body.caban-new h4 {
    font-weight: 700;
}

body.caban-new p,
body.caban-new a,
body.caban-new li {
    font-weight: 500;
}

/* =========================================================
   02. HEADER - DESKTOP
========================================================= */

.caban-new-header {
    width: 100%;
    background: #fff;
    z-index: 100;
    position: relative;
}

.caban-new-header .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TOP BAR */

.caban-new-header .top-bar {
    background: #f5f5f5;
    font-size: 12px;
    color: #6f6f6f;
}

.caban-new-header .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
}

.caban-new-header .top-bar .left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.caban-new-header .top-bar .left img {
    width: 27px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.caban-new-header .top-bar .right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.caban-new-header .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.caban-new-header .contact-item svg {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    position: relative;
    top: 1px;
}

.caban-new-header .contact-item a {
    text-decoration: none;
    color: #2c2429;
    font-size: 18px;
    line-height: 1;
}

.icon-phone {
    transform: scaleX(-1) scale(1.1);
}

/* MAIN HEADER */

.caban-new-header .main-header {
    background: #fff;
    padding: 35px 0 34px;
    border-bottom: none;
}

.caban-new-header .main-header .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* LOGO */

.caban-new-header .logo {
    text-align: center;
    margin-bottom: 55px;
}

.caban-new-header .logo img {
    width: 137px;
    height: auto;
    display: block;
}

/* MENU DESKTOP */

.caban-new-header .menu-left {
    width: 100%;
}

.caban-new-header .menu-left ul {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 42px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.caban-new-header .menu-left li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.caban-new-header .menu-left a {
    text-decoration: none;
    color: #4c1230;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.caban-new-header .menu-left a:hover {
    color: #c79a3b;
}

.caban-new-header .menu-left li ul {
    display: none !important;
}

.caban-new-header .menu-left .current-menu-item > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background: #c79a3b;
}

/* =========================================================
   03. HEADER - MOBILE MENU
========================================================= */

.mobile-toggle {
    display: none;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 997;
}

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

@media (max-width: 992px) {

    .caban-new-header .main-header {
        padding: 45px 0 35px;
    }

    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        position: absolute;
        left: 20px;
        top: -30px;
        z-index: 1001;
        cursor: pointer;
    }

    .mobile-toggle.active {
        top: -82px;
        left: 25px;
    }

    .mobile-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: #4c1230;
        transition: 0.3s ease;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .caban-new-header .menu-left {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        background: #fff;
        padding: 140px 28px 40px;
        transition: 0.3s ease;
        z-index: 1000;
        box-shadow: 8px 0 25px rgba(0,0,0,0.15);
    }

    .caban-new-header .menu-left.active {
        left: 0;
    }

    .caban-new-header .menu-left ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 22px;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .caban-new-header .menu-left li {
        width: 100%;
        list-style: none !important;
    }

    .caban-new-header .menu-left a {
        display: block;
        width: 100%;
        font-size: 16px;
        color: #4c1230;
        text-align: left;
        letter-spacing: 0;
    }

    .caban-new-header .menu-left .current-menu-item > a::after {
        display: none;
    }
}

/* =========================================================
   04. TOP BAR - MOBILE
========================================================= */

@media (max-width: 992px) {

    .caban-new-header .top-bar .container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .caban-new-header .top-bar .right {
        order: 1;
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .caban-new-header .top-bar .left {
        order: 2;
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 8px;
        margin-right: 14px;
    }
}

/* =========================================================
   05. MAIN SLIDER
========================================================= */

.caban-slider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.caban-slider .swiper-slide {
    min-height: 640px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.caban-slider .swiper-pagination {
    bottom: 25px !important;
}

.caban-slider .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    background: #ffffff;
    opacity: 1;
}

.caban-slider .swiper-pagination-bullet-active {
    background: #c79a3b;
}

@media (min-width: 1600px) {
    .caban-slider .swiper-slide {
        min-height: 760px;
        background-position: center center;
    }
}

/* =========================================================
   06. SERVICE CARDS
========================================================= */

.service-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    transition: 0.3s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 12, 18, 0.35);
    transition: 0.3s ease;
    z-index: 1;
}

.service-card .elementor-heading-title {
    position: relative;
    z-index: 2;
}

.service-card:hover::before {
    background: rgba(76, 18, 48, 0.55);
}

.service-card:hover {
    transform: scale(1.02);
}




/* =========================================================
   07. SLOGAN
========================================================= */


.elementor-element-40b0aa9 .elementor-widget-container {
    text-align: center;
}

.elementor-element-40b0aa9 .elementor-widget-container br {
    display: block;
}

@media (max-width: 767px) {
    .elementor-element-40b0aa9 .elementor-widget-container {
        font-size: clamp(20px, 6vw, 30px);
        line-height: 1.25;
        white-space: nowrap;
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================================
   07. OPINIONS SLIDER
========================================================= */

.caban-opinions-slider {
    max-width: 760px;
    height: 220px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.caban-opinions-slider .swiper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.caban-opinions-slider .swiper-wrapper,
.caban-opinions-slider .swiper-slide {
    height: 220px;
}

.caban-opinions-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* TO JEST KLUCZ */

.caban-opinions-slider .swiper-slide p {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
    margin: 0 auto;
    max-width: 620px;

    /* środkowanie względem strzałek */
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 220px;

    padding: 0 80px;
    box-sizing: border-box;
}

/* STRZAŁKI */

.caban-opinions-slider .opinions-prev,
.caban-opinions-slider .opinions-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #c58c2b !important;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    z-index: 999;
    transition: 0.3s ease;
}

.caban-opinions-slider .opinions-prev:hover,
.caban-opinions-slider .opinions-next:hover {
    color: #d8a43d !important;
}

.caban-opinions-slider .opinions-prev {
    left: 0;
}

.caban-opinions-slider .opinions-next {
    right: 0;
}

/* MOBILE */

@media (max-width: 992px) {

    .caban-opinions-slider,
    .caban-opinions-slider .swiper,
    .caban-opinions-slider .swiper-wrapper,
    .caban-opinions-slider .swiper-slide,
    .caban-opinions-slider .swiper-slide p {
        height: 260px;
        min-height: 260px;
    }

    .caban-opinions-slider .swiper-slide p {
        max-width: 100%;
        padding: 0 55px;
        font-size: 14px;
        line-height: 1.8;
    }

    .caban-opinions-slider .opinions-prev,
    .caban-opinions-slider .opinions-next {
        font-size: 34px;
    }

    .caban-opinions-slider .opinions-prev {
        left: 5px;
    }

    .caban-opinions-slider .opinions-next {
        right: 5px;
    }
}
/* =========================================================
   08. CONTACT FORM 7 / HT MEGA OVERRIDES
========================================================= */

.caban-contact-form {
    max-width: 1180px;
    margin: 0 auto;
}

.caban-contact-form .form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    margin-bottom: 0;
}

.caban-contact-form input,
.caban-contact-form textarea {
    width: 100%;
    background: #ffffff;
    border: none;
    border-radius: 0;
    padding: 20px 24px;
    font-family: 'Nata Sans', Arial, sans-serif !important;
    font-size: 15px;
    font-weight: 500;
    color: #2b1b2b;
}

.caban-contact-form textarea {
    height: 185px;
    resize: none;
}

.caban-contact-form input::placeholder,
.caban-contact-form textarea::placeholder {
    color: #2b1b2b;
    opacity: 1;
}

.caban-contact-form .form-submit {
    text-align: center;
    margin-top: 60px;
}

.caban-contact-form input[type="submit"] {
    width: auto;
    min-width: 280px;
    background: #c58c2b;
    color: #ffffff;
    padding: 18px 70px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.caban-contact-form input[type="submit"]:hover {
    background: #b77f24;
}

.caban-contact-form .wpcf7-spinner {
    display: block;
    margin: 15px auto 0;
}

/* HT Mega - button override */

body.caban-new .caban-contact-form form input[type="submit"],
body.caban-new .wpcf7 .caban-contact-form form input[type="submit"],
body.caban-new .htmega-form-style-6 form input[type="submit"] {
    background: #c58c2b !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    width: auto !important;
    min-width: 280px !important;
    padding: 18px 70px !important;
    font-family: 'Nata Sans', Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: none !important;
    margin-top: 10px !important;
}

body.caban-new .caban-contact-form form input[type="submit"]:hover,
body.caban-new .wpcf7 .caban-contact-form form input[type="submit"]:hover,
body.caban-new .htmega-form-style-6 form input[type="submit"]:hover {
    background: #b77f24 !important;
    color: #ffffff !important;
}

/* HT Mega - white fields */

body.caban-new .caban-contact-form input,
body.caban-new .caban-contact-form textarea,
body.caban-new .wpcf7 input,
body.caban-new .wpcf7 textarea,
body.caban-new .htmega-form-style-6 input,
body.caban-new .htmega-form-style-6 textarea {
    background: #ffffff !important;
}

@media (max-width: 992px) {

    .caban-contact-form .form-row-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .caban-contact-form .form-submit {
        margin-top: 35px;
    }

    .caban-contact-form input[type="submit"] {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   09. FOOTER
========================================================= */

.caban-new-footer {
    font-family: 'Nata Sans', Arial, sans-serif;
}

.caban-new-footer .footer-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.caban-new-footer .footer-main {
    background-image: url('/wp-content/uploads/2026/04/tlo-pod-stopke.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.caban-new-footer .footer-overlay {
    background: rgba(12, 17, 18, 0.35);
    padding: 95px 0 170px;
}

.caban-new-footer .footer-main .footer-container {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1.5fr 1.5fr;
    gap: 70px;
}

.caban-new-footer .footer-col {
    color: #ffffff;
}

.caban-new-footer .footer-col h4 {
    margin: 0 0 28px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.caban-new-footer .footer-col p {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.caban-new-footer .footer-col a {
    color: #c79a3b;
    text-decoration: underline;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.caban-new-footer .footer-col a:hover {
    color: #d6aa4c;
}

.caban-new-footer .footer-menu {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.caban-new-footer .footer-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.caban-new-footer .footer-menu a:hover {
    color: #d6aa4c;
}

.caban-new-footer .footer-map {
    display: inline-block;
    margin-top: 8px;
}

/* FOOTER INFO BAR */

.caban-new-footer .footer-info {
    background: #111718;
    color: #ffffff;
    padding: 32px 0 30px;
    text-align: center;
}

.caban-new-footer .footer-info p {
    margin: 0 auto;
    max-width: 1100px;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 400;
}

.caban-new-footer .footer-info span {
    color: #c79a3b;
    padding: 0 8px;
}

.caban-new-footer .footer-keywords {
    margin-top: 32px !important;
}

/* FOOTER BOTTOM */

.caban-new-footer .footer-bottom {
    background: #ffffff;
    color: #666666;
    padding: 22px 0;
}

.caban-new-footer .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.caban-new-footer .footer-bottom p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

/* FOOTER RESPONSIVE */

@media (max-width: 1024px) {

    .caban-new-footer .footer-main .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .caban-new-footer .footer-overlay {
        padding: 70px 0 100px;
    }
}

@media (max-width: 767px) {

    .caban-new-footer .footer-main .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .caban-new-footer .footer-overlay {
        padding: 55px 0 70px;
    }

    .caban-new-footer .footer-col h4,
    .caban-new-footer .footer-col p,
    .caban-new-footer .footer-col a,
    .caban-new-footer .footer-menu a {
        font-size: 15px;
    }

    .caban-new-footer .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   10. ASTRA SCROLL TOP
========================================================= */

#ast-scroll-top {
    background: #c79a3b !important;
    border-radius: 4px;
    color: #fff !important;
}

#ast-scroll-top:hover {
    background: #4c1230 !important;
}

#ast-scroll-top svg,
#ast-scroll-top svg path {
    fill: #ffffff !important;
}

/* MOBILE */
@media (max-width: 768px) {

    #ast-scroll-top {
        bottom: 25px !important;
        background: #c79a3b !important;
        color: #ffffff !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #ast-scroll-top.ast-scroll-top-icon {
        background: #c79a3b !important;
    }

    #ast-scroll-top svg {
        width: 18px !important;
        height: 18px !important;
        fill: #ffffff !important;
    }

    #ast-scroll-top svg path {
        fill: #ffffff !important;
        stroke: #ffffff !important;
    }
}




.caban-new-header .contact-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.caban-new-header .contact-item::after {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #4c1230;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 99;
}

.caban-new-header .contact-item::before {
    content: "";
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #4c1230;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
    z-index: 99;
}

.caban-new-header .contact-item:hover::after,
.caban-new-header .contact-item:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Aleksandra */
.caban-new-header .phone-aleksandra::after {
    content: "Aleksandra Caban";
}

/* Igor */
.caban-new-header .phone-igor::after {
    content: "Igor Caban";
}