/* ============================================================
   ROATÁN BEACH GARDEN — index.css
   Design System: tropical, premium, beach-resort aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --color-sand: #f5e6c8;
  --color-ocean: #1a8fa0;
  --color-ocean-dark: #0d6e7f;
  --color-coral: #e07b54;
  --color-gold: #c9a84c;
  --color-gold-light: #e8c878;
  --color-white: #ffffff;
  --color-cream: rgba(255, 255, 255, 0.92);
  --color-overlay: rgba(10, 20, 30, 0.52);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-btn: 50px;
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-btn: 0 4px 20px rgba(0, 0, 0, 0.3);

  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: var(--font-body);
  background: #0d1a20;
  color: var(--color-white);
  overflow-x: hidden;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  overflow: hidden;
}

/* Background image */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  will-change: auto;
}

/* Gradient overlay — darkens bottom for text legibility */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(8, 18, 25, 0.35) 0%,
      rgba(8, 18, 25, 0.50) 50%,
      rgba(8, 18, 25, 0.72) 100%);
}

/* Content stack */
.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 1.2s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Logo ---------- */
.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeInUp 1.2s 0.15s ease both;
}

.logo {
  width: clamp(260px, 55vw, 520px);
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5));
  transition: var(--transition);
}

.logo:hover {
  filter: drop-shadow(0 6px 32px rgba(201, 168, 76, 0.6));
  transform: translateY(-3px);
}

/* Decorative divider */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: clamp(160px, 50vw, 280px);
  animation: fadeInUp 1.2s 0.3s ease both;
}

.divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.divider__icon {
  font-size: 1.1rem;
  color: var(--color-gold);
  text-shadow: 0 0 12px rgba(201, 168, 76, 0.8);
}

/* ---------- Tagline ---------- */
.tagline {
  animation: fadeInUp 1.2s 0.4s ease both;
}

.tagline__main {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--color-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.tagline__sub {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-top: 0.5rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ---------- CTA Buttons ---------- */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 320px;
  animation: fadeInUp 1.2s 0.55s ease both;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.18),
      transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 150%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.btn:active {
  transform: translateY(-1px);
}

/* Primary: Carta */
.btn--primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-coral) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, #e89070 100%);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.55);
}

/* Secondary: Instagram */
.btn--instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(131, 58, 180, 0.35);
}

.btn--instagram:hover {
  box-shadow: 0 8px 30px rgba(131, 58, 180, 0.5);
}

/* Secondary: WhatsApp */
.btn--whatsapp {
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

/* Secondary: Maps (Glassmorphism) */
.btn--maps {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn--maps:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Icon in button */
.btn__icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
  position: absolute;
  bottom: 0.8rem;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  animation: fadeInUp 1.2s 0.75s ease both;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer__text {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer__text a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__text a:hover {
  color: var(--color-gold-light);
}

.footer__legal {
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}

/* ---------- Responsive tweaks ---------- */
@media (min-width: 600px) {
  .cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    gap: 0.8rem;
  }

  .btn {
    width: auto;
    min-width: 185px;
  }
}

@media (max-width: 380px) {
  .logo {
    width: 220px;
  }
}