* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* COLOR THEME */
:root {
    --navy: #0d1b2a;
    --darkblue: #1b263b;
    --gold: #f4a261;
    --light: #f5f7fa;
}

/* Navbar */
header {
    display: flex;
    justify-content: space-between;
    padding: 20px 60px;
    background: var(--navy);
    color: white;
    position: sticky;
    top: 0;
}

.logo {
    font-weight: bold;
    font-size: 22px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--gold);
}

/* Hero */
.hero {
    height: 100vh;
    background: url('hero.jpg') center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    background-color: rgba(0,0,0,0.6);
    background-blend-mode: darken;
}

.hero h1 {
    font-size: 48px;
    color: white;
}

.hero p {
    color: #ddd;
    margin: 15px 0;
}

/* Button */
.btn {
    background: var(--gold);
    padding: 12px 25px;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #e76f51;
}

/* Section */
.section {
    padding: 80px 60px;
    text-align: center;
}

.dark {
    background: var(--darkblue);
    color: white;
}

/* Cards */
.cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.card {
    width: 250px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s;
}

.dark .card {
    background: #ffffff;
    color: black;
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card h3 {
    margin: 15px 0 5px;
}

.card p {
    margin-bottom: 15px;
}

/* Hover effect */
.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 20px;
}

#contact {
    padding-bottom: 120px; /* biar ga ketutupan */
}

/* kasih jarak tombol */
#contact .btn {
    display: inline-block;
    margin-top: 20px;
}
.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.wa-float:hover {
    transform: scale(1.1);
}

/* CARD PREMIUM */
.card {
    width: 280px;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    transition: 0.4s;
    position: relative;
}

/* IMAGE */
.card-img {
    position: relative;
}

.card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* OVERLAY GRADIENT */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* BADGE NEGARA */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* CONTENT */
.card-content {
    padding: 15px;
    text-align: left;
}

.card-content h3 {
    margin-bottom: 5px;
}

/* BUTTON DALAM CARD */
.btn-card {
    display: inline-block;
    margin-top: 10px;
    background: var(--navy);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-card:hover {
    background: var(--gold);
}

/* HOVER EFFECT PREMIUM */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    text-align: center;
    animation: fadeIn 0.3s;
}

.close {
    float: right;
    font-size: 22px;
    cursor: pointer;
}

/* animasi */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* GALLERY */
.gallery {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    overflow-x: auto;
}

.gallery-img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

/* FORM */
form {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* MODAL SIZE */
.modal-content {
    width: 450px;
    max-height: 90vh;
    overflow-y: auto;
}