/* --- ZMIENNE I RESET --- */
:root {
    --primary-pink: #f493b2;
    --header-bg: rgba(216, 166, 182, 0.95);
    --light-pink: #fdf2f5;
    --deep-green: #556b2f;
    --hover-color: #d8a6b6; /* Ujednolicony kolor hovera */
    --text-dark: #2c2c2c;
    --text-light: #555;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* --- NAWIGACJA --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(20px); 
    z-index: 1000;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    will-change: background, padding;
    transform: translateZ(0);
}

/* --- PASEK PO PRZEWINIĘCIU (Subtelny) --- */
header.scrolled {
    /* Tło delikatnie widoczne (30%) */
    background: rgba(216, 166, 182, 0.3); 
    padding: 10px 5%;
    
    /* Brak cienia i brak rozmycia */
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Po najechaniu myszką pasek staje się wyraźny */
header.scrolled:hover {
    background: rgba(216, 166, 182, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.logo img { height: 80px; border-radius: 50%; }

/* --- PRZYCISKI W MENU (STYL TABLETKI) --- */
nav ul { display: flex; list-style: none; align-items: center; }
nav ul li { margin-left: 15px; }

nav ul li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--white);
    position: relative;
    
    /* Styl przycisku */
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-shadow: none; 
}

/* Usunięcie starego podkreślenia */
nav ul li a::after { display: none; }

/* Efekt Hover - Różowy przycisk */
nav ul li a:hover {
    background-color: var(--primary-pink);
    color: var(--white);
    border-color: var(--primary-pink);
    box-shadow: 0 5px 15px rgba(216, 166, 182, 0.4);
    transform: translateY(-2px);
}

.burger { display: none; cursor: pointer; font-size: 1.8rem; color: var(--white); }

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    background-color: transparent; 
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    transform: translateZ(0);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 10s linear;
    z-index: -1;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.slide.active {
    opacity: 1;
    z-index: 0;
    transform: scale(1.15);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.3);
    z-index: 0;
}

.hero-content {
    z-index: 1;
    background: rgba(60, 40, 50, 0.5);
    padding: 50px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 800px;
    backdrop-filter: blur(3px);
    animation: fadeUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.btn {
    padding: 15px 45px;
    background-color: var(--primary-pink);
    color: var(--white);
    border: 2px solid var(--primary-pink);
    border-radius: 50px;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn:hover {
    background-color: transparent;
    border-color: var(--white);
}

/* --- POZOSTAŁE SEKCJE --- */
section { padding: 100px 10%; }

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-pink);
}

.about { background-color: var(--light-pink); }
.about-container { display: flex; align-items: center; gap: 60px; }
.about-img { flex: 1; text-align: center; }
.about-img img { 
    border-radius: 20px; 
    box-shadow: -20px 20px 0px var(--deep-green); 
    max-width: 350px; 
    width: 100%;
    margin: 0 auto;
}
.about-text { flex: 1; }
.about-text h3 { font-size: 1.8rem; margin-bottom: 25px; color: var(--deep-green); }

.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }

/* --- KARTA OFERTY (ZERO RUCHU) --- */
.offer-card { 
    background: #fff; 
    padding: 40px 30px; 
    text-align: center; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    
    /* Pasek - stan początkowy */
    border-top: 5px solid transparent;
    
    /* Animujemy TYLKO kolor ramki i cień */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover { 
    /* ZABEZPIECZENIE przed ruchem: Używamy !important */
    transform: none !important; 
    margin-top: 0 !important;

    /* Tylko kolor paska */
    border-top-color: var(--primary-pink); 
    /* Tylko lekki cień */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.icon-box { width: 80px; height: 80px; background-color: var(--light-pink); color: var(--primary-pink); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; font-size: 2.5rem; }

/* --- SLIDER INSPIRACJE (ZERO RUCHU) --- */
.inspirations { background-color: #fafafa; position: relative; padding: 80px 5%; }

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden; 
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    padding-top: 5px; 
}

.carousel-slide {
    min-width: 33.333%; 
    padding: 0 10px; 
    box-sizing: border-box;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    background-color: #eee; 
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    
    /* Miejsce na pasek */
    box-sizing: border-box; 
    border-top: 5px solid transparent; 
    
    /* Animujemy TYLKO kolor */
    transition: border-color 0.3s ease; 

    /* Fix ostrości */
    image-rendering: -webkit-optimize-contrast; 
    transform: translateZ(0); 
    backface-visibility: hidden;
}

.carousel-slide:hover img {
    /* BLOKADA RUCHU I POWIĘKSZANIA */
    transform: none !important; 
    scale: 1 !important;
    
    /* Tylko różowy pasek */
    border-top-color: var(--primary-pink);
    
    filter: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-pink);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: background 0.3s;
}
.nav-btn:hover { background-color: var(--deep-green); }
.nav-btn.prev { left: 10px; }
.nav-btn.next { right: 10px; }

/* --- LIGHTBOX --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(50px);
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
    image-rendering: auto; 
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}
.lightbox-close:hover { color: var(--primary-pink); }

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    z-index: 2002;
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-btn:hover {
    color: var(--primary-pink);
    transform: translateY(-50%) scale(1.2);
}

.lightbox-btn.prev { left: 10px; }
.lightbox-btn.next { right: 10px; }

/* --- KONTAKT --- */
.contact-container { display: flex; flex-wrap: wrap; gap: 60px; }
.contact-info, .contact-map { flex: 1; min-width: 320px; }
.info-box { display: flex; margin-bottom: 35px; align-items: flex-start; }
.info-box > i { font-size: 1.5rem; color: var(--deep-green); margin-right: 25px; margin-top: 5px; min-width: 30px; text-align: center; }
.social-links { display: flex; gap: 15px; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text-dark); }
.social-btn.fb:hover { color: #1877F2; } 
.social-btn.insta:hover { color: #E1306C; }
.hours-list { list-style: none; margin-top: 10px; }
.hours-list li { display: flex; justify-content: space-between; margin-bottom: 8px; border-bottom: 1px dotted #ddd; }
.map-wrapper { width: 100%; height: 100%; min-height: 500px; border-radius: 20px; overflow: hidden; }

footer { 
    background-color: var(--header-bg); 
    color: var(--text-dark); 
    text-align: center; 
    padding: 30px 20px; 
    font-weight: 700;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
    header { background: var(--primary-pink); }
    nav { position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.5s ease; }
    nav.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    nav ul { flex-direction: column; padding: 20px 0; }
    nav ul li { margin: 0; text-align: center; }
    nav ul li a { display: block; padding: 15px 0; color: var(--text-dark); }
    .burger { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    
    .about-container { flex-direction: column; gap: 30px; }
    .about-text { text-align: center; }

    .carousel-slide { min-width: 100%; }
    .lightbox-btn { font-size: 2rem; padding: 10px; }
}