/* ===== CUSTOM PROPERTIES ===== */
:root {
  --green-600: #1B7A2B;
  --green-500: #22963A;
  --green-400: #2DB84A;
  --green-50: #f0faf2;
  --gold-500: #D4960C;
  --gold-400: #E8A917;
  --gold-300: #F2C144;
  --gold-50: #fef9ed;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 10px 0;
}

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

.header-logo {
  height: 44px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 4px;
}

.nav-menu a {
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  padding: 8px 18px;
  border-radius: 100px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.header.scrolled .nav-menu a {
  color: var(--gray-700);
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.header.scrolled .nav-menu a:hover {
  background: var(--green-50);
  color: var(--green-600);
}

.btn-header-reserve {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  background: var(--green-500);
  padding: 10px 24px;
  border-radius: 100px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-header-reserve:hover {
  background: var(--green-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 122, 43, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--gray-800);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background-image: url('../images/banner-desktop.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  margin-bottom: 20px;
  padding: 6px 20px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-300);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  margin-bottom: 36px;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green-500);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 122, 43, 0.3);
}

.hero-actions .btn-primary {
  background: var(--white);
  color: var(--green-600);
  font-size: 16px;
  padding: 18px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-actions .btn-primary:hover {
  background: var(--green-50);
  color: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary.btn-lg {
  font-size: 17px;
  padding: 16px 40px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
  padding: 18px 36px;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255,255,255,0.8);
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== O HOTEL ===== */
.hotel-section {
  padding: 100px 0 80px;
  background: var(--white);
}

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

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-bg {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  color: var(--white);
  z-index: 1;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  font-size: 16px;
  margin-bottom: 14px;
}

.card-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-content p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
}

.amenities-list {
  padding: 16px 24px;
}

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.amenities-list li:last-child {
  border-bottom: none;
}

.amenities-list li i {
  font-size: 16px;
  color: var(--green-500);
  width: 20px;
  text-align: center;
}

/* ===== GALLERY ===== */
.gallery-section {
  background: var(--gray-50);
  padding: 100px 0;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 12px;
}

.carousel-track img {
  width: calc(25% - 9px);
  flex-shrink: 0;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  color: var(--gray-700);
  cursor: pointer;
  z-index: 5;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--green-500);
  color: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

.gallery-cta {
  text-align: center;
}

/* ===== REVIEWS ===== */
.reviews-section {
  padding: 100px 0;
  background: var(--white);
}

.reviews-wrapper {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
}

.reviews-summary {
  margin-bottom: 32px;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rating-score {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.rating-label {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 2px;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars i {
  color: var(--gold-300);
  font-size: 14px;
}

.review-count {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
  flex: 0 0 calc(33.333% - 11px);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.review-stars i {
  color: var(--gold-400);
  font-size: 14px;
}

.review-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.review-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-800);
}

.review-date {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
}

.reviews-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.reviews-controls button {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== RESERVATIONS / MAP ===== */
.reservations-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.reservations-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: stretch;
}

.reservation-box {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.reservation-content {
  max-width: 320px;
}

.reservation-icon {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 20px;
  display: block;
}

.reservation-box h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.reservation-box p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  line-height: 1.6;
}

.map-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.map-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.map-header > i {
  font-size: 24px;
  color: var(--green-500);
}

.map-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}

.map-header p {
  font-size: 14px;
  color: var(--gray-500);
}

.map-box iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: var(--radius-md);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  padding: 64px 0 0;
  color: var(--gray-400);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 280px;
}

.footer h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--gray-400);
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 5px 0;
  color: var(--gray-400);
}

.footer-contact li i {
  margin-top: 4px;
  font-size: 14px;
  color: var(--green-400);
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-400);
  font-size: 16px;
  transition: all var(--transition);
}

.social-icons a:hover {
  background: var(--green-500);
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-600);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

.whatsapp-float a:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    left: 24px;
    background: var(--white);
    flex-direction: column;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    border: 1px solid var(--gray-200);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    color: var(--gray-700) !important;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-menu a:hover {
    background: var(--green-50) !important;
    color: var(--green-600) !important;
  }

  .btn-header-reserve {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .cards-grid {
    gap: 20px;
  }

  .card-image {
    min-height: 320px;
  }

  .review-card {
    flex: 0 0 calc(50% - 8px);
  }

  .reservations-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 767px) {
  .hero {
    background-image: url('../images/banner-mobile.png');
    min-height: 90vh;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hotel-section {
    padding: 72px 0 56px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-image {
    min-height: 300px;
  }

  .gallery-section {
    padding: 72px 0;
  }

  .carousel-track img {
    width: calc(50% - 6px);
  }

  .carousel-btn.prev {
    left: 8px;
  }

  .carousel-btn.next {
    right: 8px;
  }

  .reviews-section {
    padding: 72px 0;
  }

  .reviews-wrapper {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

  .rating-score {
    font-size: 36px;
  }

  .review-card {
    flex: 0 0 100%;
  }

  .reservations-section {
    padding: 72px 0;
  }

  .reservations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reservation-box {
    padding: 36px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-contact li {
    justify-content: center;
  }
}
