@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Poppins:wght@300;400;500;600&display=swap');

/* ==================== GENERAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #1a3636;
    --accent-color: #c5a880;
    --accent-hover: #b08d57;
    --bg-light: #fcfbf9;
    --text-dark: #2c2c2c;
    --text-muted: #666666;
    --card-bg: #ffffff;
    --font-classic: 'Playfair Display', Georgia, serif;
    --font-modern: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-modern);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==================== NAVBAR ==================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 6%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--font-classic);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 4px;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
}

.btn-signup {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    background-color: var(--accent-color);
}

/* ==================== HERO ASAL (UTAMA) ==================== */
.hero {
    background: linear-gradient(rgba(26, 54, 54, 0.7), rgba(26, 54, 54, 0.7)),
                url('https://images.unsplash.com/photo-1596436889106-be35e843f974?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-content h1 {
    font-family: var(--font-classic);
    font-size: 3.2rem;
    margin-bottom: 0.8rem;
    font-style: italic;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* ==================== HERO HOMESTAY (BOOKING STYLE) ==================== */
.homestay-hero {
    background: linear-gradient(rgba(10, 42, 82, 0.75), rgba(10, 42, 82, 0.75)),
                url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 4rem 6% 5rem 6%;
    color: white;
}

.homestay-hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.homestay-hero-content h1 {
    font-family: var(--font-modern);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.homestay-hero-content p {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* SEARCH BAR CONTAINER */
.search-bar-container {
    background-color: #ffb700; /* Warna Kuning Booking */
    border-radius: 8px;
    padding: 4px;
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 1.2fr auto;
    gap: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.search-item {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    gap: 0.8rem;
}

.search-icon {
    color: #6b6b6b;
    font-size: 1.2rem;
}

.search-input-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.search-input-group label {
    font-size: 0.7rem;
    color: #6b6b6b;
    font-weight: 500;
}

.search-input-group input {
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #262626;
    width: 100%;
    background: transparent;
    font-family: var(--font-modern);
}

.date-inputs {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.date-inputs input {
    width: 45%;
}

.date-inputs span {
    color: #6b6b6b;
}

.occupancy-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #262626;
    cursor: pointer;
}

.occupancy-select i {
    font-size: 0.75rem;
    color: #262626;
}

.btn-search {
    background-color: #006ce4; /* Warna Biru Booking */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-search:hover {
    background-color: #0057b8;
}

/* ==================== CONTENT LAYOUT ==================== */
.destination-container {
    padding: 3rem 6%;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
    width: 100%;
}

.section-block {
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-family: var(--font-classic);
    font-size: 2.2rem;
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==================== DESTINATION & MAP ==================== */
.map-section {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 1.5rem;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(197, 168, 128, 0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.map-wrapper {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.destination-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.dest-item {
    background: #faf9f6;
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid #e8e4dc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dest-item:hover, .dest-item.active {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(197, 168, 128, 0.15);
}

.dest-badge {
    background: var(--primary-color);
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.dest-info h4 {
    font-family: var(--font-classic);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 0.4rem;
}

/* ==================== CALCULATOR ==================== */
.calc-card {
    background: #ffffff;
    border: 1px solid rgba(197, 168, 128, 0.4);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.input-group input {
    padding: 0.75rem;
    border: 1px solid #e0dcd5;
    border-radius: 6px;
    background-color: #faf9f6;
    font-family: var(--font-modern);
    outline: none;
}

.calc-result-box {
    background: var(--bg-light);
    border-top: 2px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.result-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #ccc;
    padding-top: 0.8rem;
    margin-top: 0.4rem;
}

.result-total h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ==================== HOMESTAY GRID ==================== */
.homestay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.homestay-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e4dc;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.homestay-card:hover {
    transform: translateY(-5px);
}

.homestay-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.price-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
}

.homestay-details {
    padding: 1.5rem;
}

.homestay-details .location {
    font-size: 0.8rem;
    color: var(--accent-hover);
    font-weight: 600;
}

.homestay-details h3 {
    font-family: var(--font-classic);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0.4rem 0;
}

.homestay-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.btn-book {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.btn-book:hover {
    background: var(--accent-color);
}

/* ==================== REFERENCES ==================== */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
}

.ref-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e8e4dc;
    text-align: center;
}

.ref-card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.ref-card h3 {
    font-family: var(--font-classic);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.ref-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.ref-card a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

.ref-card a:hover {
    color: var(--accent-color);
}

/* ==================== FOOTER ==================== */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 6%;
    border-top: 3px solid var(--accent-color);
    margin-top: auto;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #a0aab0;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .search-bar-container {
        grid-template-columns: 1fr;
    }
    .btn-search {
        padding: 0.8rem;
    }
}

@media (max-width: 900px) {
    .map-section {
        grid-template-columns: 1fr;
    }
    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-content h1 {
        font-size: 2.1rem;
    }
}
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}