/* ============================================ */
/* RIU HOTELS & RESORTS — LANDING PAGE STYLES   */
/* ============================================ */

/* ---- VARIABLES ---- */
:root {
  --riu-red: #E4002B;
  --riu-red-dark: #B8001F;
  --riu-gold: #C8A951;
  --riu-gold-light: #E4C76B;
  --riu-black: #0a0a0a;
  --riu-dark: #111111;
  --riu-dark-2: #1a1a1a;
  --riu-dark-3: #222222;
  --riu-gray: #666666;
  --riu-gray-light: #999999;
  --riu-gray-lighter: #cccccc;
  --riu-white: #ffffff;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow-gold: 0 0 30px rgba(200,169,81,0.2);
  --shadow-glow-red: 0 0 30px rgba(228,0,43,0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--riu-black);
  color: var(--riu-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

.btn-primary {
  background: linear-gradient(135deg, var(--riu-red) 0%, var(--riu-red-dark) 100%);
  color: var(--riu-white);
  box-shadow: 0 4px 15px rgba(228,0,43,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(228,0,43,0.4);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--riu-white);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
}

.btn-call {
  background-color: var(--riu-red);
  color: var(--riu-white);
  box-shadow: 0 4px 15px rgba(228,0,43,0.3);
}
.btn-call:hover {
  background-color: var(--riu-red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--riu-gold);
  color: var(--riu-gold);
}
.btn-outline:hover {
  background-color: var(--riu-gold);
  color: var(--riu-black);
  transform: translateY(-2px);
}

/* ---- SECTION COMMON ---- */
.section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--riu-gold);
  margin-bottom: 16px;
  position: relative;
}
.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background-color: var(--riu-gold);
  opacity: 0.4;
}
.section-tag::before { left: -55px; }
.section-tag::after { right: -55px; }

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

.section-desc {
  font-size: 16px;
  color: var(--riu-gray-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================ */
/* NAVBAR */
/* ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(200,169,81,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--riu-gold);
  transition: width 0.3s;
}
.nav-link:hover { color: var(--riu-white); }
.nav-link:hover::after { width: 100%; }

.nav-cta .btn { font-size: 13px; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--riu-white);
  transition: var(--transition);
}

/* ============================================ */
/* HERO */
/* ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.4) 0%,
    rgba(0,0,0,0.6) 40%,
    rgba(10,10,10,0.85) 80%,
    rgba(10,10,10,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--riu-gold);
  margin-bottom: 24px;
  padding: 8px 24px;
  border: 1px solid rgba(200,169,81,0.3);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  background: rgba(200,169,81,0.08);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: var(--riu-white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.feature-icon { font-size: 20px; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(200,169,81,0.4);
  border-radius: 15px;
  position: relative;
}
.scroll-arrow {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: var(--riu-gold);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 24px; opacity: 0.3; }
}

/* ============================================ */
/* PACKAGES */
/* ============================================ */
.packages {
  background: linear-gradient(180deg, var(--riu-black) 0%, var(--riu-dark) 100%);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.package-card {
  background: var(--riu-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--riu-dark-3);
  transition: var(--transition);
}
.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.package-palace:hover { border-color: var(--riu-gold); box-shadow: var(--shadow-glow-gold); }
.package-stars:hover { border-color: var(--riu-red); box-shadow: var(--shadow-glow-red); }

.package-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.package-card:hover .package-image img {
  transform: scale(1.05);
}

.package-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 18px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.badge-gold {
  background: var(--riu-gold);
  color: var(--riu-black);
}
.badge-red {
  background: var(--riu-red);
  color: var(--riu-white);
}

.package-content {
  padding: 32px;
}

.package-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}
.package-palace .package-title { color: var(--riu-gold); }
.package-stars .package-title { color: var(--riu-red); }

.package-tagline {
  font-size: 14px;
  color: var(--riu-gray-light);
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.package-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--riu-gray-lighter);
}
.detail-icon { font-size: 18px; }

.package-hotels {
  margin-bottom: 28px;
}

.hotels-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.package-palace .hotels-label { color: var(--riu-gold); }
.package-stars .hotels-label { color: var(--riu-red); }

.hotels-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.hotels-list span {
  font-size: 13px;
  color: var(--riu-gray-lighter);
  padding: 4px 0;
  position: relative;
  padding-left: 16px;
}
.hotels-list span::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.package-palace .hotels-list span::before { color: var(--riu-gold); }
.package-stars .hotels-list span::before { color: var(--riu-red); }

.package-actions {
  display: flex;
  gap: 12px;
}
.package-actions .btn {
  flex: 1;
  font-size: 13px;
  padding: 14px 16px;
}

/* ============================================ */
/* EXPERIENCE */
/* ============================================ */
.experience {
  background: linear-gradient(180deg, var(--riu-dark) 0%, var(--riu-black) 100%);
}

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

.exp-card {
  padding: 36px 28px;
  background: var(--riu-dark);
  border: 1px solid var(--riu-dark-3);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}
.exp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,169,81,0.3);
  box-shadow: var(--shadow-glow-gold);
}

