/* ===================================
   CSS Variables - Color Palette
   =================================== */
:root {
    --terracotta: #ad8a74;
    --coral: #ff878a;
    --chocolate: #53443a;
    --gray: #7c7b7a;
    --beige: #bba79c;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Google Sans Flex", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--chocolate);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ===================================
   List
   =================================== */

section ul, section ol {
    list-style: inside;
    margin-bottom: 20px;
    transform: translateX(20px);
    width: calc(100% - 20px);
}

section ul li::marker, section ol li::marker {
    color: var(--beige);
    font-size: 16px;
}

section ul li {
    list-style: disc;
    list-style-position: outside;
    margin: 0;
    font-size: 16px;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 32px;
    font-weight: 600;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 16px;
}

p {
    margin-bottom: 1rem;
    font-size: 14px;
    line-height: 1.5;
}

/* ===================================
   Container
   =================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    height: 55px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 1px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--coral);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ff6d70;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 135, 138, 0.3);
}

.btn-var_1 {
    background-color: var(--white);
    border: 2px solid var(--chocolate);
    padding: 10px 20px;
    font-size: 16px;
    width: max-content;
    font-weight: 500;
}

.btn-var_1 img {
    width: auto;
    height: 35px;
    transition: all 0.3s ease;
}

.btn-var_1:hover {
    background-color: var(--chocolate);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(99 99 99 / 30%);
}
.btn-var_1:hover img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7434%) hue-rotate(30deg) brightness(113%) contrast(116%);
}

.btn-var_2 {
    background-color: var(--white);
    border: 2px solid var(--chocolate);
    padding: 12px 20px 10px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 500;
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
}

.btn-var_2:hover {
    background-color: var(--chocolate);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(99 99 99 / 30%);
}

/* ===================================
   Section Icon
   =================================== */
.section-icon {
    width: 100px;
    margin: 0 auto 60px;
    aspect-ratio: 1 / 1;
}

/* ===================================
   Header
   =================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    background: var(--white);
}
header.scrolled.on {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-top {
    color: var(--white);
    font-size: 12px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background-color: var(--terracotta);
    padding: 8px 15px;
    border-radius: 0 0 12px 12px;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.header-contact a:hover {
    opacity: 0.6;
}
.header-contact a:last-child {
    display: none;
}

.header-top-content .booksy a span {
    opacity: 0.5;
    font-weight: 200;
}

.header-top-content .booksy a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    font-size: 14px;
}

.header-top-content .booksy img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
    height: 35px;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 15px;
}

.header-contact-item span {
    display: inline-block;
    align-items: center;
    font-family: "Google Sans Flex", Arial, sans-serif;
}

.header-contact-item img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(77%) sepia(11%) saturate(556%) hue-rotate(339deg) brightness(93%) contrast(84%);
    transform: translateY(-2px);
}

.header-location {
    font-size: 15px;
    display: none;
}

.header-main {
    padding: 30px 0;
    position: relative;
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}
.header-main-content .logo {
    margin-left: 20px;
    transition: var(--transition);
}

.logo:hover, .footer-logo img:hover {
    opacity: 0.7;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
    aspect-ratio: 3 / 1;
}

.nav {
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    border-radius: 12px;
    max-height: 80vh;
    overflow-y: auto;
}

.nav-list {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    justify-content: space-evenly;
}

.nav-list a {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--chocolate);
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-transform: uppercase;
    width: 100%;
    display: inline-block;
}
.nav-list a:hover {
    color: var(--coral);
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--coral);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.header-actions {
    display: none;
}
.header-actions a span {
    transform: translateY(2px);
}
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-right: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--chocolate);
    transition: all 0.3s ease;
}

/* ===================================
   Hero Slider
   =================================== */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero-slider .container, .header-top .container {
    padding: 0 10px;
}

/* Wymuszenie display block dla owl-carousel - CLS Prevention */
.hero-slider .owl-carousel {
    display: block !important;
    min-height: 400px;
}

.hero-slide {
    position: relative;
    width: 100%;
    min-height: 400px;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 30%));
    z-index: 1;
    border-radius: 12px;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    aspect-ratio: 5 / 3;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 60px 0;
    border-radius: 12px;
    min-height: 400px;
    width: 100%;
}

.hero-text {
    text-align: center;
}

.hero-text h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-text h5 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 0.2em;
    color: var(--white);
    margin-bottom: 10px;
    opacity: 0.7;
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    filter: brightness(0) invert(1);
}

.hero-text h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.5;
    margin: 30px auto;
    opacity: 0.8;
    font-weight: 300;
    color: white;
    width: 80%;
}

.hero-text h2 {
    color: #fff;
    font-family: "Google Sans Flex", Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-nav {
    position: absolute;
    top: calc(50% - 25px);
    width: 100%;
}

.owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    top: -25px;
    transform: translateY(50%);
}

.owl-carousel .owl-nav button.owl-next {
    right: 20px;    
}

