/* ============================================================
   STUDENTRENT - EARTH OLIVE & CREAM GLASSMORPHIC UI
   Palette: #33471d (Deep Olive), #a4a494 (Sage Grey), #f6e5d0 (Warm Cream)
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ================= Global Reset & Body ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #1b2610;
    color: #f6e5d0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ================= Animated Background Blobs ================= */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.45;
    z-index: -1;
    pointer-events: none;
    animation: floatBlob 14s infinite alternate ease-in-out;
}

body::before {
    width: 480px;
    height: 480px;
    background: #33471d;
    top: -100px;
    left: -100px;
}

body::after {
    width: 520px;
    height: 520px;
    background: #a4a494;
    bottom: -150px;
    right: -100px;
    animation-delay: -7s;
}

@keyframes floatBlob {
    from {
        transform: translate(0, 0) scale(1);
    }
    to {
        transform: translate(70px, 50px) scale(1.15);
    }
}

/* ================= Glassmorphism Base Utility ================= */
.glass-panel {
    background: rgba(246, 229, 208, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(164, 164, 148, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* ================= Header / Navigation ================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    background: rgba(27, 38, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(164, 164, 148, 0.2);
}

.logo a, .logo h1 {
    color: #f6e5d0;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: rgba(246, 229, 208, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #f6e5d0;
}

nav button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f6e5d0, #d9c5ae);
    color: #1b2610;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(246, 229, 208, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 229, 208, 0.4);
}

/* Mobile Hamburger Menu Icon Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #f6e5d0;
    font-size: 24px;
    cursor: pointer;
    padding: 6px;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: #a4a494;
}

/* ================= Hero Sections ================= */
.hero, .hero-small {
    margin-top: 0;
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
    background: transparent;
}

.hero h2, .hero-small h2 {
    font-size: 46px;
    font-weight: 800;
    background: linear-gradient(135deg, #f6e5d0 30%, #a4a494 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.hero p, .hero-small p {
    color: rgba(246, 229, 208, 0.75);
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ================= Search / Filter Box ================= */
.search-box {
    margin: 35px auto 0;
    max-width: 1000px;
    padding: 22px;
    background: rgba(246, 229, 208, 0.04);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(164, 164, 148, 0.25);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.search-box select, 
.search-box input {
    background: rgba(27, 38, 16, 0.85);
    border: 1px solid rgba(164, 164, 148, 0.3);
    color: #f6e5d0;
    padding: 13px 18px;
    border-radius: 12px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-box select option {
    background: #1b2610;
    color: #f6e5d0;
}

.search-box select:focus, 
.search-box input:focus {
    border-color: #f6e5d0;
    box-shadow: 0 0 0 3px rgba(246, 229, 208, 0.2);
}

.search-box button {
    background: linear-gradient(135deg, #f6e5d0, #d9c5ae);
    color: #1b2610;
    border: none;
    padding: 13px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 229, 208, 0.3);
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 229, 208, 0.45);
}

/* ================= Property Listings Grid ================= */
#properties {
    padding: 60px 8%;
    text-align: center;
}

#properties h2 {
    font-size: 34px;
    color: #f6e5d0;
    margin-bottom: 10px;
}

.section-text {
    color: rgba(246, 229, 208, 0.7);
    margin-bottom: 35px;
    font-size: 16px;
}

.property-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.property-card {
    background: rgba(246, 229, 208, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(164, 164, 148, 0.25);
    border-radius: 20px;
    padding: 20px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.property-card:hover {
    transform: translateY(-8px);
    border-color: #f6e5d0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 15px;
}

.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.badge.male {
    background: rgba(164, 164, 148, 0.25);
    color: #f6e5d0;
    border: 1px solid rgba(164, 164, 148, 0.4);
}

.badge.female {
    background: rgba(246, 229, 208, 0.2);
    color: #f6e5d0;
    border: 1px solid rgba(246, 229, 208, 0.4);
}

.property-card h3 {
    color: #f6e5d0;
    font-size: 20px;
    margin-bottom: 12px;
}

.property-card p {
    color: rgba(246, 229, 208, 0.8);
    font-size: 14px;
    margin: 8px 0;
}

.property-card p i {
    color: #a4a494;
    width: 22px;
}

.property-card button {
    width: 100%;
    margin-top: 18px;
    background: linear-gradient(135deg, #f6e5d0, #d9c5ae);
    color: #1b2610;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 229, 208, 0.25);
}

.property-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 229, 208, 0.4);
}

/* ================= Property Details Modal ================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 38, 16, 0.9);
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: rgba(27, 38, 16, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(164, 164, 148, 0.3);
    border-radius: 24px;
    padding: 35px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    color: #f6e5d0;
    animation: modalOpen 0.3s ease;
}

@keyframes modalOpen {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 28px;
    color: rgba(246, 229, 208, 0.6);
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #f6e5d0;
}

.modal-content h2 {
    color: #f6e5d0;
    font-size: 26px;
    margin-bottom: 8px;
}

.modal-content h3 {
    color: #a4a494;
    font-size: 22px;
    margin-bottom: 18px;
}

.modal-content p, 
.modal-content li {
    color: rgba(246, 229, 208, 0.8);
    font-size: 15px;
    margin: 8px 0;
}

.modal-content h4 {
    color: #f6e5d0;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

.modal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 22px;
}

.modal-content button {
    width: 100%;
    background: linear-gradient(135deg, #f6e5d0, #d9c5ae);
    color: #1b2610;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(246, 229, 208, 0.3);
}

.modal-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(246, 229, 208, 0.45);
}

/* ================= Owner Dashboard ================= */
.owner-dashboard-page {
    min-height: 100vh;
    padding: 60px 8%;
}

.dashboard-welcome {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.dashboard-label {
    color: #a4a494;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.dashboard-welcome h1 {
    font-size: 36px;
    color: #f6e5d0;
    margin: 5px 0;
}

.dashboard-welcome p {
    color: rgba(246, 229, 208, 0.7);
}

.add-property-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f6e5d0, #d9c5ae);
    color: #1b2610;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(246, 229, 208, 0.3);
}

.add-property-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(246, 229, 208, 0.45);
}

/* Dashboard Stats Cards */
.dashboard-stats {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.stat-card {
    background: rgba(246, 229, 208, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(164, 164, 148, 0.25);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: rgba(164, 164, 148, 0.2);
    color: #f6e5d0;
    font-size: 24px;
    border: 1px solid rgba(164, 164, 148, 0.35);
}

.stat-card p {
    color: rgba(246, 229, 208, 0.7);
    font-size: 14px;
}

.stat-card h2 {
    color: #f6e5d0;
    font-size: 28px;
    margin-top: 2px;
}

/* Dashboard Listings Section */
.dashboard-section {
    max-width: 1200px;
    margin: auto;
    background: rgba(246, 229, 208, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(164, 164, 148, 0.25);
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.dashboard-section-heading h2 {
    color: #f6e5d0;
    font-size: 28px;
}

.owner-property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.owner-property-card {
    background: rgba(27, 38, 16, 0.75);
    border: 1px solid rgba(164, 164, 148, 0.25);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.owner-property-card:hover {
    transform: translateY(-5px);
    border-color: #f6e5d0;
}

.owner-property-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.owner-property-content {
    padding: 20px;
}

.property-status {
    background: rgba(164, 164, 148, 0.25);
    color: #f6e5d0;
    border: 1px solid rgba(164, 164, 148, 0.4);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.property-price {
    color: #f6e5d0;
    font-weight: 700;
    font-size: 16px;
}

.owner-property-content h3 {
    color: #f6e5d0;
    margin: 15px 0 10px;
}

.owner-property-content p {
    color: rgba(246, 229, 208, 0.7);
    margin: 8px 0;
    font-size: 14px;
}

.owner-property-content p i {
    color: #a4a494;
    width: 22px;
}

.owner-property-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.edit-btn {
    background: rgba(164, 164, 148, 0.2);
    color: #f6e5d0;
    border: 1px solid rgba(164, 164, 148, 0.35);
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    flex: 1;
    transition: 0.3s;
}

.edit-btn:hover {
    background: #f6e5d0;
    color: #1b2610;
}

.delete-btn {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    flex: 1;
    transition: 0.3s;
}

.delete-btn:hover {
    background: #dc2626;
    color: white;
}

.empty-properties {
    text-align: center;
    padding: 60px 20px;
}

.empty-properties > i {
    font-size: 60px;
    color: rgba(164, 164, 148, 0.4);
    margin-bottom: 18px;
}

.empty-properties h3 {
    font-size: 22px;
    color: #f6e5d0;
}

.empty-properties p {
    color: rgba(246, 229, 208, 0.7);
    margin: 10px 0 25px;
}

/* ================= Add Property Page ================= */
.add-property-page {
    min-height: 100vh;
    padding: 60px 20px;
}

.add-property-form {
    width: 100%;
    max-width: 800px;
    margin: auto;
    background: rgba(246, 229, 208, 0.04);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(164, 164, 148, 0.25);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.form-header h1 {
    font-size: 32px;
    color: #f6e5d0;
}

.form-header p {
    color: rgba(246, 229, 208, 0.7);
    margin-top: 5px;
}

.dashboard-form-group {
    margin-bottom: 22px;
}

.dashboard-form-group label, 
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(246, 229, 208, 0.85);
    font-weight: 500;
    font-size: 14px;
}

.dashboard-form-group input,
.dashboard-form-group select,
.dashboard-form-group textarea,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(27, 38, 16, 0.85);
    border: 1px solid rgba(164, 164, 148, 0.3);
    border-radius: 12px;
    color: #f6e5d0;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dashboard-form-group input:focus,
.dashboard-form-group select:focus,
.dashboard-form-group textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #f6e5d0;
    box-shadow: 0 0 0 3px rgba(246, 229, 208, 0.2);
}

.dashboard-form-row {
    display: flex;
    gap: 20px;
}

.property-form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.cancel-property-btn {
    background: rgba(246, 229, 208, 0.1);
    color: rgba(246, 229, 208, 0.8);
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.cancel-property-btn:hover {
    background: rgba(246, 229, 208, 0.2);
    color: #f6e5d0;
}

.save-property-btn {
    background: linear-gradient(135deg, #f6e5d0, #d9c5ae);
    color: #1b2610;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(246, 229, 208, 0.35);
}

.save-property-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 229, 208, 0.5);
}

/* ================= About & Contact Pages ================= */
.mission, .team-container, .info-grid, .contact-wrapper, .faq-container {
    margin-top: 40px;
}

.mission-box, .team-card, .info-card, .contact-form-box, .faq-card {
    background: rgba(246, 229, 208, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(164, 164, 148, 0.25);
    border-radius: 20px;
    padding: 30px;
    color: #f6e5d0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mission {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.mission-box {
    width: 380px;
    text-align: center;
}

.mission-box i, .faq-card i {
    font-size: 42px;
    color: #f6e5d0;
    margin-bottom: 15px;
}

.team {
    text-align: center;
    padding: 50px 8%;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-card {
    width: 250px;
    padding: 0;
    overflow: hidden;
    text-align: center;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.team-card h3 {
    margin-top: 15px;
    color: #f6e5d0;
}

.team-card p {
    color: rgba(246, 229, 208, 0.7);
    margin: 10px 0 20px;
}

.project-info {
    text-align: center;
    padding: 50px 8%;
}

.info-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.info-card {
    width: 300px;
}

.info-card h3 {
    color: #f6e5d0;
    margin-bottom: 10px;
}

.contact-page {
    padding: 50px 8%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-information h2 {
    font-size: 36px;
    color: #f6e5d0;
}

.contact-description {
    color: rgba(246, 229, 208, 0.7);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(164, 164, 148, 0.2);
    color: #f6e5d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid rgba(164, 164, 148, 0.35);
}

.contact-item h3 {
    color: #f6e5d0;
    font-size: 16px;
}

.contact-item p {
    color: rgba(246, 229, 208, 0.7);
}

.send-btn {
    width: 100%;
    background: linear-gradient(135deg, #f6e5d0, #d9c5ae);
    color: #1b2610;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(246, 229, 208, 0.35);
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 229, 208, 0.5);
}

.contact-faq {
    padding: 60px 8%;
    text-align: center;
}

.faq-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.faq-card {
    width: 320px;
    text-align: center;
}

.faq-card h3 {
    color: #f6e5d0;
    margin-bottom: 10px;
}

.faq-card p {
    color: rgba(246, 229, 208, 0.7);
    line-height: 1.6;
}

/* ================= Footer ================= */
footer {
    background: rgba(27, 38, 16, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(164, 164, 148, 0.2);
    color: rgba(246, 229, 208, 0.7);
    text-align: center;
    padding: 45px 20px;
    margin-top: 60px;
}

footer h2 {
    color: #f6e5d0;
    font-size: 28px;
    margin-bottom: 10px;
}

footer p {
    color: rgba(246, 229, 208, 0.7);
    font-size: 14px;
}

/* ================= Responsive Design (Mobile Navigation) ================= */
@media (max-width: 900px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .dashboard-welcome {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
        position: relative;
    }

    /* Tampilkan Tombol Hamburger Menu pada Ponsel */
    .menu-toggle {
        display: block;
    }

    /* Pengaturan Menu Navigasi Sembunyi secara Default */
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(27, 38, 16, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(164, 164, 148, 0.25);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    }

    /* Menu saat Aktif/Di-klik */
    nav.active {
        display: flex !important;
    }

    nav a, nav button {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }

    .dashboard-form-row {
        flex-direction: column;
        gap: 0;
    }

    .hero h2, .hero-small h2 {
        font-size: 32px;
    }
}

/* ============================================================
   EARTH OLIVE & CREAM PRELOADER
============================================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1b2610;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide-preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f6e5d0;
    border-right-color: #a4a494;
    animation: spinRing 1.2s linear infinite;
    box-shadow: 0 0 30px rgba(246, 229, 208, 0.25);
    position: relative;
    margin-bottom: 25px;
}

.loader-ring::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #33471d;
    border-left-color: #f6e5d0;
    animation: spinRingReverse 0.8s linear infinite;
}

.loader-logo h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #f6e5d0 30%, #a4a494 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    animation: pulseText 1.5s ease-in-out infinite alternate;
}

.loader-logo p {
    color: rgba(246, 229, 208, 0.7);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
}

@keyframes spinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinRingReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes pulseText {
    0% { opacity: 0.6; transform: scale(0.97); }
    100% { opacity: 1; transform: scale(1.03); }
}

/* ============================================================
   SCROLL REVEAL ANIMATION
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   LOGIN BUTTON CLICK ANIMATION (RIPPLE & MORPH)
============================================================ */
.btn-ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

nav button.btn-loading {
    width: 45px !important;
    height: 45px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    min-width: unset;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #f6e5d0 !important;
    box-shadow: 0 0 25px rgba(246, 229, 208, 0.8) !important;
}

.btn-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(27, 38, 16, 0.25);
    border-top-color: #1b2610;
    border-radius: 50%;
    animation: spinBtn 0.6s linear infinite;
}

@keyframes spinBtn {
    to { transform: rotate(360deg); }
}