/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:#222;
    background:#faf8f5;
}

/* NAVBAR */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:8px 8%;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(12px);
    z-index:1000;
}

.logo img{
    height:100px;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:40px;
}

.nav-links a{
    text-decoration:none;
    color:#222;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:#d1a243;
}

/* HERO */

.hero{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    background:
    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
    url("images/living.jpg");

    background-size:cover;
    background-position:center;
    color:white;
}

.hero-content{
    max-width:800px;
    padding:20px;
}

.hero h1{
    font-family:'Cormorant Garamond',serif;
    font-size:72px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    padding:18px 40px;
    background:#d1a243;
    color:white;
    text-decoration:none;
    border-radius:50px;
    transition:.3s;
}

.btn:hover{
    background:#b7872d;
}

/* SECTIONS */

section{
    padding:100px 10%;
}

h2{
    text-align:center;
    font-family:'Cormorant Garamond',serif;
    font-size:52px;
    margin-bottom:35px;
}


/* MOBILE */

@media(max-width:768px){

    .hero h1{
        font-size:46px;
    }

    .navbar{
        flex-direction:column;
    }

    .nav-links{
        margin-top:15px;
        gap:18px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .logo img{
        height:80px;
    }

    .about{
        grid-template-columns:1fr;
    }

    .services-grid{
        grid-template-columns:1fr;
    }
    .portfolio-grid{
    grid-template-columns:1fr;
}
.contact-details{
    grid-template-columns:1fr;
}

}

/* ABOUT */

.about{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}
.about h2{
    font-family:"Cormorant Garamond",serif;
    font-size:72px;
    line-height:.9;
    font-weight:500;
    text-align:center;
    margin:0 0 40px;
}

.about h2 span{
    display:block;
    font-size:28px;
    color:#d6a83f;
    margin-bottom:10px;
}

.about h2 small{
    display:block;
    font-family:Inter,sans-serif;
    font-size:16px;
    letter-spacing:8px;
    color:#d6a83f;
    margin-top:14px;
}
.about p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:20px;
}

.about-image img{
    width:100%;
    border-radius:20px;
    display:block;
}
/* SERVICES */

.services{
    background:#f7f4ef;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:50px;
}

.service-card{
    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-8px);
}

.service-card h3{
    font-family:'Cormorant Garamond',serif;
    font-size:30px;
    margin-bottom:15px;
}

.service-card p{
    line-height:1.8;
    color:#555;
}
/* PORTFOLIO */

.portfolio{
    background:#ffffff;
}

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:50px;
}

.portfolio-item{
    background:white;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.portfolio-item:hover{
    transform:translateY(-8px);
}

.portfolio-item img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.portfolio-item h3{
    padding:20px;
    text-align:center;
    font-family:'Cormorant Garamond',serif;
    font-size:28px;
}
/* CONTACT */

.contact{
    background:#f8f6f2;
    text-align:center;
}

.contact-text{
    max-width:700px;
    margin:0 auto 50px;
    font-size:20px;
    line-height:1.8;
    color:#666;
}

.contact-details{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-bottom:50px;
}

.contact-details p{
    background:#fff;
    padding:35px;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    line-height:1.8;
}

.contact-details strong{
    color:#222;
    font-size:20px;
}
/* FOOTER */

.footer{
    background:#1f1f1f;
    color:#fff;
    text-align:center;
    padding:60px 20px;
}

.footer img{
    width:130px;
    height:auto;
    padding:8px;
    border-radius:10px;
    background:#ffffff;
    margin-bottom:20px;
}

.footer h3{
    font-family:'Cormorant Garamond', serif;
    font-size:36px;
    font-weight:500;
    margin-bottom:10px;
}

.footer p{
    color:#cfcfcf;
    margin:8px 0;
}

.copyright{
    margin-top:25px;
    font-size:14px;
    color:#888;
}
/* MOBILE RESPONSIVE DESIGN */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* ABOUT */

    .about {
        display: block;
        width: 100%;
        padding: 70px 25px;
        text-align: center;
    }

    .about h2 {
        font-size: 60px;
        line-height: 1;
        margin: 0 0 35px;
    }

    .about h2 span {
        display: block;
        font-size: 32px;
        margin-bottom: 5px;
    }

    .about h2 small {
        display: block;
        font-size: 18px;
        letter-spacing: 8px;
        margin-top: 10px;
    }

    .about p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .about-image img {
        width: 100%;
        margin-top: 35px;
    }

    /* SERVICES */

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    .service-card {
        width: 100%;
        min-width: 0;
    }

    .service-card h3 {
        font-size: 26px;
    }

    /* PORTFOLIO */

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
    }

    .portfolio-item {
        width: 100%;
        min-width: 0;
    }

    .portfolio-item img {
        width: 100%;
        height: auto;
    }

    .portfolio-item h3 {
        font-size: 26px;
        line-height: 1.15;
    }

    .portfolio h2 {
        font-size: 42px;
    }

    /* CONTACT */

    .contact-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-details p {
        padding: 20px;
    }

    .contact h2 {
        font-size: 45px;
    }

    /* HERO */

    .hero h1 {
        font-family: "Inter", sans-serif;
        font-size: 24px;
        font-weight: 300;
        white-space: nowrap;
        margin-bottom: 15px;
        letter-spacing: 0.2px;
    }

    .hero p {
        font-size: 12px;
        line-height: 1.5;
        max-width: 340px;
        margin: 0 auto 30px;
        letter-spacing: 0.5px;
        font-weight: 300;
    }

    .desktop-tagline {
        display: none;
    }

    .mobile-tagline {
        display: inline;
    }

}
/* MOBILE HEADER — REDUCE WHITE SPACE */

@media (max-width: 768px) {

    .navbar {
        padding: 15px 20px 12px !important;
    }

    .logo img {
        height: 68px !important;
        width: auto;
    }

    .nav-links {
        margin-top: 8px !important;
        gap: 18px;
    }

}
@media (min-width: 769px) {
    .hero h1 {
        font-size: 60px;
    }
}
/* Desktop hero title */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 54px;
        white-space: nowrap;
        margin-bottom: 20px;
    }
}
