:root {
  /* Brand Colors - Luxury Beach Resort */
  --color-primary: #0D9488; /* Premium Turquoise */
  --color-primary-hover: #0F766E;
  --color-on-primary: #FFFFFF;
  --color-secondary: #1E3A8A; /* Deep Navy (complements turquoise) */
  --color-accent: #D4AF37; /* Soft Gold */
  --color-accent-hover: #B49020;
  --color-tertiary: #E27D60; /* Sunset Coral (new complementary accent) */
  
  /* Backgrounds & Surfaces */
  --color-background: #F8FAFC; /* Cool off-white */
  --color-surface: #FFFFFF;
  --color-surface-hover: #F1F5F9;
  
  /* Text Colors */
  --color-text-main: #0F172A; /* Slate Navy Foreground */
  --color-text-muted: #64748B;
  --color-text-light: #FFFFFF;
  
  /* UI Elements */
  --color-border: #CBD5E1;
  --color-ring: #0D9488;
  
  /* Shadows - Luxurious & Soft */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 16px 40px rgba(28, 25, 23, 0.12);
  --shadow-float: 0 24px 48px rgba(28, 25, 23, 0.16);
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions - Fluid and Slow */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-background);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-normal);
  cursor: pointer;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0;
  transition: all 0.3s ease;
}

.header--internal:not(.scrolled) {
  background-color: var(--color-primary);
}

.header.scrolled {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

.topbar {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
  background: rgba(28, 25, 23, 0.15); /* Slightly darker for elegance */
  backdrop-filter: blur(4px);
}

.header.scrolled .topbar {
  display: none;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar__left, .topbar__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.topbar__link:hover, .topbar__social:hover {
  color: var(--color-accent);
}

.topbar__socials {
  display: flex;
  gap: 1rem;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  transition: padding var(--transition-normal);
}

.header.scrolled .header__inner {
  padding: 0.5rem 0;
}

.header__logo img {
  height: 76px;
  transition: filter var(--transition-slow), transform var(--transition-slow), height var(--transition-normal);
}

.header.scrolled .header__logo img {
  height: 51px;
}

.header__logo:hover img {
  transform: scale(1.02);
}

/* Invert logo if on dark hero */
.header:not(.scrolled) .header__logo img {
  filter: brightness(0) invert(1);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text-light);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}

.header.scrolled .nav__link {
  color: var(--color-primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: width var(--transition-normal);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-accent);
}

/* Dropdown Menu */
.nav__item--dropdown {
  position: relative;
  padding: 10px 0;
  margin: -10px 0;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  border-top: 2px solid var(--color-accent);
}

/* Invisible bridge to prevent mouse-leave gaps */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

.header:not(.scrolled) .nav__dropdown {
  background-color: rgba(25, 25, 25, 0.95);
  backdrop-filter: blur(10px);
}

.nav__item--dropdown:hover .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.header:not(.scrolled) .nav__dropdown a {
  color: var(--color-text-light);
}

.nav__dropdown a:hover {
  background-color: rgba(13, 148, 136, 0.05);
  color: var(--color-accent);
}

.header:not(.scrolled) .nav__dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--transition-fast);
}

.header.scrolled .hamburger-btn {
  color: var(--color-primary);
}

.header__book-icon {
  display: block;
  stroke: white;
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  transition: stroke var(--transition-normal);
}

.header__book-btn:hover .header__book-icon {
  stroke: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 2px; /* Sharper edges for luxury */
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  border: 1px solid var(--color-primary);
}

.btn--accent {
  background-color: var(--color-accent);
  color: white;
  border: 1px solid var(--color-accent);
}

.btn--accent:hover {
  background-color: transparent;
  color: var(--color-accent);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--color-text-light);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  background-color: var(--color-text-light);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--outline-dark:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

/* Push internal heroes down so they don't hide under the absolute solid header */
site-header.has-internal-header + section,
.header--internal + section {
  margin-top: 163px;
}
@media (max-width: 768px) {
  site-header.has-internal-header + section,
  .header--internal + section {
    margin-top: 129px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--color-text-light);
}

.hero-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 2s ease-in-out, transform 8s linear;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.1);
}

.hero__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(15, 23, 42, 0.4);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 2rem;
  margin-top: 5rem;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.hero__title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 2rem;
  color: var(--color-text-light);
  text-shadow: 0 4px 12px rgba(0,0,0,0.2);
  line-height: 1.1;
  font-weight: 500;
}

.hero__text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 3rem;
  font-style: italic;
  font-weight: 400;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
}

/* Discover Section */
.section {
  padding: 8rem 0;
}

.discover {
  background-color: var(--color-background);
}

