﻿/* =====================================================
   ROOT & GLOBAL
   ===================================================== */

html {
    font-family: 'Montserrat','Segoe UI',Arial,sans-serif;
    font-size: 16px;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    body {
        font-size: 19px;
    }
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4, h5, h6,
.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.4;
}

.main-content p {
    font-size: 1.15em;
    line-height: 1.75;
}

/* =====================================================
   NAVBAR
   ===================================================== */

.navbar,
.navbar .nav-link {
    font-family: 'Montserrat','Segoe UI',Arial,sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .3px;
    color: #2c2c2c !important;
}

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: #b08b2e !important;
    }

@media (max-width: 991px) {
    .navbar .nav-link {
        font-size: 16px;
        padding: 10px 0;
    }
}

/* =====================================================
   USER DROPDOWN (AVATAR + ADMIN)
   ===================================================== */

.user-dropdown {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
}

    .user-toggle:hover {
        color: #8c6b00;
    }

/* Avatar */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg,#c5a84a,#8c6b00);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* Name */
.user-name {
    white-space: nowrap;
}

/* Admin badge */
.badge-admin {
    background: linear-gradient(135deg,#d4af37,#8c6b00);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 10px;
    letter-spacing: 1px;
}

/* Hover dropdown */
.user-dropdown .dropdown-menu {
    display: none;
    margin-top: 10px;
}

.user-dropdown:hover .dropdown-menu {
    display: block;
}

/* Giữ dropdown khi rê chuột */
.user-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

@media (max-width: 991px) {
    .user-dropdown:hover .dropdown-menu {
        display: none;
    }
}

/* =====================================================
   FORM
   ===================================================== */

label {
    font-weight: 500;
}

input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
}

/* =====================================================
   BUTTON – GOLD
   ===================================================== */

.btn-gold {
    background: linear-gradient(135deg,#c5a84a,#8c6b00);
    color: #fff;
    font-weight: 600;
    border-radius: 14px;
    padding: 10px 26px;
    border: none;
    transition: .3s ease;
}

    .btn-gold:hover {
        background: linear-gradient(135deg,#8c6b00,#c5a84a);
        box-shadow: 0 6px 16px rgba(0,0,0,.2);
        transform: translateY(-2px);
    }

/* =====================================================
   GOLD CARD – LUXURY
   ===================================================== */

.gold-card {
    background: linear-gradient(145deg,#fff,#fffdf8 40%,#fdf6e3);
    border-radius: 16px;
    border: 1px solid rgba(218,165,32,.25);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    position: relative;
    overflow: hidden;
    transition: .35s ease;
}

    .gold-card::before {
        content: "";
        position: absolute;
        inset: -40%;
        background: radial-gradient(circle,rgba(255,215,140,.18),transparent 60%);
        pointer-events: none;
    }

    .gold-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 45px rgba(0,0,0,.12);
    }

.gold-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #7a5c1e;
}

.price {
    color: #b88917;
}

/* Input gold */
.gold-input {
    border-radius: 12px;
    border: 1px solid #d6c28a;
}

    .gold-input:focus {
        border-color: #8c6b00;
        box-shadow: 0 0 0 .2rem rgba(140,107,0,.25);
    }

/* =====================================================
   ROOMS
   ===================================================== */

.room-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
    transition: .35s ease;
}

    .room-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 55px rgba(0,0,0,.18);
    }

.room-image {
    position: relative;
}

    .room-image img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        transition: .6s ease;
    }

.room-card:hover img {
    transform: scale(1.08);
}

.room-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .35s ease;
}

.room-card:hover .room-overlay {
    opacity: 1;
}

/* =====================================================
   GALLERY
   ===================================================== */

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

    .gallery-card img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        transition: .6s ease;
    }

    .gallery-card:hover img {
        transform: scale(1.08);
    }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.7));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* =====================================================
   ABOUT – GOLD LUXURY
   ===================================================== */

.about-gold {
    position: relative;
    background: linear-gradient(135deg,#2b2412,#1c180c);
    color: #f5e6b8;
}

    .about-gold::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right,rgba(255,215,140,.18),transparent 60%);
        pointer-events: none;
    }

    .about-gold .container {
        position: relative;
        z-index: 2;
    }

    .about-gold p {
        color: rgba(245,230,184,.85);
    }

/* =====================================================
   FACILITIES – DARK GOLD (HOME & ABOUT)
   ===================================================== */

.facilities-dark {
    position: relative;
}

    .facilities-dark .overlay {
        position: absolute;
        inset: 0;
        background: rgba(20,16,5,.75);
    }

    .facilities-dark .container {
        position: relative;
        z-index: 2;
    }

    .facilities-dark .title_w {
        color: #f5d77a;
    }

    .facilities-dark p {
        color: rgba(255,255,255,.8);
    }

/* Facilities card */
.facilities-card {
    background: rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(6px);
    transition: .35s ease;
}

    .facilities-card:hover {
        transform: translateY(-6px);
        background: rgba(255,255,255,.12);
    }
.rooms-hero {
    position: relative;
    background: url("/royal/image/banner.jpg") center/cover no-repeat;
    padding: 140px 0 120px;
    color: #f5e6b8;
}

    .rooms-hero .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient( rgba(20,16,5,.85), rgba(20,16,5,.65) );
    }

.hero-subtitle {
    max-width: 650px;
    margin: 20px auto 30px;
    font-size: 1.2rem;
    color: rgba(245,230,184,.85);
}
.room-card.luxury {
    border: 1px solid rgba(218,165,32,.35);
    background: linear-gradient(180deg,#fff,#fffdf7);
    position: relative;
}

    .room-card.luxury::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 18px;
        background: radial-gradient(circle at top, rgba(255,215,140,.15), transparent 60%);
        pointer-events: none;
    }
.room-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #8c6b00;
}

    .room-price span {
        font-size: .9rem;
        color: #999;
        font-weight: 400;
    }
