/* Global Styles */
:root {
    --beige-primary: #D2C6B6;
    --beige-light: #EFEFEF;
    /* Light grey/off-white for backgrounds */
    --text-dark: #333333;
    --white: #FFFFFF;
    --font-primary: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logo-container {
    /* Container styles can remain minimal as flexbox handles alignment */
    display: flex;
    align-items: center;
}

.main-logo {
    height: 60px;
    width: auto;
    display: block;
    /* Removes bottom space often caused by inline images */
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 20px;
    /* Reduced to fit 5 items comfortably */
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--beige-primary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: #f0f0f0;
    margin-top: 80px;
    /* Space for fixed header */

    /* Background Image Settings */
    background-image: url('hero-bg.jpeg');
    /* User to save image as hero-bg.jpg */
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;

    /* Flexbox to center content if needed, though absolute positioning is used for box */
}

/* Overlay to ensure text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    /* Slight dark overlay */
    z-index: 1;
}

/* 
   Removed .hero-image-placeholder as we are using background-image on the section 
*/

.hero-content-box {
    position: absolute;
    top: 50%;
    left: 10%;
    /* Positioning the beige box on the left */
    transform: translateY(-50%);
    background-color: var(--beige-primary);
    padding: 40px 60px;
    z-index: 2;
    min-width: 300px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content-box h1 {
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--white);
    text-transform: uppercase;
}

.hero-content-box h1 span {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    letter-spacing: 5px;
    font-weight: 300;
}

/* About Section */
.about-section {
    padding: 100px 50px;
    background-color: var(--beige-light);
    /* Soft background to separate from Zabiegi */
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 1200px;
    display: flex;
    gap: 50px;
    align-items: center;
    /* Vertically center content */
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-photo {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Subtle shadow for image */
    display: block;
    /* Removes bottom space often caused by inline images */
}

.about-content {
    flex: 2;
    text-align: left;
}

.about-content h2 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--beige-primary);
}

.about-lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-subheading {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 35px 0 20px 0;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-list {
    list-style: none;
    margin-bottom: 30px;
}

.about-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.about-list li::before {
    content: '\2022';
    /* Bullet character */
    color: var(--beige-primary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
}

.about-list li strong {
    font-weight: 600;
    color: var(--text-dark);
}

.about-closing {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--beige-primary);
    font-weight: 500;
    margin-top: 30px;
}

/* Zabiegi Section */
.zabiegi-section {
    background-color: #FAF8F5;
    /* Subtle light warm beige for contrast with white cards */
}

.zabiegi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 50px;
}

.zabieg-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.zabieg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    /* Soft shadow increase for lifting effect */
}

.zabieg-card h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.zabieg-sub-headline {
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
    color: #777;
    margin-bottom: 15px;
}

.zabieg-card p:not(.zabieg-sub-headline) {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
    flex-grow: 1;
    /* Pushes button to bottom if content length varies */
}

.btn-zobacz-cennik {
    display: inline-block;
    margin-top: auto;
    /* Pushes button to bottom */
    padding: 10px 25px;
    background-color: transparent;
    color: var(--beige-primary);
    border: 1px solid var(--beige-primary);
    border-radius: 25px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 1px;
}

.btn-zobacz-cennik:hover {
    background-color: var(--beige-primary);
    color: var(--white);
}

/* Background Image Card Variant (Mezoterapia Mikroigłowa) */
.card-mezoterapia-mikroiglowa {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('IMG_4138.jpeg');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
}

/* Background Image Card Variant (Mezoterapia Igłowa) */
.card-mezoterapia-iglowa {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('IMG_4132.jpeg');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
}


/* Background Image Card Variant (Stymulatory Tkankowe) */
.card-stymulatory {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('IMG_6166.jpeg');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    /* Pure White text */
}

/* Background Image Card Variant (Terapia estGen) */
.card-terapia-estgen {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('IMG_6192.png');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
}

