@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&family=Playfair+Display:wght@700&display=swap');

:root {
    --accent-wood: #b38b4d; 
    --bg-black: #050505;
    --text-white: #ffffff;
    --text-dim: #999999;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg-black); color: var(--text-white); font-family: 'Montserrat', sans-serif; }

/* --- TWOJA NAWIGACJA Z INDEX.HTML --- */
nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 25px 5%; background: rgba(0, 0, 0, 0.95);
    position: fixed; top: 0; width: 100%; z-index: 1000;
    border-bottom: 1px solid rgba(179, 139, 77, 0.2);
}

.logo {
    color: var(--text-white); text-decoration: none; font-family: 'Playfair Display', serif;
    font-size: 24px; font-weight: 900; letter-spacing: 4px; text-transform: uppercase;
}

.nav-links { display: flex; gap: 30px; align-items: center; }

.nav-links a {
    color: var(--text-white); text-decoration: none; text-transform: uppercase;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: var(--accent-wood); }

.login-btn {
    border: 1px solid var(--accent-wood); padding: 8px 18px;
    color: var(--accent-wood) !important;
}

/* --- SEKCJA HERO (DLA INDEX.HTML) --- */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 20px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero.jpg') center/cover;
}
.hero h1 { font-size: clamp(30px, 8vw, 60px); text-transform: uppercase; margin: 20px 0; }

/* --- SIATKA PRODUKTÓW (DLA PRODUKTY.HTML) --- */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; padding: 150px 5% 60px; max-width: 1400px; margin: 0 auto;
}
.product-card { background: #0a0a0a; border: 1px solid #1a1a1a; padding: 20px; transition: 0.3s; }
.product-card img { width: 100%; height: 300px; object-fit: cover; margin-bottom: 20px; }

/* --- STOPKA [cite: 2026-02-22] --- */
footer { padding: 60px 5%; border-top: 1px solid #1a1a1a; text-align: center; background: #000; }
.footer-content { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.footer-box h4 { color: var(--accent-wood); text-transform: uppercase; margin-bottom: 15px; }
/* Kontener na zdjęcie w karcie produktu */
.image-container {
    position: relative;
    width: 100%;
    height: 400px; /* Stała wysokość dla porządku */
    background: #000; /* Czarne tło dla zdjęć o innych proporcjach */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Gwarantuje, że zobaczysz CAŁE zdjęcie bez ucinania */
    transition: opacity 0.3s ease;
}

/* Strzałki do przełączania */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 5;
    transition: 0.3s;
}

.arrow:hover { background: var(--accent-gold); color: #000; }
.arrow-left { left: 10px; }
.arrow-right { right: 10px; }

/* Kropki na dole zdjęcia informujące o ilości zdjęć */
.dots-container {
    position: absolute;
    bottom: 10px;
    display: flex;
    gap: 5px;
}
.dot { width: 8px; height: 8px; background: rgba(255,255,255,0.3); border-radius: 50%; }
.dot.active { background: var(--accent-gold); }
/* Kontener na zdjęcie - określa stałą wysokość, żeby nie trzeba było przewijać */
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Stała wysokość - dopasuj ją pod swój gust */
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Zdjęcie jest całe, nie rozciąga się i nie ucina */
    display: block;
}

/* Strzałki - teraz idealnie na środku wysokości zdjęcia */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* To centruje strzałkę idealnie w pionie */
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Okrągłe, luksusowe strzałki */
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
}

.nav-arrow:hover {
    background: var(--accent-gold);
    color: #000;
}

.nav-arrow.left { left: 15px; }
.nav-arrow.right { right: 15px; }

/* Kropki informujące o ilości zdjęć */
.image-dots {
    position: absolute;
    bottom: 15px;
    display: flex;
    gap: 8px;
}
.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: 0.3s;
}
.dot.active { background: var(--accent-gold); width: 20px; border-radius: 10px; }
