/* style.css */
:root {
  --gold: #d8b178;
  --gold-light: #dbc393;
  --gold-dark: #ab7a35;
  --gold-alt: #bb9359;
  --gold-darker: #ab8045;
  --beige: #f8f4f0;
  --white: #ffffff;
  --dark: #2c2c2c;
  --dark-gray: #3a3a3a;
  --light-gray: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.6;
  top: 0px !important;
}

/* Gold Text and Background */
.gold-text { color: var(--gold); }
.bg-gold { background-color: var(--gold); }
.bg-gold-gradient { 
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}
.bg-beige { background-color: var(--beige); }
.bg-dark-gray { background-color: var(--dark-gray); }

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: white;
  border: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 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;
  z-index: -1;
}
.btn-gold:hover::before {
  left: 100%;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(216,177,120,0.4);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: all 0.3s ease;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(216,177,120,0.3);
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
  padding: 15px 0;
}
.navbar .nav-link {
  font-weight: 500;
  color: var(--dark);
  margin: 0 0.3rem;
  position: relative;
  padding: 8px 15px !important;
  border-radius: 30px;
  transition: all 0.3s;
}
.navbar .nav-link:hover {
  color: var(--gold);
  background-color: rgba(216,177,120,0.1);
}
.navbar .nav-link.active {
  color: var(--gold);
  font-weight: 600;
  background-color: rgba(216,177,120,0.1);
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
  transform: translateX(50%);
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 30px;
}
.sticky-top {
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

/* Custom language dropdown */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 10px 0;
  min-width: 180px;
}

.dropdown-item {
  padding: 8px 20px;
  font-family: 'Cairo', sans-serif;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background-color: rgba(216,177,120,0.1);
  color: var(--gold);
  padding-right: 25px;
}

.dropdown-header {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  position: relative;
}
.hero h1 {
  text-shadow: 2px 2px 15px rgba(0,0,0,0.4);
  animation: fadeInUp 1s ease;
}
.hero .lead {
  text-shadow: 1px 1px 10px rgba(0,0,0,0.4);
  animation: fadeInUp 1s ease 0.2s both;
}
.hero .btn {
  animation: fadeInUp 1s ease 0.4s both;
}

/* Cards */
.card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 15px !important;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}
.card img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 250px;
  object-fit: cover;
}
.card:hover img {
  transform: scale(1.1);
}
.room-card .card-body {
  padding: 1.8rem 1.5rem;
}
.room-card .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.room-card .features-list li {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

/* Offer Cards */
.offer-card {
  transition: all 0.4s;
}
.offer-card:hover {
  transform: translateY(-10px);
}
.offer-badge {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Facility Icons */
.facility-icon {
  padding: 25px;
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  transition: all 0.3s;
}
.facility-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(216,177,120,0.15);
}
.facility-icon i {
  transition: all 0.3s;
}
.facility-icon:hover i {
  transform: scale(1.1);
  color: var(--gold-dark);
}

/* Facility Rows */
.facility-row {
  padding: 40px 0;
  border-bottom: 1px solid rgba(216,177,120,0.2);
}
.facility-row:last-child {
  border-bottom: none;
}

/* Contact Icons */
.contact-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  transition: all 0.3s;
}
.contact-icon:hover {
  transform: rotate(360deg);
}

/* Page Header */
.page-header {
  position: relative;
}
.page-header .breadcrumb {
  background: transparent;
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

/* ------------------------------------------------------------------ */
/* Video hero & transparent navbar styles                             */
.navbar-transparent {
  background: transparent !important;
  box-shadow: none !important;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
}
.navbar-transparent .nav-link {
  color: rgba(255,255,255,0.95);
}
.navbar-transparent .nav-link:hover {
  color: #fff;
  background-color: rgba(255,255,255,0.06);
}
.navbar-transparent .navbar-brand {
  color: var(--gold);
}

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45));
  z-index: -1;
}
.hero-content { position: relative; z-index: 1; }

