:root {
    --bg: #0a0a0a;
    --card-bg: #111111;
    --accent: #d4af37;
    --text: #f5f5f5;
    --text-muted: #a0a0a0;
    --font-h: 'Playfair Display', serif;
    --font-b: 'Montserrat', sans-serif;
}

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

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

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

/* Nawigacja */
.navbar {
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: 80px;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 50px; 
    z-index: 1000; 
    
    /* KLUCZOWA ZMIANA: Tło startowe to przezroczysty czarny, a nie domyślny przezroczysty biały */
    background: rgba(10, 10, 10, 0); 
    border-bottom: 1px solid rgba(34, 34, 34, 0); /* Niewidoczna ramka startowa */
    
    /* Płynne przejście tylko konkretnych właściwości */
    transition: background 0.4s ease, height 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled { 
    background: rgba(10, 10, 10, 0.95); 
    height: 70px; 
    border-bottom: 1px solid #222; 
}
.nav-logo { font-family: var(--font-h); font-size: 1.8rem; color: var(--accent); font-weight: bold; }
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li a { color: var(--text); text-decoration: none; margin: 0 20px; font-size: 0.9rem; letter-spacing: 1px; transition: 0.3s; }
.nav-links li a:hover { color: var(--accent); }
.nav-btn { border: 1px solid var(--accent); padding: 10px 20px; color: var(--accent) !important; }
.nav-btn:hover { background: var(--accent); color: #000 !important; }

.burger {
    display: none;
    cursor: pointer;
}
.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
#bg-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, transparent, #0a0a0a); }

.hero-content { text-align: center; }
.hero-content h1 { font-family: var(--font-h); font-size: clamp(2.5rem, 8vw, 5rem); letter-spacing: 5px; margin-bottom: 20px; }
.hero-subtitle { color: var(--accent); text-transform: uppercase; letter-spacing: 10px; margin-bottom: 10px; font-weight: 300; }
.hero-btns { margin-top: 40px; }

.btn-gold, .btn-outline {
    display: inline-block; padding: 15px 35px; text-decoration: none; text-transform: uppercase;
    letter-spacing: 2px; font-size: 0.8rem; transition: 0.4s; margin: 10px;
}
.btn-gold { background: var(--accent); color: #000; border: 1px solid var(--accent); }
.btn-gold:hover { background: transparent; color: var(--accent); }
.btn-outline { border: 1px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: #000; }

/* Sekcje */
.section { padding: 100px 0; }
.section-title { font-family: var(--font-h); font-size: 3rem; text-align: center; margin-bottom: 60px; color: var(--accent); }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
.portfolio-item { position: relative; height: 450px; overflow: hidden; cursor: pointer; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.item-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(212, 175, 55, 0.8); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.5s;
}
.item-overlay span { color: #000; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item:hover .item-overlay { opacity: 1; }

/* ==========================================
   SEKCJA O NAS (2 PROFILE)
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dwie kolumny obok siebie */
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.about-card {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.about-pic {
    width: 100%;
    height: 550px; /* Wysokość zdjęcia */
    overflow: hidden;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--accent); /* Złota kreska pod zdjęciem */
    background-color: #111;
}

.about-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-card:hover .about-pic img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.about-info h3 {
    font-family: var(--font-h);
    color: var(--accent);
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.about-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Responsywność dla telefonów */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr; /* Na telefonie jeden pod drugim */
        gap: 50px;
    }
    .about-pic {
        height: 450px;
    }
    .about-card {
        text-align: center;
    }
}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.price-card { background: var(--card-bg); padding: 50px 30px; border: 1px solid #222; transition: 0.4s; text-align: center; }
.price-card.featured { border-color: var(--accent); transform: scale(1.05); }
.price-card h3 { font-family: var(--font-h); font-size: 1.8rem; margin-bottom: 20px; }
.price { font-size: 1.5rem; color: var(--accent); margin-bottom: 30px; }
.price-card ul { list-style: none; margin-bottom: 40px; color: var(--text-muted); }
.price-card li { margin: 10px 0; }

/* Kontakt */
.contact-form { max-width: 800px; margin: 0 auto; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; background: #111; border: 1px solid #222; padding: 15px; color: #fff; font-family: var(--font-b);
}
.contact-form textarea { height: 150px; margin: 20px 0; resize: none; }
.contact-form input:focus { border-color: var(--accent); outline: none; }

/* Animacje Reveal */
.reveal { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Footer */
.footer { padding: 50px; text-align: center; border-top: 1px solid #111; margin-top: 50px; }
.footer-socials { margin-top: 20px; }
.footer-socials a { color: var(--accent); margin: 0 10px; text-decoration: none; font-size: 0.9rem; }

/* Mobilne */
@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .nav-links { display: none; }
    .about-flex { flex-direction: column; }
    .price-card.featured { transform: scale(1); }
    .form-row { flex-direction: column; }
}

/* ==========================================
   MODAL PORTFOLIO (Wyskakująca Galeria)
   ========================================== */
.portfolio-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.98); z-index: 3000;
    display: flex; flex-direction: column;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}

.portfolio-modal.active { opacity: 1; pointer-events: auto; }

.portfolio-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px; background: rgba(0, 0, 0, 0.5); border-bottom: 1px solid #222;
}

.portfolio-modal-header h3 { color: var(--accent); font-family: var(--font-h); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; }

.portfolio-close { color: #fff; font-size: 3rem; cursor: pointer; transition: 0.3s; line-height: 1; }
.portfolio-close:hover { color: var(--accent); }

.portfolio-modal-content { flex: 1; overflow-y: auto; padding: 40px; position: relative; }

.portfolio-modal-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
    max-width: 1400px; margin: 0 auto;
}

/* ZDJĘCIA (Zostają jako równe prostokąty) */
.portfolio-modal-grid img {
    width: 100%; 
    height: 400px; 
    object-fit: cover; 
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); 
    transition: transform 0.3s ease;
}

/* FILMY (Naturalne proporcje, zero przycinania, maksymalna ostrość) */
.portfolio-modal-grid video {
    width: 100%; 
    height: auto; /* Pozwala filmowi zachować naturalną wysokość */
    max-height: 80vh; /* Zapobiega wychodzeniu poza ekran na komputerze */
    object-fit: contain; /* Cały kadr jest widoczny, brak sztucznego zooma */
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); 
    background-color: #000; /* Czarne paski zapobiegające pustym przestrzeniom */
    transition: transform 0.3s ease;
}

.portfolio-modal-grid img:hover, .portfolio-modal-grid video:hover { 
    transform: scale(1.02); 
}

/* Poprawka dla małych ekranów (telefonów) */
@media (max-width: 768px) {
    .portfolio-modal-grid img { height: 250px; }
    .portfolio-modal-grid video { height: auto; }
}

.portfolio-loader {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; border: 3px solid #333; border-top-color: var(--accent);
    border-radius: 50%; animation: spin 1s linear infinite; display: none;
}

@media (max-width: 768px) {
    .portfolio-modal-header { padding: 15px 20px; }
    .portfolio-modal-content { padding: 20px; }
    .portfolio-modal-grid img, .portfolio-modal-grid video { height: 250px; }
}

/* ==========================================
   NAWIETRZENIA DLA KARUZELI NOWOŻEŃSKIEJ
   ========================================== */

/* 1. Usunięcie konfliktu - oddajemy pełną kontrolę JavaScriptowi */
.pricing-slider-container {
    overflow: hidden !important; /* Wyłączamy natywny scroll, który psuł JS */
    touch-action: pan-y !important; /* Blokujemy systemowe gesty "wstecz" na telefonach */
    pointer-events: auto !important; 
    cursor: grab;
}

/* 2. Stylizacja paska przewijania (TRACKER) */
.scroll-tracker {
    width: 80%;
    height: 3px;
    background: #1a1a1a; /* Ciemne tło */
    margin: 20px auto;
    border-radius: 4px;
    position: relative;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

/* Złoty suwak (THUMB) */
.tracker-thumb {
    width: 0%; /* Szerokość będzie sterowana przez JavaScript */
    height: 100%;
    background: var(--accent, #d4af37); /* Twój złoty kolor akcentowy */
    border-radius: 4px;
    position: absolute;
    left: 0;
    transition: width 0.1s linear, left 0.1s linear; /* Płynne ruchy */
}

/* Wygląd po najechaniu lub interakcji */
.pricing-slider-container:hover + .scroll-tracker,
.scroll-tracker:hover {
    opacity: 1;
}

/* Chowamy domyślny, brzydki scrollbar przeglądarki */
.pricing-slider-container::-webkit-scrollbar {
    display: none;
}

/* ==========================================
   FIX DLA TELEFONÓW: STAŁE NAZWY KATEGORII
   ========================================== */
@media (max-width: 768px) {
    /* Wymuszamy widoczność nakładki na wszystkich kafelkach portfolio */
    .portfolio-card .item-overlay {
        opacity: 1 !important; /* Zawsze widoczne */
        transform: translateY(0) !important; /* Brak przesunięcia w dół */
        transition: none !important; /* Wyłączenie animacji pojawiania się */
        
        /* Gwarancja pełnego wypełnienia kafelka (naprawa "szpar") */
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        
        /* Opcjonalnie: nieco ciemniejsze tło, by tekst był czytelniejszy na zdjęciu */
        background: rgba(212, 175, 55, 0.6) !important; 
    }

    /* Wyłączamy animację powiększania zdjęcia na telefonie, by nie "pływało" pod tekstem */
    .portfolio-item:hover img {
        transform: scale(1) !important;
    }
}

/* ==========================================
   KARUZELA CENNIKA
   ========================================== */
.pricing-slider-wrapper {
    position: relative;
    max-width: 100%;
    margin: 40px auto;
    padding: 0 50px; /* Miejsce na strzałki */
}

.pricing-slider-container {
    overflow: hidden; 
    padding: 50px 0;  
    cursor: grab;
    touch-action: pan-y; /* <-- TO JEST NOWE (pozwala tylko na przewijanie góra/dół palcem) */
}

.pricing-slider-container:active { cursor: grabbing; }

.pricing-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

/* WSZYSTKIE KARTY MAJĄ TERAZ ZŁOTĄ RAMKĘ (WSPÓLNE DLA CENNIKA I PORTFOLIO) */
.price-card, .portfolio-card {
    flex: 0 0 320px;
    margin: 0 20px;
    background: var(--card-bg);
    border: 2px solid var(--accent);
    text-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease, border-color 0.5s ease;
    opacity: 1;
    transform: scale(0.9);
}

.price-card {
    padding: 40px 30px;
}

.portfolio-card {
    padding: 0; /* Zdejmujemy padding, by zdjęcie i overlay zajęły 100% */
    border-radius: 4px;
}

/* EFEKT ŚRODKOWEJ KARTY */
.price-card.center, .portfolio-card.center {
    opacity: 1;
    transform: scale(1.15); /* Powiększenie środkowej karty */
    z-index: 2;
}

/* STRZAŁKI NAWIGACJI */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.slider-arrow:hover { background: var(--accent); color: #000; }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

/* REZYGNACJA ZE SKALOWANIA NA MOBILKACH DLA WYGODY */
@media (max-width: 768px) {
    .pricing-slider-wrapper { padding: 0 10px; }
    .slider-arrow { display: none; } /* Na telefonie używamy palców */
    .price-card, .portfolio-card { flex: 0 0 280px; margin: 0 10px; }
    .price-card.center, .portfolio-card.center { transform: scale(1.05); }
}

/* ==========================================
   ANIMACJA NAZW KATEGORII W PORTFOLIO 
   ========================================== */

/* 1. Domyślne ustawienie ciemnego paska */
.portfolio-card .item-overlay {
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(20px); /* Domyślnie lekko opuszczona w dół */
    pointer-events: none;
    
    /* Gwarancja pełnego wypełnienia ramy */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* 2. Pełne wypełnienie na środku ORAZ przy najechaniu myszką */
.portfolio-card.center .item-overlay,
.portfolio-item:hover .item-overlay {
    opacity: 1 !important;
    transform: translateY(0) !important; /* Likwiduje szparę - nakładka wraca na samą górę! */
}

/* ==========================================
   OPTYMALIZACJA MOBILNA (Smartfony i Tablety)
   ========================================== */
@media (max-width: 768px) {
    /* Ogólne odstępy (mniej pustego miejsca na telefonie) */
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; margin-bottom: 30px; }
    
    /* Sekcja Hero (Napisy nie mogą wychodzić za ekran) */
    .hero-content h1 { font-size: 2.2rem; letter-spacing: 2px; }
    .hero-subtitle { font-size: 0.7rem; letter-spacing: 4px; margin-bottom: 20px; }
    .hero-btns { display: flex; flex-direction: column; gap: 10px; padding: 0 20px; }
    .btn-gold, .btn-outline { margin: 0; width: 100%; }

    /* Wideo w tle musi pokrywać cały ekran telefonu */
    #bg-video { object-position: center; }

    /* MENU MOBILNE (HAMBURGER) */
    .burger { display: block; z-index: 2000; }
    
    .nav-links {
        position: fixed;
        right: -100%; /* Domyślnie schowane za prawą krawędzią */
        top: 0;
        height: 100vh;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease-in-out;
        backdrop-filter: blur(10px);
    }

    .nav-links.nav-active {
        right: 0; /* Menu wjeżdża na ekran */
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0; /* Przygotowanie do animacji pojawiania się */
    }

    .nav-links li a {
        font-size: 1.5rem; /* Duże, wygodne linki pod palec */
    }

    /* Animacja ikony burgera w krzyżyk (X) */
    .burger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .burger.toggle .line2 { opacity: 0; }
    .burger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
    
    /* Blokada przewijania strony pod otwartym menu */
    body.nav-open { overflow: hidden; }

    /* Kontakt */
    .form-row { flex-direction: column; gap: 0; }
}

/* Animacja pojawiania się linków w menu mobilnym */
@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================
   WYMUSZENIE ZŁOTEGO PASKA W PORTFOLIO
   ========================================== */

/* 1. Firefox - wymuszenie stylów */
.portfolio-modal,
.portfolio-modal-content {
    scrollbar-width: thin !important;
    scrollbar-color: var(--accent, #d4af37) #0a0a0a !important;
}

/* 2. Chrome, Edge, Safari, Opera - szerokość */
.portfolio-modal::-webkit-scrollbar,
.portfolio-modal-content::-webkit-scrollbar {
    width: 8px !important;
}

/* 3. Tło paska (ciemne) */
.portfolio-modal::-webkit-scrollbar-track,
.portfolio-modal-content::-webkit-scrollbar-track {
    background: #0a0a0a !important; 
}

/* 4. Suwak (Złoty) */
.portfolio-modal::-webkit-scrollbar-thumb,
.portfolio-modal-content::-webkit-scrollbar-thumb {
    background-color: var(--accent, #d4af37) !important;
    border-radius: 10px !important;
    /* Dodaje ładny, czarny margines wokół złotego suwaka, by wyglądał lżej */
    border: 2px solid #0a0a0a !important; 
}

.portfolio-modal::-webkit-scrollbar-thumb:hover,
.portfolio-modal-content::-webkit-scrollbar-thumb:hover {
    background-color: #f1c40f !important;
}

/* ==========================================
   OPTYMALIZACJA PŁYNNOŚCI PRZEWIJANIA
   ========================================== */
.portfolio-modal,
.portfolio-modal-content {
    /* 1. Gładkie scrollowanie, absolutnie kluczowe dla iPhone'ów/iOS */
    -webkit-overflow-scrolling: touch !important; 
    
    /* 2. Przygotowuje przeglądarkę na to, że element będzie przewijany */
    will-change: scroll-position, transform !important;
    
    /* 3. Dodatkowa warstwa gładkości */
    scroll-behavior: smooth !important;
}

/* ==========================================
   NOWOCZESNY FORMULARZ KONTAKTOWY D&P
   ========================================== */

#contactForm {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dwie kolumny na desktopie */
    gap: 30px;
    padding: 20px;
}

/* Pola na pełną szerokość (Wiadomość i Przycisk) */
#contactForm .input-group:nth-child(5),
#contactForm .input-group:nth-child(6),
#contactForm button {
    grid-column: span 2;
}

.input-group {
    position: relative;
    margin-bottom: 10px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.7rem;
    color: var(--accent-gold, #d4af37);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Styl dla wszystkich wejść tekstowych, tel i email */
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"],
#contactForm input[type="date"],
#contactForm textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: #f5f5f5;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    padding: 12px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
}

/* Efekt skupienia (Focus) - Złota linia */
#contactForm input:focus,
#contactForm textarea:focus {
    border-bottom-color: var(--accent-gold, #d4af37);
    padding-left: 10px; /* Delikatne przesunięcie tekstu */
}

/* SPECJALNE STYLOWANIE DATY (Dark Mode Fix) */
#contactForm input[type="date"] {
    color-scheme: dark; /* Wymusza ciemny wygląd kalendarza w przeglądarce */
    cursor: pointer;
}

/* Dostosowanie ikonki kalendarza */
#contactForm input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(70%) sepia(50%) saturate(500%) hue-rotate(10deg); /* Złoty odcień ikonki */
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

#contactForm input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Styl wiadomości */
#contactForm textarea {
    min-height: 120px;
    border: 1px solid #333;
    padding: 15px;
    margin-top: 10px;
}

/* Przycisk Wyślij */
#contactForm .btn-gold {
    background: transparent;
    border: 1px solid var(--accent-gold, #d4af37);
    color: var(--accent-gold, #d4af37);
    padding: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s ease;
    margin-top: 20px;
}

#contactForm .btn-gold:hover {
    background: var(--accent-gold, #d4af37);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* RESPONSYWNOŚĆ - Na telefonach jedna kolumna */
@media (max-width: 768px) {
    #contactForm {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    #contactForm .input-group:nth-child(5),
    #contactForm .input-group:nth-child(6),
    #contactForm button {
        grid-column: span 1;
    }
    
    .input-group label {
        font-size: 0.6rem;
    }
}

/* ==========================================
   SEKCJA OPINIE - NOWY WYGLĄD + NATIVE SCROLL
   ========================================== */

/* 1. Główny kafelek - Twój projekt + fizyka karuzeli */
.review-card { 
    /* Zamiast klasycznego gridu, wymuszamy sztywną szerokość dla przewijania w poziomie */
    flex: 0 0 340px !important; 
    margin: 0 15px;
    
    /* Twój wygląd */
    background: #0c0c0c; 
    border: 1px solid #1a1a1a; 
    padding: 30px; 
    border-radius: 4px; 
    position: relative; 
    text-align: left;
    
    /* KLUCZOWE: Fizyka magnesu dla palca na telefonie */
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    
    /* Nadpisujemy zachowania z kafelków cennika (wyłączamy przezroczystość i skalowanie) */
    transform: none !important;
    opacity: 1 !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
}

/* 2. Twój efekt najechania myszką (Hover) */
.review-card:hover { 
    border-color: #333 !important; 
    transform: translateY(-5px) !important; 
}

/* 3. Wyłączamy efekt centralnego "powiększania", który pozostał ze skryptu cennika */
.review-card.center {
    transform: none !important; 
    border-color: #1a1a1a !important; 
}
.review-card.center:hover {
    border-color: #333 !important; 
    transform: translateY(-5px) !important;
}

/* 4. Twoja typografia i kolory */
.review-stars { color: #d4af37; font-size: 1.1rem; margin-bottom: 10px; }
.review-author { font-weight: 400; margin-bottom: 10px; font-family: var(--font-h, 'Playfair Display', serif); color: #d4af37; font-size: 1.3rem; }
.review-content { font-size: 0.9rem; color: #aaa; line-height: 1.8; font-style: italic; }

/* 5. Twój zweryfikowany znaczek */
.verified-badge { 
    position: absolute; top: 20px; right: 20px; 
    background: rgba(46,204,113,0.05); color: #2ecc71; 
    padding: 5px 12px; font-size: 0.6rem; text-transform: uppercase; 
    letter-spacing: 1px; border: 1px solid #2ecc71; border-radius: 20px;
    font-weight: 600;
}

/* 6. Optymalizacja szerokości na ekrany telefonów */
@media (max-width: 768px) {
    .review-card { 
        flex: 0 0 280px !important; /* Nieco węższe karty, by ładnie leżały na małym ekranie */
        margin: 0 10px; 
        padding: 25px 20px;
    }
    .review-card:hover {
        transform: none !important; /* Na dotyku wyłączamy podskakiwanie karty, bo palec to nie kursor */
    }
}
/* ==========================================
   SEKCJA BEZPOŚREDNIEGO KONTAKTU
   ========================================== */
.direct-contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 200px;
}

.contact-icon {
    font-size: 1.8rem;
    margin-bottom: 5px;
    filter: grayscale(100%) brightness(150%); /* Stonowanie emoji, żeby pasowały do czerni */
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: translateY(-5px);
}

.contact-item strong {
    color: var(--accent-gold, #d4af37);
    font-family: var(--font-h, 'Playfair Display', serif);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.contact-item a {
    color: var(--text-muted, #a0a0a0);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #fff;
}

/* Responsywność dla telefonów */
@media (max-width: 768px) {
    .direct-contact-info {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
        padding-top: 30px;
    }
}

