:root {
    --cti-blue: #0047ff;
    --bg-body: #f5f7fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #333;
}

/* ===== NAVBAR ===== */
.navbar-top {
    background: white;
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.navbar-brand-logo {
    font-weight: 700;
    color: var(--cti-blue);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--cti-blue);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0047ff, #002db3);
    border-radius: 3px;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-menu a:hover {
    color: var(--cti-blue);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    width: calc(100% - 32px);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.587)), url('../images/hero.png') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 100px 20px 80px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-header::before,
.page-header::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.28;
}

.page-header::before {
    top: -20%;
    right: -10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.page-header::after {
    bottom: -20%;
    left: -5%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.page-header .container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 15px;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.6s ease-out;
}

.page-header p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
    max-width: 600px;
    line-height: 1.6;
    animation: slideUp 0.6s ease-out 0.2s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SELECTED ROOM CARD ===== */
.selected-kamar-card {
    display: flex;
    gap: 25px;
    background: linear-gradient(135deg, #f8faff, #eef4ff);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.selected-kamar-image img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
}

.selected-kamar-info h4 {
    font-weight: 800;
    color: #0047ff;
    margin-bottom: 12px;
}

.selected-kamar-info .info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.selected-kamar-info i {
    color: #0047ff;
    margin-right: 6px;
}

.status.tersedia {
    color: #16a34a;
}
.status.terisi {
    color: #dc2626;
}

@media (max-width: 768px) {
    .selected-kamar-card {
        flex-direction: column;
    }
    .selected-kamar-image img {
        width: 100%;
        height: 180px;
    }
}

/* ===== BOOKING CONTAINER ===== */
.booking-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 80px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    animation: fadeUp 0.6s ease;
}

/* ===== FORM SECTION ===== */
.form-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #e3e7ee;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cti-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* ===== FORM GRID ===== */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ===== LABEL ===== */
.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

/* ===== INPUT & SELECT ===== */
.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #dfe3eb;
    font-size: 0.95rem;
    font-family: inherit;
    background: #f9fbff;
    transition: all 0.25s ease;
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cti-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 71, 255, 0.12);
}

/* ===== SELECT CUSTOM ===== */
.form-group select {
    cursor: pointer;
}


/* ===== KAMAR PREVIEW ===== */
#kamarPreview {
    margin-top: 16px;
}

.kamar-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    background: #f6f9ff;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid #e2e8f5;
}

.kamar-preview-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kamar-preview-item i {
    color: var(--cti-blue);
}

/* ===== SUBMIT BUTTON ===== */
.btn-submit {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #0047ff, #002db3);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 16px 30px rgba(0, 71, 255, 0.35);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 45px rgba(0, 71, 255, 0.45);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 12px 24px rgba(0, 71, 255, 0.35);
}

/* ===== ALERT ===== */
.alert {
    border-radius: 14px;
    font-size: 0.95rem;
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .booking-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .booking-container {
        padding: 20px;
        border-radius: 16px;
    }

    .btn-submit {
        font-size: 0.95rem;
        padding: 14px;
    }
}

.pembayaran-box {
    border-radius: 12px;
    background: #f8fbff;
}

.qris-wrapper {
    padding: 10px;
}

.qris-img {
    max-width: 280px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.qris-text {
    font-size: 14px;
    color: #0d6efd;
}

.rekening-info {
    font-size: 14px;
    margin-top: 6px;
}

/* ===== MODERN FILE UPLOAD ===== */
.upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px;
    border-radius: 18px;
    border: 2px dashed #c7d2fe;
    background: linear-gradient(135deg, #f8faff, #eef4ff);
    cursor: pointer;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.upload-box:hover {
    background: linear-gradient(135deg, #eef4ff, #e0e7ff);
    border-color: var(--cti-blue);
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(0,71,255,0.15);
}

.upload-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0047ff, #002db3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 12px 25px rgba(0,71,255,0.4);
    animation: floatUp 2.5s ease-in-out infinite;
}

.upload-text strong {
    font-size: 1rem;
    color: #1e3a8a;
}

.upload-text span {
    font-size: 0.85rem;
    color: #64748b;
}

.upload-filename {
    font-size: 0.85rem;
    margin-top: 6px;
    color: #334155;
    font-weight: 600;
}

@keyframes floatUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0047ff 0%, #002db3 100%);
    color: white;
    padding: 60px 20px 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section {
    animation: slideInUp 0.6s ease-out;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-logo img {
    filter: brightness(1.2);
}

.footer-tagline {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.6;
    margin: 0;
    max-width: 220px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-contact i {
    min-width: 18px;
    text-align: center;
}

.footer-contact p:hover {
    opacity: 1;
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin-bottom: 25px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.footer-bottom p {
    margin: 8px 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-links-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: white;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .page-header {
        padding: 70px 20px 60px;
        margin-bottom: 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .page-header::before {
        width: 300px;
        height: 300px;
    }

    .page-header::after {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 50px 15px 40px;
        margin-bottom: 30px;
    }

    .page-header h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .page-header p {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .page-header::before {
        width: 200px;
        height: 200px;
        top: -30%;
        opacity: 0.15;
    }

    .page-header::after {
        width: 150px;
        height: 150px;
        bottom: -20%;
        opacity: 0.15;
    }
}