/* ==========================================================================
   Design System & CSS Variables
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --c-navy: #0B1D3A;
  --c-navy-dark: #061124;
  --c-teal: #0E8388;
  --c-teal-light: #2CB3B8;
  --c-white: #FFFFFF;
  --c-sand: #F6F4EB;
  --c-gray-light: #F8F9FA;
  --c-gray: #6C757D;
  --c-gold: #C5A059;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(11, 29, 58, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 29, 58, 0.1);
  --shadow-lg: 0 20px 40px rgba(11, 29, 58, 0.15);
  --shadow-gold: 0 8px 24px rgba(197, 160, 89, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--c-navy);
  background-color: var(--c-gray-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;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Ocean Reveal Scroll Animations
   ========================================================================== */
.ocean-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.ocean-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.ocean-reveal-delay-1 {
  transition-delay: 0.15s;
}

.ocean-reveal-delay-2 {
  transition-delay: 0.3s;
}

.ocean-reveal-delay-3 {
  transition-delay: 0.45s;
}

.ocean-reveal-delay-4 {
  transition-delay: 0.6s;
}

/* Fallback for broken images to look decent */
img::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--c-sand);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

/* Fix for empty story section having massive space */
.story {
  background-color: var(--c-white);
  padding-bottom: 0;
}
.story .section-header {
  margin-bottom: 20px;
}
.gallery {
  padding-top: 10px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--c-navy);
  margin-bottom: 16px;
  position: relative;
}

/* Small wave divider icon above the heading */
.section-header h2::before {
  content: '';
  display: block;
  width: 60px;
  height: 12px;
  margin: 0 auto 15px auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M3,6 Q7.5,1.5 12,6 T21,6 T30,6 T39,6 T48,6 T57,6' fill='none' stroke='%23C5A059' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.section-header p {
  color: var(--c-gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--c-gold);
  color: var(--c-white);
  box-shadow: var(--shadow-gold);
}

/* Liquid Wave Hover Effect */
.btn-primary::before, .btn-secondary::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 300%;
  height: 300%;
  border-radius: 40%;
  z-index: -1;
  transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
  background-color: #b38f4d; /* Darker gold wave */
}

.btn-secondary::before {
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white wave */
}

.btn-primary:hover::before, .btn-secondary:hover::before {
  top: -50%;
  animation: waveSpin 3s infinite linear;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--c-navy);
  border: 2px solid var(--c-navy);
}

.btn-secondary:hover {
  background-color: var(--c-navy);
  color: var(--c-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--c-white);
  border: 2px solid var(--c-white);
}

.btn-outline-white:hover {
  background-color: var(--c-white);
  color: var(--c-navy);
}

@keyframes waveSpin {
  0% { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(360deg); }
}

.btn-teal {
  background-color: var(--c-teal);
  color: var(--c-white);
}