/* Make navbar readable on scroll: add subtle white background when page scrolled */
.navbar-scrolled {
  background: rgba(255,255,255,0.95) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
}
.navbar-scrolled .nav-link { color: var(--dark) !important; }
.navbar-scrolled .navbar-brand { color: var(--gold) !important; }

/* Map Container */
.map-container {
  transition: all 0.3s;
}
.map-container:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
}

/* Footer */
footer {
  background-color: #1a1a1a !important;
}
footer a {
  text-decoration: none;
  transition: color 0.3s;
}
footer a:hover {
  color: var(--gold) !important;
}
.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s;
}
.social-icons a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

/* ============================================= */
/* HIDE ALL GOOGLE TRANSLATE ELEMENTS */
/* ============================================= */

/* Hide the Google Translate banner frame */
.goog-te-banner-frame {
    display: none !important;
}

/* Hide any Google Translate iframes */
iframe.goog-te-banner-frame,
iframe[src*="translate.googleapis.com"],
iframe.skiptranslate {
    display: none !important;
}

/* Hide the balloon tooltips */
.goog-te-balloon-frame,
.goog-te-balloon {
    display: none !important;
}

/* Hide the Google Translate combo box */
.goog-te-combo {
    display: none !important;
}

/* Hide the Google Translate gadget */
.goog-te-gadget {
    height: 0 !important;
    overflow: hidden !important;
    display: none !important;
}

/* Hide the Google Translate simple button */
.goog-te-gadget-simple {
    display: none !important;
}

/* Hide the Google Translate icon */
.goog-te-gadget-icon {
    display: none !important;
}

/* Hide the Google Translate logo link */
.goog-logo-link {
    display: none !important;
}

/* Hide any Google Translate spans */
.goog-te-gadget span {
    display: none !important;
}

/* Hide the skiptranslate iframe */
.skiptranslate iframe {
    display: none !important;
}

/* Remove the space that Google Translate adds at the top */
body {
    top: 0px !important;
}

/* Hide any other Google Translate related elements */
#goog-gt-tt,
.goog-te-spinner-pos,
.goog-te-spinner,
.goog-te-float,
.goog-te-float-frame,
.goog-te-menu-frame,
.goog-te-menu2,
.goog-te-menu2-frame,
.goog-te-menu-value,
.goog-te-menu3,
.goog-te-menu3-frame {
    display: none !important;
}

/* Hide the translation notification */
.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

/* Hide the Google Translate toolbar */
.VIpgJd-yAWNEb-L7lbkb {
    display: none !important;
}

/* Hide the Google Translate footer */
.VIpgJd-ZVi9od-xl07Ob {
    display: none !important;
}

/* Make sure no extra space is added */
html {
    overflow-y: auto !important;
}

/* Fix any positioning issues */
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
}

/* Hide the "Translated to: English" bar */
.skiptranslate {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero .lead { font-size: 1.2rem; }
  .navbar .nav-link { padding: 8px 12px !important; }
  .dropdown-menu { min-width: 150px; }
}

@media (max-width: 576px) {
  .room-card .card-title { font-size: 1.3rem; }
  .contact-icon { width: 50px; height: 50px; }
  .contact-icon i { font-size: 1.2rem; }
}


/* Gallery Card Styles for Index Page */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.4s;
  height: 280px;
}

.gallery-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-card-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px;
  transition: bottom 0.4s;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gallery-card:hover .gallery-card-overlay {
  bottom: 0;
}

.category-badge {
  background: var(--gold);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
}

.gallery-modal-popup .swal2-image {
  border-radius: 15px;
  max-height: 80vh;
  object-fit: contain;
}

/* Gallery Page Header */
.gallery-page-header {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-card {
    height: 220px;
  }
  
  .gallery-page-header {
    height: 200px;
  }
  
  .gallery-page-header h1 {
    font-size: 2rem;
  }
  
  .filter-btn {
    padding: 6px 15px;
    font-size: 0.85rem;
  }
}