/* =================================================
   ROOT THEME COLOR
================================================= */
:root {
    --lilac: #C8B6FF;
    --soft-blue: #A0C4FF;
    --deep-blue: #5E60CE;
    --ash-gray: #f3f4f8;
    --white-glass: rgba(255, 255, 255, 0.25);
    --border-glass: rgba(255, 255, 255, 0.35);
}

/* =================================================
   GLOBAL RESET
================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--lilac), var(--soft-blue));
    min-height: 100vh;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =================================================
   TOP HEADER
================================================= */
.top-header {
    padding: 20px 0;
    background: var(--white-glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
}

.header-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 70px;
}

.title-section h1 {
    font-size: 20px;
    font-weight: 600;
}

.title-section p {
    font-size: 14px;
    opacity: 0.7;
}

/* =================================================
   NAVBAR (FLOATING GLASS)
================================================= */
.navbar {
    margin: 20px auto;
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--white-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    width: fit-content;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 500;
    color: #333;
    transition: 0.3s;
}

.nav-menu li a:hover {
    color: var(--deep-blue);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    padding: 8px 18px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--deep-blue), var(--soft-blue));
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
}

/* =================================================
   HERO SECTION
================================================= */
.hero {
    background: url('../assets/images/herobg.jpeg') center/cover no-repeat;
    height: 450px;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.55);
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: white;
    width: 100%;
}

.hero-content h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* SEARCH BOX */
.search-box {
    display: flex;
    gap: 10px;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    padding: 12px;
    border-radius: 15px;
    max-width: 700px;
    margin: auto;
}

.search-box input,
.search-box select {
    padding: 10px;
    border-radius: 10px;
    border: none;
    outline: none;
    width: 100%;
}

.search-box button {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    background: var(--deep-blue);
    color: white;
    cursor: pointer;
}

/* HERO STATS */
.hero-stats {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
}

/* =================================================
   FASILITI SECTION
================================================= */
.fasiliti-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

/* GRID DESKTOP 4 COLUMN */
.fasiliti-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD */
.fasiliti-card {
    background: var(--white-glass);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    transition: 0.3s;
}

.fasiliti-card:hover {
    transform: translateY(-5px);
}

.card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.card-body h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.location {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.info-box {
    background: rgba(255,255,255,0.4);
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.btn-book {
    display: block;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    background: linear-gradient(135deg, var(--deep-blue), var(--soft-blue));
    color: white;
    text-decoration: none;
}

/* =================================================
   FOOTER
================================================= */
.footer {
    margin-top: 60px;
    padding: 40px 0 20px;
    background: var(--white-glass);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-glass);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #333;
}

.footer-links a:hover {
    color: var(--deep-blue);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    opacity: 0.7;
}

/* =================================================
   RESPONSIVE
================================================= */

/* Tablet */
@media (max-width: 992px) {

    .fasiliti-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content h1 {
        font-size: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .navbar {
        width: 95%;
        border-radius: 20px;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .search-box {
        flex-direction: column;
    }

    .hero {
        height: auto;
        padding: 60px 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }

    /* 2 COLUMN MOBILE */
    .fasiliti-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        flex-direction: column;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .title-section h1 {
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 24px;
    }
}

/* =========================
   CONTACT PAGE
========================= */

.contact-section {
    padding: 60px 0;
    background: #f4f2f8;
}

.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-left, .contact-right {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.contact-left h2 {
    color: #5e4ae3;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #555;
}

.map iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.btn-submit {
    background: #5e4ae3;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #4836c6;
}

.alert {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.alert.error {
    background: #ffe5e5;
    color: #c0392b;
}

.alert.success {
    background: #e6ffed;
    color: #27ae60;
}

/* Responsive */
@media (max-width: 768px){
    .contact-container {
        flex-direction: column;
    }
}

/* ==========================================
   LOGIN PAGE DESIGN
========================================== */

.login-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.4);
}

.login-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
}

.login-alert {
    background: #ffe5e5;
    color: #d60000;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.login-group {
    margin-bottom: 15px;
}

.login-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.login-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.2s;
}

.login-group input:focus {
    border-color: #7f8cff;
    box-shadow: 0 0 0 2px rgba(127,140,255,0.2);
}

.login-btn {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #7f8cff, #5f6dff);
    color: white;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
}

.login-register {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.login-register a {
    color: #5f6dff;
    text-decoration: none;
    font-weight: 500;
}

/* ==========================================
   REGISTER PAGE DESIGN
========================================== */

.register-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.register-container {
    width: 100%;
    max-width: 500px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.4);
}

.register-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
}

.register-alert {
    background: #ffe5e5;
    color: #d60000;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.register-group {
    margin-bottom: 15px;
}

.register-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.register-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.2s;
}

.register-group input:focus {
    border-color: #7f8cff;
    box-shadow: 0 0 0 2px rgba(127,140,255,0.2);
}

.register-btn {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #7f8cff, #5f6dff);
    color: white;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.register-btn:hover {
    transform: translateY(-2px);
}

.register-login {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.register-login a {
    color: #5f6dff;
    text-decoration: none;
    font-weight: 500;
}

