/*
Theme Name: LuxMare Theme
Theme URI: http://twojprojekt.online
Author: RoomHero
Author URI: http://twojprojekt.online
Description: Dedykowany, autorski motyw dla apartamentów LuxMare i Rezydencji Domysłów 3a.
Version: 1.0
Text Domain: luxmare
*/

/* ==========================================================================
   1. ZMIENNE GLOBALNE I RESET
   ========================================================================== */
:root {
    --oak: #B08D71;        /* Zaktualizowany jasny brąz/złoto */
    --oak-alt: #A27B5C;    /* Ciemniejszy brąz używany na str. głównej */
    --oak-hover: #9c7b61;
    --slate: #2C3639;      /* Ciemny grafit */
    --linen: #FBF9F5;      /* Jasne tło sekcji */
    --white: #FFFFFF;
    --bg-light: #FAFAFA;   /* Tło pastylek/elementów */
    --border: #EAEAEA;     /* Delikatne ramki */
    --text-grey: #666666;  /* Szary tekst w opisach */
    --success: #5b8c69;    /* Zielony z tarczy gwarancji */
    --gold: #D4AF37;       /* Złoty do gwiazdek w opiniach */
    --soft-shadow: 0 20px 40px rgba(0,0,0,0.06);
    --transition: all 0.3s ease;
    --transition-slow: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: #FFFFFF; color: var(--slate); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, .serif { font-family: 'Cormorant Garamond', serif; font-weight: 300; }

/* ==========================================================================
   2. NAWIGACJA I MENU MOBILNE (Wspólne)
   ========================================================================== */
nav {
    position: fixed; width: 100%; top: 0; height: 85px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 8%; z-index: 2000; background: var(--slate);
    transition: var(--transition);
}
/* Zmiana tutaj: tło zostaje ciemne, dodajemy tylko delikatny cień przy scrollowaniu */
nav.scrolled { background: var(--slate); height: 70px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }

.logo-img { height: 45px; width: auto; }
.logo-text { color: var(--white); text-decoration: none; transition: 0.3s; }

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.nav-links a:hover { color: var(--oak); }

.btn-nav { background: var(--oak); padding: 12px 30px; border-radius: 2px; color: #FFF; border: none; }
.btn-nav:hover { background: var(--oak-hover); color: #FFF; }

.hamburger { display: none; cursor: pointer; z-index: 2100; font-size: 1.5rem; color: #FFFFFF; }

.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: #FFFFFF; z-index: 2050; transition: 0.4s;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
}
.mobile-menu.active { right: 0; }
.mobile-menu a { font-size: 1.5rem; text-decoration: none; color: var(--slate); font-weight: 600; text-transform: uppercase; }
.close-menu { position: absolute; top: 30px; right: 8%; font-size: 2.5rem; cursor: pointer; }

/* Dolny pasek mobile (Podstrona domku) */
.bottom-bar {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 70px;
    background: var(--white); display: none; grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #eee; z-index: 1900;
}
.bar-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none; color: var(--slate); font-size: 0.7rem; font-weight: 700; gap: 5px;
}
.bar-item i { font-size: 1.2rem; color: var(--oak); }
.bar-item.main { background: var(--oak); color: white; }
.bar-item.main i { color: white; }

/* ==========================================================================
   3. ELEMENTY WSPÓLNE
   ========================================================================== */
.back-btn {
    display: inline-flex; width: fit-content; align-items: center; gap: 10px;
    color: var(--text-grey); text-decoration: none; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 25px; transition: var(--transition);
}
.back-btn:hover { color: var(--oak); transform: translateX(-5px); }
.hero-content .back-btn { color: #FFFFFF; }

.eyebrow { color: var(--oak); font-weight: 700; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 15px; }
.hero-content .eyebrow { background: var(--oak); padding: 5px 15px; display: inline-block; color: white; margin-bottom: 20px; }

.btn-luxe { background: var(--oak); color: white !important; padding: 20px 40px; text-decoration: none; font-weight: 800; display: inline-block; transition: 0.3s; text-transform: uppercase; letter-spacing: 2px; border: none; cursor: pointer; }
.btn-luxe:hover { transform: translateY(-5px); background: var(--white); color: var(--slate) !important; }

.btn-availability { background: var(--success); color: white !important; padding: 18px 35px; text-decoration: none; font-weight: 800; border-radius: 5px; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: 0.8rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 3000; display: none; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-content { position: relative; max-width: 90%; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 85vh; border-radius: 4px; box-shadow: 0 0 40px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 3rem; cursor: pointer; z-index: 3010; transition: 0.3s; }
.lightbox-close:hover { color: var(--oak); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 3.5rem; cursor: pointer; padding: 20px; z-index: 3010; user-select: none; transition: 0.3s; }
.lightbox-nav:hover { color: var(--oak); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-home { margin-top: 30px; display: inline-block; color: white; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; border-bottom: 2px solid var(--oak); padding-bottom: 5px; }

/* ==========================================================================
   4. STRONA GŁÓWNA (home.html)
   ========================================================================== */
.hero-main {
    position: relative; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; text-align: center;
}
.hero-slider { position: absolute; inset: 0; z-index: 1; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: crossfade 20s infinite; }
.slide:nth-child(1) { animation-delay: 0s; opacity: 1; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }
@keyframes crossfade { 0% { opacity: 0; transform: scale(1); } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; transform: scale(1.05); } 100% { opacity: 0; } }

.hero-main .hero-content { position: relative; z-index: 10; padding: 0 20px; max-width: 900px; }
.hero-main h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 0.9; margin-bottom: 20px; letter-spacing: -2px; }
.hero-main p.eyebrow-top { font-size: 0.9rem; letter-spacing: 6px; text-transform: uppercase; margin-bottom: 20px; display: block; }
.hero-main p.sub-hero { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.2rem, 3vw, 1.8rem); font-style: italic; opacity: 0.9; max-width: 600px; margin: 0 auto; }

.btn-hero { display: inline-block; margin-top: 40px; padding: 22px 50px; background: transparent; color: white; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; border: 1px solid rgba(255,255,255,0.8); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter: blur(5px); }
.btn-hero:hover { background: white; color: var(--slate); transform: translateY(-5px); }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 15; text-decoration: none; color: white; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: 0.3s; }
.scroll-text { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 4px; font-weight: 600; opacity: 0.8; }
.scroll-icon-wrap { width: 45px; height: 45px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.1); backdrop-filter: blur(2px); animation: pulse-scroll 2s infinite; }
.scroll-indicator:hover { opacity: 1; }
.scroll-indicator:hover .scroll-icon-wrap { background: var(--oak); border-color: var(--oak); }
@keyframes pulse-scroll { 0% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(255,255,255,0.4); } 70% { transform: translateY(10px); box-shadow: 0 0 0 15px rgba(255,255,255,0); } 100% { transform: translateY(0); } }

