/* --- Zmienne i Reset --- */
:root {
    --primary-color: #C5A065;
    --secondary-color: #2C3E50;
    --accent-color: #D4AF37;
    --light-bg: #F8F9FA;
    --dark-bg: #1A1C20;
    --white: #FFFFFF;
    --text-gray: #666666;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

/* --- Typografia i Utility --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 15px;
        max-width: 100vw;
        box-sizing: border-box;
    }
}

.section-padding {
    padding: 80px 0;
}

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

.text-white {
    color: var(--white) !important;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* --- TytuĹ‚y Sekcji --- */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* Wycentrowane tytuĹ‚y */
.text-center .section-title,
.section-title.text-center {
    display: block;
    width: 100%;
}

/* WyrĂłwnanie linii dla sekcji niecentrowanych */
.about-text.section-title::after {
    margin: 15px 0 0;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* --- Przyciski --- */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(197, 160, 101, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-outline-dark {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline-dark:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-small {
    padding: 10px 25px;
    font-size: 0.8rem;
}

/* --- Nawigacja --- */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 140px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    display: block;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-top: 5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 35px;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(44, 62, 80, 0.6), rgba(44, 62, 80, 0.5)), url('docs/tlo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 140px;
}

.hero-content {
    z-index: 2;
    animation: fadeIn 1.5s ease;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 60px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#offer .container {
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.trust-badge {
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 30px;
    display: inline-block;
    backdrop-filter: blur(5px);
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.star {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-left: 5px;
}

/* --- About & Lashes Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-list {
    list-style: none;
    margin-top: 20px;
}

.about-list li {
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary-color);
}

.about-logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.about-logo {
    max-width: 400px;
    height: auto;
}

.about-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.carousel-container {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.carousel-slide {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.service-detail h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.service-detail p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* --- Technology Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

.feature-card.icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: -webkit-linear-gradient(var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Offer Section --- */
.offer-list {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    overflow: visible;
    box-shadow: var(--shadow);
    position: relative;
}

.offer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 35px;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.offer-item:last-child {
    border-bottom: none;
}

.offer-item.featured {
    background-color: rgba(197, 160, 101, 0.05);
    border-left: 5px solid var(--primary-color);
}

.offer-item:hover {
    background-color: #fcfcfc;
}

.offer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.offer-info p {
    font-size: 0.95rem;
    color: var(--text-gray);
    max-width: 400px;
}



.link-arrow {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.link-arrow:hover {
    letter-spacing: 1px;
}

/* --- Contact & Footer --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-block p {
    color: #bbb;
    line-height: 1.8;
}

.small-note {
    font-size: 0.8rem;
    color: #777;
    font-style: italic;
}

.phone-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 400px;
    width: 100%;
}

#mapContainer {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

footer {
    background: #111;
    color: #666;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #222;
}

/* --- Animacje --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive (Mobile) --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        text-align: justify;
        padding: 0 10px;
        /* Slight padding for better readability if needed, or 0 if container padding is enough */
    }

    .about-image .carousel-container {
        width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }

    /* KolejnoĹ›Ä‡ na mobile dla sekcji rzÄ™s: najpierw tekst, potem foto, lub odwrotnie */
    .order-mobile-1 {
        order: 1;
    }

    .order-mobile-2 {
        order: 2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 140px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 140px);
        text-align: center;
        transition: 0.3s;
        padding-top: 40px;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 20px 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active.bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active.bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active.bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero {
        background-attachment: scroll;
        /* Fix for mobile background zoom issue */
    }

    .about-logo {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .offer-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }



    .offer-info p {
        margin: 0 auto;
    }
}

.logo-img {
    max-height: 120px;
    width: auto;
    display: block;
}

.promo-container {
    text-align: center;
    margin-bottom: 40px;
}

.promo-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-height: 400px;
    object-fit: contain;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.98);
    color: white;
    padding: 25px 20px;
    z-index: 10000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.cookie-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.cookie-buttons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    min-width: 150px;
}

/* Map Placeholder */
.map-placeholder {
    background: var(--light-bg);
    padding: 60px 20px;
    text-align: center;
    border-radius: 15px;
    border: 2px dashed #ccc;
}

.map-placeholder p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons .btn {
        width: 100%;
    }

    /* Fix contact section on mobile */
    .contact-wrapper {
        padding: 0;
        gap: 30px;
        width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info {
        padding: 0 15px;
    }

    .map-container {
        height: 300px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .map-container iframe {
        width: 100%;
        height: 100%;
    }
}

/* Medipay Widget Cursor */
.offer-list a img {
    cursor: pointer;
}

/* Navbar Promo Banner */
.nav-promo {
    display: flex;
    align-items: center;
    margin-left: auto;
    transition: var(--transition);
}

.nav-promo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.nav-promo-img {
    max-height: 96px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .nav-promo {
        display: none;
    }
}