/* Overriding text colors inside bg-card */
.bg-card h3 {
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.bg-card p,
.bg-card p:not(.zabieg-sub-headline),
.bg-card .zabieg-sub-headline {
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Overriding button inside bg-card */
.bg-card .btn-zobacz-cennik {
    color: #FFFFFF;
    border-color: #FFFFFF;
    text-shadow: none;
    /* Keep button text crisp */
}

.bg-card .btn-zobacz-cennik:hover {
    background-color: rgba(255, 255, 255, 0.15);
    /* Subtle white highlight, not solid */
    color: #FFFFFF;
}

/* Cennik / Accordion Section */
.cennik-section {
    background-color: var(--white);
    /* Can also be var(--beige-light) if preferred */
    padding-bottom: 120px;
}

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Clean spacing between bars */
    text-align: left;
}

.accordion-item {
    border: 1px solid #Eae4dc;
    /* Very light beige border */
    border-radius: 8px;
    overflow: hidden;
    /* Ensures content doesn't spill over corners */
    background-color: #fbfaf9;
    /* Extremely subtle off-white/beige */
    transition: all 0.3s ease;
}

.accordion-header {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-primary);
    text-align: left;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--beige-light);
    /* Slight hover indication */
}

.accordion-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.accordion-icon {
    font-size: 1rem;
    color: var(--beige-primary);
    transition: transform 0.3s ease;
}

/* Expand content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    background-color: var(--white);
    border-top: 1px solid transparent;
    /* Hide border when closed */
}

/* Active State */
.accordion-item.active {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Make it pop out slightly */
    border-color: var(--beige-primary);
}

.accordion-item.active .accordion-header {
    background-color: var(--beige-light);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    /* Turns the Plus into an X (close) */
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    /* Arbitrary large number to allow content to show */
    padding: 30px;
    border-top-color: #Eae4dc;
}

/* Price List inside Accordion */
.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Aligns to top, as text can wrap */
    padding: 20px 0;
    /* Increased padding */
    border-bottom: 1px dashed #e0d8cc;
}

.price-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-details {
    flex: 1;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Space between name and description */
}

.service-name {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
    /* Bold and dark for the treatment area */
}

.service-benefits {
    font-size: 0.85rem;
    color: #888;
    /* Subtle, specific grey */
    font-style: italic;
    /* Elegant look */
    line-height: 1.6;
}

.service-benefits-inline {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    font-weight: 400;
    margin-left: 5px;
}

.service-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Right aligns price and note */
    min-width: 120px;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--beige-primary);
    white-space: nowrap;
    /* Prevents price from wrapping */
}

.service-price-note {
    font-size: 0.75rem;
    color: #999;
    margin-top: 4px;
    white-space: nowrap;
}

/* Recommended Tag Styling */
.recommended-tag {
    display: inline-block;
    background-color: var(--beige-primary);
    color: var(--white);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 600;
}

.highlighted-price {
    color: #c0b2a0;
    /* A slightly darker beige/gold to make it pop */
    font-size: 1.15rem;
    /* Slightly larger */
}

/* Package Discount Info */
.package-discount {
    background-color: #fbf6f0;
    /* Subtle warm golden beige accent */
    border-radius: 6px;
    padding: 15px 20px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-left: 4px solid #c0b2a0;
}

.package-discount i {
    color: #c0b2a0;
    font-size: 1.2rem;
}

.package-discount strong {
    font-weight: 700;
}

/* Complex Nested List for estGen */
.complex-price-list li {
    flex-direction: column;
    align-items: stretch;
}

.complex-price-list .service-details {
    padding-right: 0;
}

.service-sublist {
    list-style: none;
    padding-left: 15px;
    /* Indent sub-items */
    margin-top: 15px;
}

.service-sublist li {
    flex-direction: row;
    padding: 8px 0;
    border-bottom: none;
    /* No borders for sub-items */
}

.sub-name {
    font-size: 0.95rem;
    color: #555;
    flex: 1;
}

.sub-note {
    font-size: 0.8rem;
    color: #aaa;
    font-style: italic;
    margin-left: 5px;
}

.sub-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--beige-primary);
}

.promo-tag {
    display: inline-block;
    background-color: #d1b899;
    /* slightly richer gold/beige for promo */
    color: var(--white);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 6px;
    border-radius: 4px;
    /* Harder edge, different from 'Polecane' tag */
    margin-left: 8px;
    vertical-align: middle;
}

/* Content Sections */
.content-section {
    padding: 80px 50px;
    text-align: center;
    background-color: var(--white);
}

