/*
Theme Name: ReVibe Physio
Theme URI: https://revibephysio.pl/
Author: Mateusz Maciejewski
Author URI: https://refirit.pl/
Description: ReVibe Physio by RefirIT
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: revibephysio
*/

/* Reset podstawowy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bg-main {
    background: #97624a;
}

/* Podstawowe style */
body {
    font-family: Red Hat Text, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.has-text-align-justify {
    text-align: justify;
}

/* Header */
.site-header {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #dee2e6;
}

.site-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Main content */
.site-main {
    padding: 40px 0;
    min-height: 60vh;
}

/* Footer */
.site-footer {
    background: #343a40;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* Responsywność */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .site-branding {
        flex-direction: column;
        text-align: center;
    }
}

/* Style dla ikony linków zewnętrznych */
.external-link-icon {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.8em;
    opacity: 0.7;
}

/* Opcjonalne style dla bezpiecznych linków */
.nav-link[target="_blank"]:not([rel*="noopener"]) {
    position: relative;
}

#menu-menu .menu-item {
    display: flex;
    align-items: center;
}

.top-bar {
    background: #97624A;
    padding: 5px 0;
}

.social-menu {
    list-style: none;
    margin: 0;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
}

.social-menu li,
.social-menu-item {
    margin: 0 !important;
}

.social-menu a,
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: transparent;
    font-size: 18px;
}

.social-menu a {
    color: white;
}

.social-menu a:hover,
.social-link:hover {
    transform: translateY(-2px);
}

/* Style dla ikon Font Awesome */
.social-menu a i,
.social-link i {
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-menu a:hover i,
.social-link:hover i {
    color: var(--hover-color, #fff) !important;
}

/* Style dla SVG ikon */
.svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.svg-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.social-menu a:hover .svg-icon svg,
.social-link:hover .svg-icon svg {
    fill: var(--hover-color, #007bff) !important;
}

/* Style dla custom ikon */
.social-icon {
    transition: color 0.3s ease;
}

.social-menu a:hover .social-icon,
.social-link:hover .social-icon {
    color: var(--hover-color, #007bff) !important;
}

#main-section1 {
    background: linear-gradient(135deg, #7A4E38 0%, #97624A 30%, #D4A574 100%);
    color: #fff;
}

#main-section1 p {
    font-size: 1.5rem;
}

#main-section1 blockquote {
    border: none;
    padding: 0;
}

#main-section1 a:hover {
    text-decoration: underline;
}

#section2 .wp-block-cover,
#section4 .wp-block-cover {
    border-radius: 10px;
}

#section2 .wp-block-cover .wp-block-cover__inner-container {
    background-color: #97624a85;
    padding: 10px;
    border-radius: 15px;
}

#section2 .wp-block-cover__inner-container,
#section2 .wp-block-cover__inner-container a,
#section4 .wp-block-cover__inner-container,
#section4 .wp-block-cover__inner-container a {
    color: #ffffff;
    text-decoration: none;
}

#section2 .wp-block-button .wp-block-button__link,
#section6 .wp-block-button .wp-block-button__link,
.services-info .wp-block-button .wp-block-button__link {
    color: #ffffff;
    background-color: #97624a;
    border: 1px solid #97624a;
    padding: 10px 25px;
}

.btn-book {
    color: #ffffff!important;
    background-color: #97624a!important;
    border: 1px solid #97624a!important;
    border-radius: 35px;
}

.btn-book:hover {
    text-decoration: underline!important;
}

#section2 .wp-block-button .wp-block-button__link:hover,
#section6 .wp-block-button .wp-block-button__link:hover,
.services-info .wp-block-button .wp-block-button__link:hover {
    color: #ffffff;
    background-color: #97624a;
    border: 1px solid #97624a;
    text-decoration: underline;
}

