/* assets/css/style.css */

/* Google Fonts Import: Cormorant Garamond for Serifs & Montserrat for Sans-Serif */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

:root {
    --ramada-red: #b8001c;
    /* Iconic Ramada Red */
    --ramada-red-hover: #960014;
    --ramada-red-light: #fff2f4;
    --ramada-gold: #c5a880;
    /* Refined Champagne Gold Accents */
    --ramada-gold-light: #f8f9fb;
    /* Crisp Modern Light Gray (Replaced yellowish beige) */
    --ramada-gold-dark: #a3875f;
    --dark-luxury: #14171d;
    /* Modern Charcoal Slate */
    --dark-gray: #1e2229;
    --light-luxury: #ffffff;
    --text-color: #2b2f38;
    --text-muted: #6c757d;
    --border-color: #e5e8ed;
    --border-gold: 1px solid rgba(197, 168, 128, 0.35);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.08);
    --shadow-luxury: 0 20px 45px rgba(20, 23, 29, 0.08);
}

/* Custom Scrollbar for Luxury Experience */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-luxury);
}

::-webkit-scrollbar-thumb {
    background: var(--ramada-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ramada-red-hover);
}

html,
body {
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* Typography Redefinitions */
h1,
h2,
h3,
h4,
h5,
h6,
.font-playfair {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.text-ramada {
    color: var(--ramada-red) !important;
}

.text-gold {
    color: var(--ramada-gold-dark) !important;
}

.text-champagne {
    color: #f3d08c !important;
}

.bg-dark .text-gold,
.bg-dark .text-ramada,
.bg-luxury .text-gold,
.bg-luxury .text-ramada {
    color: #f3d08c !important;
}

/* Accessible Touch Targets for Swiper Pagination */
.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    margin: 0 8px !important;
    position: relative;
    background: var(--ramada-red) !important;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 48px;
    min-height: 48px;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    transform: scale(1.25);
}

.bg-ramada {
    background-color: var(--ramada-red) !important;
}

.bg-gold {
    background-color: var(--ramada-red) !important;
}

.bg-luxury {
    background-color: var(--dark-luxury) !important;
}

.bg-beige {
    background-color: #f8f9fb !important;
}

/* Luxury Divider */
.divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ramada-red) 50%, transparent);
    position: relative;
    margin: 1.5rem auto;
}

.divider::after {
    content: '♦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--ramada-red);
    font-size: 8px;
    background-color: #fff;
    padding: 0 6px;
}

.bg-light .divider::after,
.bg-beige .divider::after {
    background-color: transparent;
}

.page-header .divider::after {
    background-color: transparent;
}

.divider.text-start,
.text-start .divider {
    margin-left: 0;
    margin-right: auto;
    background: linear-gradient(90deg, var(--ramada-red), transparent);
}

.divider.text-start::after,
.text-start .divider::after {
    left: 15px;
    transform: translate(0, -50%);
    background-color: #fff;
    padding: 0 4px;
}

/* Buttons */
.btn-ramada {
    background-color: var(--ramada-red);
    color: #fff !important;
    border: 1px solid var(--ramada-red);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    transition: var(--transition-smooth);
    border-radius: 0;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(184, 0, 28, 0.2);
}

.btn-ramada:hover {
    background-color: var(--ramada-red-hover);
    color: #fff !important;
    border-color: var(--ramada-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(184, 0, 28, 0.35);
}

.btn-gold-outline {
    background-color: transparent;
    color: var(--dark-luxury) !important;
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    transition: var(--transition-smooth);
    border-radius: 0;
    text-transform: uppercase;
}

.btn-gold-outline:hover {
    background-color: var(--ramada-red);
    border-color: var(--ramada-red);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 0, 28, 0.25);
}

.btn-gold {
    background-color: var(--ramada-red);
    color: #fff !important;
    border: 1px solid var(--ramada-red);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    transition: var(--transition-smooth);
    border-radius: 0;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(184, 0, 28, 0.2);
}

.btn-gold:hover {
    background-color: var(--ramada-red-hover);
    border-color: var(--ramada-red-hover);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(184, 0, 28, 0.35);
}

.btn-luxury-dark {
    background-color: var(--dark-luxury);
    color: #fff !important;
    border: 1px solid var(--dark-luxury);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    transition: var(--transition-smooth);
    border-radius: 0;
    text-transform: uppercase;
}