.owl-carousel .owl-nav button:hover {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

.owl-carousel .owl-nav button span {
    font-size: 30px;
    color: var(--white);
    line-height: 1;
    margin-top: -5px;
}

.owl-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.owl-carousel .owl-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active {
    background-color: var(--white);
    width: 30px;
    border-radius: 5px;
}

/* ===================================
   Text Block
   =================================== */
.text-block {
    padding: 60px 0;
    text-align: center;
}

.text-block h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--chocolate);
    font-weight: 600;
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray);
}

.single-zabiegi .text-block {
    padding: 0;
}

.text-block.featured-content {
    padding: 0;
}

.featured-content ul li::marker, .featured-content ol li::marker {
    color: white;
}

.text-block h3, .text-block h4, .text-block h5, .text-block h6 {
    display: inline-flex;
    margin-bottom: 5px;
}

.image-text-block h3, .image-text-block h4, .image-text-block h5, .image-text-block h6 {
    display: inline-flex;
    margin-bottom: 5px;
}

/* ===================================
   Three Column Block
   =================================== */
.three-column-block {
    position: relative;
}
.offer.three-column-block {
    padding: 60px 0 40px;
}
.offer.three-column-block.has-background::before {
    content: '';
    position: absolute;
    top: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: cover;
    max-width: calc(100% - 20px);
    left: 10px;
    width: 100vw;
    height: 100%;
    border-radius: 12px;
}

.three-column-block .container {
    position: relative;
    z-index: 1;
}

.three-column-block h2 {
    font-size: 26px;
    margin-bottom: 30px;
    color: var(--chocolate);
    font-weight: 600;
    text-align: center;
}

.three-column-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.column-item {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.column-item:hover {
    transform: translateY(-5px);
}

.column-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    min-height: 250px;
    aspect-ratio: 16 / 10;
}

.column-item .flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
    scale: 1.01;
}

.column-item:hover .column-image img {
    transform: scale(1.05);
}

.column-item h3 {
    font-size: 22px;
    margin: 20px 20px 10px;
    color: var(--chocolate);
    text-align: center;
    font-weight: 500;
    transition: color 0.3s ease;
}
.column-item h3:hover {
    color: var(--coral);
}
.column-item p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray);
    padding: 0 20px;
    margin-bottom: 20px;
    text-align: center;
}

.column-meta {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--chocolate);
}

.meta-item img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(53%) sepia(45%) saturate(260%) hue-rotate(340deg) brightness(100%) contrast(84%);
}

.section-cta {
    margin-top: 40px;
    text-align: center;
}

/* ===================================
   Two Column Block
   =================================== */
.two-column-block {
    text-align: center;
}

.two-column-block h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--chocolate);
    font-weight: 600;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray);
}

.two-column-grid {
    display: flex;
    gap: 40px;
    flex-direction: column;
}

.person-card {
    display: flex;
    gap: 20px;
    text-align: left;
}

.person-image {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    height: auto;
    min-width: 100px;
    max-width: 140px;
}

.person-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
}

.person-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--terracotta);
    font-family: "Google Sans Flex", Arial, sans-serif;
    font-weight: 400;
}

.person-content p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--gray);
    margin-bottom: 0;
}

/* ===================================
   Gallery Block
   =================================== */
.gallery-block {
    position: relative;
}
.home .gallery-block {
    padding: 10px 0 80px;
}
.gallery-block .container {
    position: relative;
    z-index: 1;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--chocolate);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo .footer-social {
    display: none;
}

.footer-logo img {
    height: 90px;
    width: auto;
    margin: 0 auto;
    transition: var(--transition);
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 10px;
    position: relative;
}

.footer-column h4 {
    font-size: 17px;
    margin-bottom: 15px;
    color: var(--white);
    font-family: 'Google Sans Flex';
    font-weight: 500;
}

.footer-column p {
    font-size: 13px;
    line-height: 1.6;
    font-weight: 100;
    margin-bottom: 10px;
    opacity: 0.5;
}

.footer-address p:last-child, .footer-column.footer-address a {
    opacity: 1;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: -20px;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    opacity: 0.5;
    line-height: 36px;
    font-weight: 100;
}
.footer-column li {
    list-style: none;
}
.footer-column a:hover {
    opacity: 1;
}

.footer-column a img, .footer-column-social a img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(75%) sepia(11%) saturate(433%) hue-rotate(337deg) brightness(91%) contrast(85%);
    margin-top: -2px;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-column-social {
    grid-column: 1 / 3;
    text-align: center;
}
.footer-column-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 500;
}
.footer-column-social a:hover, .footer-address a:hover {
    opacity: 0.6;
}
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
}
.footer-column {
    display: flex;
    flex-direction: column;
}


.footer-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-social i {
    font-size: 20px;
    transition: var(--transition);
}

.footer-social a:hover i {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.5;
    margin-bottom: 5px;
    font-weight: 100;
}

.footer-bottom a {
    color: var(--white);
}

