@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Reset i Ustawienia Globalne */
html {
    scroll-behavior: smooth;
    background-color: #131313;
    color: #e5e2e1;
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

body {
    background-color: #131313;
    color: #e5e2e1;
    overflow-x: hidden;
}

/* Typografia zdefiniowana w DESIGN.md */
.display-lg {
    font-family: 'Playfair Display', serif;
    font-size: 40px; /* Rozmiar domyślny na urządzenia mobilne */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .display-lg {
        font-size: 64px;
        line-height: 1.1;
    }
}

.headline-md {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
}

.body-lg {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

.body-md {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.label-caps {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Krawędzie o niskim kontraście (Glint Borders) */
.glint-border {
    border: 1px solid rgba(233, 193, 118, 0.15);
}

.glint-border-subtle {
    border: 1px solid rgba(229, 226, 225, 0.08);
}

/* Płynne przejścia */
.transition-custom {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Stylizacja nagłówka z efektem Glassmorphism */
header {
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

header.sticky-active {
    background-color: rgba(19, 19, 19, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(233, 193, 118, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Złota poświata przy najechaniu na przyciski (Interactive States) */
.btn-gold-glow {
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-gold-glow:hover {
    box-shadow: 0 0 20px rgba(233, 193, 118, 0.45);
    transform: translateY(-2px);
}

.btn-gold-outline {
    border: 1px solid #e9c176;
    color: #e9c176;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-gold-outline:hover {
    background-color: #e9c176;
    color: #131313;
    box-shadow: 0 0 15px rgba(233, 193, 118, 0.3);
    transform: translateY(-2px);
}

/* Pola tekstowe zgodne ze specyfikacją (#1A1A1A z przejściem krawędzi) */
.input-dark {
    background-color: #1a1a1a;
    border: 1px solid rgba(233, 193, 118, 0.15);
    color: #e5e2e1;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.input-dark:focus {
    outline: none;
    border-color: #e9c176;
    background-color: #201f1f;
    box-shadow: 0 0 8px rgba(233, 193, 118, 0.25);
}

/* Elementy galerii (Gallery Cards) */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-card img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-card-overlay {
    background: linear-gradient(to top, rgba(14, 14, 14, 0.95) 0%, rgba(14, 14, 14, 0.4) 70%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

/* Animacje wejścia (Intersection Observer) */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cienkie złote dzielniki (Gold Dividers) */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9c176, transparent);
    width: 100%;
}

/* Personalizacja paska przewijania (Scrollbar) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0e0e0e;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border: 2px solid #0e0e0e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e9c176;
}

/* Dedykowany styl dla linków nawigacyjnych */
.nav-link {
    position: relative;
    color: #b7b5b4;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #e9c176;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #e9c176;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
