/* Reset default */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    overflow-x: hidden;
}
.bg-home {
    background: linear-gradient(to bottom, #061700 0%, #4b5320 100%);
}

body {
    font-family: "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 90px !important;
}

.btn-success {
    background-color: #4b5320 !important;
    border-color: #4b5320 !important;
    color: white !important;
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.badge-success {
    background-color: #4b5320 !important;
    border-color: #4b5320 !important;
}

.border-right-dark {
    border-right: 1px solid #acacac;
}

.btn-success:hover {
    background-color: #3e461a !important;
    border-color: #3e461a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-hr {
    width: 100px;
    border: none;
    border-top: 2px solid white;
    margin: 10px auto 30px auto;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.hero-section {
    background-image: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(0, 0, 0, 0.9) 100%
        ),
        url("../images/villa1.jpg");
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-buttons a {
    margin: 0 10px;
}
.card {
    background: transparent; /* hilangkan background putih */
    border: none; /* optional kalau mau hilang border */
}

.card-img-overlay {
    transition: transform 0.3s ease;
}

.card:hover .card-img-overlay {
    transform: translateY(-10px); /* naik 10px */
}
.card-img-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    border-radius: 0.5rem;
}

.card-img-overlay > * {
    position: relative;
    z-index: 1;
}

/* Philosophy Section Styling */
.philosophy {
    /* background: linear-gradient(to bottom, rgba(6, 23, 0, 1) 60%, #4b5320 100%); */
    padding: 70px 20px 100px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.philosophy .container {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.philosophy p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
}

.philosophy blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
    border-left: 4px solid white;
    padding-left: 20px;
}

.philosophy blockquote span {
    display: block;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #888;
}

/* CTA Section Styling */
.cta {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
}

.cta .content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.cta p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta.with-ornament::before,
.cta.with-ornament::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 250px;
    height: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    transform: translateY(-50%);
    pointer-events: none;
    filter: brightness(0) invert(1); /* ubah jadi putih */
}

.cta.with-ornament::before {
    left: -50px;
    background-image: url("../images/bg-logo.png");
}

.cta.with-ornament::after {
    right: -50px;
    background-image: url("../images/bg-logo.png");
}

/* Footer */
footer {
    background: #061700;
    color: #ccc;
    text-align: center;
}

.footer-links a,
.social-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover,
.social-links a:hover {
    color: #fff;
}

.footer-tagline {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #888;
}

/* About */

.about-title-text {
    color: #4b5320;
}

.border-success {
    border: 2px solid #4b5320 !important;
}

/*  PORTOFOLIO */
.img-card {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.img-card img {
    width: 100%;
    height: auto;
    display: block;
}

.description-card {
    font-family: "Roboto", sans-serif;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: rgba(200, 200, 200, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

.horizontal-slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 15px;
    scroll-behavior: smooth;
}

.horizontal-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.project-card {
    flex: 0 0 auto;
    width: 250px;
    margin-right: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 15px;
    scroll-snap-align: start;
    transition: transform 0.3s;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.custom-hr {
    width: 120px;
    border: none;
    border-top: 2px solid white;
    margin: 10px auto 30px auto;
}

.with-ornament {
    position: relative; /* jadi anchor buat pseudo-element */
    z-index: 0;
}

.with-ornament::before,
.with-ornament::after {
    content: "";
    position: absolute;
    background: url("../images/bg-logo.png") no-repeat center/contain;
    opacity: 0.06;
    width: 350px;
    height: 350px;
    z-index: -1;
    pointer-events: none;
}

/* Kiri atas */
.with-ornament::before {
    left: -150px;
    top: 90px;
}

/* Kanan bawah */
.with-ornament::after {
    right: -150px;
    bottom: 170px;
}

.services-section {
    background: linear-gradient(to bottom, #4b5320, #061700);
}

.custom-hr {
    width: 80px;
    border: 2px solid white;
    margin: auto;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-radius: 15px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
}

.badge-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.badge-item {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 10px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

.text-success {
    color: #4b5320 !important;
    font-size: 50px;
}

/* Hero section */
.contact-hero {
    background: linear-gradient(to right, #1c1c1c, #4b5320);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
}

/* Map container */
.map-container {
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Contact cards */
.contact-card {
    border: none;
    border-radius: 15px;
    background: white;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-card i {
    font-size: 70px;
    color: #4b5320;
    margin-bottom: 15px;
}