.btn-luxury-dark:hover {
    background-color: var(--ramada-red);
    border-color: var(--ramada-red);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 0, 28, 0.25);
}

/* Topbar */
.topbar {
    background-color: var(--dark-luxury);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.lang-link:hover,
.lang-link.active {
    color: var(--ramada-gold);
}

/* Navbar */
.navbar {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar.sticky-top {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.navbar-brand img {
    transition: var(--transition-smooth);
}

.nav-link {
    color: var(--dark-luxury) !important;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-smooth);
}

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

/* Red Underline Effect on Nav Link Hover & Active */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 1rem;
    background-color: var(--ramada-red);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 2rem);
}

/* Page Header */
.page-header {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-attachment: scroll;
}

.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.6));
    z-index: 0;
}

.page-header h1 {
    font-size: 3rem;
    letter-spacing: 0.05em;
}

.z-index-1 {
    z-index: 1;
}

/* Content Area */
.page-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #444;
    font-weight: 300;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: var(--shadow-medium);
    margin-bottom: 1.5rem;
}

/* --- Homepage Styles --- */

/* Hero Slider with Ken Burns effect */
#homeCarousel {
    overflow: hidden;
    height: 85vh;
}

#homeCarousel .carousel-item {
    height: 85vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 1.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

#homeCarousel .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

#homeCarousel .carousel-caption {
    z-index: 2;
    max-width: 700px;
    margin-bottom: 2%;
}

#homeCarousel .carousel-caption h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

#homeCarousel .carousel-caption p {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* Ken Burns dynamic class */
.carousel-item.active {
    animation: luxuryZoom 25s ease-out forwards;
}

@keyframes luxuryZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

/* Booking Widget Glassmorphism */
.booking-widget {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-gold);
    box-shadow: var(--shadow-luxury);
    padding: 2.2rem !important;
}

.booking-widget label {
    font-size: 0.65rem !important;
    letter-spacing: 0.15em;
    color: var(--dark-luxury) !important;
}

.booking-widget input,
.booking-widget select {
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--dark-luxury);
    transition: var(--transition-smooth);
    padding: 0.75rem;
}

.booking-widget input:focus,
.booking-widget select:focus {
    border-color: var(--ramada-gold);
    box-shadow: none;
    background-color: #fff;
}

/* Welcome Section Image Frame */
.luxury-image-wrapper {
    position: relative;
    padding: 15px;
}

.luxury-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border: 1px solid var(--ramada-gold);
    z-index: 0;
    transform: translate(25px, 25px);
    transition: var(--transition-smooth);
}

.luxury-image-wrapper img {
    position: relative;
    z-index: 1;
    border-radius: 0;
    transition: var(--transition-smooth);
}

.luxury-image-wrapper:hover img {
    transform: translate(-5px, -5px);
}

.luxury-image-wrapper:hover::before {
    transform: translate(30px, 30px);
}

/* Quality Badge */
.quality-badge {
    background: linear-gradient(135deg, #d4af37 0%, #a88b60 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(168, 139, 96, 0.35);
    border-radius: 50% !important;
    z-index: 3;
    font-family: 'Cormorant Garamond', serif;
}

/* Luxury Room Cards */
.room-card {
    background-color: #fff;
    border: 1px solid var(--border-color) !important;
    transition: var(--transition-smooth);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury);
    border-color: rgba(184, 0, 28, 0.3);
}

/* Room Detail Luxury Enhancements */
.room-feature-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.room-feature-item {
    transition: var(--transition-smooth);
}

.room-feature-item:hover .room-feature-icon-box {
    background-color: var(--ramada-red);
    border-color: var(--ramada-red);
    color: #ffffff !important;
}

.room-feature-item:hover .room-feature-icon-box i {
    color: #ffffff !important;
}

.room-amenity-tile {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-amenity-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(184, 0, 28, 0.3);
}

.room-thumb.active-thumb {
    border-color: var(--ramada-red) !important;
    box-shadow: 0 0 0 2px var(--ramada-red);
}

.room-img-container {
    overflow: hidden;
    position: relative;
}

.room-img {
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 270px;
    object-fit: cover;
    width: 100%;
}

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

.room-spec-icon {
    font-size: 0.85rem;
    color: var(--ramada-red);
}

