/* Official UP Tourism Style Header */
:root {
  --up-topbar-bg: #E65100; /* Deep Bhagwa */
  --up-red: #B71C1C;
  --up-orange: #FF6A00;
  --up-blue: #E65100; /* Bhagwa for Mobile */
  --up-text-light: #ffffff;
  --up-text-dark: #333333;
}

body {
    margin: 0;
}

.official-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background: #ffffff;
}

/* Google Translate Adjustments */
.goog-te-gadget {
  color: transparent !important;
  font-size: 0 !important;
}
.goog-logo-link {
  display: none !important;
}
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0px !important; 
}

/* Custom Language Switcher */
.up-custom-lang {
  display: flex;
  gap: 8px;
  align-items: center;
}
.up-lang-icon {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  font-size: 13px;
}
.up-lang-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

/* Top Bar */
.up-topbar {
  background-color: var(--up-topbar-bg);
  color: var(--up-text-light);
  height: 40px;
  display: flex;
  align-items: center;
}
.up-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}
.up-topbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.up-icon-btn {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.up-font-resize, .up-theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.up-font-resize button, .up-theme-toggle button {
  background: transparent;
  border: 1px solid #666;
  color: #fff;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.up-font-resize button:hover, .up-theme-toggle button:hover {
  border-color: #fff;
}
.up-theme-toggle .theme-dark-btn {
  background: #000;
  color: #fff;
  border-color: #fff;
}
.up-theme-toggle .theme-light-btn {
  background: #fff;
  color: #000;
}

.up-topbar-right {
  display: flex;
  align-items: center;
}
.up-lang-btn {
  background-color: var(--up-red);
  color: #fff;
  border: none;
  padding: 0 15px;
  height: 40px;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}


/* Main Bar */
.up-mainbar {
  background-color: #ffffff;
  padding: 10px 0;
}
.up-mainbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}
.up-logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}
.up-main-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.up-brand-text {
  display: flex;
  flex-direction: column;
}
.up-brand-title {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  font-family: 'Cinzel', serif;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.up-brand-subtitle {
  font-size: 12px;
  color: #444;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
}

.up-desktop-nav {
  display: none; 
}
@media (min-width: 1024px) {
  .up-desktop-nav {
    display: block;
  }
}
.up-nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
}
.up-nav-item a {
  text-decoration: none;
  color: var(--up-text-dark);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.up-nav-item a:hover {
  color: var(--up-orange);
}
.up-nav-plus {
  font-weight: normal;
  color: #666;
  font-size: 16px;
}

/* Emblems */
.up-emblems {
  display: none;
}
@media (min-width: 1024px) {
  .up-emblems {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  .up-emblem-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ccc;
  }
}

/* Mobile Nav Bar */
.up-mobile-nav {
  background-color: var(--up-blue);
  height: 45px;
  display: flex;
  align-items: center;
}
@media (min-width: 1024px) {
  .up-mobile-nav {
    display: none; /* hidden on desktop */
  }
}
.up-mobile-nav .container {
  width: 100%;
  padding: 0 15px;
}
.up-hamburger {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 0;
  display: flex;
  align-items: center;
}

/* Mobile Aside Menu */
.up-mobile-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  transition: left 0.3s ease;
  box-shadow: 2px 0 15px rgba(0,0,0,0.2);
  overflow-y: auto;
}
.up-mobile-menu.active {
  left: 0;
}
.up-mobile-menu-header {
  background: var(--up-blue);
  padding: 20px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.up-mobile-menu-title {
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  font-family: 'Cinzel', serif;
}
.up-close-menu {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.up-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.up-mobile-nav-list li {
  border-bottom: 1px solid #f0f0f0;
}
.up-mobile-nav-list a {
  display: block;
  padding: 16px 20px;
  color: #222;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.up-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
  display: none;
  backdrop-filter: blur(2px);
}
.up-mobile-overlay.active {
  display: block;
}

/* Adjustments for page-hero */
.page-hero {
    margin-top: 0 !important;
}

/* --- GLOBAL DARK MODE OVERRIDES --- */
body.dark-mode {
    background: #121212 !important;
    color: #e0e0e0 !important;
}
body.dark-mode main,
body.dark-mode .section,
body.dark-mode .section-soft {
    background: #121212 !important;
}
body.dark-mode .card,
body.dark-mode .up-mobile-menu {
    background: #1e1e1e !important;
    border-color: #333 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .section-title,
body.dark-mode .room-price {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
}
body.dark-mode p,
body.dark-mode span,
body.dark-mode .section-subtitle,
body.dark-mode .text-mid,
body.dark-mode .text-soft,
body.dark-mode .up-mobile-nav-list a {
    color: #bbbbbb !important;
}
body.dark-mode .up-mainbar {
    background-color: #1a1a1a !important;
}
body.dark-mode .up-brand-title,
body.dark-mode .up-nav-item a {
    color: #ffffff !important;
}
body.dark-mode .up-brand-subtitle {
    color: #aaaaaa !important;
}
body.dark-mode hr {
    border-color: #333333 !important;
}
body.dark-mode [style*="background:rgba(255,255,255"] {
    background: rgba(30, 30, 30, 0.8) !important;
}
body.dark-mode [style*="background: linear-gradient(135deg,#FFF8EF,#FDF4C0)"] {
    background: #1e1e1e !important;
}
