/* ===== Variables (Premium Theme) ===== */
:root {
    --primary: #c5a059; /* Champagne Gold */
    --primary-hover: #b08d4a;
    --dark: #1a1a1a;
    --dark-light: #333333;
    --gray: #888888;
    --bg: #ffffff;
    --bg-alt: #fafafa;
    --border: #eeeeee;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-light);
    background: var(--bg);
    line-height: 1.8;
    padding-bottom: 90px;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 30px; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* ===== Typography ===== */
h1, h2, h3, .logo-name {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    font-weight: 400;
}

/* ===== Progress Bar ===== */
.progress-bar {
    position: fixed; top: 0; left: 0; height: 2px;
    background: var(--primary); width: 0%; z-index: 9999;
}

/* ===== Header ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    z-index: 1000; transition: var(--transition);
    padding: 20px 0;
}
.header.scrolled {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; flex-direction: column; }
.logo-name { font-size: 1.6rem; letter-spacing: 1px; }
.logo-tagline { font-size: 0.65rem; letter-spacing: 3px; color: var(--gray); text-transform: uppercase; margin-top: 2px; }

.nav-menu { display: flex; list-style: none; gap: 3rem; }
.nav-link {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--dark); position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 50%; width: 0; height: 1px;
    background: var(--primary); transition: var(--transition); transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--primary); }

/* ===== Mobile Menu ===== */
.menu-toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer;
}
.menu-toggle span { width: 25px; height: 1px; background: var(--dark); transition: var(--transition); }

/* ===== Hero ===== */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 30%;
}
@media (max-width: 768px) {
    .hero-bg {
        object-position: 65% 15%;
    }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}
.hero-content { position: relative; color: white; z-index: 2; padding: 0 20px; }
.hero-content h1 { color: white; font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 20px; font-style: italic; }
.hero-content p { font-size: 1.1rem; letter-spacing: 1px; font-weight: 300; opacity: 0.9; }

.hero-scroll-indicator {
    position: absolute; bottom: 35%; color: white; z-index: 2;
    animation: bounce 2s infinite; opacity: 0.7;
}

/* ===== Sections ===== */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 80px; }
.section-label {
    font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--primary); display: block; margin-bottom: 15px;
}
.section-title { font-size: 2.8rem; margin-bottom: 20px; }

/* ===== Services (Wycentrowane kafelki) ===== */
.services-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
}
.service-card {
    text-align: center; 
    padding: 40px 20px;
    border: 1px solid var(--border); 
    background: var(--bg);
    transition: var(--transition);
    flex: 1 1 240px;
    max-width: 280px;
}
.service-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.service-icon { color: var(--primary); width: 32px; height: 32px; margin-bottom: 20px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 15px; }
.service-card p { font-size: 0.9rem; color: var(--gray); }

/* ===== About (Wyjustowany tekst) ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image img { box-shadow: 20px 20px 0 -2px var(--bg), 20px 20px 0 0 var(--primary); }
.about-content p { margin-bottom: 20px; font-weight: 300; text-align: justify; text-justify: inter-word; }
.stats { display: flex; gap: 40px; margin-top: 40px; border-top: 1px solid var(--border); padding-top: 30px; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gray); margin-top: 5px; }

/* ===== Gallery (Grayscale Hover Effect & Lightbox) ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.gallery-item { overflow: hidden; background: #000; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%); opacity: 0.8; transition: var(--transition);
}
.gallery-item:hover img { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }

/* Lightbox Modal Styl */
.lightbox {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: var(--transition);
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img {
    max-width: 90%; max-height: 90vh; object-fit: contain;
    border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.95); transition: var(--transition);
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 30px; right: 40px;
    font-size: 3rem; color: white; cursor: pointer; transition: var(--transition);
    line-height: 1; font-weight: 300;
}
.lightbox-close:hover { color: var(--primary); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.contact-card {
    text-align: center; padding: 30px;
    display: flex; flex-direction: column; align-items: center;
}
.contact-icon { color: var(--primary); width: 24px; height: 24px; margin-bottom: 15px; }
.contact-card:hover { color: var(--primary); }

/* ===== Footer ===== */
.footer { padding: 40px 0; text-align: center; font-size: 0.8rem; color: var(--gray); letter-spacing: 1px; }

/* ===== Music Player (Glassmorphism) ===== */
.music-player {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 800px; z-index: 999;
}
.player-inner {
    background: rgba(26, 26, 26, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 50px;
    padding: 12px 30px; display: flex; justify-content: space-between; align-items: center;
    color: white; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.track-info { display: flex; flex-direction: column; font-size: 0.8rem; }
.track-title { font-weight: 500; color: var(--primary); }
.track-time { color: #aaa; font-size: 0.7rem; }

.player-controls { display: flex; align-items: center; gap: 15px; }
.player-btn {
    background: none; border: none; color: white; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.player-btn svg { width: 18px; height: 18px; }
.player-btn:hover { color: var(--primary); }
.player-btn-main {
    background: var(--primary); width: 36px; height: 36px; border-radius: 50%; color: var(--dark);
}
.player-btn-main:hover { background: white; color: var(--dark); }

.volume-control { display: flex; align-items: center; gap: 8px; border-left: 1px solid rgba(255,255,255,0.2); padding-left: 15px; margin-left: 5px; }
.vol-icon { width: 14px; height: 14px; color: #aaa; }
#volumeSlider { width: 60px; accent-color: var(--primary); height: 2px; }

.playlist-panel {
    display: none; position: absolute; bottom: calc(100% + 15px); left: 50%; transform: translateX(-50%);
    width: 300px; background: rgba(26, 26, 26, 0.95); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 10px 0;
}
.playlist-panel.active { display: block; }
.playlist-panel ul { list-style: none; }
.playlist-panel li {
    padding: 12px 20px; font-size: 0.85rem; color: #aaa; cursor: pointer; transition: var(--transition); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.playlist-panel li:last-child { border-bottom: none; }
.playlist-panel li:hover, .playlist-panel li.active { color: var(--primary); background: rgba(255,255,255,0.05); }

/* ===== Animations & Utilities ===== */
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 70px; left: 0; right: 0; background: var(--bg);
        flex-direction: column; padding: 30px; text-align: center;
        border-bottom: 1px solid var(--border); transform: translateY(-100%); opacity: 0; pointer-events: none; transition: var(--transition);
    }
    .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: all; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .player-inner { flex-direction: column; gap: 10px; border-radius: 20px; padding: 15px; }
    .volume-control { display: none; }
}

/* ===== Language Switcher ===== */
.lang-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-right: 20px;
}
.lang-btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 1rem; letter-spacing: 0.5px; font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    transition: var(--transition);
    opacity: 0.5;
}
.lang-btn:hover {
    opacity: 1;
    border-color: var(--border);
}
.lang-btn.active {
    opacity: 1;
    border-color: var(--primary);
    background: rgba(197, 160, 89, 0.1);
}
.header .container {
    gap: 10px;
}
@media (max-width: 768px) {
    .lang-switcher {
        margin-right: 10px;
    }
    .lang-btn {
        font-size: 1rem;
        padding: 2px 3px;
    }
}

.lang-btn img {
    display: inline-block;
    vertical-align: middle;
    border-radius: 2px;
    margin-right: 3px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}