@media (max-width: 1000px) {
    header {
        gap: 50px;
    }
    .hero-content h1 {
        font-size: 1.5rem !important;
    }
    .hero-content p {
        font-size: 1rem !important;
    }
    .hero-content h2 {
        
        font-size: 1.5rem !important;
    }
    .hero, .build, .content-layanan, .kontak {
        flex-direction: column;
    }
    .hero-sample-foto {
        padding: 0px !important;
    }
    .sample {
        width: 100% !important;
    }
}

.bg-head {
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: -1;
    background: url("/images/bg-head.png");
    background-size: cover;
}

header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.644);
    backdrop-filter: blur(1px) saturate(2) brightness(0.5);
    gap: 10px;
}
header h1 {
    margin-top: 50px;
    font-size: 2rem;
    color: var(--secondary);
}
header span {
    font-size: 1rem;
    color: var(--text-light);
}
header a {
    margin-top: 50px;
    padding: 10px 20px;
    text-decoration: none;
    background-color: var(--green-transparent);
    border: 2px solid var(--primary);
    color: var(--secondary);
    border-radius: 20px;
}
header a:hover {
    background-color: var(--primary);
}

.hero {
    width: 100%;;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #d0fcd0,#d0fcd0,#ffffff);
    gap: 50px;
}
.hero-content {
    width: 100%;
    display: grid;
    gap: 10px;
}
.hero-content h1 {
    width: 100%;
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
}
.hero-content p {
    width: 100%;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 800;
}
.hero-content h2 {
    width: 100%;
    margin-top: 50px;
    font-size: 2rem;
}
.janjilhoya {
    background: yellow;
}
.hero-sample-foto {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    gap: 50px;
}
.sample {
    width: 70%;
    transform: rotateY(-20deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    border: 2px solid var(--primary);
    position: relative;
    display: flex;
    overflow: hidden;
    cursor: pointer;
}
.sample span {
    inset: 0;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.637);
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    color: white;
    font-size: 1rem;
    font-weight: 800;
}
.sample img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sample:hover {
    transform: rotateY(0deg);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
}
.sample:hover span,
.sample:focus-within span {
    opacity: 1;
}

.build {
    max-width: 100%;
    padding: 50px 100px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-around;
    gap: 20px;
}
.build-col {
    display: grid;
}
.build-col h1 {
    color: white;
    font-weight: bold;
    font-size: 2rem;
}
.build-col span {
    color: white;
    font-size: 1rem;
}

.layanan {
    width: 100%;
    display: grid;
    justify-content: center;
    gap: 50px;
    background-color: var(--secondary);
}
.layanan h1 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
}
.content-layanan {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 50px;
}
.card {
    width: 100%;
    display: grid;
    box-sizing: border-box;
    padding-bottom: 50px;
    background-color: var(--primary);
    border-radius: 10px;
    border: 2px solid var(--text-dark);
    overflow: hidden;
    position: relative;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.514);
}
.card img {
    width: 100%;
    height: 200px;
}
.card a {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background-color: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    text-align: center;
}
.card-layanan {
    display: grid;
    padding: 10px 20px;
    gap: 10px;
}
.card-layanan h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary);
}
.card-layanan span {
    font-size: 1rem;
    color: var(--text-light);
}

.kontak {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary);
    gap: 50px;
}
.kontak-col {
    width: 100%;
    display: grid;
    align-items: center;
}
.kontak-col h1 {
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}
.kontak-col span {
    font-size: 1rem;
    color: var(--text-light);
}
.kontak a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 20px;
    background-color: var(--secondary);
    color: var(--text-dark);
    padding: 20px;
}
.kontak a:hover {
    background-color: var(--text-dark);
    color: var(--secondary);
}

.faq {
    display: grid;
    align-items: center;
    gap: 50px;
}
.faq h1 {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
}
.faq-list {
    display: grid;
    width: 100%;
    gap: 20px;
}
.faq-item {
    width: 100%;
    border-radius: 20px;
    display: grid;
    background-color: var(--text-dark);
    color: var(--text-light);
    transition: ease 0.5s;
    cursor: pointer;
}
.faq-icon {
    width: 40px;
    height: 40px;
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    font-weight: 500;
    border-radius: 50%;
    color: var(--primary);
    background-color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: center;
    transition: ease 0.5s;
}
.faq-icon.active {
    transform: rotate(45deg);
}
.faq-item h3 {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.5rem;
    color: var(--secondary);
    border-bottom: 1px solid var(--secondary);
}
.faq-item-deks {
    display: none;
    padding: 20px;
}
.faq-item-deks.active {
    display: flex;
}