.btn-teal:hover {
  background-color: var(--c-teal-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: transparent;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  height: 70px;
  background: var(--c-navy);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-white);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.brand span {
  color: var(--c-gold);
  margin-left: 2px;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-item {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.nav-item:hover {
  color: var(--c-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-cta {
  padding: 12px 28px !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0 !important; /* Square corners for a more architectural luxury feel */
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--c-white);
  margin-bottom: 6px;
  transition: all 0.3s ease;
}

/* Mobile Adjustments */
@media (max-width: 1100px) {
  .nav-menu-wrapper {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

.nav-menu-wrapper.active {
  display: flex !important;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--c-navy);
  padding: 30px;
  flex-direction: column;
  align-items: center;
}

.nav-menu-wrapper.active .nav-links {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.review-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.review-badge .review-stars i {
  color: var(--c-gold);
  font-size: 1.4rem;
}

.review-badge span {
  font-weight: 600;
  color: var(--c-navy);
  font-size: 1.1rem;
}

.reviews-slider-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

.reviews-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.review-slide {
  min-width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.review-card {
  background: var(--c-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: left;
  position: relative;
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.review-tag {
  background: var(--c-sand);
  color: var(--c-navy);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.review-stars i {
  color: var(--c-gold);
  margin-right: 2px;
}

.review-text {
  font-size: 1.2rem;
  color: var(--c-gray);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 30px;
}

.review-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-author {
  font-weight: 700;
  color: var(--c-navy);
  font-size: 1.1rem;
}

.review-date {
  font-size: 0.9rem;
  color: var(--c-gray-medium);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.slider-btn {
  background: var(--c-white);
  border: 1px solid var(--c-navy);
  color: var(--c-navy);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: var(--c-navy);
  color: var(--c-white);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-gray-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--c-navy);
  transform: scale(1.3);
}

.review-cta {
  margin-top: 60px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.review-cta .btn-secondary {
  min-width: 280px;
  padding: 15px 40px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(11, 29, 58, 0.1);
  animation: subtlePulse 3s infinite ease-in-out;
}

@keyframes subtlePulse {
  0% { transform: scale(1); box-shadow: 0 4px 15px rgba(11, 29, 58, 0.1); }
  50% { transform: scale(1.03); box-shadow: 0 8px 25px rgba(11, 29, 58, 0.2); }
  100% { transform: scale(1); box-shadow: 0 4px 15px rgba(11, 29, 58, 0.1); }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background-color: var(--c-navy);
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.05);
}

.hero-slideshow .slide.active {
  opacity: 1;
  animation: kenBurns 10s ease-out forwards;
}

@keyframes kenBurns {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(6, 17, 36, 0.9) 0%, rgba(6, 17, 36, 0.4) 100%);
  z-index: 2;
}

.ocean-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.ocean-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  animation: waveMotion 15s linear infinite;
}

.ocean-wave .shape-fill {
  fill: var(--c-navy);
}

@keyframes waveMotion {
  0% { transform: translateX(0); }
  50% { transform: translateX(-2%); }
  100% { transform: translateX(0); }
}

.hero-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-bottom: 100px;
  z-index: 10;
}

.hero-content {
  color: var(--c-white);
  text-align: left;
  max-width: 750px;
  margin: 0;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 24px;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 0.2s;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 0.4s;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 0.6s;
}

.quick-stats-bar {
  background: var(--c-navy);
  color: var(--c-white);
  padding: 32px 0 45px 0; /* Extra padding at bottom for the wave */
  position: relative;
}

/* Sea Foam Bubbles scattered above the wave */
.quick-stats-bar::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 25px;
  background-image: 
    radial-gradient(circle, rgba(255,255,255,0.9) 2px, transparent 2.5px),
    radial-gradient(circle, rgba(255,255,255,0.7) 3.5px, transparent 4px),
    radial-gradient(circle, rgba(255,255,255,0.8) 1.5px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.5) 4.5px, transparent 5px),
    radial-gradient(circle, rgba(255,255,255,0.9) 2.5px, transparent 3px);
  background-size: 100px 25px;
  background-position: 
    10px 20px,
    35px 5px,
    60px 15px,
    80px 8px,
    95px 22px;
  background-repeat: repeat-x;
  z-index: 9;
  animation: foamDrift 12s linear infinite;
}

/* Repeating ocean wave border transition */
.quick-stats-bar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 15'%3E%3Cpath d='M0,15 C15,15 20,0 30,0 C35,0 38,10 40,15 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 40px 15px;
  z-index: 10;
}

@keyframes foamDrift {
  0% { background-position: 10px 20px, 35px 5px, 60px 15px, 80px 8px, 95px 22px; }
  100% { background-position: -90px 20px, -65px 5px, -40px 15px, -20px 8px, -5px 22px; }
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-item i {
  font-size: 1.8rem;
  color: var(--c-teal);
  margin-bottom: 12px;
  display: block;
}

.stat-item span {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Property Overview
   ========================================================================== */
.overview {
  padding: 80px 0 60px;
  background-color: var(--c-white);
  text-align: center;
}

.overview-content {
  max-width: 900px;
  margin: 0 auto;
}

.overview-title {
  font-size: 2.5rem;
  color: var(--c-navy);
  margin-bottom: 24px;
}

.overview-text-container {
  font-size: 1.1rem;
  color: var(--c-gray);
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: left;
}

.overview-text-container p {
  margin-bottom: 16px;
}

.overview-text-hidden {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.1, 0.7, 0.1, 1), opacity 0.8s ease;
  opacity: 0;
}

.overview-text-hidden.expanded {
  max-height: 1500px; /* Large enough to fit the content */
  opacity: 1;
}

.read-more-btn {
  background: transparent;
  color: var(--c-navy);
  border: 1px solid var(--c-navy);
  margin: 0 auto;
  transition: all var(--transition-fast);
}

.read-more-btn:hover {
  background: var(--c-navy);
  color: var(--c-white);
}

/* ==========================================================================
   Photo Gallery
   ========================================================================== */
.gallery {
  background-color: var(--c-white);
  padding-top: 140px;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--c-gray-light);
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-gray);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--c-navy);
  color: var(--c-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  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 var(--transition-slow);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 29, 58, 0.2);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover::after {
  opacity: 1;
}

.view-all-container {
  text-align: center;
  margin-top: 40px;
}

/* ==========================================================================
   Interactive Floor Plan Section
   ========================================================================== */
.floor-plan {
  background-color: var(--c-sand);
}

.floor-plan-container {
  display: flex;
  background: var(--c-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 600px;
}

.fp-left {
  flex: 0 0 40%;
  position: relative;
  background-color: var(--c-navy-dark);
}

.fp-image-viewer {
  width: 100%;
  height: 100%;
  position: relative;
}

.fp-image-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-normal);
}

.fp-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 32px 32px;
  background: linear-gradient(to top, rgba(6, 17, 36, 0.9), transparent);
  color: var(--c-white);
}

.fp-image-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.fp-image-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.fp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fp-chip {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.fp-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--c-gray-light);
  position: relative;
}

