/* =========================
   NUANCE LIVING MANAGEMENT
   ========================= */

:root{
    --navy:#081423;
    --gold:#C9A46A;
    --white:#ffffff;
    --light:#f7f7f5;
    --text:#5d6673;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#fff;
    color:#111;
    overflow-x:hidden;
    line-height:1.6;
}

/* =========================
   HEADER
   ========================= */

.header{

    position:absolute;
    top:0;
    left:0;
    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:28px 80px;

    z-index:1000;
}

.logo-text span{

    display:block;

    font-family:'Playfair Display',serif;

    color:white;

    font-size:34px;

    font-weight:700;

    letter-spacing:3px;
}

.logo-text small{

    display:block;

    color:var(--gold);

    font-size:11px;

    letter-spacing:4px;

    margin-top:4px;
}

nav{
    display:flex;
    gap:35px;
}

nav a{

    color:white;

    text-decoration:none;

    font-size:14px;

    letter-spacing:1px;

    transition:.3s;
}

nav a:hover{
    color:var(--gold);
}

.owner-btn{

    text-decoration:none;

    background:var(--gold);

    color:var(--navy);

    padding:14px 26px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;
}

.owner-btn:hover{

    transform:translateY(-2px);

    background:white;
}

/* =========================
   HERO
   ========================= */

.hero{

    position:relative;

    height:100vh;

    background:
    linear-gradient(
    rgba(8,20,35,.55),
    rgba(8,20,35,.65)),
    url("images/hero.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    padding:0 20px;
}

.hero-content{

    max-width:900px;

    animation:fadeUp 1.2s ease;
}

.hero h1{

    font-family:'Playfair Display',serif;

    color:white;

    font-size:82px;

    line-height:1.05;

    margin-bottom:24px;
}

.hero h2{

    color:var(--gold);

    font-size:22px;

    font-weight:400;

    margin-bottom:25px;
}

.hero p{

    color:white;

    font-size:19px;

    max-width:800px;

    margin:0 auto 40px;
}

.hero-buttons{

    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.gold-btn{

    background:var(--gold);

    color:var(--navy);

    text-decoration:none;

    padding:16px 34px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;
}

.gold-btn:hover{

    transform:translateY(-3px);

    background:white;
}

.outline-btn{

    border:1px solid white;

    color:white;

    text-decoration:none;

    padding:16px 34px;

    border-radius:50px;

    transition:.3s;
}

.outline-btn:hover{

    background:white;

    color:var(--navy);
}

/* =========================
   SECTIONS
   ========================= */

section{
    padding:110px 80px;
}

section h2{

    text-align:center;

    font-family:'Playfair Display',serif;

    font-size:48px;

    margin-bottom:60px;

    color:var(--navy);
}

/* =========================
   WHY NUANCE
   ========================= */

.why-nuance{

    background:var(--navy);
}

.why-nuance h2{
    color:white;
}

.why-grid{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;
}

.why-card{

    background:rgba(255,255,255,.05);

    padding:35px;

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    transition:.3s;
}

.why-card:hover{

    transform:translateY(-6px);

    border-color:var(--gold);
}

.why-card h3{

    color:white;

    margin-bottom:15px;
}

.why-card p{

    color:#c8d1dc;
}

/* =========================
   COMMUNITIES
   ========================= */

.community-grid{

    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;
}

.community-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;
}

.community-card:hover{

    transform:translateY(-8px);
}

.community-card img{

    width:100%;

    height:240px;

    object-fit:cover;
}

.community-card h3{

    padding:25px 25px 10px;

    color:var(--navy);
}

.community-card p{

    padding:0 25px 25px;

    color:var(--text);
}

/* =========================
   OWNER CENTER
   ========================= */

.owner-center{

    background:var(--navy);

    text-align:center;
}

.owner-center h2{

    color:white;

    max-width:900px;

    margin:0 auto 50px;
}

.features{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

    margin-bottom:50px;
}

.features span{

    background:rgba(255,255,255,.08);

    color:white;

    padding:14px 22px;

    border-radius:50px;

    border:1px solid rgba(255,255,255,.08);
}

/* =========================
   RENTAL
   ========================= */

.rental{

    background:var(--light);

    text-align:center;
}

.rental ul{

    list-style:none;

    max-width:700px;

    margin:auto;
}

.rental li{

    background:white;

    margin-bottom:15px;

    padding:20px;

    border-radius:12px;

    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

/* =========================
   FOOTER
   ========================= */

footer{

    background:var(--navy);

    color:white;

    text-align:center;

    padding:80px 20px;
}

footer h3{

    font-family:'Playfair Display',serif;

    margin-bottom:15px;
}

footer p{

    color:#c8d1dc;

    margin-bottom:8px;
}

/* =========================
   ANIMATION
   ========================= */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================
   MOBILE
   ========================= */

@media(max-width:1100px){

    .why-grid,
    .community-grid{

        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .header{

        flex-direction:column;

        gap:20px;

        padding:25px;
    }

    nav{

        flex-wrap:wrap;

        justify-content:center;
    }

    .hero h1{

        font-size:52px;
    }

    section{

        padding:80px 25px;
    }

    .why-grid,
    .community-grid{

        grid-template-columns:1fr;
    }

    section h2{

        font-size:36px;
    }
}