/* ============================================================
   Grand Palace Hotel - Luxury Template CSS
   ============================================================ */

/* === CSS Variables === */
:root {
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --dark-navy: #1a1a2e;
    --dark-navy-light: #16213e;
    --dark-surface: #0f3460;
    --accent: #c9a84c;
}

/* === Base / Reset === */
body {
    background-color: var(--dark-navy);
    color: #e0e0e0;
    font-family: "Noto Serif", serif;
}

a {
    transition: color 0.3s ease;
}

/* === Gold Accent Utilities === */
.text-gold { color: var(--gold) !important; }
.bg-dark-navy { background-color: var(--dark-navy) !important; }
.bg-dark-surface { background-color: var(--dark-navy-light) !important; }
.bg-light-custom { background-color: var(--dark-navy-light) !important; }

/* === Buttons === */
.btn-gold {
    background-color: var(--gold);
    color: var(--dark-navy);
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 32px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--gold-light);
    color: var(--dark-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 28px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--dark-navy);
}

.btn-cta {
    background-color: var(--gold);
    color: var(--dark-navy);
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--gold-light);
    color: var(--dark-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 600;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--dark-navy);
}

/* === Navbar === */
.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 46, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    color: var(--gold) !important;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-link {
    color: #f0e6d3 !important;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

.lang-switcher,
.language-switcher {
    color: #b0b0b0;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.lang-switcher a,
.language-switcher a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lang-switcher a:hover,
.lang-switcher a.active,
.language-switcher a:hover,
.language-switcher a.active {
    color: var(--gold);
}

/* === Hero Section === */
.hero-section {
    background: linear-gradient(rgba(26, 26, 46, 0.6), rgba(26, 26, 46, 0.8)),
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&q=80') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--dark-navy));
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #f0e6d3;
    letter-spacing: 3px;
    margin-top: 1rem;
}

/* === Section Styling === */
.section-title {
    color: var(--gold);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
}

.section-subtitle {
    color: #b0b0b0;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-padding {
    padding: 5rem 0;
}

/* === Gold Divider === */
.gold-divider {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto;
}

/* === About Section === */
.about-img-wrapper {
    border: 3px solid rgba(201, 168, 76, 0.3);
    padding: 8px;
    border-radius: 8px;
}

/* === Room Cards === */
.room-card {
    background: var(--dark-navy-light);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(201, 168, 76, 0.15);
}

.room-card .card-body {
    padding: 1.5rem;
}

.room-card .card-title {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 600;
}

.room-card .room-price {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
}

.room-card-img {
    overflow: hidden;
}

.room-card-img img {
    transition: transform 0.3s ease;
}

.room-card:hover .room-card-img img {
    transform: scale(1.05);
}

.room-meta {
    display: flex;
    gap: 1rem;
    margin: 0.75rem 0;
    color: #b0b0b0;
    font-size: 0.85rem;
}

.room-meta i {
    color: var(--gold);
    margin-right: 4px;
}

.room-amenities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.room-amenities-tags .badge {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
    font-weight: 500;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 50px;
}

.room-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* === Amenity Items === */
.amenity-item {
    text-align: center;
    padding: 2rem 1rem;
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 8px;
    background: var(--dark-navy-light);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.amenity-item i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.amenity-item h5 {
    color: #f0e6d3;
    font-weight: 600;
}

/* === Testimonials === */
.testimonial-card {
    background: var(--dark-navy-light);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: rgba(201, 168, 76, 0.3);
    position: absolute;
    top: 15px;
    left: 20px;
}

.testimonial-card .stars {
    color: var(--gold);
}

.testimonial-card .client-name {
    color: var(--gold);
    font-weight: 600;
}

/* === News Cards === */
.news-card {
    background: var(--dark-navy-light);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card .card-body {
    padding: 1.5rem;
}

.news-card .news-date {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.news-card .card-title a {
    color: #f0e6d3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card .card-title a:hover {
    color: var(--gold);
}

.news-category {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-navy);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === Partners === */
.partner-logo {
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-height: 60px;
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* === Footer === */
.site-footer {
    background: #0d0d1a;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.site-footer .footer-brand {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.site-footer .footer-brand a {
    color: var(--gold);
    text-decoration: none;
}

.site-footer .footer-brand span {
    color: var(--gold-light);
}

.site-footer h5,
.site-footer h6,
.site-footer .footer-links h5 {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.site-footer .footer-links a,
.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.site-footer .footer-links a:hover,
.footer-links a:hover {
    color: var(--gold);
}

.site-footer .footer-social a,
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50%;
    color: var(--gold);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.site-footer .footer-social a:hover,
.footer-social a:hover {
    background: var(--gold);
    color: var(--dark-navy);
}

.site-footer .footer-bottom,
.footer-bottom {
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    padding-top: 1.5rem;
    color: #777;
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--gold);
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    color: #b0b0b0;
    margin-bottom: 0.75rem;
}

.footer-contact li i {
    color: var(--gold);
    margin-right: 8px;
}

/* === Scroll to Top === */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--dark-navy);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
    text-decoration: none;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.5);
    color: var(--dark-navy);
}

.scroll-top.show {
    display: flex;
}

/* === Booking Modal === */
.modal-content {
    background: var(--dark-navy-light);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: #e0e0e0;
}

.modal-header {
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.modal-header .modal-title {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body .form-label {
    color: var(--gold);
    font-weight: 500;
    font-size: 0.9rem;
}

.modal-body .form-control,
.modal-body .form-select {
    background: var(--dark-navy);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: #e0e0e0;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.2);
}

.booking-success {
    text-align: center;
    padding: 2rem;
}

.booking-success i {
    font-size: 4rem;
    color: var(--gold);
}

.booking-success h4 {
    color: var(--gold);
    margin-top: 1rem;
}

/* === Page Banner & Breadcrumb === */
.page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 100px 0 60px;
}

.page-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.7);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: #f0e6d3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--gold);
}

.breadcrumb-item.active {
    color: var(--gold);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #b0b0b0;
}

/* === Stats Section === */
.stats-section {
    background: var(--dark-navy-light);
}

.stat-item h2 {
    color: var(--gold);
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-item p {
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

/* === Team Cards === */
.team-card {
    background: var(--dark-navy-light);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card .card-title {
    color: var(--gold);
}

.team-card .card-text {
    color: #b0b0b0;
}

/* === Gallery === */
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* === Room Detail Page === */
.room-detail {
    background: var(--dark-navy);
}

.detail-gallery .main-img {
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
}

.detail-gallery .thumb-list img {
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
    max-width: 120px;
}

.detail-gallery .thumb-list img:hover,
.detail-gallery .thumb-list img.active {
    border-color: var(--gold);
    opacity: 1;
}

.room-description h3 {
    color: var(--gold);
}

.room-amenities h5,
.room-policies h5 {
    color: var(--gold);
    font-weight: 600;
}

.amenity-grid .item {
    background: var(--dark-navy-light);
    border-color: rgba(201, 168, 76, 0.15) !important;
    color: #e0e0e0;
}

.amenity-grid .item i {
    color: var(--gold);
}

.policy-card {
    background: var(--dark-navy-light);
    border-color: rgba(201, 168, 76, 0.15) !important;
}

.policy-card h6 {
    color: var(--gold);
}

.policy-card ul li {
    color: #b0b0b0;
}

.detail-info-box {
    background: var(--dark-navy-light);
    border-color: rgba(201, 168, 76, 0.2) !important;
}

.detail-info-box .price .fs-3 {
    color: var(--gold) !important;
}

.detail-info-box hr {
    border-color: rgba(201, 168, 76, 0.15);
}

.detail-info-box li {
    color: #e0e0e0;
    border-color: rgba(201, 168, 76, 0.1) !important;
}

.detail-info-box li i {
    color: var(--gold);
}

.related-rooms {
    background: var(--dark-navy-light) !important;
}

/* === Sidebar === */
.sidebar-widget {
    background: var(--dark-navy-light);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget h5 {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.sidebar-widget .form-control {
    background: var(--dark-navy);
    border-color: rgba(201, 168, 76, 0.3);
    color: #e0e0e0;
}

.category-list {
    list-style: none;
    padding-left: 0;
}

.category-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.category-list li a {
    color: #b0b0b0;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s ease;
}

.category-list li a:hover {
    color: var(--gold);
}

.category-list li a span {
    color: var(--gold);
}

.popular-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.popular-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.popular-post h6 {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.popular-post h6 a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-post h6 a:hover {
    color: var(--gold);
}

.popular-post small {
    color: #b0b0b0;
}

/* === Pagination === */
.pagination .page-link {
    background: var(--dark-navy-light);
    border-color: rgba(201, 168, 76, 0.2);
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--gold);
    color: var(--dark-navy);
    border-color: var(--gold);
}

.pagination .page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark-navy);
}

/* === Post Content (News Detail) === */
.post-meta {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.post-meta .badge {
    background: var(--gold) !important;
    color: var(--dark-navy);
}

.post-content {
    line-height: 1.8;
    color: #d0d0d0;
}

.post-content h4 {
    color: var(--gold);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.post-content blockquote {
    border-color: var(--gold) !important;
    color: #d0d0d0;
    background: var(--dark-navy-light);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.post-tags .badge {
    background: var(--dark-navy-light) !important;
    color: var(--gold) !important;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.share-buttons .btn {
    font-size: 0.85rem;
}

/* === Contact Page === */
.contact-info-card {
    background: var(--dark-navy-light);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-card h5 {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
}

.contact-info-card p {
    color: #b0b0b0;
    margin-bottom: 0;
}

.contact-info-card a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--gold);
}

.contact-social h5 {
    color: var(--gold);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--dark-navy);
}

#contactForm .form-control {
    background: var(--dark-navy-light);
    border-color: rgba(201, 168, 76, 0.3);
    color: #e0e0e0;
}

#contactForm .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.2);
}

#contactForm .form-label {
    color: var(--gold);
    font-weight: 500;
}

/* === Fade-in Animation === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(26, 26, 46, 0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 4px;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-banner {
        min-height: 250px;
        padding: 80px 0 40px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }
}
