:root {
    --primary-color: #2c3e50; 
    --accent-color: #1a5276; 
    --gold-accent: #c5a47e; 
    --bg-color: #fdfdfd; 
    --text-color: #333333;
    --light-gray: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; scroll-behavior: smooth; }

/* Nawigacja */
header { background-color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: fixed; width: 100%; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 50px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap;}
.logo { font-size: 24px; font-weight: bold; color: var(--primary-color); text-decoration: none; letter-spacing: 2px; }
.logo span { color: var(--gold-accent); }
.menu-toggle { display: none; font-size: 28px; cursor: pointer; color: var(--primary-color); user-select: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 15px; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--gold-accent); }

/* Przyciski */
.btn { display: inline-block; padding: 15px 30px; background-color: var(--primary-color); color: #fff; text-decoration: none; border-radius: 3px; font-weight: bold; transition: all 0.3s; border: 1px solid var(--primary-color); text-align: center; cursor: pointer; }
.btn:hover { background-color: var(--gold-accent); border-color: var(--gold-accent); }
.btn-outline { background-color: transparent; color: var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* Sekcje wspólne */
section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--primary-color); font-family: 'Georgia', serif; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: #666; margin-top: -30px; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Strona Główna - Hero */
#hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover; padding: 0 20px; margin-top: 60px; }
.hero-content h1 { font-size: 3.5rem; color: var(--primary-color); margin-bottom: 20px; font-family: 'Georgia', serif; }

/* Sekcja O Biurze (Nowa) */
.about-preview { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.about-preview-text { flex: 1; min-width: 300px; }
.about-preview-text h2 { font-size: 2.2rem; color: var(--primary-color); margin-bottom: 20px; font-family: 'Georgia', serif; }
.about-preview-image { flex: 1; min-width: 300px; height: 400px; background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover; border-radius: 5px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Sekcja Usług (Nowa) */
.services-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-box { background: #fff; padding: 40px 30px; border-radius: 5px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-bottom: 3px solid transparent; transition: 0.3s; }
.service-box:hover { border-bottom-color: var(--gold-accent); transform: translateY(-5px); }
.service-icon { font-size: 3rem; margin-bottom: 20px; }
.service-box h3 { color: var(--primary-color); margin-bottom: 15px; font-size: 1.4rem; }

/* Strona Główna - Kafelki ofert */
.properties-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.property-card { background: #fff; border-radius: 5px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: transform 0.3s; }
.property-card:hover { transform: translateY(-5px); }
.property-img { width: 100%; height: 200px; background-color: #eee; background-size: cover; background-position: center; }
.property-details { padding: 20px; }
.property-price { font-size: 1.4rem; color: var(--gold-accent); font-weight: bold; margin-bottom: 10px; }
.property-title { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 10px; }
.property-meta { display: flex; justify-content: space-between; color: #777; font-size: 0.9rem; border-top: 1px solid #eee; padding-top: 10px; margin-top: 10px; }

/* Sekcja Opinii (Nowa) */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: #fff; padding: 40px 30px; border-radius: 5px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); position: relative; }
.stars { color: var(--gold-accent); font-size: 1.2rem; margin-bottom: 15px; }
.testimonial-text { font-style: italic; color: #555; margin-bottom: 20px; }
.testimonial-author { font-weight: bold; color: var(--primary-color); text-align: right; border-top: 1px solid #eee; padding-top: 15px; }

/* Formularze */
.contact-container { display: flex; flex-wrap: wrap; gap: 40px; background: #fff; padding: 40px; border-radius: 5px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.contact-info { flex: 1; min-width: 300px; }
.contact-form { flex: 2; min-width: 300px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; color: var(--primary-color); font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold-accent); }

/* Podstrony - Układ */
.listing-hero { margin-top: 75px; height: 60vh; background-size: cover; background-position: center; position: relative; background-color: var(--light-gray); }
.listing-container { max-width: 1200px; margin: -50px auto 50px; padding: 0 20px; display: flex; gap: 40px; position: relative; z-index: 10; flex-wrap: wrap; }
.listing-main { flex: 2; min-width: 300px; background: #fff; padding: 40px; border-radius: 5px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.listing-main h1 { color: var(--primary-color); font-size: 2.5rem; margin-bottom: 10px; font-family: 'Georgia', serif; }
.listing-location { color: #777; font-size: 1.1rem; margin-bottom: 30px; }
.listing-description h3 { color: var(--primary-color); margin: 30px 0 15px; border-bottom: 2px solid var(--light-gray); padding-bottom: 10px; }
.listing-description p { margin-bottom: 15px; text-align: justify; }
.listing-description ul { margin-left: 20px; margin-bottom: 15px; }
.listing-sidebar { flex: 1; min-width: 300px; }
.sidebar-box { background: #fff; padding: 30px; border-radius: 5px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); margin-bottom: 30px; }
.listing-price { font-size: 2.5rem; color: var(--gold-accent); font-weight: bold; margin-bottom: 20px; text-align: center; }
.params-list { list-style: none; }
.params-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #eee; }
.params-list li:last-child { border-bottom: none; }
.params-list strong { color: var(--primary-color); }

/* Stopka */
footer { background-color: var(--primary-color); color: #fff; text-align: center; padding: 20px; width: 100%; margin-top: 50px; }

/* === WERSJA NA TABLETY === */
@media (max-width: 900px) {
    .listing-container { flex-direction: column; margin-top: 20px; }
    .hero-content h1 { font-size: 2.8rem; }
    .about-preview { flex-direction: column-reverse; }
}

/* === WERSJA NA TELEFONY MOBILNE === */
@media (max-width: 768px) {
    nav { padding: 15px 20px; }
    .menu-toggle { display: block; }
    .nav-links { display: none; width: 100%; flex-direction: column; text-align: center; background-color: #fff; padding: 10px 0; }
    .nav-links.active { display: flex; }
    .nav-links a { margin: 10px 0; font-size: 1.1rem; }
    section { padding: 60px 15px; }
    .section-title { font-size: 2rem; margin-bottom: 30px; }
    .hero-content h1 { font-size: 2rem; }
    .listing-hero { height: 40vh; margin-top: 60px; }
    .contact-container { padding: 20px; flex-direction: column; }
    .listing-main { padding: 20px; }
    .listing-main h1 { font-size: 1.8rem; }
}