/* --- FUNDAMENTY --- */
:root {
    --primary: #2c1e12;
    /* Głęboki brąz */
    --accent: #d4a373;
    /* Złoty/Drewno */
    --bg-light: #fefae0;
    /* Kremowy */
    --white: #ffffff;
    --text: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --section-light: #fefae0;
    --section-dark: #f3ead2;
    --section-darker: #e9dec6;

    --section-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-light);
    color: var(--text);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- NAWIGACJA --- */
.navbar {
    background: var(--primary);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent);
}

.links a {
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.links a:hover {
    color: var(--accent);
}

.cta {
    background: var(--accent);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 900;
    transition: var(--transition);
}

.cta:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* --- HERO --- */
.hero-premium {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.bg-image {
    background-image: url('img/tlo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;
}

.bg-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

    background: rgba(0, 0, 0, 0.5);
}

.bg-image>* {
    position: relative;
    z-index: 1;
}

.hero-inner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 20px;
}

.gold {
    color: var(--accent);
}

.btn-main {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 900;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-main:hover {
    background: var(--accent);
    color: var(--primary);
}

/* --- SEKCJE I GRID --- */
.section {
    padding: 100px 0;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-family: 'Playfair Display', serif;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* KARTY CECH */
.card-feature {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 5px solid var(--accent);
}

.card-feature i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.card-feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

/* KARTY OFERTY */
.card-offer {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.offer-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.card-offer:hover .offer-img {
    transform: scale(1.1);
}

.offer-body {
    padding: 30px;
}

.highlight-card {
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
}

.highlight-card i {
    font-size: 4rem;
    color: var(--accent);
    margin-top: 20px;
    display: block;
}

/* Zapewnia, że kontener zdjęcia ma odpowiednią wysokość */
.offer-img {
    height: 250px;
    /* Dostosuj wysokość do swoich potrzeb */
    overflow: hidden;
}

/* Sprawia, że obrazek zachowuje się jak background-size: cover */
.offer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    /* Zachowuje efekt zoom przy hover, jeśli go miałeś */
    display: block;
}

/* Efekt najechania (jeśli chcesz go zachować) */
.card-offer:hover .offer-img img {
    transform: scale(1.1);
}

/* O NAS */
.section-about {
    background: var(--primary);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
}

.faq-q {
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-a {
    max-height: 200px;
    opacity: 1;
    padding-top: 15px;
}

/* STOPKA */
.footer {
    background: var(--primary);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .links {
        display: none;
    }

    .hero-inner h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.section {
    padding: 100px 0;
    position: relative;
}

/* bazowy jasny */
.section-light {
    background: var(--section-light);
}

/* lekko przyciemniony */
.section-alt {
    background: var(--section-dark);
}

/* jeszcze ciemniejszy */
.section-deep {
    background: var(--section-darker);
}

/* delikatna separacja (premium feeling) */
.section-light,
.section-alt,
.section-deep {
    box-shadow: var(--section-shadow);
}
.section-light + .section-alt,
.section-alt + .section-light,
.section-light + .section-deep {
    border-top: 1px solid rgba(0,0,0,0.05);
}
.section-light::before,
.section-alt::before,
.section-deep::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 6px 6px;
    opacity: 0.4;
    pointer-events: none;
}