/* --- ZMIENNE GLOBALNE --- */
:root {
    --navy: #0a192f;        /* Ciemny granat (Luxury Dark) */
    --gold: #d4af37;        /* Klasyczne złoto */
    --gold-grad: linear-gradient(45deg, #d4af37, #f2d06b, #d4af37);
    --text-main: #2c3e50;
    --text-muted: #64748b;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --shadow: 0 15px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 25px 50px rgba(10, 25, 47, 0.1);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-head: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

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

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

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-logo {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--navy);
    display: block;
    margin-bottom: 10px;
}

.loader-line {
    width: 0;
    height: 2px;
    background: var(--gold);
    animation: loadLine 1.5s ease-in-out forwards;
    margin: 0 auto;
}

@keyframes loadLine { to { width: 100%; } }

/* --- NAWIGACJA --- */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--navy);
    letter-spacing: 1px;
}

.logo .gold {
    color: var(--gold);
    font-weight: 400;
}

.menu { display: flex; list-style: none; gap: 30px; align-items: center; }
.menu a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: 0.9rem; transition: 0.3s; }
.menu a:hover { color: var(--gold); }

.btn-gold {
    padding: 10px 25px;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    border-radius: 0; /* Ostry, elegancki przycisk */
    transition: 0.3s;
}

.btn-gold:hover { background: var(--gold); color: #fff !important; }

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 20px; }

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-title {
    font-family: var(--font-head);
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 30px;
}

.text-gradient {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
}

.hero-actions .btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    transition: 0.3s;
}

.hero-actions .btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--navy);
    color: var(--navy);
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover { background: var(--gold); transform: translateY(-3px); }
.btn-secondary:hover { background: var(--navy); color: #fff; }

/* Scroll Mouse */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
}
.mouse {
    width: 26px; height: 40px; border: 2px solid var(--navy); border-radius: 20px; position: relative;
}
.wheel {
    width: 4px; height: 4px; background: var(--navy); border-radius: 50%; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}
@keyframes scrollWheel { 0% {top: 8px; opacity:1;} 100% {top: 25px; opacity:0;} }

/* --- SECTIONS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 120px 0; }
.bg-light { background: var(--light-bg); }
.bg-white { background: var(--white); }

.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-family: var(--font-head); font-size: 3rem; color: var(--navy); }
.section-header p { color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-top: 10px; font-size: 0.9rem; }

.section-title { font-family: var(--font-head); font-size: 2.5rem; color: var(--navy); }
.section-subtitle { max-width: 700px; margin: 30px auto 0; font-size: 1.1rem; color: var(--text-muted); }
.divider { width: 80px; height: 2px; background: var(--gold); margin: 20px auto; }
.text-center { text-align: center; }

/* --- GRID CARDS --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.card {
    background: var(--white);
    padding: 50px 40px;
    border: 1px solid #eee;
    transition: all 0.5s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

/* Gold border on hover */
.card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 3px; background: var(--gold); transition: 0.5s;
}
.card:hover::after { width: 100%; }

.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }

.icon-circle {
    width: 60px; height: 60px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--navy);
    transition: 0.5s;
}

.card:hover .icon-circle { background: var(--navy); color: var(--gold); }

.category {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); border: 1px solid #eee; padding: 5px 10px; border-radius: 20px;
}

.card h3 {
    font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 15px; color: var(--navy);
}

.card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 30px; flex-grow: 1; }

.details-link {
    text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.9rem; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px;
}
.details-link:hover { color: var(--gold); gap: 15px; }

/* --- FOOTER --- */
footer { background: var(--navy); color: #fff; padding: 80px 0 30px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 50px; }

.footer-brand h3 { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 10px; }
.footer-brand p { color: rgba(255,255,255,0.5); }

.footer-links h4 { color: var(--gold); margin-bottom: 20px; font-family: var(--font-head); font-size: 1.2rem; }
.footer-links p, .footer-links a { color: rgba(255,255,255,0.7); display: block; margin-bottom: 10px; text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--white); }

.footer-bottom { text-align: center; color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* --- ANIMACJE CSS --- */
.reveal, .reveal-up { opacity: 0; transform: translateY(40px); transition: all 1s var(--ease); }
.reveal.active, .reveal-up.active { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .menu { display: none; }
    .nav-flex { justify-content: center; }
    .card { padding: 30px; }
}