@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fff7ed;
    --primary-glow: rgba(249, 115, 22, 0.15);
    --secondary: #3e2723;
    --accent: #f59e0b;
    --dark: #3e2723;
    --light: #ffffff;
    --bg-color: #f8fafc;
    --surface: #ffffff;
    --text-main: #2d1a11;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 12px rgba(62, 39, 35, 0.04);
    --shadow-md: 0 8px 30px rgba(62, 39, 35, 0.06);
    --shadow-lg: 0 20px 40px rgba(62, 39, 35, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; letter-spacing: -0.01em; color: var(--dark); }

/* Scrollbar */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* TOP BAR */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    padding: 9px 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar .container { display: flex; justify-content: flex-end; gap: 24px; align-items: center; }
.top-bar span { display: flex; align-items: center; gap: 6px; }
.top-bar i { color: var(--primary); }

/* NAVBAR */
.navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
    border-bottom: 1px solid rgba(62,39,35,0.06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.navbar.scrolled { padding: 10px 0; box-shadow: var(--shadow-md); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }

.brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}
.brand:hover { transform: scale(1.02); }
.brand img {
    border-radius: 12px;
    width: 44px;
    height: 44px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(249,115,22,0.25);
    transition: var(--transition);
}
.brand:hover img { transform: rotate(-5deg) scale(1.08); }

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-link {
    font-weight: 600;
    font-size: 0.82rem;
    color: #475569;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
}
.nav-link:hover { color: var(--primary); background-color: var(--primary-light); }
.nav-link.active { color: var(--primary); background-color: var(--primary-light); font-weight: 700; }

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--light);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    border-radius: var(--radius-md);
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid var(--border);
    padding: 8px;
    opacity: 0;
    transition: var(--transition);
}
.dropdown:hover .dropdown-content { display: block; opacity: 1; }
.dropdown-content a {
    color: var(--text-main);
    padding: 9px 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.dropdown-content a:hover { background-color: var(--primary-light); color: var(--primary); transform: translateX(4px); }

/* HERO */
.hero {
    height: 85vh;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    text-align: left;
    margin-bottom: 0;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(62,39,35,0.75) 0%, rgba(62,39,35,0.35) 60%, rgba(249,115,22,0.12) 100%);
}
.hero .container { position: relative; z-index: 2; animation: fadeInUp 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero p {
    font-size: 1.1rem;
    max-width: 540px;
    margin: 0 0 32px;
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    font-weight: 500;
}

/* SECTION */
.section { padding: 90px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
}
.section-subtitle {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 28px;
    text-align: center;
}
.feature-item {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.feature-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.35s ease;
}
.feature-item:hover::before { transform: scaleX(1); }
.feature-item:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.2); }
.feature-item i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background-color: var(--primary-light);
    transition: var(--transition);
}
.feature-item:hover i { background-color: var(--primary); color: white; transform: scale(1.08) rotate(5deg); }
.feature-item h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 800; }
.feature-item p { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; line-height: 1.65; }

