/* =========================================
   RUMAH DESAIN 2000
   Design • Build • Renovation • Interior
========================================= */

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#222;
    background:#fff;
    line-height:1.7;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* =========================================
   NAVBAR
========================================= */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:999;
    transition:.3s;
}

header.scrolled{
    background:#fff;
    box-shadow:0 5px 25px rgba(0,0,0,.08);
}
.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
    position:relative;
}


.logo{
    display:flex;
    align-items:center;
    gap:12px;
    color:#fff;
    font-size:24px;
    font-weight:700;
    letter-spacing:1px;
}

.logo img{
    width:42px;
    height:42px;
    object-fit:contain;
}

.logo{
    color:#fff;
    text-shadow:0 2px 6px rgba(0,0,0,.5);
}

header.scrolled .logo{
    color:#222;
    text-shadow:none;
}

header.scrolled .logo{
    color:#222;
}

nav{
    display:flex;
    align-items:center;
    gap:40px;
}

nav a{
    color:#fff;
    font-weight:500;
    text-shadow:0 2px 6px rgba(0,0,0,.5);
}

header.scrolled nav a{
    color:#222;
    text-shadow:none;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#C8A96A;
    transition:.3s;
}

nav a:hover::after{
    width:100%;
}
nav a{
    position:relative;
}
/* ===========================
   MOBILE NAVBAR
=========================== */

.menu-toggle{
    display:none;
    font-size:34px;
    color:#fff;
    cursor:pointer;
    user-select:none;
    line-height:1;
}

@media (max-width:768px){

    .menu-toggle{
        display:block;
        z-index:1001;
    }

    .nav{
        display:flex;
        justify-content:space-between;
        align-items:center;
        width:100%;
        height:70px;
    }

    nav{
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#fff;
        display:none;
        flex-direction:column;
        box-shadow:0 10px 25px rgba(0,0,0,.1);
    }

    nav.active{
        display:flex;
    }

    nav a{
        color:#222 !important;
        text-align:center;
        padding:16px;
        text-shadow:none;
    }

}

/* =========================================
   HERO
========================================= */

.hero{

    position:relative;

    height:100vh;

    background:
    linear-gradient(rgba(0,0,0,.45),
    rgba(0,0,0,.45)),
    url("assets/hero.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;

}

.overlay{
    display:none;
}

.hero-content{
    position:relative;
    color:white;
    max-width:700px;
}

.subtitle{
    letter-spacing:4px;
    font-size:14px;
    margin-bottom:25px;
}

.hero h1{
    font-size:70px;
    line-height:1.15;
    margin-bottom:25px;
    font-weight:700;
}

.description{
    max-width:550px;
    font-size:18px;
    margin-bottom:40px;
    color:#eee;
}

.hero-button{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn{

    background:#C8A96A;
    color:white;
    padding:16px 38px;
    border-radius:50px;
    transition:.3s;

}

.btn:hover{

    background:#B8944E;

}

.btn-outline{

    border:2px solid white;
    color:white;
    padding:16px 38px;
    border-radius:50px;
    transition:.3s;

}

.btn-outline:hover{

    background:white;
    color:#222;

}

/* =========================================
   SECTION
========================================= */

section{

    padding:120px 0;

}

section h2{

    font-size:42px;
    margin-bottom:60px;
    text-align:center;

}

/* =========================================
   SERVICES
========================================= */
/* SERVICES */

.services {
    padding: 80px 8%;
    background: #ffffff;
}


.section-title {
    text-align: center;
    max-width: 700px;
    margin: auto;
}


.section-title h2 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 15px;
}


.section-title p {
    color: #666;
    line-height: 1.7;
}



.service-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}



.service-box {
    text-align: center;
    padding: 35px 25px;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: 0.3s ease;
    background: white;
}



.service-box img {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
}



.service-box h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 15px;
}



.service-box p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}



.service-box:hover {
    transform: translateY(-8px);
    border-color: #C9A227;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
@media(max-width:900px){

    .service-container{
        grid-template-columns: repeat(2,1fr);
    }

}


@media(max-width:600px){

    .service-container{
        grid-template-columns:1fr;
    }

    .section-title h2{
        font-size:28px;
    }

}

/* =========================================
   PORTFOLIO
========================================= */

.portfolio-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}

.item{

    overflow:hidden;

}

.item img{

    aspect-ratio:4/5;
    object-fit:cover;
    transition:.4s;

}

.item:hover img{

    transform:scale(1.08);

}

.item h3{

    margin-top:20px;
    font-size:22px;

}

#instagram{

padding:80px 8%;
background:#fafafa;

}


.instagram-feed{

margin-top:40px;

}

/* =========================================
   ABOUT
========================================= */

#about{

    background:#f7f7f7;

}

#about p{

    max-width:800px;
    margin:auto;
    text-align:center;
    font-size:18px;
    color:#555;

}

/* =========================================
   CONTACT
========================================= */

#contact{

    text-align:center;

}

#contact h2{

    margin-bottom:25px;

}

#contact a{

    display:inline-block;
    margin-top:30px;
    background:#222;
    color:white;
    padding:18px 45px;
    border-radius:50px;
    transition:.3s;

}

#contact a:hover{

    background:#C8A96A;

}
/* ===== CONTACT FORM ===== */
#contact form {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  text-align: left;
}

#contact input,
#contact select,
#contact textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

#contact button {
  background-color: #25D366; /* hijau WhatsApp */
  color: #fff;
  border: none;
  padding: 14px;
  width: 100%;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#contact button:hover {
  background-color: #128C7E;
}

/* Responsif untuk HP */
@media (max-width: 480px) {
  #contact form {
    padding: 20px;
  }
  #contact input,
  #contact select,
  #contact textarea {
    font-size: 13px;
    padding: 10px;
  }
  #contact button {
    font-size: 14px;
    padding: 12px;
  }
}

/* =========================================
   FOOTER
========================================= */

footer{

    padding:40px;
    text-align:center;
    color:#777;
    border-top:1px solid #eee;

}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:900px){

.hero h1{

font-size:48px;

}

.portfolio-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media (max-width:768px){

    /* Navbar */

    .nav{
        display:flex;
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        height:70px;
        padding:0;
    }

    .logo img{
        width:36px;
        height:36px;
    }

    .logo span{
        font-size:18px;
    }

    .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    font-size:34px;
    color:#fff;
    flex-shrink:0;
}

    nav{
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#fff;
        display:none;
        flex-direction:column;
        box-shadow:0 10px 25px rgba(0,0,0,.1);
    }

    nav.active{
        display:flex;
    }

    nav a{
        color:#222 !important;
        padding:16px;
        text-align:center;
        text-shadow:none;
    }

    /* Hero */

    .hero{
        text-align:center;
        padding-top:90px;
    }

    .hero-content{
        margin:auto;
    }

    .hero h1{
        font-size:42px;
    }

    .subtitle{
        font-size:12px;
        letter-spacing:3px;
    }

    .description{
        margin:auto auto 35px;
        font-size:16px;
    }

    .hero-button{
        justify-content:center;
    }

    /* Portfolio */

    .portfolio-grid{
        grid-template-columns:1fr;
    }

    /* Section */

    section{
        padding:80px 0;
    }

    section h2{
        font-size:32px;
    }

}