.fp-header {
  padding: 24px;
  display: flex;
  justify-content: center;
  background: var(--c-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.fp-selector {
  padding: 10px 20px;
  border: 1px solid var(--c-gray);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--c-navy);
  background-color: var(--c-white);
  outline: none;
  cursor: pointer;
  min-width: 200px;
}

.fp-viewer {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-viewer-inner {
  position: relative;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.fp-viewer-inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fp-hotspot {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--c-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.3);
  transition: all var(--transition-fast);
  z-index: 5;
}

.fp-hotspot:hover, .fp-hotspot.active {
  background: var(--c-teal);
  box-shadow: 0 0 0 6px rgba(14, 131, 136, 0.3);
  transform: translate(-50%, -50%) scale(1.1);
}

.fp-hotspot.active {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 131, 136, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(14, 131, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 131, 136, 0); }
}

.fp-hotspot-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-navy);
  color: var(--c-white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.fp-hotspot:hover .fp-hotspot-label {
  opacity: 1;
}

.fp-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.fp-controls button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--c-white);
  border-radius: 4px;
  cursor: pointer;
  color: var(--c-navy);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-controls button:hover {
  background: var(--c-gray-light);
  color: var(--c-teal);
}

/* ==========================================================================
   Spaces Section (Tabs)
   ========================================================================== */
.spaces {
  background-color: var(--c-white);
}

.spaces-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.spaces-tabs {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.space-tab {
  padding: 16px 24px;
  background: transparent;
  border: none;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.space-tab:hover {
  background: transparent;
  color: var(--c-white);
  border-left-color: rgba(255, 255, 255, 0.3);
  padding-left: 32px;
}

.space-tab.active {
  background: transparent;
  color: var(--c-gold);
  border-left-color: var(--c-gold);
  font-weight: 500;
  box-shadow: none;
  padding-left: 32px;
}

.spaces-content {
  flex: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
}

.space-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.space-panel.active {
  opacity: 1;
  visibility: visible;
}

.space-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-panel-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(6, 17, 36, 0.95), transparent);
  color: var(--c-white);
}

.space-panel-info h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.space-panel-info p {
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Details & Amenities
   ========================================================================== */

/* Shape Dividers for Full Website Coastal Feel */
.gallery {
  position: relative;
  background-color: var(--c-white);
  padding-bottom: 120px;
}
.custom-shape-divider-bottom-gallery {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 10;
}
.custom-shape-divider-bottom-gallery svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}
.custom-shape-divider-bottom-gallery .shape-fill {
  fill: var(--c-sand);
}

.floor-plan {
  position: relative;
  background-color: var(--c-sand);
  padding-bottom: 120px;
}
.custom-shape-divider-bottom-floorplan {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
}
.custom-shape-divider-bottom-floorplan svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 40px;
}
.custom-shape-divider-bottom-floorplan .shape-fill {
  fill: var(--c-navy);
}

.spaces {
  position: relative;
  background-color: var(--c-navy);
  padding-bottom: 150px;
  overflow: hidden;
}

/* Fix for invisible header text on dark background */
.spaces .section-header h2 {
  color: var(--c-white);
}
.spaces .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

/* Ambient Sea Foam / Floating Bubbles Background for Navy Section */
.spaces::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(255,255,255,0.08) 2px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,0.05) 4px, transparent 5px),
    radial-gradient(circle, rgba(255,255,255,0.03) 6px, transparent 7px);
  background-size: 120px 120px, 180px 180px, 250px 250px;
  background-position: 0 0, 50px 50px, 100px 100px;
  z-index: 1;
  pointer-events: none;
  animation: bubblesFloat 20s linear infinite;
}

@keyframes bubblesFloat {
  0% { background-position: 0 0, 50px 50px, 100px 100px; }
  100% { background-position: 0 -120px, 50px -130px, 100px -150px; }
}

