/* ==============================================
   APARTMENTS
   ============================================== */

/* =============================================
   BOOKING.CSS - Style rezerwacji i kalendarzy
   ============================================= */

/* === SEKCJA APARTAMENTÓW === */

html {
    scroll-behavior: smooth;
}

.editorial-section {
    padding: 8rem 5vw 4rem;
    background: white;
    position: relative;
}

/* Subtelne tło/tekstura w stylu "Modern Coastal" */
.editorial-section::before {
    content: "APARTAMENTY";
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-hull);
    font-size: 15vw;
    color: rgba(0,0,0,0.02);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}



/* === SIATKA APARTAMENTÓW === */

.apartments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Wyrównanie kart (usunięto przesunięcie) */
.apartments-grid > article:nth-child(2) {
    margin-top: 0;
}

/* === KARTY APARTAMENTÓW === */

.apt-card {
    position: relative;
    cursor: pointer;
}

.apt-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 650px;
    margin-bottom: 2rem;
}

.apt-card:hover .apt-image-wrapper::after {
    background: rgba(0,0,0,0);
}

.apt-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: grayscale(15%);
}

.apt-card:hover .apt-image {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.apt-content {
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

/* Ukryj watermarki w sekcji apartamentów */
.apt-content .bg-watermark {
    display: none;
}

/* === APARTMENT IMAGE OVERLAY === */
.apt-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 3rem 1.5rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

/* Stats row on apartment image */
.apt-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.apt-stat-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.apt-stat-item svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2.5;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.apt-stat-item span {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* === APT META TAGS === */
.apt-meta {
    font-family: var(--font-hull);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

/* Fix: SVG w apt-meta musi być inline, nie block (nadpisuje reset.css) */
.apt-meta span svg {
    display: inline;
    vertical-align: middle;
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    margin-right: 4px;
    vertical-align: -2px;
}

.apt-title {
    font-family: var(--font-hull);
    font-size: 3rem;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0 0 2rem;
    color: var(--storm-foam);
}

.apt-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 100%;
}



/* === AMENITY CARDS (Wyposażenie) === */
.amenity-card {
    margin-bottom: 0.8rem;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    overflow: hidden;
}

.amenity-card:last-of-type {
    margin-bottom: 2rem;
}

.amenity-card-inner {
    padding: 1rem 1.5rem;
}

.amenity-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.3rem 0.7rem;
}

.amenity-icon {
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
}

.amenity-icon svg {
    width: 2.2rem;
    height: 2.2rem;
    stroke: #1a1a1a;
    fill: none;
    stroke-width: 1.2;
}

.amenity-title {
    font-family: var(--font-hull);
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.amenity-desc {
    font-size: 0.95rem;
    color: #555;
}

/* Apt actions buttons row */
.apt-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}
