/* ================================
   APARTMENTS PAGE LAYOUT
================================ */

.apartments-page {
    margin-left: 250px;
    width: calc(100% - 250px);
    background: #f4f5f7;
    min-height: 100vh;
}

.apartments-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ================================
   HERO
================================ */

.apartments-hero {
    height: 300px;
    background-image: url("https://www.ceyapt.com/wp-content/uploads/2026/02/roma1.jpg");
    background-size: cover;
    background-position: center;
    position: relative;

    width: 100vw;
    margin-left: -250px;
}

.apartments-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.apartments-hero h1 {
    color: white;
    font-family: 'CinzelCustom', serif;
    font-size: 3rem;
}

/* ================================
   INTRO
================================ */

.apartments-intro {
    text-align: center;
    padding: 40px 20px;
}

.apartments-intro p {
    font-family: 'AvenirLight', sans-serif;
    line-height: 1.7;
}

/* ================================
   APARTMENT CARDS
================================ */

.apartment-card {
    display: flex;
    gap: 28px;
    background: #e9e9e9;
    border-radius: 14px;
    margin-bottom: 36px;
    overflow: hidden;

    border: 1px solid #dedede;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);

    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.apartment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

/* IMAGE */

.apartment-card img {
    width: 340px;
    height: 220px;
    object-fit: cover;
}

/* INFO */

.apartment-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.apartment-info h3 {
    font-family: 'CinzelCustom', serif;
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: #B09E80;
}

.apartment-meta {
    font-family: 'AvenirLight', sans-serif;
    margin-bottom: 18px;
    color: #555;
}

/* BADGE */

.apartment-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #716551;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* BUTTON */

.btn-primary {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid #B09E80;
    background: #e9e9e9;
    color: #716551;
    font-family: 'CinzelCustom', serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: #716551;
    color: #e9e9e9;
}

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {
    .apartments-page {
        margin-left: 0;
        width: 100%;
    }

    .apartment-card {
        flex-direction: column;
    }

    .apartment-card img {
        width: 100%;
        height: 220px;
    }
}
