/* CSS Variables based on Brand Guidelines */
:root {
    --bg-base: #090B10;
    --bg-gradient: #101024;
    --brand-amber: #D8A05C;
    --brand-amber-hover: #F0B874;
    --text-cream: #F0E6D2;
    --text-white: #FFFFFF;
    --text-mist: #9AA0A6;
    --card-shadow: #233328;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Base Reset & Styling */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
    scroll-behavior: smooth; 
    font-family: var(--font-body);
    background: var(--bg-base);
    background: linear-gradient(135deg, var(--bg-base) 0%, var(--bg-gradient) 100%);
    color: var(--text-mist);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-cream); font-weight: 400; }
.text-white { color: var(--text-white); }
.text-amber { color: var(--brand-amber); }
.text-mist { color: var(--text-mist); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.inline-block { display: inline-block; }
.text-center { text-align: center; }
.text-lead { font-size: 1.1rem; color: var(--text-white); margin-bottom: 1.5rem; }
.text-small { font-size: 0.9rem; }
.link-amber { color: var(--brand-amber); text-decoration: none; transition: color 0.3s ease; }
.link-amber:hover, .hover-amber:hover { color: var(--brand-amber-hover); }

/* Layout Helpers */
.container { width: 92%; max-width: 1280px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
.relative { position: relative; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: 30px; font-weight: 400;
    text-decoration: none; transition: all 0.4s ease; cursor: pointer;
    border: 1px solid transparent; font-family: var(--font-body);
    letter-spacing: 0.5px;
}
.btn-amber { background: var(--brand-amber); color: var(--bg-base); }
.btn-amber:hover { background: var(--brand-amber-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(216, 160, 92, 0.2); }
.btn-outline { background: var(--glass-bg); border-color: var(--glass-border); color: var(--text-white); backdrop-filter: blur(5px); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--brand-amber); color: var(--brand-amber); transform: translateY(-3px); }
.btn-large { padding: 16px 36px; font-size: 1.1rem; }
.btn-small { padding: 8px 20px; font-size: 0.9rem; }
.btn-full { width: 100%; }
.arrow { margin-left: 8px; transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(5px); }

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
}
.glass-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(216, 160, 92, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(216, 160, 92, 0.05);
}

/* Ambient Glow Effects */
.ambient-glow {
    position: absolute; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(216,160,92,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%; pointer-events: none; z-index: -1;
}
.ambient-glow.right { top: 10%; right: -100px; }
.ambient-glow.left { top: 30%; left: -100px; }

/* Navigation */
.navbar { position: fixed; top: 20px; left: 0; right: 0; z-index: 1000; transition: transform 0.4s ease, top 0.4s ease; }
.nav-hidden { transform: translateY(-120%); }
.nav-glass {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 20px; background: rgba(9, 11, 16, 0.6);
    border: 1px solid var(--glass-border); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); border-radius: 40px;
}
.nav-logo { height: 35px; border-radius: 17px; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: var(--text-white); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--brand-amber); }

/* Hero Section */
.hero {
    position: relative; height: 100vh; min-height: 700px;
    /* FIX: Przywrócone tło nagłówka */
    background-image: url('../Images/header.webp');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    display: flex; align-items: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(9,11,16,0.9) 0%, rgba(9,11,16,0.4) 50%, rgba(9,11,16,0.1) 100%);
}
.hero-fade-bottom {
    position: absolute; bottom: 0; left: 0; right: 0; height: 300px;
    background: linear-gradient(to top, var(--bg-base) 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding-top: 60px; }
.hero-title { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-mist); margin-bottom: 2.5rem; max-width: 600px; }

/* Contact Page Specific Styles */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch; /* Make both columns equal height */
}
.info-block {
    margin-bottom: 30px;
}
.info-block h3 {
    color: var(--brand-amber);
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.hours-list {
    list-style: none;
    padding: 0;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-white);
}
.hours-list li:last-child {
    border-bottom: none;
}
.map-wrapper {
    height: 100%;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

/* Floating Info Bar */
.floating-info { margin-top: -60px; position: relative; z-index: 10; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 25px; border-radius: 20px; }
.info-col { display: flex; flex-direction: column; border-right: 1px solid var(--glass-border); padding: 0 20px; }
.info-col:last-child { border-right: none; }
.info-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-mist); margin-bottom: 5px; }
.info-value { font-size: 1.1rem; color: var(--text-white); font-weight: 400; }

/* Headers & Tags */
.section-tag {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    background: rgba(216,160,92,0.1); color: var(--brand-amber);
    font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px; border: 1px solid rgba(216,160,92,0.2);
}
.section-title { font-size: 3rem; margin-bottom: 3rem; }