.custom-shape-divider-bottom-spaces {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 10;
}
.custom-shape-divider-bottom-spaces svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}
.custom-shape-divider-bottom-spaces .shape-fill {
  fill: var(--c-gray-light);
}

.details {
  background-color: var(--c-gray-light);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.detail-card {
  background: var(--c-white);
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.detail-card:hover {
  transform: translateY(-5px);
}

.detail-card i {
  font-size: 2rem;
  color: var(--c-teal);
  margin-bottom: 16px;
}

.detail-card h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.detail-card p {
  color: var(--c-gray);
  font-size: 0.9rem;
}

.amenities {
  background-color: var(--c-white);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.amenity-group h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--c-navy);
  border-bottom: 2px solid var(--c-sand);
  padding-bottom: 12px;
}

.amenity-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--c-gray);
}

.amenity-list li i {
  color: var(--c-gold);
  margin-right: 12px;
  font-size: 1.1rem;
}

/* ==========================================================================
   Reviews & Location
   ========================================================================== */
.reviews {
  background-color: var(--c-sand);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background: var(--c-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.review-card i.fa-quote-left {
  font-size: 2rem;
  color: rgba(197, 160, 89, 0.2);
  position: absolute;
  top: 24px;
  right: 32px;
}

.review-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--c-navy);
}

.review-stars {
  color: var(--c-gold);
  margin-bottom: 8px;
}

.review-author {
  font-weight: 600;
  font-family: var(--font-heading);
}

/* ==========================================================================
   Rates & Policies
   ========================================================================== */
.rates-container {
  overflow-x: auto;
  background: var(--c-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.rates-table th {
  background-color: var(--c-navy);
  color: var(--c-white);
  padding: 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.rates-table td {
  padding: 20px;
  border-bottom: 1px solid var(--c-gray-light);
  color: var(--c-gray);
  vertical-align: middle;
}

.rates-table tr:last-child td {
  border-bottom: none;
}

.rates-table tbody tr:hover {
  background-color: rgba(14, 131, 136, 0.05);
}

.rates-table .highlight-row td {
  background-color: rgba(220, 169, 101, 0.1);
  color: var(--c-navy);
  font-weight: 600;
}

/* ==========================================================================
   Interactive Map
   ========================================================================== */
.interactive-map {
  background-color: var(--c-gray-light);
  padding: 100px 0 0 0; /* No bottom padding because map touches bottom */
}

.map-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.map-tab {
  background: var(--c-white);
  border: 1px solid rgba(11, 29, 58, 0.1);
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-navy);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.map-tab.active, .map-tab:hover {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}

.amenity-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  animation: fadeUp 0.3s ease;
}

.amenity-btn {
  background: var(--c-gray-light);
  border: 1px solid #D1D5DB;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-navy);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.amenity-btn.active, .amenity-btn:hover {
  background: var(--c-teal);
  color: var(--c-white);
  border-color: var(--c-teal);
}

.map-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-normal);
}

.map-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.map-blur-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=39.53986065,-74.27090855&zoom=14&size=1200x600&maptype=roadmap&sensor=false');
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  opacity: 0.7;
}

.map-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
}

.btn-large {
  position: relative;
  z-index: 25;
  font-size: 1.2rem;
  padding: 16px 40px;
  background-color: rgba(11, 29, 58, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0; /* TourWizard style sharp edges */
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-large:hover {
  background-color: var(--c-navy);
  transform: translateY(-2px);
}

.map-frame-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: linear-gradient(to bottom, var(--c-navy), var(--c-navy-dark));
  color: var(--c-white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  color: var(--c-white);
  margin-bottom: 16px;
}

.footer-brand h2 span {
  color: var(--c-gold);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--c-white);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--c-gold);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--c-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ==========================================================================
   Booking Page Specific Styles
   ========================================================================== */
.booking-page-hero {
  height: 40vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--c-navy);
  color: var(--c-white);
  text-align: center;
  padding-top: var(--header-height);
}