.content-section h2 {
    margin-bottom: 30px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Contact / Footer Card Section */
.contact-section {
    padding: 100px 20px;
    background-color: #f4f4f4;
    /* Subtle background for contrast */
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card {
    background-color: var(--beige-primary);
    color: var(--white);
    padding: 60px 40px;
    text-align: center;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-logo {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 300;
}

.address,
.contact-details {
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.hours-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.8rem;
}

.hours p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-socials {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-circle:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.social-circle i {
    color: var(--white);
}

/* Bottom Bar */
.bottom-bar {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    font-size: 0.7rem;
    color: #999;
    background-color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-links a {
    margin-left: 20px;
}

/* Floating Regulamin */
.floating-regulamin {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border: 1px solid #eee;
    font-size: 0.8rem;
    z-index: 999;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .zabiegi-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }

    .about-container {
        flex-direction: column;
        padding: 40px 30px;
        gap: 40px;
    }

    .about-content {
        text-align: center;
    }

    .about-content h2,
    .about-subheading {
        text-align: center;
    }

    .about-list li {
        text-align: left;
        /* Keep bullets aligned properly */
    }

    .about-photo {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .main-nav ul {
        gap: 15px;
        font-size: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content-box {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
    }

    .zabiegi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bottom-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .legal-links a {
        margin: 0 10px;
    }

    .accordion-header {
        padding: 20px;
    }

    .accordion-title {
        font-size: 1rem;
    }

    .service-details {
        padding-right: 15px;
        /* Less padding on mobile */
    }

    .service-name {
        font-size: 0.95rem;
    }

    .service-benefits {
        font-size: 0.8rem;
    }

    .service-price {
        font-size: 1rem;
    }

    .service-price-note {
        font-size: 0.7rem;
    }

    .package-discount {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .package-discount i {
        font-size: 1rem;
    }
}

/* Subpage Styles */
.subpage-header-section {
    position: relative;
    height: 40vh;
    /* Shorter than home hero */
    width: 100%;
    background-color: var(--beige-primary);
    /* Fallback */
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subpage-header-content {
    background-color: var(--white);
    padding: 30px 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 2;
    margin-top: 20px;
}

.subpage-header-content h1 {
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: 3px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.subpage-header-content h1 span {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 300;
    color: #666;
}

.treatment-details-section {
    padding: 80px 50px;
    background-color: var(--white);
    display: flex;
    justify-content: center;
}

.treatment-content-wrapper {
    max-width: 800px;
    text-align: left;
}

.treatment-content-wrapper h2 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: var(--beige-primary);
    /* Accent color for subheadings */
    font-size: 1.5rem;
}

.treatment-content-wrapper p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    text-indent: 20px;
    /* Slight indent for classic feel, adjustable based on preference */
}

.treatment-action-buttons {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    /* Center buttons below content */
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.btn-primary {
    background-color: var(--beige-primary);
    color: var(--white);
    border: 1px solid var(--beige-primary);
}

.btn-primary:hover {
    background-color: #c0b2a0;
    /* Slightly darker beige */
    border-color: #c0b2a0;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--beige-primary);
}

.btn-secondary:hover {
    background-color: var(--beige-primary);
    color: var(--white);
}

/* Helper class to push footer to bottom if content is short */
.mt-auto {
    margin-top: auto;
}

/* Ensure flex column for html/body to utilize mt-auto properly on short pages */
html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Regulamin Page Specific Styles */
.regulamin-section {
    padding: 60px 20px;
}

.regulamin-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    line-height: 1.8;
    color: var(--text-dark);
}

.regulamin-content-wrapper h2 {
    font-size: 1.5rem;
    color: var(--beige-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--beige-light);
    padding-bottom: 10px;
}

.regulamin-content-wrapper ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.regulamin-content-wrapper li {
    margin-bottom: 12px;
}

.regulamin-content-wrapper p.regulamin-intro {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 40px;
    text-align: center;
    color: var(--beige-primary);
}

.regulamin-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(192, 178, 160, 0.3), rgba(0, 0, 0, 0));
    margin: 40px 0;
}

.kaucja-box {
    background-color: #faf8f5;
    border-left: 4px solid var(--beige-primary);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.kaucja-box h3 {
    margin-top: 0;
    color: var(--beige-primary);
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.kaucja-box h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .treatment-action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .subpage-header-content {
        padding: 20px;
        width: 90%;
    }

    .treatment-details-section {
        padding: 50px 20px;
    }
}