.collection-section { padding: 120px 8%; max-width: 1400px; margin: 0 auto; }
.property-card { display: flex; align-items: center; gap: 100px; margin-bottom: 150px; position: relative; }
.property-card.reverse { flex-direction: row-reverse; }
.property-img { flex: 1.4; position: relative; }
.property-img img { width: 100%; height: 600px; object-fit: cover; border-radius: 2px; box-shadow: var(--soft-shadow); }
.property-img::after { content: ""; position: absolute; top: -30px; left: -30px; width: 70%; height: 70%; background: var(--linen); z-index: -1; }
.property-card.reverse .property-img::after { left: auto; right: -30px; }
.property-info { flex: 1; padding: 40px; background: white; z-index: 5; margin-left: -80px; box-shadow: var(--soft-shadow); }
.property-card.reverse .property-info { margin-left: 0; margin-right: -80px; }
.property-info h2 { font-size: 3.8rem; margin-bottom: 25px; line-height: 1; }
.property-info p { font-size: 1.05rem; color: #555; margin-bottom: 30px; }

.btn-explore { display: inline-block; padding: 20px 45px; background: var(--slate); color: white; text-decoration: none; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: all 0.4s; font-size: 0.75rem; border: 1px solid var(--slate); }
.btn-explore:hover { background: transparent; color: var(--slate); transform: translateY(-5px); }
.btn-explore.oak { background: var(--oak); border-color: var(--oak); }
.btn-explore.oak:hover { background: transparent; color: var(--oak); }

.maps-section { padding: 120px 8%; background: var(--linen); }
.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 60px; }
.map-box { background: white; padding: 40px; border-radius: 0; box-shadow: var(--soft-shadow); transition: 0.4s; }
.map-box:hover { transform: translateY(-10px); }
.map-box h3 { font-size: 2.2rem; margin-bottom: 10px; color: var(--slate); }
.map-box p { color: var(--oak); font-weight: 600; margin-bottom: 25px; font-size: 0.9rem; }
.map-placeholder { width: 100%; height: 350px; background: #f0f0f0; border-radius: 0; overflow: hidden; filter: grayscale(1); transition: 0.6s; }
.map-box:hover .map-placeholder { filter: grayscale(0); }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

.faq-section { padding: 120px 8%; max-width: 1000px; margin: 0 auto; }
.faq-section h2 { font-size: 3.5rem; text-align: center; margin-bottom: 60px; }
details { border-bottom: 1px solid #ddd; padding: 30px 0; cursor: pointer; }
summary { font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; letter-spacing: -0.5px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--oak); transition: 0.3s; }
details[open] summary::after { transform: rotate(180deg); }
.faq-content { padding-top: 20px; font-size: 1rem; color: #666; max-width: 800px; line-height: 1.8; }

/* ==========================================================================
   5. PODSTRONA DOMKU (index.html)
   ========================================================================== */
.hero {
    height: 90vh; display: flex; align-items: center; position: relative;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.3)), url('domekdomyslow1.png') center/cover;
}
.hero-content { padding: 0 8%; color: var(--white); z-index: 10; max-width: 1100px; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 25px; font-weight: 600; }
.hero-content p { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 700px; font-weight: 400; margin-bottom: 30px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

.amenities-strip { background: var(--white); padding: 40px 8%; display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative; z-index: 20; }
.amenity-item { text-align: center; max-width: 120px; }
.amenity-item i { font-size: 1.8rem; color: var(--oak); margin-bottom: 12px; display: block; }
.amenity-item span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--slate); }

