/* 
  RMGM - Rocky Mountain Grand Manor
  Main Stylesheet
*/

:root {
  --color-bg: #F9F8F6; /* Warm off-white */
  --color-ink: #1A1A1A; /* Deep charcoal */
  --color-alpine: #2C3E50; /* Alpine Slate */
  --color-accent: #5D6D7E; /* Soft Alpine Blue */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-ink);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
  font-family: 'Playfair Display', serif;
}

/* Glassmorphism Effect */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

/* Sticky Navbar Transitions */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.navbar-scrolled .serif {
  color: #2C3E50 !important;
}

.navbar-scrolled .nav-links a {
  color: #2C3E50 !important;
}

.navbar-scrolled .nav-links a:hover {
  color: #5D6D7E !important;
}

.navbar-scrolled #mobile-menu-trigger i {
  color: #2C3E50 !important;
}

/* Mobile Menu Slide-in */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
  transform: translateX(0);
}

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
}

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

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-alpine);
}