/* REGIONS */
.regions-circle-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; }
.region-circle { text-align: center; width: 120px; cursor: pointer; transition: var(--transition); }
.region-circle-img {
    width: 96px; height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 4px solid var(--light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.region-circle:hover .region-circle-img { border-color: var(--primary); transform: scale(1.1) translateY(-4px); box-shadow: 0 16px 36px rgba(249,115,22,0.2); }
.region-circle-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.region-circle:hover .region-circle-img img { transform: scale(1.12); }
.region-circle span { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; color: var(--dark); letter-spacing: 0.04em; display: block; transition: var(--transition); }
.region-circle:hover span { color: var(--primary); }

/* CARDS */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.card {
    background: var(--light);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(62,39,35,0.1); border-color: rgba(249,115,22,0.15); }
.card-img { height: 220px; position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.card:hover .card-img img { transform: scale(1.1); }
.card-badge {
    position: absolute;
    bottom: 16px; left: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.72rem;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}
.card-body { padding: 22px; }
.card-title { font-size: 1.2rem; margin-bottom: 8px; font-weight: 800; line-height: 1.3; }
.price-value { font-size: 1.7rem; font-weight: 800; color: var(--primary); }

/* BUTTONS */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; box-shadow: 0 4px 14px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(249,115,22,0.4); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: #334155; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-danger { background: #ef4444; color: white; }
.btn-danger:hover { background: #dc2626; transform: translateY(-2px); }

/* BADGES */
.badge { padding: 5px 12px; border-radius: 100px; font-weight: 800; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; display: inline-block; }
.badge-pending { background: #fef3c7; color: #d97706; }
.badge-verified { background: #dcfce7; color: #15803d; }
.badge-bestseller { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; }
.badge-hot { background: #fee2e2; color: #dc2626; }
.badge-new { background: #d1fae5; color: #059669; }

/* FORM */
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 800; margin-bottom: 8px; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.form-control {
    width: 100%;
    padding: 13px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    background-color: var(--surface);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
    outline: none;
}
.form-control:focus { border-color: var(--primary); background-color: var(--light); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-control::placeholder { color: var(--text-muted); opacity: 0.6; }
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
    cursor: pointer;
}

/* AUTH */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background: white;
}
.auth-split-visual {
    flex: 1;
    min-width: 0;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px;
    overflow: hidden;
}
.auth-split-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(62,39,35,0.7) 0%, rgba(249,115,22,0.25) 60%, rgba(62,39,35,0.85) 100%);
}
.auth-split-form {
    width: 480px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 56px;
    background: white;
    overflow-y: auto;
}
.auth-card {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 10;
    transition: var(--transition);
}
.auth-card h2 { text-align: center; margin-bottom: 28px; font-size: 2rem; font-weight: 800; color: var(--dark); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* SWITCH GROUP */
.switch-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--light);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    margin-bottom: 16px;
    transition: var(--transition);
    cursor: pointer;
}
.switch-group:hover { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-glow); }
.switch-group strong { font-size: 0.95rem; color: var(--dark); display: block; margin-bottom: 2px; }

/* FOOTER */
.footer {
    background: linear-gradient(135deg, #3e2723 0%, #2d1a11 100%);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px; margin-bottom: 60px; position: relative; z-index: 2; }
.footer h3 { color: white; font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }
.footer h4 { color: white; font-size: 0.9rem; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.08em; position: relative; display: inline-block; }
.footer h4::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 24px; height: 2px; background: var(--primary); border-radius: 10px; }
.footer p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.7; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: var(--transition); display: inline-block; }
.footer ul li a:hover { color: var(--primary); transform: translateX(5px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.gallery-item { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.gallery-item:hover img { transform: scale(1.1); }

/* FILTER BAR */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px 28px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-md);
    flex-wrap: wrap;
}
.filter-bar .filter-select { flex: 1; min-width: 180px; }
.filter-bar .btn-cari { padding: 12px 28px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; font-weight: 800; border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-family: 'Poppins', sans-serif; border: none; }
.filter-bar .btn-cari:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(249,115,22,0.35); }
.filter-bar .btn-reset { padding: 12px 18px; background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); border-radius: var(--radius-md); font-weight: 700; cursor: pointer; transition: var(--transition); font-size: 0.85rem; font-family: 'Poppins', sans-serif; }
.filter-bar .btn-reset:hover { border-color: var(--primary); color: var(--primary); }

/* DETAIL PAGE */
.detail-hero { height: 480px; background-size: cover; background-position: center; position: relative; border-radius: 0 0 var(--radius-xl) var(--radius-xl); overflow: hidden; }
.detail-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(62,39,35,0.9) 0%, rgba(62,39,35,0.2) 70%, transparent 100%); }
.detail-title { position: absolute; bottom: 48px; left: 40px; right: 40px; color: white; z-index: 10; }
.detail-title h1 { font-size: 3rem; margin-bottom: 8px; color: white; text-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.booking-section { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; margin-top: -60px; position: relative; z-index: 20; align-items: start; }
.booking-card { background: var(--light); padding: 36px; border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.booking-card h3 { font-size: 1.5rem; margin-bottom: 24px; font-weight: 800; position: relative; padding-bottom: 12px; }
.booking-card h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 3px; background: var(--primary); border-radius: 5px; }
.price-breakdown { margin-top: 28px; padding: 22px; background: var(--primary-light); border-radius: var(--radius-md); border: 1px solid rgba(249,115,22,0.1); }
.price-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.92rem; font-weight: 600; color: #475569; }
.price-total { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); margin-top: 18px; padding-top: 18px; border-top: 2px dashed rgba(249,115,22,0.2); display: flex; justify-content: space-between; }

/* MODAL */
.modal { position: fixed; inset: 0; background: rgba(62,39,35,0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 24px; }
.modal.active { display: flex; animation: fadeIn 0.3s forwards; }
.modal-content { background: var(--light); padding: 48px; border-radius: var(--radius-xl); width: 100%; max-width: 580px; box-shadow: 0 40px 100px -10px rgba(62,39,35,0.25); animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; border: 1px solid rgba(255,255,255,0.6); }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* TOAST */
.toast-container { position: fixed; top: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast-item { background: rgba(255,255,255,0.97); backdrop-filter: blur(16px); border: 1px solid var(--border); box-shadow: var(--shadow-lg); border-radius: var(--radius-md); padding: 14px 20px; display: flex; align-items: center; gap: 12px; min-width: 300px; font-weight: 700; font-size: 0.88rem; }

/* SCROLL REVEAL */
.scroll-reveal { opacity: 0; transform: translateY(28px); transition: all 0.6s ease; }
.scroll-reveal.revealed { opacity: 1; transform: translateY(0); }

/* UTILITIES */
.text-center { text-align: center !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.text-muted { color: var(--text-muted) !important; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .booking-section { grid-template-columns: 1fr; gap: 28px; }
    .auth-split-form { width: 100%; padding: 40px 32px; }
    .auth-split-visual { display: none; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; overflow-wrap: break-word; word-break: break-word; }
    .hero p { font-size: 0.95rem; }
    .hero-stats { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .hero-stat-divider { display: none; } /* Hide divider on mobile to save space */
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons a { width: 100%; text-align: center; }
    .top-bar .container { justify-content: center; gap: 16px; flex-wrap: wrap; }
    .navbar .container { gap: 12px; }
    .nav-links { display: none; }
    .detail-title h1 { font-size: 2rem; }
    .detail-hero { height: 340px; }
    .booking-card { padding: 24px; }
    .section { padding: 60px 0; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