#section3 #bg-left-s3 {
    background-image: url('/wp-content/uploads/2025/10/revibe_salon.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

#section3 .wp-block-pullquote {
    margin: auto auto 1rem auto;
    padding: 0 !important;
    font-weight: normal;
}
#section3 .wp-block-pullquote blockquote p {
    font-size: 1.5rem;
    margin: auto!important;
}

#section3 .wp-block-pullquote cite {
    font-size: 1rem;
}

#section4 .wp-block-cover .wp-block-cover__image-background {
    height: 130%;
}

#section4 .tall-photo .wp-block-cover .wp-block-cover__image-background {
    height: 150%;
}

.section6-block {
    border: 1px solid #97624a;
    border-radius: 5px;
}

.section6-block p {
    background: #97624a;
    color: #fff;
    margin: -25px -25px 10px -25px;
    padding: 10px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.section6-block li {
    list-style: disc;
}

.section6-block li::marker,
#service-content .wp-block-list li::marker,
#service-content .wp-block-list li strong {
    color: #97624a;
}

.section6-block.services-info ul {
    padding: 0;
}

.section6-block.services-info li {
    list-style: none;
    font-size: 20px;
}


.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-section .accordion-button {
    background-color: #fff;
    color: #000;
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: #97624a;
    color: #fff;
    box-shadow: 0 4px 15px rgba(151, 98, 74, 0.2);
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(151, 98, 74, 0.25);
    border-color: #97624a;
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.faq-section .accordion-body {
    background-color: #fff;
    border-radius: 0 0 8px 8px;
}

.faq-section .accordion-item {
    border-radius: 8px !important;
    overflow: hidden;
}

.faq-section .shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    transition: box-shadow 0.3s ease;
}

.faq-section .shadow-sm:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Dodatkowe style dla lepszego wyglądu */
.faq-section .btn-light:hover {
    background-color: #f8f9fa;
    border-color: #97624a;
}

.faq-section .accordion-button:hover {
    background-color: #f8f9fa;
}

.faq-section .accordion-button:not(.collapsed):hover {
    background-color: #855a46;
}

footer a {
    color: #fff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

footer li {
    padding: 5px 10px;
}


.swiper {
    --swiper-theme-color: #97624a;
    --swiper-navigation-sides-offset: 0;
    padding: 0 30px!important;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hover-transparent {
    background-color: transparent !important;
}

.extra-preferences {
    text-decoration: underline!important;
}

#service-content #main-section1 .col-6 {
    margin: auto!important;
}

.services-top {
    min-height: 550px;
    background-position: center;
    background-size: cover;
    opacity: .5;
}
#member-content .wp-block-media-text__media img {
    max-height: 500px;
    width: auto;
}

#member-content .wp-block-media-text {
    grid-template-columns: 25% 1fr;
}

#member-content .wp-block-media-text>.wp-block-media-text__content {
    padding: 0 5%;
    align-self: self-start;
}

@media (max-width: 1400px) {
    #member-content .wp-block-media-text>.wp-block-media-text__content {
        padding: 0 0 0 10%;
    }
}

@media (max-width: 1200px) {
    #member-content .wp-block-media-text>.wp-block-media-text__content {
        padding: 0 0 0 20%;
    }
}

@media (max-width: 992px) {
    footer li {
        padding: 5px 0;
    }

    .fs-sm-1, .wp-block-heading {
        font-size: calc(1rem + 1.5vw) !important;
    }
    .services-top {
        min-height: 250px;
    }

    #member-content .wp-block-media-text>.wp-block-media-text__content {
        padding: 0 0 0 38%;
    }
}

@media (max-width: 767px) {
    #member-content .wp-block-media-text {
        display: flex;
        flex-direction: column;
    }
    .wp-block-media-text>.wp-block-media-text__media {
        align-self: center;
    }

    #member-content .wp-block-media-text>.wp-block-media-text__content {
        padding: 0;
    }

    #member-content .wp-block-media-text__media img {
        max-height: 350px;
    }
}