.discover__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.section__label {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.discover__text {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.discover__images {
  position: relative;
  height: 600px;
  width: 100%;
}

.img-collage {
  position: absolute;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.img-collage:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-float);
  z-index: 10;
}

.img-1 {
  top: 0; left: 0;
  width: 75%; height: 65%;
}

.img-2 {
  bottom: 0; right: 0;
  width: 65%; height: 55%;
  border: 12px solid var(--color-background); /* thicker border for overlap effect */
}

.cazare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Rooms Section (Sticky Slider UI/UX Pro Max) */
.rooms-showcase {
  display: flex;
  flex-direction: column;
  position: relative;
}

.room-slide {
  height: 90vh;
  width: 100%;
  position: sticky;
  top: 10vh; /* Pushes it down so it stays visible and creates the stack effect */
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.3); /* Shadow at the top to emphasize stacking */
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Fallback/base background color before image loads */
.room-slide {
  background-color: var(--color-background);
}

.room-slide__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 1s ease-out;
}

/* Subtle zoom effect */
.room-slide:hover .room-slide__bg {
  transform: scale(1.03);
}

.room-slide__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.6) 40%, rgba(15,23,42,0) 80%);
  z-index: 2;
}

.room-slide__content-wrapper {
  position: relative;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
}

.room-slide__content {
  max-width: 600px;
  color: var(--color-text-light);
}

.room-slide__title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.room-slide__desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.room-slide__features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.room-slide__features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}


/* Features/Offers Section */
.offers {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 8rem 0;
}

.offers .section__label {
  color: var(--color-accent);
}

.offers .section__title {
  color: var(--color-text-light);
}

.offers__buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: rgba(255, 255, 255, 0.8);
  padding: 6rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer__title {
  color: var(--color-text-light);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 1rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-tertiary);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Booking Widget */
.booking-widget-container {
  position: relative;
  z-index: 20;
  margin-top: -4.5rem;
  margin-bottom: 2rem;
}

.booking-widget {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  box-shadow: var(--shadow-float);
}

.booking-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
}

.booking-field {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.booking-field label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.booking-field input,
.booking-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background-color: var(--color-surface);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.booking-field input:hover,
.booking-field select:hover {
  border-color: var(--color-primary);
}

.booking-field input:focus,
.booking-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-surface);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.booking-field--btn {
  flex: 0 0 auto;
}

.booking-field--btn .btn {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.5rem;
}

/* Specific Updates for Inline Styles overrides in HTML */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow-lg);
  border-radius: 2px;
}

.testimonial-card {
  background: var(--color-surface);
  padding: 3rem;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 1024px) {
  .discover__grid { gap: 3rem; }
  .discover__images { height: 500px; }
  .hero__title { font-size: 4rem; }
  
  .header__right {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header__inner { 
    flex-direction: row; 
    align-items: center;
    justify-content: space-between; 
    padding: 18px 0 0.5rem 0; /* Extra 10px on top */
  }
  
  .header__right {
    gap: 1rem;
  }
  
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    padding: 2rem 0;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }
  
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav__list { 
    flex-direction: column; 
    gap: 1.5rem; 
    align-items: center; 
  }
  
  .nav__link {
    color: var(--color-text-main);
    font-size: 1.1rem;
    font-weight: 600;
  }

  .header.scrolled .nav__link {
    color: var(--color-text-main);
  }

  .nav__link:hover {
    color: var(--color-primary);
  }
  
  .nav__item--dropdown {
    padding-bottom: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .nav__dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background-color: transparent;
    min-width: auto;
    border-top: none;
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .nav__dropdown::before {
    display: none;
  }
  
  .header:not(.scrolled) .nav__dropdown {
    background-color: transparent;
    backdrop-filter: none;
  }

  .header:not(.scrolled) .nav__dropdown a,
  .nav__dropdown a {
    padding: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
  }

  .header__logo {
    margin-left: 20px;
  }
  
  .header__logo img {
    height: 52px;
  }
  
  .header.scrolled .header__logo img {
    height: 38px;
  }

  .header__book-text {
    display: none;
  }
  
  .header__book-icon {
    display: block !important;
    width: 24px;
    height: 24px;
    stroke: white !important;
    opacity: 1;
    margin-left: 0;
  }
  
  .header__book-btn {
    padding: 0;
    border-radius: 4px; /* buton patrat */
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hamburger-btn {
    display: block;
    margin-right: 20px;
  }

  .hero__title { font-size: 3rem; }
  
  .hero__buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .hero__buttons .btn {
    width: 100%;
  }

  .section { padding: 5rem 0; }
  .discover__grid { grid-template-columns: 1fr; }
  .cazare-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cazare-grid > div:first-child { order: 2; margin-top: 1rem; }
  .cazare-grid > div:last-child { order: 1; }
  .discover__images { height: 400px; max-width: 100%; margin: 2rem auto 0; }
  .img-2 { border-width: 6px; }
  
  .booking-widget-container {
    margin-top: -3rem;
  }
  .booking-widget {
    padding: 1.5rem;
  }
  .booking-field {
    flex: 1 1 100%;
  }
  .booking-field--btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.5rem; }
  .topbar { display: none; } /* Hide topbar entirely on very small screens for clean look */
  .btn { padding: 0.75rem 1.5rem; }
  .header__book-btn { padding: 0; }
  
  site-header.has-internal-header + section,
  .header--internal + section {
    margin-top: 78px; /* Adjust for hidden topbar */
  }
}

/* --- Internal Pages (Camere) --- */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--color-text-light);
  margin-bottom: 4rem;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1;
}
.page-hero__content {
  position: relative;
  z-index: 2;
}
.page-hero__subtitle {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.page-hero__title {
  color: var(--color-text-light);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Room Details Layout */
.room-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}
@media (min-width: 992px) {
  .room-details-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.room-details__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.room-details__content h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.room-details__content p {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Features List */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}
.feature-item svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.5;
}
.feature-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

/* Room Cards Grid (For camere.html) */
.rooms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}
.room-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}
@media (min-width: 768px) {
  .room-card {
    grid-template-columns: 1fr 1fr;
  }
  .room-card:nth-child(even) .room-card__image {
    order: 2;
  }
}
.room-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.room-card__image {
  height: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
}
.room-card__content {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.room-card__title {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 300;
}
.room-card__desc {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* --- Redesigned Room Pages (Minimalist) --- */
.room-page-bg {
  background-color: #fcfbf9; /* Warm off-white */
}

.room-header-clean {
  padding: 4rem 0 3rem;
  background-color: #fcfbf9; 
}
.room-header-clean__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.room-meta__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.room-meta__item svg {
  stroke: currentColor;
  fill: none;
}

.room-main-image-container {
  background-color: #fcfbf9;
}
.room-main-image {
  width: 100%;
  height: 65vh;
  min-height: 450px;
  object-fit: cover;
  display: block;
}

.split-section {
  padding: 5rem 0;
  background-color: #fcfbf9;
}
.split-section--border-top {
  border-top: 1px solid #eae7e1;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 992px) {
  .split-grid {
    grid-template-columns: 350px 1fr;
    gap: 4rem;
  }
}
.split-grid__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-text);
}
.split-grid__content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.room-price-wrapper {
  margin-bottom: 3rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.room-price-wrapper span.label {
  font-size: 1rem;
  color: var(--color-text-muted);
}
.room-price-wrapper span.value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--color-text);
  line-height: 1;
}