/* ===================================
   Tablet Styles (425px - 768px+)
   =================================== */

@media (min-width: 425px) {
    .footer-columns > .footer-address:nth-of-type(2) {
        text-align: right;
    }
    .footer-columns .footer-column:last-child {
        align-items: flex-end;
    }
    .footer-logo .footer-social {
        display: inline-flex;
    }
    .footer-social {
        display: none;
    }
    .footer-column-social {
        text-align: left;
    }
    .footer-column a {
        font-size: 16px;
    }
    .footer-columns {
        gap: 30px;
    }
}

@media (min-width: 768px) { 
    .footer-columns > .footer-address:nth-of-type(2) {
        text-align: left;
    }
    .footer-columns .footer-column:last-child {
        align-items: flex-start;
    }
    .footer-columns {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    .footer-column-social {
        position: absolute;
        bottom: -20px;
    }
    .hero-slide-content {
        aspect-ratio: 3 / 1;
        position: absolute;
        bottom: 0;
    }
    .hero-slide {
        min-height: 550px;
        height: 550px;
    }
    .hero-slider .owl-carousel {
        min-height: 550px;
    }
    .hero-text p {
        width: 40%;
    }
    
}


/* ===================================
   Desktop Styles (992px+)
   =================================== */
@media (min-width: 992px) {
    /* Typography */
    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 36px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    p {
        font-size: 16px;
    }
    section ul, section ol {
        transform: translateX(20px);
        width: calc(100% - 20px);
    }
    /* Container */
    .container {
        padding: 0 20px;
    }
    .narrow.container {
        padding: 0 50px;
    }
    /* Header */
    
    .header-main {
        padding: 20px 0;
    }
    
    .logo img {
        height: 100px;
    }
    header.scrolled .logo img {
        height: 60px;
    }
    
    .nav {
        display: block;
        position: static;
        box-shadow: none;
        padding: 0;
        background-color: transparent;
        overflow: unset;
        max-height: unset;
    }
    
    .nav-list {
        flex-direction: row;
        padding-left: 2%;
        padding-right: 2%;
        gap: 10px;
        align-items: center;
    }
    
    .nav-list a {
        padding: 0;
        border-bottom: none;
        font-size: 15px;
    }
    
    .header-actions {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    /* Hero */
    
    .hero-icon {
        width: 100px;
        height: 100px;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .owl-carousel .owl-nav {
        padding: 0 40px;
    }
    
    .owl-carousel .owl-nav button {
        width: 50px;
        height: 50px;
    }
    
    /* Text Block */
    .text-block {
        padding: 80px 0;
    }
    
    .text-block h2 {
        font-size: 36px;
    }
    
    .text-block p {
        font-size: 16px;
    }
    
    /* Three Column Block */
    .three-column-block {
        padding: 80px 0;
    }
    
    .three-column-block h2 {
        font-size: 36px;
    }
    
    .three-column-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .column-item h3 {
        font-size: 22px;
    }
    
    .column-item p {
        font-size: 14px;
    }
    
    /* Two Column Block */
    
    .two-column-block h2 {
        font-size: 36px;
    }
    
    .section-intro {
        font-size: 16px;
    }
    
    .two-column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
    
    .person-card {
        flex-direction: row;
        gap: 20px;
    }
    
    .person-image {
        width: 140px;
        height: auto;
        flex-shrink: 0;
    }
    
    .person-content h3 {
        font-size: 24px;
    }
    
    .person-content p {
        font-size: 17px;
    }
    
    /* Gallery Block */
    
    /* Footer */
    .footer {
        padding: 80px 0 30px;
        overflow: hidden;
    }
    
    .footer-columns {
        grid-template-columns: repeat(4, 1fr);
        gap: 0px;
    }
    .footer-content {
        grid-template-columns: 20% 80%;
        gap: 40px;
        display: grid;
    }
    .footer-logo {
        margin-bottom: 0;
    }
    .footer-columns > div:nth-of-type(4) {
        margin-left: 50px;
    }
    .footer-columns > .footer-address:nth-of-type(2) {
        margin-left: -50px;
    }
    .two-column-grid {
        flex-direction: row;
    }
    .hero-text h5 {
        font-size: 20px;
    }
    .header-location, .header-contact a:last-child {
        display: inline-flex;
    }
    .booksy {
        display: none;
    }
    .header-location{
        gap: 50px;
    }
    .header-top-content {
        padding: 13px 15px;
    }
    .home .gallery-block {
        padding: 20px 0 120px;
    }
    .hero-text h2 {
        font-size: 30px;
    }
}




@media (min-width: 1260px) {
    .offer.three-column-block.has-background::before {
        max-width: 1240px;
        left: calc(50% - 620px);
    }
    .offer.three-column-block .container {
        padding: 0 60px;
    }
    .hero-slider .container, .header-top .container {
        padding: 0 20px;
    }
    .header-main-content .logo {
        margin-left: 30px;
    }
}