/*
Theme Name: Royal Luxury Apartments
Theme URI: https://royalluxuryapartmentsgh.com
Author: Royal Luxury Apartments
Author URI: https://royalluxuryapartmentsgh.com
Description: Ghana's premier luxury apartment booking platform. Features property listings, room management, online booking with Mobile Money & card payments, and AI-powered SEO optimization.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: royal-luxury
Tags: real-estate, booking, luxury, apartments, ghana, custom-header, custom-menu, featured-images
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ═══════════════════════════════════════════
   CSS VARIABLES & RESET
   ═══════════════════════════════════════════ */
:root {
    --gold: #C9A94E;
    --gold-dark: #A68B2D;
    --gold-light: #E8D48B;
    --gold-glow: rgba(201, 169, 78, 0.35);
    --bg-primary: #0C0C0C;
    --bg-secondary: #141414;
    --bg-card: rgba(255, 255, 255, 0.045);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(201, 169, 78, 0.18);
    --border-gold: rgba(201, 169, 78, 0.5);
    --text-primary: #F2EDE4;
    --text-secondary: #C8BFAE;
    --text-muted: #A89D8C;
    --text-faint: #887B6A;
    --text-dark: #5A5044;
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --mtn-yellow: #FFCC00;
    --voda-red: #E60000;
    --airtel-blue: #003DA5;
    --transition: all 0.4s ease;
}

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

::selection {
    background: var(--gold-glow);
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-glow); border-radius: 3px; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    line-height: 1.2;
}

h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: clamp(18px, 3vw, 26px); }

p {
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    font-weight: 400;
}

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 4px;
}

.section-subtitle {
    font-size: 13px;
    font-family: var(--font-body);
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 48px;
    font-weight: 500;
}

.divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 16px auto;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

.btn-outline:hover {
    background: rgba(212, 168, 83, 0.08);
}

.btn-full { width: 100%; }

.btn-sm { padding: 8px 20px; font-size: 12px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ═══════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.15);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--bg-primary);
    font-family: var(--font-display);
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.logo-text span {
    display: block;
    font-size: 9px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 3px;
    font-family: var(--font-body);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    color: var(--text-secondary);
    font-size: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 28px;
    cursor: pointer;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 30%, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(212, 168, 83, 0.5) 40px, rgba(212, 168, 83, 0.5) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(212, 168, 83, 0.5) 40px, rgba(212, 168, 83, 0.5) 41px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    font-size: 12px;
    letter-spacing: 6px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 span {
    font-weight: 600;
}

.hero-desc {
    font-size: 18px;
    max-width: 560px;
    margin: 24px auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 28px;
    font-weight: 600;
    color: var(--gold);
}

.hero-stat-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-faint);
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   PROPERTY CARDS
   ═══════════════════════════════════════════ */
.property-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.property-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.property-card-image {
    height: 220px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.1), rgba(184, 134, 11, 0.05));
    position: relative;
    overflow: hidden;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card-image .placeholder-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-display);
    position: absolute;
    top: 12px;
    left: 12px;
}