.exp-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.exp-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--riu-white);
}

.exp-card p {
  font-size: 14px;
  color: var(--riu-gray-light);
  line-height: 1.6;
}

/* ============================================ */
/* HOTELS GALLERY */
/* ============================================ */
.hotels-gallery {
  background: var(--riu-black);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-wide {
  grid-column: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--riu-white);
  margin-bottom: 4px;
}
.gallery-overlay p {
  font-size: 13px;
  color: var(--riu-gold);
}

/* ============================================ */
/* RESERVATION PERIOD */
/* ============================================ */
.reservation-period {
  background: var(--riu-dark);
  padding: 80px 0;
}

.reservation-box {
  background: linear-gradient(135deg, rgba(200,169,81,0.08) 0%, rgba(10,10,10,0.9) 50%, rgba(200,169,81,0.08) 100%);
  border: 2px solid var(--riu-gold);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reservation-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(200,169,81,0.05) 0%, transparent 60%);
  animation: glow 6s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.reservation-content {
  position: relative;
  z-index: 1;
}

.reservation-dates {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--riu-white);
  line-height: 1.3;
  margin: 16px 0 12px;
}

.reservation-note {
  font-size: 14px;
  color: var(--riu-gray-light);
  margin-bottom: 32px;
}

.reservation-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================ */
/* CONTACT */
/* ============================================ */
.contact {
  background: linear-gradient(180deg, var(--riu-dark) 0%, var(--riu-black) 100%);
}

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

.contact-card {
  background: var(--riu-dark);
  border: 1px solid var(--riu-dark-3);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,169,81,0.3);
}

.contact-icon {
  margin-bottom: 20px;
}

.contact-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--riu-white);
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 14px;
  color: var(--riu-gray-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-card .btn {
  width: 100%;
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
  background-color: #050505;
  padding: 60px 0 30px;
  border-top: 1px solid var(--riu-dark-3);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--riu-dark-3);
}

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

.footer-tagline {
  font-size: 14px;
  color: var(--riu-gray);
  line-height: 1.6;
  max-width: 280px;
}

.footer-links h5 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--riu-gold);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 13px;
  color: var(--riu-gray);
  padding: 5px 0;
}
.footer-links a:hover {
  color: var(--riu-white);
}

.footer-bottom {
  text-align: center;
}

.footer-legal {
  font-size: 11px;
  color: var(--riu-gray);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copy {
  font-size: 12px;
  color: var(--riu-dark-3);
}

/* ============================================ */
/* FLOATING WHATSAPP */
/* ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: floatPulse 3s ease-in-out infinite;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ============================================ */
/* LEGAL PAGES */
/* ============================================ */
.legal-page {
  padding-top: 100px;
  padding-bottom: 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--riu-white);
  margin-bottom: 8px;
  text-align: center;
}

.legal-content .legal-update {
  text-align: center;
  font-size: 13px;
  color: var(--riu-gray-light);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--riu-gold);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--riu-dark-3);
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--riu-white);
  margin: 24px 0 10px;
}

.legal-content p {
  font-size: 14px;
  color: var(--riu-gray-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 14px;
  color: var(--riu-gray-light);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--riu-gold);
  text-decoration: underline;
}
.legal-content a:hover {
  color: var(--riu-gold-light);
}

.legal-content strong {
  color: var(--riu-white);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--riu-gold);
}
.legal-back:hover { color: var(--riu-gold-light); }

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 1024px) {
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-large {
    grid-column: span 2;
    grid-row: span 1;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--riu-dark-3);
  }

  .hero-content { padding: 100px 20px 60px; }
  .hero-features { gap: 16px; }

  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-tagline { margin: 0 auto; }

  .package-details {
    grid-template-columns: 1fr;
  }
  .hotels-list {
    grid-template-columns: 1fr;
  }
  .package-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn { width: 100%; max-width: 300px; }

  .experience-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-large, .gallery-wide {
    grid-column: span 1;
  }

  .reservation-box { padding: 40px 20px; }
  .reservation-actions { flex-direction: column; align-items: center; }
  .reservation-actions .btn { width: 100%; max-width: 300px; }

  .section-tag::before, .section-tag::after { display: none; }
}
