/* --- PODSTAWOWE STYLE --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* --- NAGŁÓWEK / SLIDER --- */
.logo-slider {
    width: 100%;
    height: 28vh;
    min-height: 230px;
    position: relative;
    overflow: hidden;
    background-color: #222;
}

/* --- NOWE: IKONY SPOŁECZNOŚCIOWE W NAGŁÓWKU --- */
.header-socials {
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 20;
    display: flex;
    gap: 15px;
}

.social-btn {
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.social-btn img {
    width: 70px;
    height: auto;
    filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.8));
	background-color: transparent;
}

.social-btn:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.logo-slide {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.6);
}

.logo-slide.active { 
    opacity: 1; 
}

.logo-text {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: white;
    width: 95%;
}

.brand-wrapper-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 10px;
}

/* --- LOGO Z POPRAWIONĄ WIDOCZNOŚCIĄ --- */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.hero-logo-clean {
    height: 150px;
    width: auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
    mix-blend-mode: lighten; 
    filter: contrast(1.1) brightness(1.1) drop-shadow(0px 0px 12px rgba(0, 0, 0, 0.8));
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

/* --- NAPISY W HERO --- */
.main-title-compact {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

.subtitle-compact {
    font-size: 1.05rem;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9);
    opacity: 0.95;
}

/* --- SEKCJE --- */
.section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 35px;
    font-family: 'Montserrat', sans-serif;
}

.apartments-section .section-title {
    font-size: 2.2rem;
}

.contact-section .section-title {
    font-size: 2.2rem;
    color: white;
}

/* --- GALERIA APARTAMENTÓW --- */
.apartments-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.apartments-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.apartment-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.apartment-card:hover { 
    transform: translateY(-8px); 
}

.apartment-link { 
    text-decoration: none; 
    color: inherit; 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
}

.apartment-thumbnail img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.apartment-info { 
    padding: 20px; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}

.apartment-features {
    margin-top: auto; 
    padding-top: 15px;
}

.apartment-features span {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: bold;
}

/* --- KONTAKT --- */
.contact-section {
    background: #2c3e50;
    color: white;
    padding: 60px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info, .contact-form {
    text-align: left;
}

.form-group { 
    margin-bottom: 15px; 
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%; 
    padding: 12px; 
    border-radius: 5px; 
    border: none;
    font-family: inherit;
}

#submit-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s;
}

#submit-btn:hover {
    background: #c0392b;
}

/* --- STOPKA --- */
footer { 
    text-align: center; 
    padding: 30px; 
    background: #1a252f; 
    color: white; 
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
    .header-socials {
        top: 15px;
        right: 15px;
    }
    .social-btn img {
        width: 25px;
    }
    .logo-slider { 
        height: 45vh; 
    }
    .brand-wrapper-inline { 
        flex-direction: column; 
        gap: 15px; 
    }
    .main-title-compact { 
        font-size: 1.8rem; 
    }
    .hero-logo-clean { 
        height: 100px; 
    }
    .contact-container { 
        grid-template-columns: 1fr; 
    }
}