/* =========================
   GLOBAL STYLE
========================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    color: #222;
}

/* =========================
   HEADER
========================= */
header {
    background: #2F7E8C;
    color: white;
    padding: 25px 20px;
    text-align: center;
}

.header-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header-box img {
    width: 65px;
    height: auto;
}

.header-text h1 {
    margin: 0;
    font-size: 32px;
}

.header-text p {
    margin: 5px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

/* =========================
   NAVBAR
========================= */
nav {
    background: #256874;
    padding: 12px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.2);
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    color: #ffcc66;
}

nav a.active {
    color: #ffcc66;
    border-bottom: 3px solid #ffcc66;
    padding-bottom: 5px;
}

/* =========================
   CONTAINER
========================= */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 30px 0;
}

/* =========================
   SECTION TITLE
========================= */
h2 {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 25px;
    font-size: 28px;
}

.section-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: bold;
}

/* =========================
   HERO / BOX PUTIH
========================= */
.hero,
.hero-box,
.info-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    width: 80%;
    margin: 30px auto;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero p,
.hero-box p,
.info-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* =========================
   BUTTON STYLE
========================= */
.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
    text-align: center;
    cursor: pointer;
}

.btn-wa {
    background: #25D366;
    color: white;
}

.btn-wa:hover {
    background: #1ebe5d;
    transform: scale(1.03);
}

.btn-maps {
    background: #4285F4;
    color: white;
}

.btn-maps:hover {
    background: #2b6fe0;
    transform: scale(1.03);
}

.btn-back {
    background: #444;
    color: white;
}

.btn-back:hover {
    background: #222;
    transform: scale(1.03);
}

/* =========================
   CARDS HOME
========================= */
.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.card {
    background: white;
    width: 300px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.card h3 {
    margin-bottom: 10px;
    color: #1b263b;
}

.card p {
    color: #555;
}

/* =========================
   PROPERTY LISTING GRID
========================= */
.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    padding: 20px;
    justify-items: center;
}

.card-container .card {
    width: 320px;
}

.card-container .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive Listing */
@media (max-width: 900px) {
    .card-container {
        grid-template-columns: 1fr;
    }

    .card-container .card {
        width: 90%;
    }
}

/* =========================
   ABOUT PAGE MISI LIST
========================= */
.misi-list {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    padding-left: 20px;
    line-height: 1.8;
    font-size: 16px;
}

/* =========================
   SERVICES PAGE
========================= */
.service-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
    justify-items: center;
}

.service-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 12px;
    color: #1b263b;
    font-size: 20px;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

@media (max-width: 768px) {
    .service-container {
        grid-template-columns: 1fr;
    }
}

/* =========================
   CONTACT PAGE (2 COLUMN)
========================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.contact-card h3 {
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 10px;
    color: #1b263b;
}

.contact-card p {
    line-height: 1.7;
    color: #333;
    font-size: 15px;
}

.contact-info p {
    margin: 10px 0;
    font-size: 15px;
}

/* Maps Box */
.maps-container {
    width: 100%;
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.12);
}

.maps-container iframe {
    width: 100% !important;
    height: 320px;
    border: 0;
    display: block;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .maps-container iframe {
        height: 280px;
    }
}

/* =========================
   ADMIN FORM
========================= */
.admin-form {
    max-width: 700px;
    margin: auto;
    text-align: left;
    padding: 20px;
}

.admin-form label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
}

.admin-form textarea {
    resize: vertical;
}

/* =========================
   PROPERTY DETAIL PREMIUM
========================= */
.property-detail {
    max-width: 1100px;
    margin: auto;
    padding: 10px;
}

.property-header {
    text-align: center;
    margin-top: 25px;
}

.property-header h2 {
    margin: 0;
    font-size: 34px;
    color: #1b263b;
}

.property-price {
    margin: 12px 0;
    font-size: 26px;
    color: #2F7E8C;
    font-weight: bold;
}

.property-location {
    margin-top: 5px;
    font-size: 16px;
    color: #555;
}

.property-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 35px;
}

.property-info-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.property-info-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #1b263b;
}

.property-info-card p {
    margin: 10px 0;
    color: #444;
    line-height: 1.6;
}

.btn-group {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.property-description {
    margin-top: 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.property-description h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #1b263b;
}

.property-description p {
    line-height: 1.8;
    font-size: 15px;
    color: #444;
}

.property-maps {
    margin-top: 40px;
}

.property-maps h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #1b263b;
}

@media (max-width: 900px) {
    .property-info-grid {
        grid-template-columns: 1fr;
    }

    .property-header h2 {
        font-size: 26px;
    }
}

/* =========================
   SLIDER PROPERTY IMAGE (FINAL RAPi)
========================= */
.slider-container {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 18px;
    text-align: center;
}

.slider {
    width: 100%;
    position: relative;
}

.slider img {
    width: 100%;
    max-height: 650px;
    object-fit: contain;
    border-radius: 18px;
    background: white;
    padding: 10px;
    box-shadow: 0px 6px 15px rgba(0,0,0,0.15);

    display: none; /* penting agar slider bekerja */
    transition: transform 0.5s ease;
}

.slider img:hover {
    transform: scale(1.03);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    color: white;
    border: none;
    font-size: 25px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: 0.3s;
}

.slider-btn.left {
    left: 15px;
}

.slider-btn.right {
    right: 15px;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 900px) {
    .slider img {
        max-height: 400px;
    }

    .slider-btn {
        font-size: 20px;
        padding: 8px 12px;
    }
}

/* =========================
   LOCATION BOX (Bawah Maps)
========================= */
.property-location-box {
    max-width: 900px;
    margin: 20px auto;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.property-location-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1b263b;
}

.property-location-box p {
    margin-bottom: 18px;
    color: #555;
    font-size: 15px;
}

/* =========================
   FOOTER
========================= */
footer {
    background: #2F7E8C;
    color: white;
    text-align: center;
    padding: 18px;
    margin-top: 50px;
}
