/* --- ZMIENNE I PODSTAWA --- */
:root {
    --gold: #c5a059;
    --dark: #1a1a1a;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-image: url('images/leaves-overlay.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-attachment: fixed;
    background-color: #fff;
}

.container { 
    width: 90%; 
    max-width: 1100px; 
    margin: auto; 
    padding: 80px 0; 
}

.text-center { text-align: center; }

/* --- STYLIZACJA LINKÓW TEKSTOWYCH (Tel, Mail, Regulamin) --- */
/* Dodane style dla linków w treści i stopce */
a[href^="tel:"], 
a[href^="mailto:"],
.f-col a,
.footer-bottom a {
    color: inherit;
    text-decoration: none;
    display: inline-block; /* Wymagane do transformacji */
    transition: var(--transition);
    font-weight: 500;
}

a[href^="tel:"]:hover, 
a[href^="mailto:"]:hover,
.f-col a:hover,
.footer-bottom a:hover {
    color: var(--gold);
    transform: translateY(-2px); /* Efekt poruszenia się w górę */
}

/* --- NAWIGACJA --- */

.navbar { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: -10px 0;
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 70%; 
    margin: auto; 
}

.header-mini-logo { 
    height: 80px; 
    transition: var(--transition);
}

.nav-menu ul { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
    margin: 0;
}

.nav-menu a { 
    text-decoration: none; 
    color: #333; 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 13px; 
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
}

.nav-menu a:hover { 
    color: var(--gold); 
    transform: translateY(-2px); /* Efekt poruszenia w menu */
}

/* Styl dla przycisku hamburgera */
.menu-toggle {
    display: none; /* Ukryty na desktopie */
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    margin-left: auto;
}

.nav-menu {
    margin-left: auto;
}

.nav-menu ul { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
    margin: 0;
    padding: 0;
}

.nav-menu a { 
    text-decoration: none; 
    color: #333; 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 13px; 
    letter-spacing: 1px;
    transition: var(--transition);
    line-height: 60px; 
}

.nav-menu a:hover { 
    color: var(--gold); 
}

.navbar.scrolled .header-mini-logo {
    height: 70px;
    top: -5px;
}

/* --- HERO SECTION --- */
.hero {
    height: 80vh; 
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('images/hero-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    color: #fff;
    margin-top: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
}

.hero-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px; 
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    margin-bottom: 10px;
}

.hero-main-logo { 
    width: 500px; 
    max-width: 85%; 
    height: auto;
    display: block;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-style: italic;
    margin: 20px 0;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* --- PRZYCISKI --- */
.cta-button-gold {
    display: inline-block; 
    padding: 18px 45px; 
    background: var(--gold);
    color: #fff; 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 4px;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.cta-button-gold:hover {
    transform: translateY(-3px);
    background: #b08d4a;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.6);
}

.cta-button-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 20px;
}

.cta-button-outline:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

.btn-text {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    display: inline-block;
}

.btn-text:hover {
    border-bottom-color: var(--gold);
    transform: translateX(5px);
}

/* --- NAGŁÓWKI PODSTRON --- */
.subpage-header.parallax-bg {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/hero-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff;
    margin-top: 60px;
}

.subpage-header h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 50px; 
    letter-spacing: 4px; 
    text-transform: uppercase;
}

/* --- SEKCJE TEKSTOWE --- */
.section-title { 
    font-family: 'Playfair Display', serif; 
    font-size: 42px; 
    margin-bottom: 10px; 
    letter-spacing: 2px;
}

.subtitle { 
    font-family: 'Playfair Display', serif; 
    color: var(--gold); 
    font-size: 36px; 
    font-style: italic; 
    margin-bottom: 25px; 
}

.about-desc p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
    text-align: justify;
}

/* --- MOZAIKA --- */
.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1.1fr; 
    gap: 80px; 
    align-items: center; 
}

.gallery-mosaic-modern {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    position: relative;
}

