/* ================================
   GLASSALU PRO – REFINED ARCHITECTURAL STYLE
   ================================ */

:root {
    --bg: #ffffff;
    --panel: #fcfcfc;
    --accent: #1a202c;
    /* Antracytowy */
    --primary: #c5a059;
    /* Satynowe złoto */
    --text: #2d3748;
    --muted: #718096;
    --line: #edf2f7;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --gap: 32px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
}

/* === NAVIGATION === */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--line);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: var(--accent);
}

.menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.menu a {
    text-decoration: none;
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.menu a:hover:not(.whatsapp-btn) {
    color: var(--primary);
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #128C7E;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600 !important;
}

.whatsapp-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* === HERO === */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(26, 32, 44, 0.8), rgba(26, 32, 44, 0.8)), url('IMAGES/HERO1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 32px;
    opacity: 0.9;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 16px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn:hover {
    background: #b38f4d;
    transform: translateY(-2px);
}

/* === SECTIONS === */
section {
    padding: 1em 0;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.light-bg {
    background-color: var(--panel);
}

.text-center {
    text-align: center;
    margin-bottom: 56px;
}

h2 {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 16px;
}

/* === CARDS & GRID === */

.card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--line);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card h3 {
    margin-top: 0;
    font-size: 20px;
    color: var(--accent);
}

.card ul {
    padding: 0;
    list-style: none;
    margin-top: 24px;
}

.card li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

/* === DOKUMENTACJA === */
.docs-highlight {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 64px 32px;
    border-radius: 16px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--gap);
    margin-top: 48px;
}

.docs-item {
    background: white;
    padding: 32px;
    border-left: 3px solid var(--primary);
}

.docs-item h3 {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 12px;
}

/* === FOOTER === */
footer {
    background: var(--accent);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0;
}

footer b {
    color: white;
    display: block;
    margin-bottom: 20px;
}

.footer-col .whatsapp-btn {
    margin-top: 20px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .menu {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 32px;
    }
}

/* 1. USTAWIENIA OGÓLNE */
body {
    font-family: 'IBM+Plex+Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 1em;
}

/* 2. NAGŁÓWKI - TERAZ SPÓJNE I WYCENTROWANE */
h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #f1c40f;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 3. HERO SLIDER (ZOSTAJE JAK BYŁO, BO DZIAŁA) */
.hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.hero .wrap {
    position: relative;
    z-index: 10;
    color: white;
    text-align: center;
}

/* 4. SIATKA KART (OFERTA I DLACZEGO MY) */
/* Ujednolicenie: 3 kolumny na dużych ekranach, 1 na telefonach */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--gap);
    margin-top: 20px;
}

.grid-250 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: var(--gap);
    margin-top: 20px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #f1c40f;
    /* Ujednolicony pasek u góry */
}

.card:hover {
    transform: translateY(-5px);
}

.card ul {
    padding-left: 20px;
    margin: 0;
}

.card ul li {
    margin-bottom: 8px;
}

/* 5. MOŻLIWOŚCI I SYSTEMY (ZDJĘCIA) */
.mozliwosci-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--gap);
    margin-top: 30px;
}

.mozliwosc-item {
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    transition: var(--transition);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-content: space-around;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.mozliwosc-item img {
    width: 100%;
    max-width: 20em;
    min-height: 150px;
    object-fit: cover;
    display: block;
}

.mozliwosc-item h3 {
    padding: 15px;
    margin: 0;
    font-size: 1.1rem;
    background: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.mozliwosc-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* 6. STOPKA */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0;
}

footer .wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-top: 0;
    padding-bottom: 0;
}

.footer-col b {
    display: block;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #f1c40f;
}

/* PRZYCISK */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: #f1c40f;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #d4ac0d;
}