.booking-page-hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.booking-page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.booking-section {
  padding: 80px 0;
  background-color: var(--c-gray-light);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.booking-form-card {
  background: var(--c-white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-section {
  margin-bottom: 40px;
}

.form-section h3 {
  font-size: 1.3rem;
  color: var(--c-navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-sand);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--c-navy);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-navy);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(14, 131, 136, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.stay-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stay-card {
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 24px 16px;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stay-card i {
  font-size: 1.5rem;
  color: var(--c-gray-medium);
  transition: color var(--transition-fast);
}

.stay-card:hover {
  border-color: var(--c-teal);
  background-color: rgba(14, 131, 136, 0.02);
}

.stay-card:hover i {
  color: var(--c-teal);
}

.stay-card.selected {
  border-color: var(--c-teal);
  background-color: rgba(14, 131, 136, 0.05);
  box-shadow: 0 0 0 1px var(--c-teal);
}

.stay-card.selected i {
  color: var(--c-teal);
}

.stay-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.stay-card p {
  font-size: 0.85rem;
  color: var(--c-gray);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
}

.radio-label input {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  accent-color: var(--c-teal);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--c-gray);
}

.checkbox-label input {
  margin-right: 12px;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--c-teal);
}

/* Summary Card */
.booking-summary {
  background: var(--c-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.summary-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.summary-content {
  padding: 32px;
}

.summary-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.summary-location {
  color: var(--c-gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.summary-location i {
  margin-right: 8px;
  color: var(--c-teal);
}

.summary-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-sand);
}

.summary-feature {
  font-size: 0.85rem;
  background: var(--c-gray-light);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--c-navy);
}

.summary-pricing {
  margin-bottom: 24px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--c-gray);
}

.price-row.total {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-navy);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--c-sand);
}

.btn-block {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

.charge-note {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--c-gray);
  margin-top: 12px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 17, 36, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--c-white);
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  text-align: center;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: rgba(14, 131, 136, 0.1);
  color: var(--c-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}

.modal-content h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.modal-content p {
  color: var(--c-gray);
  margin-bottom: 32px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-summary-card {
    width: 90%;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    bottom: -80px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .floor-plan-container {
    flex-direction: column;
    height: auto;
  }
  
  .fp-left {
    height: 400px;
  }
  
  .fp-right {
    height: 500px;
  }
  
  .spaces-container {
    flex-direction: column;
  }
  
  .spaces-tabs {
    flex: none;
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 16px;
  }
  
  .space-tab {
    white-space: nowrap;
  }
  
  .interactive-map {
    padding: 60px 0 0 0;
  }
  
  .map-container {
    height: 400px;
  }
  
  .booking-layout {
    grid-template-columns: 1fr;
  }
  
  .booking-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Add mobile menu logic in JS if needed */
  }
  
  .hamburger {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .amenities-grid, .reviews-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-row, .stay-types {
    grid-template-columns: 1fr;
  }
  
  .booking-page-hero h1 {
    font-size: 2.2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .map-tabs {
    flex-direction: column;
  }
  
  .map-tab {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
  
  .brand {
    font-size: 1.5rem;
  }
  
  .nav-cta {
    display: none; /* Hide button on very small mobile nav to avoid crowding */
  }
  
  .music-toggle {
    bottom: 15px;
    left: 15px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-summary-card {
    display: none; /* Hide on very small screens to save space */
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 17, 36, 0.95);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--c-white);
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--c-teal);
}

@keyframes zoomIn {
  from {transform: scale(0.9); opacity: 0;} 
  to {transform: scale(1); opacity: 1;}
}

/* ==========================================================================
   Background Music Toggle
   ========================================================================== */
.music-toggle {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--c-navy);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--c-white);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-normal);
  padding: 0;
}

.music-toggle:hover {
  transform: scale(1.1);
  background: var(--c-teal);
  border-color: var(--c-teal);
}

.music-toggle.muted {
  background: var(--c-gray);
  opacity: 0.7;
}

.music-toggle.muted .music-waves {
  display: none;
}

.music-toggle.muted i::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--c-white);
  transform: rotate(45deg);
  left: 50%;
  top: 50%;
  margin-left: -10px;
  margin-top: -1px;
}

.music-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  margin-left: 4px;
}

.music-waves span {
  width: 2px;
  background: var(--c-gold);
  border-radius: 1px;
}

.music-toggle.playing .music-waves span {
  animation: musicWave 1s ease-in-out infinite alternate;
}

.music-toggle.playing .music-waves span:nth-child(1) { animation-delay: 0.1s; height: 6px; }
.music-toggle.playing .music-waves span:nth-child(2) { animation-delay: 0.3s; height: 10px; }
.music-toggle.playing .music-waves span:nth-child(3) { animation-delay: 0.2s; height: 8px; }

@keyframes musicWave {
  0% { height: 3px; }
  100% { height: 12px; }
}

@media (max-width: 768px) {
  .music-toggle {
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
  }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, var(--c-gold), var(--c-teal));
  z-index: 10001; /* Above navbar */
  transition: width 0.1s ease-out;
}
