/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    scroll-margin-top: 90px;
}


/* =========================
   COLORS
========================= */

:root {
    --dark: #111111;
    --dark-gray: #222222;
    --gold: #c5a059;
    --light-gold: #e1c58a;
    --cream: #f8f6f1;
    --white: #ffffff;
    --gray: #666666;
}


/* =========================
   NAVIGATION
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    padding: 10px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(17, 17, 17, 0.96);
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.logo img {
    width: 145px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar nav a {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
}

.navbar nav a:hover {
    color: var(--light-gold);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}


/* =========================
   HERO SECTION
========================= */

.hero {
    min-height: 100vh;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("images/living-room-1.jpeg");

    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 120px 8% 80px;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
}

.subtitle,
.section-label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span,
h2 span {
    color: var(--gold);
}

.hero-content > p:not(.subtitle) {
    max-width: 540px;
    font-size: 17px;
    color: #eeeeee;
    margin-bottom: 35px;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.primary-btn {
    background: var(--gold);
    color: var(--white);
}

.primary-btn:hover {
    background: var(--light-gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.secondary-btn {
    border: 1px solid var(--white);
    color: var(--white);
    margin-left: 12px;
}

.secondary-btn:hover {
    background: var(--white);
    color: var(--dark);
}

.hero-buttons {
    display: flex;
    align-items: center;
}


/* =========================
   GENERAL SECTION
========================= */

.section {
    padding: 100px 8%;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-heading h2,
.about-content h2,
.contact-content h2,
.price-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-heading p:not(.section-label) {
    color: var(--gray);
}


/* =========================
   ABOUT
========================= */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    background: var(--cream);
}

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}

.about-content p:not(.section-label) {
    color: var(--gray);
    margin-bottom: 20px;
}


/* =========================
   APARTMENTS
========================= */

.apartments {
    background: var(--white);
}

.apartment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.apartment-card {
    background: var(--white);
    border: 1px solid #eeeeee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: 0.4s ease;
}

.apartment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.apartment-card > img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 25px;
    margin-bottom: 12px;
}

.card-content p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.price {
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-btn {
    display: inline-block;
    padding: 11px 20px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s ease;
}

.card-btn:hover {
    background: var(--gold);
    color: var(--white);
}


/* =========================
   PRICE SECTION
========================= */

.price-section {
    padding: 90px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    background: var(--dark);
    color: var(--white);
}

.price-content p:not(.section-label) {
    color: #cccccc;
    max-width: 500px;
}

.price-list {
    border-top: 1px solid #555555;
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid #555555;
}

.price-row strong {
    color: var(--gold);
    white-space: nowrap;
}


/* =========================
   AMENITIES
========================= */

.amenities {
    background: var(--cream);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.amenity {
    background: var(--white);
    padding: 35px 25px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease;
}

.amenity:hover {
    border-bottom-color: var(--gold);
    transform: translateY(-5px);
}

.icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.amenity h3 {
    margin-bottom: 10px;
}

.amenity p {
    color: var(--gray);
    font-size: 14px;
}


/* =========================
   GALLERY
========================= */

.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: 0.4s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    filter: brightness(0.85);
}


/* =========================
   CONTACT
========================= */

.contact {
    background:
        linear-gradient(
            rgba(17, 17, 17, 0.93),
            rgba(17, 17, 17, 0.93)
        ),
        url("images/living-room-2.jpeg");

    background-size: cover;
    background-position: center;
    color: var(--white);
}

.contact-content {
    max-width: 750px;
    margin: auto;
    text-align: center;
}

.contact-content > p:not(.section-label) {
    color: #cccccc;
    margin-bottom: 30px;
}

.contact-details {
    margin: 30px 0;
}

.contact-details p {
    margin: 12px 0;
}

.contact-details a {
    color: var(--gold);
    font-weight: 600;
}

.social-media,
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-media a,
.social-links a {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 20px;
    font-size: 13px;
    transition: 0.3s ease;
}

.social-media a:hover,
.social-links a:hover {
    background: var(--gold);
    color: var(--white);
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 45px 8%;
    background: #080808;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo img {
    width: 170px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
}

footer p {
    color: #aaaaaa;
    font-size: 13px;
    text-align: center;
}


/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1000px) {

    .navbar {
        padding: 10px 5%;
    }

    .navbar nav {
        gap: 18px;
    }

    .apartment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-section {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 768px) {

    .navbar {
        height: 75px;
    }

    .logo img {
        width: 125px;
        height: 55px;
    }

    .menu-btn {
        display: block;
    }

    .navbar nav {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 0;
        background: var(--dark);
        padding: 15px 0;
    }

    .navbar nav.active {
        display: flex;
    }

    .navbar nav a {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .hero {
        padding: 130px 7% 80px;
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .secondary-btn {
        margin-left: 0;
    }

    .section {
        padding: 75px 7%;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 400px;
    }

    .apartment-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid img {
        height: 250px;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

}


@media (max-width: 500px) {

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-heading h2,
    .about-content h2,
    .contact-content h2,
    .price-content h2 {
        font-size: 2.5rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 320px;
    }

    .price-row {
        flex-direction: column;
        gap: 5px;
    }

}