.badge-premium { background: var(--gold); color: var(--bg-primary); }
.badge-beachfront { background: #0ea5e9; color: #fff; }
.badge-popular { background: var(--success); color: #fff; }
.badge-cultural { background: #a855f7; color: #fff; }
.badge-historic { background: var(--warning); color: var(--bg-primary); }
.badge-waterfront { background: #06b6d4; color: #fff; }

.property-card-body {
    padding: 24px;
}

.property-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.property-card-location {
    font-size: 13px;
    font-family: var(--font-body);
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.property-card-desc {
    font-size: 14px;
    font-family: var(--font-body);
    margin-bottom: 16px;
    font-weight: 400;
}

.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.stars {
    color: var(--gold);
    letter-spacing: 2px;
}

.reviews-count {
    font-size: 12px;
    color: var(--text-faint);
    margin-left: 8px;
}

.price-from {
    font-size: 10px;
    color: var(--text-faint);
    letter-spacing: 1px;
    text-align: right;
}

.price-amount {
    font-size: 22px;
    font-weight: 600;
    color: var(--gold);
}

.price-amount span {
    font-size: 12px;
    font-weight: 300;
}

/* ═══════════════════════════════════════════
   PROPERTY DETAIL
   ═══════════════════════════════════════════ */
.property-hero {
    height: 400px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.12), rgba(184, 134, 11, 0.05));
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    position: relative;
}

.property-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-hero .placeholder-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.feature-tag {
    padding: 8px 16px;
    background: rgba(212, 168, 83, 0.08);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 6px;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════
   ROOM CARDS
   ═══════════════════════════════════════════ */
.room-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
    flex-wrap: wrap;
}

.room-card:hover {
    border-color: var(--border-gold);
}

.room-type {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
}

.room-info {
    font-size: 13px;
    font-family: var(--font-body);
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.amenity-tag {
    font-size: 11px;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-faint);
    padding: 3px 10px;
    background: var(--bg-card);
    border-radius: 4px;
}

.room-price {
    text-align: right;
    min-width: 140px;
}

.room-price-amount {
    font-size: 24px;
    font-weight: 600;
    color: var(--gold);
}

.room-price-label {
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.available { color: var(--success); }
.low-stock { color: var(--warning); }
.sold-out { color: var(--danger); }

/* ═══════════════════════════════════════════
   BOOKING FORM
   ═══════════════════════════════════════════ */
.booking-summary {
    padding: 24px;
    background: rgba(212, 168, 83, 0.05);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 8px;
    margin-bottom: 32px;
}

.booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 11px;
    font-family: var(--font-body);
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 169, 78, 0.2);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus {
    border-color: var(--border-gold);
    box-shadow: 0 0 0 2px rgba(212, 168, 83, 0.1);
}

.form-select option {
    background: #1a1a1a;
    color: var(--text-primary);
}

.price-breakdown {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text-secondary);
}

.price-total {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(212, 168, 83, 0.15);
    padding-top: 12px;
    margin-top: 12px;
}

.price-total-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
}

.price-total-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

/* ═══════════════════════════════════════════
   PAYMENT MODAL
   ═══════════════════════════════════════════ */
.payment-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.payment-overlay.active {
    opacity: 1;
    visibility: visible;
}

.payment-modal {
    background: #141210;
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 12px;
    padding: 36px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: var(--transition);
}

.payment-overlay.active .payment-modal {
    transform: translateY(0);
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.payment-close {
    background: none;
    border: none;
    color: var(--text-faint);
    font-size: 24px;
    cursor: pointer;
}

.payment-amount {
    padding: 16px;
    background: rgba(212, 168, 83, 0.05);
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-section-title {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 16px;
    margin-top: 24px;
}

.momo-btn {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-display);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
    transition: var(--transition);
}

.momo-btn:hover { transform: translateY(-1px); }

.momo-mtn { background: var(--mtn-yellow); color: #000; }
.momo-voda { background: var(--voda-red); color: #fff; }
.momo-airtel { background: var(--airtel-blue); color: #fff; }

.payment-security {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    font-size: 11px;
    color: var(--text-faint);
}

/* ═══════════════════════════════════════════
   BOOKING CONFIRMATION
   ═══════════════════════════════════════════ */
.confirmation-modal {
    text-align: center;
    padding: 48px;
}

.confirmation-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.booking-ref {
    font-size: 12px;
    color: var(--text-faint);
    margin-top: 16px;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════
   FILTER BUTTONS
   ═══════════════════════════════════════════ */
.filter-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    font-size: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
}

/* ═══════════════════════════════════════════
   WHY US
   ═══════════════════════════════════════════ */
.why-us {
    background: linear-gradient(180deg, rgba(212, 168, 83, 0.03), transparent);
}

.why-card {
    text-align: center;
    padding: 24px;
}

.why-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 700;
}

.why-card p {
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text-muted);
    font-weight: 400;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonial-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    text-align: center;
}

.testimonial-text {
    font-size: 15px;
    font-family: var(--font-body);
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
    font-weight: 400;
}

.testimonial-author {
    font-size: 14px;
    font-family: var(--font-display);
    color: var(--gold);
    font-weight: 700;
}

.testimonial-role {
    font-size: 12px;
    font-family: var(--font-body);
    color: var(--text-faint);
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(212, 168, 83, 0.1);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-heading {
    font-size: 11px;
    font-family: var(--font-body);
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-link {
    display: block;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text-faint);
    margin-bottom: 8px;
    font-weight: 400;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-info {
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text-faint);
    margin-bottom: 8px;
    font-weight: 400;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(212, 168, 83, 0.08);
}

.footer-copyright {
    font-size: 11px;
    color: var(--text-dark);
    letter-spacing: 2px;
}

/* ═══════════════════════════════════════════
   BACK LINK
   ═══════════════════════════════════════════ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.back-link:hover {
    color: var(--gold-dark);
}

/* ═══════════════════════════════════════════
   MESSAGES / NOTICES
   ═══════════════════════════════════════════ */
.notice {
    padding: 16px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.notice-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.notice-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

/* ═══════════════════════════════════════════
   SEO META PREVIEW
   ═══════════════════════════════════════════ */
.seo-preview {
    margin-top: 16px;
    padding: 16px;
    background: rgba(212, 168, 83, 0.05);
    border-radius: 8px;
}

.seo-label {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.seo-value {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.seo-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.seo-keyword {
    background: rgba(212, 168, 83, 0.15);
    color: var(--gold);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
}

/* ═══════════════════════════════════════════
   ADMIN PANEL STYLES
   ═══════════════════════════════════════════ */
.rla-admin-wrap h2 {
    color: #1d2327;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rla-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.rla-stat-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
}

.rla-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #D4A853;
}

.rla-stat-label {
    font-size: 13px;
    color: #646970;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 200;
    }
    .main-nav.open a { font-size: 18px; }
    .menu-toggle { display: block; z-index: 300; }

    .hero { min-height: 80vh; padding: 100px 24px 60px; }
    .hero-stats { gap: 24px; }

    .booking-form { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }

    .room-card {
        flex-direction: column;
        text-align: center;
    }
    .room-price { text-align: center; }

    .property-meta { flex-direction: column; }

    .payment-modal { padding: 24px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .section { padding: 48px 0; }
    .property-hero { height: 240px; }
}

/* ═══════════════════════════════════════════
   ANIMATIONS & TRANSITIONS
   ═══════════════════════════════════════════ */

/* Fade In Up — staggered for grids */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes goldGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(212, 168, 83, 0.2); }
    50% { box-shadow: 0 8px 40px rgba(212, 168, 83, 0.5); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(212, 168, 83, 0.12); }
    50% { border-color: rgba(212, 168, 83, 0.4); }
}

@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-5deg) scale(0.95); }
    to { opacity: 1; transform: rotate(0) scale(1); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 100% { border-color: var(--gold); }
    50% { border-color: transparent; }
}

/* ── Scroll-triggered animations via IntersectionObserver ── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.12s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.19s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.26s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.33s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }

/* ── Hero specific animations ── */
.hero-content {
    animation: fadeInUp 1s ease forwards;
}

.hero-badge {
    animation: fadeInDown 0.8s ease 0.2s both;
}

.hero h1 {
    animation: fadeInUp 1s ease 0.3s both;
}

.hero .divider {
    animation: fadeIn 1s ease 0.6s both;
}

.hero-desc {
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-stat {
    animation: fadeInUp 0.6s ease both;
}

.hero-stat:nth-child(1) { animation-delay: 0.8s; }
.hero-stat:nth-child(2) { animation-delay: 0.95s; }
.hero-stat:nth-child(3) { animation-delay: 1.1s; }
.hero-stat:nth-child(4) { animation-delay: 1.25s; }

/* ── Property card hover animations ── */
.property-card {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.4s ease,
                box-shadow 0.5s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 168, 83, 0.08);
}

.property-card-image {
    overflow: hidden;
}

.property-card-image img,
.property-card-image .placeholder-icon {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.property-card:hover .property-card-image img,
.property-card:hover .property-card-image .placeholder-icon {
    transform: scale(1.08);
}

.property-card .badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover .badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.property-card-title {
    transition: color 0.3s ease;
}

.property-card:hover .property-card-title {
    text-shadow: 0 0 20px rgba(212, 168, 83, 0.3);
}

/* ── Room card animations ── */
.room-card {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s ease,
                box-shadow 0.4s ease,
                background 0.3s ease;
}

.room-card:hover {
    transform: translateX(6px);
    border-color: var(--border-gold);
    box-shadow: -4px 0 20px rgba(212, 168, 83, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.room-card .room-type {
    transition: letter-spacing 0.3s ease;
}

.room-card:hover .room-type {
    letter-spacing: 3px;
}

.room-card .btn {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.room-card:hover .btn {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(212, 168, 83, 0.4);
}

/* ── Button animations ── */
.btn-gold {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(212, 168, 83, 0.5);
}

.btn-gold:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 168, 83, 0.3);
}

.btn-outline {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-outline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease, left 0.3s ease;
}

.btn-outline:hover::after {
    width: 80%;
    left: 10%;
}

.btn-outline:hover {
    transform: translateY(-2px);
    background: rgba(212, 168, 83, 0.06);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.1);
}

/* ── Filter button animations ── */
.filter-btn {
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
    transform: scale(1);
}

/* ── Section title reveal ── */
.section-title {
    position: relative;
}

.section-title.animate-on-scroll.animated {
    animation: fadeInUp 0.8s ease forwards;
}

.divider {
    transition: width 0.8s ease;
}

.animate-on-scroll.animated .divider,
.divider.animated {
    animation: fadeIn 0.8s ease 0.3s both;
}

/* ── Feature tag animations ── */
.feature-tag {
    transition: all 0.3s ease;
    cursor: default;
}

.feature-tag:hover {
    background: rgba(212, 168, 83, 0.15);
    border-color: var(--border-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 168, 83, 0.15);
}

/* ── Amenity tag animations ── */
.amenity-tag {
    transition: all 0.25s ease;
}

.room-card:hover .amenity-tag {
    background: rgba(212, 168, 83, 0.06);
    color: var(--text-secondary);
}

/* ── Property hero parallax-like effect ── */
.property-hero {
    transition: box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.property-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(10, 10, 10, 0.6));
    pointer-events: none;
}

.property-hero img,
.property-hero .placeholder-icon {
    transition: transform 8s ease;
}

.property-hero:hover img,
.property-hero:hover .placeholder-icon {
    transform: scale(1.05);
}

/* ── Why-us card animations ── */
.why-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 8px;
}

.why-card:hover {
    background: rgba(212, 168, 83, 0.04);
    transform: translateY(-6px);
}

.why-icon {
    transition: transform 0.4s ease;
    display: inline-block;
}

.why-card:hover .why-icon {
    transform: scale(1.2) rotate(-5deg);
    animation: float 2s ease infinite;
}

/* ── Testimonial card animations ── */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-text {
    color: var(--text-primary);
}

/* ── Payment modal animations ── */
.payment-overlay {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.payment-modal {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.payment-overlay.active .payment-modal {
    animation: scaleIn 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* ── MoMo button hover states ── */
.momo-btn {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.momo-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.momo-btn:hover::before {
    width: 300px;
    height: 300px;
}

.momo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.momo-btn:active {
    transform: translateY(-1px);
}

/* ── Confirmation animation ── */
.confirmation-icon {
    animation: scaleIn 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards,
               float 2s ease 1s infinite;
}

/* ── Booking summary glow ── */
.booking-summary {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    animation: borderGlow 3s ease infinite;
}

/* ── Price total pulse ── */
.price-total-amount {
    transition: all 0.3s ease;
}

.price-total-amount:hover {
    text-shadow: 0 0 20px rgba(212, 168, 83, 0.5);
}

/* ── Gold shimmer text effect ── */
.gold-shimmer {
    background: linear-gradient(90deg, var(--gold), #f0d78c, var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* ── Floating decorative dots ── */
.floating-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 4s ease infinite;
}

/* ── Scroll indicator ── */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 1s ease 1.5s both;
}

.scroll-indicator-dot {
    width: 3px;
    height: 20px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    border-radius: 2px;
    animation: pulse 2s ease infinite;
}

.scroll-indicator-text {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--text-faint);
    text-transform: uppercase;
}

/* ── Link underline animation ── */
.main-nav a {
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* ── Logo hover ── */
.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-icon {
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.4);
    transform: rotate(-3deg);
}

/* ── Footer link animations ── */
.footer-link {
    position: relative;
    transition: all 0.3s ease;
    padding-left: 0;
}

.footer-link:hover {
    color: var(--gold);
    padding-left: 8px;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer-link:hover::before {
    width: 6px;
}

/* ── Stars animation ── */
.stars {
    display: inline-block;
    transition: transform 0.3s ease;
}

.property-card:hover .stars {
    transform: scale(1.1);
    text-shadow: 0 0 12px rgba(212, 168, 83, 0.5);
}

/* ── Loading spinner for async operations ── */
.rla-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(212, 168, 83, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Availability dot pulse ── */
.available::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: pulse 2s ease infinite;
}

.low-stock::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--warning);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: pulse 1s ease infinite;
}

.sold-out::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--danger);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

/* ── Form input focus animations ── */
.form-input,
.form-select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--border-gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1), 0 4px 12px rgba(212, 168, 83, 0.08);
    transform: translateY(-1px);
}

/* ── Page transition ── */
.page-transition-enter {
    opacity: 0;
    transform: translateY(20px);
}

.page-transition-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ── Reduced motion preference ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