.room-specs {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    margin: 1rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.price-tag {
    font-size: 1.35rem;
    color: var(--ramada-red);
}

/* Amenities Redesign */
.amenity-card {
    border: 1px solid var(--border-color) !important;
    background-color: #fff;
    transition: var(--transition-smooth);
    border-radius: 0;
}

.amenity-card:hover {
    transform: translateY(-5px);
    border-color: var(--ramada-red) !important;
    box-shadow: 0 10px 25px rgba(184, 0, 28, 0.08);
}

.amenity-card i {
    color: var(--ramada-red) !important;
    transition: var(--transition-smooth);
}

.amenity-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--ramada-red-hover) !important;
}

.amenity-card h5 {
    font-size: 1.15rem;
    font-weight: 500;
}

/* Luxury Experience Cards (Dining & Spa) */
.experience-card {
    position: relative;
    height: 520px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--border-color);
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.16);
}

.experience-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.experience-card:hover .experience-bg {
    transform: scale(1.08);
}

.experience-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(16, 20, 28, 0.95) 0%, rgba(16, 20, 28, 0.5) 55%, rgba(16, 20, 28, 0.15) 100%);
    z-index: 1;
}

.experience-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.btn-experience {
    background-color: #ffffff;
    color: var(--dark-luxury) !important;
    border: 1px solid #ffffff;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    transition: var(--transition-smooth);
    border-radius: 0;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.btn-experience:hover {
    background-color: var(--ramada-red);
    border-color: var(--ramada-red);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 0, 28, 0.4);
}

/* Guest Testimonials section styling */
.testimonials-section {
    background-color: var(--ramada-gold-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonial-quote {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--dark-luxury);
}

.testimonial-author {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
}

/* Footer Styling */
.footer {
    background-color: var(--dark-luxury) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
}

.footer h5 {
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--ramada-red);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--ramada-red) !important;
    transform: translateX(4px);
}

.footer-links i {
    font-size: 0.65rem;
    color: var(--ramada-red);
}

.social-links a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--ramada-red);
    border-color: var(--ramada-red);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Contact subpage styling */
.contact-info-circle {
    width: 50px;
    height: 50px;
    background-color: transparent !important;
    border: 1px solid var(--ramada-red);
    color: var(--ramada-red) !important;
    transition: var(--transition-smooth);
}

.contact-info-circle:hover {
    background-color: var(--ramada-red) !important;
    color: #fff !important;
}

.contact-card-luxury {
    background-color: #fff !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-soft) !important;
}

.contact-form-control {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 0.8rem 0.2rem;
    font-size: 0.85rem;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.contact-form-control:focus {
    box-shadow: none;
    border-bottom-color: var(--ramada-red);
    background-color: transparent;
}

/* Inner Gallery Styles */
.gal-filter {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.gal-item .card {
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.gal-item .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium) !important;
    border-color: var(--ramada-gold) !important;
}

.gal-item img {
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

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

/* Room Details Inner Styles */
.active-thumb {
    border-color: var(--ramada-gold) !important;
}

.room-thumb {
    transition: var(--transition-smooth);
}

.room-thumb:hover {
    border-color: var(--ramada-gold-dark) !important;
}

.room-sidebar-booking {
    border: 1px solid var(--border-color) !important;
    background-color: var(--ramada-gold-light) !important;
}

/* Animations declarations */
.animate-zoom {
    overflow: hidden;
}

.animate-zoom img {
    transition: transform 1.5s ease;
}

.animate-zoom:hover img {
    transform: scale(1.05);
}

/* Rooms Swiper Slider Custom Luxury Styles */
.roomsSwiper {
    padding: 10px 4px 30px 4px !important;
}

.roomsSwiper .swiper-slide {
    display: flex;
    height: auto;
}

.rooms-slide-prev,
.rooms-slide-next {
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    color: var(--dark-luxury) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rooms-slide-prev:hover,
.rooms-slide-next:hover {
    background: var(--ramada-red) !important;
    border-color: var(--ramada-red) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(184, 0, 28, 0.3) !important;
}

.rooms-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #bbb;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.rooms-pagination .swiper-pagination-bullet-active {
    background: var(--ramada-red) !important;
    width: 24px;
    border-radius: 4px;
    opacity: 1;
}

/* Card Hover Effects */
.hover-shadow {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.hover-shadow:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(184, 0, 28, 0.3) !important;
}