.btn-book-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
  transition: opacity var(--transition-normal);
  margin-top: 2rem;
}
.btn-book-link:hover {
  opacity: 0.6;
}

.amenities-minimal-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 0;
  column-gap: 4rem;
}
@media (min-width: 768px) {
  .amenities-minimal-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.amenities-minimal-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #eae7e1;
  color: var(--color-text);
  font-size: 1.05rem;
}

.more-suites-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .more-suites-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.suite-card {
  display: flex;
  flex-direction: column;
}
.suite-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 1.5rem;
}
.suite-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.suite-card .room-meta {
  margin-bottom: 1.5rem;
}
.suite-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* --- Restaurante Page Specifics --- */
.css-masonry {
  column-count: 1;
  column-gap: 1.5rem;
}
@media (min-width: 768px) {
  .css-masonry {
    column-count: 2;
  }
}
@media (min-width: 1024px) {
  .css-masonry {
    column-count: 3;
  }
}
.css-masonry__item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}
.css-masonry__img {
  width: 100%;
  display: block;
  border-radius: 2px;
  transition: transform 0.5s ease;
}
.css-masonry__item:hover .css-masonry__img {
  transform: scale(1.02);
}

.faq-accordion {
  border-top: 1px solid #eae7e1;
  margin-top: 2rem;
}
.faq-item {
  border-bottom: 1px solid #eae7e1;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-normal);
}
.faq-question:hover {
  color: var(--color-primary);
}
.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: var(--shadow-float);
  border-radius: 4px;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}
.lightbox.is-open .lightbox__img {
  transform: scale(1);
}
.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.lightbox__close:hover {
  color: var(--color-accent);
  transform: scale(1.1);
}
.css-masonry__img {
  cursor: pointer;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.css-masonry__img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* =========================================
   Bento Gallery & Lightbox
   ========================================= */

.gallery-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 1rem;
}

.gallery-bento__item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  display: block;
}

.gallery-bento__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Dynamic Bento Sizing using nth-child */
.gallery-bento__item:nth-child(7n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-bento__item:nth-child(7n + 4) {
  grid-column: span 2;
}

.gallery-bento__item:nth-child(9n + 5) {
  grid-row: span 2;
}

@media (max-width: 768px) {
  .gallery-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }
  .gallery-bento__item:nth-child(7n + 1),
  .gallery-bento__item:nth-child(7n + 4) {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .gallery-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .gallery-bento__item:nth-child(7n + 1),
  .gallery-bento__item:nth-child(7n + 4),
  .gallery-bento__item:nth-child(9n + 5) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

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

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  animation: lightboxZoom 0.3s ease forwards;
}

@keyframes lightboxZoom {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 0;
  transition: transform 0.2s ease;
}

.lightbox__close:hover {
  transform: scale(1.1);
}