/* Offer Cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.card-image-wrapper { position: relative; height: 240px; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.glass-card:hover .card-img { transform: scale(1.05); }
.card-gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-base) 0%, transparent 100%); }
.card-title { position: absolute; bottom: 20px; left: 25px; font-size: 1.8rem; z-index: 2; }
.card-content { padding: 25px; }
.card-content p { margin-bottom: 25px; min-height: 50px; }

/* Split Section (O nas) */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.benefits-list { display: grid; gap: 20px; }
.benefit-item { display: flex; gap: 15px; align-items: flex-start; }
.benefit-icon { color: var(--brand-amber); font-size: 1.4rem; margin-top: 2px; }
.rounded-img { width: 100%; border-radius: 12px; display: block; }
.shadow-amber { box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.p-2 { padding: 20px; }

/* Loyalty Banner */
.loyalty-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 50px; align-items: center; }
.loyalty-image-box { width: 100%; max-width: 100%; overflow: hidden; display: flex; justify-content: center; align-items: center;}
.loyalty-img { max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); transform: rotate(-2deg); transition: transform 0.4s; }
.loyalty-img:hover { transform: rotate(0); }

/* Carousels */
.carousel { 
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 10px; scrollbar-width: none; 
    cursor: grab;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standardowa właściwość */
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:active { cursor: grabbing; }
.carousel img { pointer-events: none; }
.carousel.is-dragging { scroll-snap-type: none; }

.brand-item { flex: 0 0 auto; width: 200px; height: 120px; background: rgba(255,255,255,0.02); display: flex; align-items: center; justify-content: center; border-radius: 12px; scroll-snap-align: start; border: 1px solid rgba(255,255,255,0.05); transition: background 0.3s; }
.brand-item:hover { background: rgba(255,255,255,0.05); }

/* Typografia dla tekstowych logotypów marek */
.brand-logo-text {
    color: var(--text-mist);
    text-align: center;
    padding: 0 10px;
    line-height: 1.1;
    transition: color 0.4s ease, transform 0.4s ease;
    display: inline-block;
}
.brand-item:hover .brand-logo-text {
    color: var(--brand-amber);
    transform: scale(1.08);
}
.logo-style-1 { font-family: var(--font-body); font-weight: 600; font-size: 1.3rem; letter-spacing: 2px; text-transform: uppercase; }
.logo-style-2 { font-family: var(--font-heading); font-weight: 600; font-style: italic; font-size: 1.5rem; letter-spacing: 1px; }
.logo-style-3 { font-family: var(--font-body); font-weight: 300; font-size: 1.1rem; letter-spacing: 4px; text-transform: uppercase; }

/* Gallery Items */
.gallery-item { flex: 0 0 auto; width: 320px; height: 220px; border-radius: 12px; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--glass-border); background: var(--bg-base); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { padding: 30px; }
.stars { color: var(--brand-amber); margin-bottom: 15px; font-size: 1.2rem; letter-spacing: 2px; }
.review-text { font-style: italic; margin-bottom: 20px; font-size: 1.05rem; }
.review-author { font-family: var(--font-heading); }

/* Footer */
.site-footer { border-top: 1px solid var(--glass-border); background: rgba(9,11,16,0.8); }
.footer-logo { max-width: 180px; }
.glass-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-white); text-decoration: none; transition: all 0.3s; }
.glass-icon:hover { background: var(--brand-amber); color: var(--bg-base); border-color: var(--brand-amber); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding: 20px 0; font-size: 0.85rem; }
.footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.legal-links a { color: var(--text-mist); text-decoration: none; margin: 0 10px; transition: color 0.3s; }
.legal-links a:hover { color: var(--brand-amber); }
.credits a { color: var(--brand-amber); text-decoration: none; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(150%); z-index: 9999; padding: 20px 30px; width: 90%; max-width: 600px; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Mobile Optimization */
@media (max-width: 992px) {
    .feature-split, .loyalty-banner, .contact-page-grid { grid-template-columns: 1fr; }
    .loyalty-banner { padding: 30px 20px; }
    .hero-title { font-size: 3.5rem; }
    .info-grid { grid-template-columns: 1fr; gap: 15px; }
    .info-col { border-right: none; border-bottom: 1px solid var(--glass-border); padding-bottom: 15px; padding-left: 0; }
    .info-col:last-child { border-bottom: none; padding-bottom: 0; }
    .map-wrapper { min-height: 400px; }
}
@media (max-width: 768px) {
    /* FIX: Top menu padding / margin */
    .navbar { padding: 0 12px; }
    .container.nav-glass { 
        width: 100%; 
        padding: 8px 12px; 
        border-radius: 20px; 
        justify-content: space-between;
        gap: 10px;
    }
    .nav-logo { height: auto; max-height: 24px; max-width: 130px; }
    .nav-links { display: none; } 
    .navbar .btn-amber { padding: 6px 12px; font-size: 0.75rem; white-space: nowrap; }

    .hero-title { font-size: 2.5rem; }
    .section-padding { padding: 60px 0; }
    
    .footer-bottom-flex { flex-direction: column; text-align: center; justify-content: center; }
    
    .loyalty-img { transform: rotate(0deg); }

    /* FIX: Cookie Banner */
    .cookie-banner { 
        width: calc(100% - 24px); 
        left: 12px; 
        transform: translateY(150%); 
        padding: 15px; 
        box-sizing: border-box;
    }
    .cookie-banner.show { transform: translateY(0); }
    .cookie-content { flex-direction: column; text-align: center; gap: 15px; }
    
    /* Wymuszenie załadowania pionowego zdjęcia nagłówka */
    .hero {
        background-image: url('../Images/header_mobile.webp');
        background-position: center center;
    }
}
@media (max-width: 480px) {
    .gallery-item { width: 260px; height: 180px; }
}