.intro-manifesto { padding: 80px 8%; text-align: center; max-width: 1000px; margin: 0 auto; }
.intro-manifesto p { font-size: 1.6rem; font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--slate); line-height: 1.6; }

.contrast-section { padding: 40px 8% 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1300px; margin: 0 auto; }
.contrast-box { padding: 50px; border-radius: 12px; border: 1px solid #eee; }
.contrast-box.v2 { background: var(--linen); border-color: var(--oak); position: relative; }
.contrast-box h3 { font-size: 1.8rem; margin-bottom: 30px; font-weight: 700; }
.contrast-box ul { list-style: none; }
.contrast-box li { margin-bottom: 20px; display: flex; gap: 15px; align-items: flex-start; }
.contrast-box i.fa-times { color: #e74c3c; margin-top: 5px; }
.contrast-box i.fa-check { color: var(--success); margin-top: 5px; }

.section-heading { text-align: center; padding: 80px 8% 20px; }
.section-heading h2 { font-size: 3.5rem; color: var(--slate); margin-bottom: 15px; }
.section-heading p { color: var(--oak); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; }

.scenario { padding: 60px 8% 100px; display: flex; align-items: center; gap: 80px; }
.scenario:nth-child(even) { flex-direction: row-reverse; background: var(--linen); }
.scenario-img { flex: 1; border-radius: 15px; overflow: hidden; height: 500px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.scenario-img img { width: 100%; height: 100%; object-fit: cover; }
.scenario-text { flex: 1; }
.scenario-text h2 { font-size: 3rem; margin-bottom: 25px; line-height: 1.1; }

.reviews-section { padding: 100px 8%; background: var(--slate); color: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1300px; margin: 50px auto; }
.review-card { background: rgba(255,255,255,0.05); padding: 40px; border-radius: 15px; border-top: 4px solid var(--oak); }
.review-card p { font-style: italic; margin-bottom: 20px; font-size: 0.95rem; line-height: 1.7; }
.review-author { font-weight: 700; color: var(--oak); font-size: 0.9rem; }
.review-author span { display: block; font-weight: 400; opacity: 0.6; color: var(--white); font-size: 0.8rem; }
.stars { color: var(--gold); margin-bottom: 15px; font-size: 0.8rem; }

.gallery-section { padding: 80px 8%; background: var(--linen); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; max-width: 1400px; margin: 0 auto; }
.gallery-item { position: relative; height: 250px; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--slate); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.25); display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.gallery-overlay i { color: white; font-size: 1.8rem; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { background: rgba(162, 123, 92, 0.4); }

.parent-faq { padding: 100px 8%; background: var(--white); }
.faq-container { max-width: 900px; margin: 0 auto; }
.parent-faq details summary::after { content: '+'; font-family: 'Montserrat', sans-serif; font-weight: 400; color: var(--oak); font-size: 1.8rem; }

/* ==========================================================================
   6. PODSTRONA APARTAMENTU (apartament.html)
   ========================================================================== */
.page-container { max-width: 1200px; margin: 140px auto 100px; padding: 0 20px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; }

.gallery-wrapper { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; margin-bottom: 15px; background: var(--bg-light); }
.gallery-main { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: var(--transition); }
.gallery-main:hover { opacity: 0.95; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 45px; height: 45px; background: rgba(255, 255, 255, 0.9); color: var(--slate); display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; z-index: 10; font-size: 1rem; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: var(--transition); }
.gallery-arrow:hover { background: var(--white); color: var(--oak); transform: translateY(-50%) scale(1.05); }
.gallery-arrow.prev { left: 15px; }
.gallery-arrow.next { right: 15px; }

.gallery-thumbs { display: flex; gap: 12px; margin-bottom: 50px; overflow-x: auto; padding-bottom: 10px; scroll-behavior: smooth; }
.gallery-thumbs::-webkit-scrollbar { height: 6px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }
.gallery-thumbs img { width: 140px; height: 95px; flex-shrink: 0; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: 0.5; transition: var(--transition); border: 2px solid transparent; }
.gallery-thumbs img:hover { opacity: 0.8; }
.gallery-thumbs img.active { opacity: 1; border-color: var(--oak); }

.title { font-size: 3.2rem; margin-bottom: 30px; line-height: 1.1; color: var(--slate); font-weight: 400; }
.badges { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.badge { background: var(--bg-light); padding: 10px 20px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 10px; color: var(--slate); }
.badge i { color: var(--oak); font-size: 1rem; }

.section-title { font-size: 0.85rem; font-weight: 700; color: var(--oak); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; margin-top: 50px; }
.section-title:first-of-type { margin-top: 0; }
.content-text { color: var(--text-grey); font-size: 1rem; line-height: 1.8; }
.content-text p { margin-bottom: 20px; }

.amenities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; }
.amenity { display: flex; align-items: flex-start; gap: 15px; font-size: 0.95rem; color: var(--text-grey); }
.amenity i { color: var(--oak); font-size: 1.1rem; margin-top: 4px; width: 20px; text-align: center; }

.sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 25px; align-self: start; }
.widget { border: 1px solid var(--border); border-radius: 8px; padding: 40px 30px; background: #FFFFFF; }
.widget-title { font-size: 0.75rem; font-weight: 600; color: #999; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 25px; }
.widget.center-content { text-align: center; }
.widget.left-content .widget-title { text-align: left; color: var(--oak); }

.price-value { font-family: 'Cormorant Garamond', serif; font-size: 3.8rem; color: var(--slate); line-height: 1; margin-bottom: 10px; font-weight: 400; }
.price-desc { font-size: 0.85rem; color: #999; margin-bottom: 35px; }
.btn-primary { display: block; width: 100%; background: var(--oak); color: #FFFFFF; text-align: center; padding: 18px; text-decoration: none; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; border-radius: 2px; transition: var(--transition); border: none; cursor: pointer; }
.btn-primary:hover { background: var(--oak-hover); }
.guarantee { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 20px; font-size: 0.8rem; color: var(--success); font-weight: 500; }

.rules-list { list-style: none; }
.rules-list li { margin-bottom: 18px; display: flex; align-items: center; gap: 15px; font-size: 0.95rem; color: var(--text-grey); }
.rules-list i { color: var(--oak); font-size: 1.1rem; width: 20px; text-align: center; }

.review-score { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; color: var(--oak); line-height: 1; margin-bottom: 20px; }
.review-quote { font-style: italic; color: var(--text-grey); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.review-author { font-weight: 700; font-size: 0.9rem; color: var(--slate); }

.map-wrapper { width: 100%; height: 400px; border-radius: 8px; overflow: hidden; margin-top: 20px; border: 1px solid var(--border); }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   7. STOPKA
   ========================================================================== */
footer { background: var(--slate); color: white; padding: 80px 8% 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 80px; max-width: 1400px; margin: 0 auto; }
.footer-logo h2 { font-size: 3rem; color: var(--white); margin-bottom: 25px; letter-spacing: -1px; }
.footer-links h4 { margin-bottom: 30px; text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; color: var(--oak); font-weight: 700; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; transition: 0.3s; font-size: 0.95rem; }
.footer-links a:hover { color: var(--oak); padding-left: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 80px; padding-top: 40px; text-align: center; font-size: 0.75rem; opacity: 0.4; letter-spacing: 1px; }

/* Inna wariacja stopki (używana na podstronach) */
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-content h3 { font-size: 2.2rem; color: var(--oak); margin-bottom: 20px; font-weight: 400; }
.footer-content h4 { margin-bottom: 15px; font-weight: 600; font-family: 'Montserrat', sans-serif; font-size: 0.9rem; letter-spacing: 1px; }


/* ==========================================================================
   8. MEDIA QUERIES (RWD)
   ========================================================================== */

/* --- Ekrany 1100px (Kolekcja na stronie głównej) --- */
@media (max-width: 1100px) {
    .collection-section { padding: 60px 5%; }
    .property-card, .property-card.reverse { flex-direction: column !important; gap: 0 !important; margin-bottom: 80px; }
    .property-img { width: 100%; flex: none; }
    .property-img img { height: 350px; border-radius: 4px 4px 0 0; }
    .property-img::after { display: none !important; }
    .property-info, .property-card.reverse .property-info { margin: 0 !important; width: 100% !important; padding: 30px 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important; border-radius: 0 0 4px 4px; }
    .property-info h2 { font-size: 2.8rem !important; margin-bottom: 15px !important; }
    .property-info div[style*="justify-content: space-between"] { flex-direction: column !important; align-items: center !important; text-align: center; gap: 15px !important; }
    .btn-explore { width: 100%; justify-content: center; }
    .maps-grid { grid-template-columns: 1fr; }
}

/* --- Ekrany 1024px (Tablety i Mobile Menu) --- */
@media (max-width: 1024px) {
    nav { height: 70px; }
    .hamburger { display: block; color: var(--white); }
    .nav-links { display: none; }
    
    .page-container { grid-template-columns: 1fr; margin-top: 110px; padding: 0 5%; gap: 40px; }
    .sidebar { position: static; }
    .gallery-wrapper { aspect-ratio: 4/3; }
    .gallery-thumbs img { width: 100px; }
    .title { font-size: 2.5rem; }
    .amenities-grid { grid-template-columns: 1fr; }
    
    .bottom-bar { display: grid; }
    .hero-content { padding-top: 100px; }
    .hero-content h1 { font-size: 2.1rem; line-height: 1.2; margin-bottom: 20px; }
    .hero-content p { font-size: 1.05rem; line-height: 1.5; color: rgba(255,255,255,0.95); text-shadow: 1px 1px 3px rgba(0,0,0,0.5); margin-bottom: 25px; }
    .btn-availability { display: none !important; }
    .btn-luxe { width: 100%; text-align: center; padding: 18px 20px; }
    
    .section-heading h2 { font-size: 2.2rem; }
    .scenario { flex-direction: column !important; gap: 30px; padding: 40px 8%; text-align: center; }
    .scenario-img { height: 300px; width: 100%; order: 1; }
    .scenario-text { order: 2; }
    .scenario-text h2 { font-size: 2.1rem; margin-top: 15px; }
    .reviews-section h2 { font-size: 2.1rem !important; }
    
    .intro-manifesto { padding: 50px 8%; }
    .intro-manifesto p { font-size: 1.3rem; }
    .contrast-section { grid-template-columns: 1fr; padding: 40px 5%; width: 100%; overflow: hidden; }
    .contrast-box { padding: 30px 20px; width: 100%; max-width: 100%; }
    .amenities-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding: 40px 10%; width: 100%; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .map-wrapper { height: 300px; }
}

/* --- Ekrany 768px (Stopka na Smartfonach) --- */
@media (max-width: 768px) {
    footer { padding: 60px 10% 30px; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-logo div { justify-content: center; }
    .footer-links h4 { margin-bottom: 20px; }
    .footer-links ul li { margin-bottom: 12px; }
    .footer-links p[style*="font-size: 1.4rem"] { font-size: 1.8rem !important; margin-top: 10px; }
}

/* --- USTAWIENIA DLA PRZEŁĄCZNIKA JĘZYKÓW --- */
.mobile-nav-controls {
    display: none; /* Domyślnie ukryte na komputerach */
    align-items: center;
    gap: 15px; /* Odstęp między flagami a hamburgerem */
}
.desktop-switcher {
    display: block; /* Widoczne na komputerach */
}

@media (max-width: 1024px) {
    /* ... twoje pozostałe style mobile ... */
    
    .logo-img { height: 32px; } /* Zmniejszamy logo, żeby zmieścić flagi i menu */
    
    .desktop-switcher { display: none !important; } /* Ukrywamy komputerowy przełącznik */
    
    .mobile-nav-controls {
        display: flex; /* Pokazujemy prawy panel z flagami i hamburgerem */
    }
    
    .hamburger { display: block; margin-left: 5px; } /* Hamburger wewnątrz nowego kontenera */
}

/* --- NOWY PRZYKLEJONY PASEK MOBILNY --- */
.sticky-bottom-bar {
    display: none; /* Domyślnie ukryty na komputerach */
}

@media (max-width: 1024px) {
    /* Robimy miejsce na dole strony, żeby pasek nie zasłaniał treści */
    body { padding-bottom: 70px; }
    
    .sticky-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        display: flex;
        z-index: 2900;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    }
    .bar-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: white !important;
    }
    .bar-btn.dark { background: var(--slate); }
    .bar-btn.oak { background: var(--oak); }
    
    .bar-btn .small-text {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        opacity: 0.7;
        margin-bottom: 2px;
    }
    .bar-btn .big-text {
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    /* Ukrywamy stary bottom-bar, jeśli gdzieś został w kodzie */
    .bottom-bar { display: none !important; }
}