.gallery-item {
    background: var(--white);
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.gallery-item:hover { transform: scale(1.02); }

.item-big { width: 65%; height: 550px; }
.item-small { 
    width: 45%; 
    height: 380px; 
    margin-left: -15%; 
    margin-bottom: -40px; 
    z-index: 2; 
}

.gallery-item img, .gallery-card img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}

/* --- PEŁNA SIATKA GALERII --- */
.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-card {
    height: 350px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    background: #fff;
    padding: 8px;
}

.gallery-card img { transition: transform 0.5s ease; }
.gallery-card:hover img { transform: scale(1.1); }
.gallery-card:hover { transform: translateY(-5px); }

/* --- OPINIE --- */
.testimonials-section {
    background: rgba(249, 249, 249, 0.7);
    padding: 100px 0;
    margin: 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stars {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 20px;
}

.author {
    display: block;
    margin-top: 20px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 1px;
}

/* --- USŁUGI & CENNIK --- */
.services-mini-grid { 
    display: flex; 
    gap: 30px; 
    margin: 50px 0; 
    justify-content: center; 
}

.service-card {
    background: #fff; 
    padding: 50px 30px; 
    border-radius: 4px; 
    width: 320px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); 
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover { 
    transform: translateY(-10px); 
    border-bottom-color: var(--gold);
}

.service-card i { 
    color: var(--gold); 
    font-size: 40px; 
    margin-bottom: 20px; 
}

.pricing-page-grid { 
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 80px; 
}

.price-row { 
    display: flex; 
    justify-content: space-between; 
    padding: 15px 0; 
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.category h3 {
    margin-top: 40px;
    border-left: 4px solid var(--gold);
    padding-left: 15px;
    font-size: 20px;
}

/* --- KONTAKT --- */
.contact-page-grid { 
    display: grid; 
    grid-template-columns: 1fr 1.5fr; 
    gap: 60px; 
}

.map-full { 
    border: 10px solid #fff; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
    width: 100%;
    min-height: 450px;
}

/* --- STOPKA --- */
.footer-gray {
    background-color: #f7f7f7;
    padding: 80px 0 30px 0;
    border-top: 1px solid #eee;
    color: #444;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo { height: 70px; margin-bottom: 25px; }

.f-col h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
}

.f-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.opening-hours { list-style: none; padding: 0; margin: 0; }
.opening-hours li {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.social-icons { display: flex; gap: 15px; margin-top: 30px; }
.social-icons a {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
}

/* --- RESPONSYWNOŚĆ --- */

@media (max-width: 992px) {
    .about-grid, .pricing-page-grid, .contact-page-grid { 
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    .gallery-mosaic-modern { justify-content: center; margin-top: 50px; }
    .item-big { height: 400px; }
    .item-small { height: 280px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 50px 0; }
    
    /* Naprawa nawigacji mobilnej */
    .menu-toggle {
        display: block; /* Pokazujemy hamburgera */
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        height: 0; /* Schowane domyślnie */
        overflow: hidden;
        transition: var(--transition);
        display: block;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    /* Klasa dodawana przez JS */
    .nav-menu.active {
        height: auto;
        padding: 20px 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu a {
        line-height: 40px;
        font-size: 16px;
    }

    .header-mini-logo {
        position: absolute; 
        height: 70px;
        top: -5px;
    }
    
    .hero {
        height: auto;
        padding: 100px 0 50px 0;
        margin-top: 0;
    }

    .hero-main-logo { width: 280px; }
    .subpage-header h1 { font-size: 28px; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .f-col h4::after { left: 50%; transform: translateX(-50%); }
    .social-icons { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .opening-hours li { justify-content: center; gap: 20px; }
    .services-mini-grid { flex-direction: column; align-items: center; }
}

@media (max-width: 576px) {
    .gallery-grid-full { grid-template-columns: 1fr; }
    .gallery-card { height: 300px; }
}