/* === CSS VARIABLES === */
:root {
  /* Fresh Summer & Urban Modern Palette */
  --primary-color: #0c4a6e;
  /* Deep sky blue / navy for contrast */
  --secondary-color: #38bdf8;
  /* Bright sky blue */
  --accent-color: #22c55e;
  /* Fresh garden green */
  --bg-light: #f8fafc;
  /* Crisp off-white */
  --bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  --text-dark: #0f172a;
  --text-light: #64748b;
  --white: #ffffff;

  /* Glassmorphism Tokens */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout & Animation */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --container-width: 1200px;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === TYPOGRAPHY & UTILITIES === */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 800px;
}

.text-center {
  text-align: center;
}

/* Custom FontAwesome Mapping */
.fa-sofa::before {
  content: "\f4b8";
  /* Unicodes for fa-couch, since fa-sofa is pro-only */
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.lead-text {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 24px;
  font-weight: 400;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background-color: #000;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.btn-block {
  display: block;
  width: 100%;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: #000;
  letter-spacing: 1px;
  background-color: var(--white);
  padding: 8px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.brand-logo {
  height: 40px;
  width: auto;
  border-radius: 4px;
  /* Slight rounding for generated image */
  background: white;
  /* Contrast if image is transparent/has edges */
  padding: 2px;
}

.navbar.scrolled .nav-logo {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.nav-btn) {
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-links a:not(.nav-btn) {
  color: var(--text-dark);
  text-shadow: none;
}

.nav-links a:not(.nav-btn):hover {
  color: var(--secondary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
  color: var(--primary-color);
}

.mobile-links {
  display: none;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--glass-border);
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: var(--transition);
}

.mobile-links.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-links a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  font-weight: 500;
}

.mobile-links a:last-child {
  border-bottom: none;
  color: var(--secondary-color);
  font-weight: 600;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Using a beautiful property/garden image */
  background-image: linear-gradient(rgba(12, 74, 110, 0.4), rgba(0, 0, 0, 0.2)), url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: subtleZoom 20s infinite alternate;
}

@keyframes subtleZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.05);
  }
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-badge {
  display: inline-block;
  background: #000;
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 500;
}

.stat i {
  color: #000;
  font-size: 1.2rem;
  background-color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-down-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 2rem;
  animation: bounce 2s infinite;
  opacity: 0.8;
  transition: var(--transition);
}

.scroll-down-btn:hover {
  opacity: 1;
  color: var(--secondary-color);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-20px) translateX(-50%);
  }

  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* === OVERVIEW SECTION === */
.overview-cards {
  padding: 80px 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(31, 38, 135, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.glass-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* === LAYOUT UTILITIES (Split Sections) === */
.description-section,
.floorplan-section {
  padding: 100px 0;
}

.floorplan-section {
  background-color: var(--white);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-layout.reverse .text-content {
  order: 2;
}

.split-layout.reverse .image-content {
  order: 1;
}

.split-layout p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.feature-list {
  list-style: none;
  margin-top: 32px;
}

.feature-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-dark);
}

.feature-list i {
  color: var(--accent-color);
  background: rgba(34, 197, 94, 0.1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.image-content {
  position: relative;
}

.feature-image {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--bg-gradient);
  border-radius: var(--radius-lg);
  z-index: 1;
  opacity: 0.5;
}

.floorplan-placeholder {
  background: var(--bg-light);
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  color: var(--text-light);
}

.floorplan-placeholder i {
  font-size: 4rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

/* === GALLERY SECTION === */
.gallery-section {
  padding: 100px 0;
  background: var(--bg-gradient);
}

.section-header {
  margin-bottom: 60px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 74, 110, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-overlay span {
  color: white;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.25rem;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

.more-photos-notice {
  text-align: center;
  margin-top: 40px;
  color: var(--primary-color);
  opacity: 0.8;
}

/* === FULL GALLERY PAGE === */
body.gallery-page {
  padding-top: 80px;
}

body.gallery-page .navbar {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

body.gallery-page .nav-logo {
  color: var(--primary-color);
}

body.gallery-page .nav-links a:not(.nav-btn) {
  color: var(--text-dark);
  text-shadow: none;
}

body.gallery-page .mobile-menu-btn {
  color: var(--primary-color);
}

.page-header {
  padding: 60px 0 40px;
  background: var(--bg-gradient);
  border-bottom: 1px solid #e2e8f0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 500;
  margin-top: 16px;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--secondary-color);
  transform: translateX(-5px);
}

.full-gallery-container {
  padding: 60px 0 100px;
}

.gallery-category {
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e2e8f0;
}

.gallery-category:last-child {
  border-bottom: none;
  margin-bottom: 40px;
}

.category-header {
  margin-bottom: 32px;
}

.category-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.category-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.room-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0 0 16px;
  border-left: 4px solid var(--secondary-color);
  padding-left: 12px;
}

.mt-4 {
  margin-top: 32px;
}

.mt-2 {
  margin-top: 16px;
}

.cta-section {
  padding: 80px 0;
  background: var(--text-dark);
  color: white;
}

.cta-section h2 {
  color: white;
}

.cta-section .lead-text {
  color: #cbd5e1;
}

/* === BOOKING SECTION === */
.booking-section {
  padding: 100px 0;
  background-image: linear-gradient(rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.9)), url('images/booking-bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: 60px;
}

.booking-form {
  margin-top: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-success {
  margin-top: 24px;
  padding: 16px;
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--accent-color);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-success.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

/* === FOOTER === */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* === ANIMATIONS (Scroll Reveal) === */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-layout.reverse .text-content,
  .split-layout.reverse .image-content {
    order: unset;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .glass-panel {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-item.large {
    grid-column: span 1;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}