
/*
 * Tomwer.pl - Custom Main Stylesheet
 * Projekt: tomwer.pl
 * Autor: ProjektWebsite.PL
 * Opis: Główne style nadpisujące motyw Astra i customowe komponenty.
 */
 
.custom-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 49px;
    padding: 0 25px;
    background: linear-gradient(90deg, #2A3E93 0%, #306EB5 55%);
    border-radius: 10px;
    color: #FFFFFF !important;
    text-decoration: none;
    line-height: 1; 
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    border: none;
}

.custom-header-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0px 4px 15px rgba(42, 62, 147, 0.4);
    transform: translateY(-1px);
}

.btn-primary-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    border-radius: 30px; 
    background: linear-gradient(90deg, #0284C7 0%, #2A3E93 100%);
    color: #ffffff ;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif; 
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary-gradient:hover {
    color: #ffffff ;
    transform: translateY(-2px);
    background: linear-gradient(180deg, #0284C7 0%, #2A3E93 100%);
}

.btn-with-arrow {
    display: inline-flex !important;
    gap: 15px;
}

.arrow-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.btn-with-arrow:hover .arrow-icon {
    transform: translateX(8px);
}
@media (max-width: 768px) {
    .btn-with-arrow {
        min-width: 0 !important; 
        width: 100% !important; 
        justify-content: center; 
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
@media (max-width: 500px) {
    .home-about .btn-primary-gradient {
        max-width: 350px;
    }
    .btn-primary-gradient {
        width: 100%;
        max-width: 220px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   SEKCJA Wezwanie do Kontaktu
   ========================================================================== */

.home-cta {
    padding: 80px 0 120px 0; 
    background-color: #ffffff;
}

.cta-box {
    max-width: 1450px;
    margin: 0 auto;
    padding: 70px 40px;
    text-align: center;
    border-radius: 40px; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    border: 5px solid transparent; 
    background: 
        linear-gradient(#fff, #fff) padding-box, 
        linear-gradient(90deg, #2A3E93 0%, #306EB5 55%) border-box; 
}

.cta-separator {
    width: 60px;
    height: 2px;
    background-color: #333;
    margin: 0 auto 30px auto;
}

.cta-box h2 {
    margin-bottom: 20px;
}

.cta-box p {
    color: #555;
    font-size: 18px;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 40px auto;
}

.cta-socials {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.cta-socials a {
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 5px;
}

.cta-socials a svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.cta-socials a:hover {
    color: #2A3E93;
}

.cta-socials a:hover svg {
    transform: translateY(-3px) scale(1.1);
}

/* --- RESPONSYWNOŚĆ --- */

@media (max-width: 1024px) {
    .home-cta {
        padding: 80px 40px 120px 40px;
    }
}
@media (max-width: 768px) {
    .home-cta {
        padding: 80px 20px 80px 20px;
    }
    .cta-box {
        padding: 50px 10px;
        border-radius: 20px;
    }
}

/*****************
Footer 1
*****************/

.footer-brand-content {
    color: #ffffff; 
    max-width: 420px; 
    text-align: left; 
}

.footer-logo {
    max-width: 260px; 
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-description {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    align-items: top;
    justify-content: flex-start; 
    flex-wrap: wrap; 
    gap: 15px;
}

.socials-label {
    font-size: 16px;
    font-weight: 600;
    margin-right: 5px;
}

.social-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    fill: none !important;
}

.social-icon:hover {
    background-color: #ffffff; 
    color: #306EB5; 
    border-radius: 6px; 
    transform: translateY(-3px); 
}


/*****************
Footer 2 
*****************/

.footer-locations-widget {
    color: #ffffff;
    text-align: left;
}

.fl-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.fl-list {
    display: flex;
    flex-direction: column;
    gap: 30px; 
}

.fl-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.fl-icon {
    width: 20px !important;
    height: 20,px !important;
    fill: #ffffff !important;
    flex-shrink: 0;
}

.fl-city {
    font-size: 18px;
    font-weight: 700;
}

.fl-item-content {
    border-left: 2px solid rgba(255, 255, 255, 0.25); 
    margin-left: 9px; 
    padding-left: 21px; 
}

.fl-item-content p {
    font-size: 15px;
    margin: 0 0 10px 0;
    line-height: 1.5;
    color: #e2e8f0; 
}

.fl-item-content p:last-child {
    margin-bottom: 0;
}

.fl-item-content a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 800; 
    transition: opacity 0.3s ease;
}

.fl-item-content a:hover {
    opacity: 0.7;
}



/*****************
Footer 3 
*****************/

.footer-advisors-widget {
    color: #ffffff;
    text-align: left;
}

.fa-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.fa-list {
    display: flex;
    flex-direction: column;
    gap: 35px; 
}

.fa-item {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.fa-icon-box {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.15); 
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.fa-icon-box svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

.fa-item:hover .fa-icon-box {
    background-color: rgba(255, 255, 255, 0.25);
}

.fa-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.fa-text a {
    color: #fff;
    transition: background-color 0.3s ease;
}

.fa-text a:hover {
    opacity: 0.7;
}

.fa-label {
    font-size: 14px;
    color: #cbd5e1; 
    line-height: 1.2;
}

.fa-value {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.2;
    transition: opacity 0.3s ease;
}

.fa-value:hover {
    opacity: 0.7; 
}


/* ==========================================================================
   SEKCJA Animacje
   ========================================================================== */
.animate-element {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform; 
}

.fade-up {
    transform: translateY(40px); 
}

.fade-left {
    transform: translateX(-40px); 
}

.fade-right {
    transform: translateX(40px); 
}

.fade-in {
    transform: scale(0.95); 
}

.zoom-in-center {
    transform: scale(0.6); 
    transform-origin: center center; 
}
.zoom-in-slider {
    transform: scale(0.6); 
}

.fade-from-right-wide {
    transform: translateX(150px); 
}
.fade-from-left-wide {
    transform: translateX(-150px); 
}

.animate-element.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.animate-element.is-visible {
    opacity: 1;
    transform: translate(0) scale(1); 
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }