/* Sunset Beach Resort - static rebuild.
   Design tokens lifted verbatim from the original client/src/index.css :root block
   and tailwind.config.ts. This is a conversion: the rendered result must match the
   previous React/Tailwind build exactly. */

:root {
  --background: hsl(45, 25%, 96%);
  --foreground: hsl(210, 40%, 15%);
  --card: hsl(0, 0%, 100%);
  --primary: hsl(195, 100%, 33%);
  --primary-foreground: hsl(0, 0%, 98%);
  --secondary: hsl(356, 79%, 55%);
  --secondary-foreground: hsl(0, 0%, 98%);
  --muted: hsl(30, 15%, 85%);
  --muted-foreground: hsl(210, 40%, 35%);
  --accent: hsl(45, 95%, 70%);
  --accent-foreground: hsl(210, 40%, 15%);
  --border: hsl(30, 25%, 80%);
  --radius: 0.75rem;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* tailwind shadow-lg / shadow-xl */
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }

html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

@media (max-width: 768px) { body { padding-bottom: 4rem; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.ico { width: 1em; height: 1em; display: block; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Tailwind `container mx-auto px-4` at the breakpoints this site actually uses */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { max-width: 640px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

/* ---------------------------------------------------------------- header */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgb(255 255 255 / .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: transform .3s;
}
.site-header.is-hidden { transform: translateY(-100%); }

.site-header nav {
  display: flex; align-items: center; justify-content: center;
  padding-block: 1rem;
}
@media (min-width: 768px) { .site-header nav { justify-content: space-between; } }

.logo-link { display: flex; align-items: center; }
.logo-link img { height: 2.5rem; width: 160px; object-fit: contain; }
@media (min-width: 640px) { .logo-link img { height: 3rem; width: 200px; } }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: none; align-items: center; gap: 1rem; }
.nav-phone {
  display: flex; align-items: center; gap: .5rem;
  color: var(--muted-foreground); font-size: .875rem; transition: color .15s;
}
.nav-phone .ico { font-size: 1rem; }
.nav-phone:hover { color: var(--primary); }

@media (min-width: 768px) {
  .nav-links, .nav-actions { display: flex; }
}

.btn-primary {
  background: var(--primary); color: var(--primary-foreground);
  padding: .5rem 1.5rem; border-radius: var(--radius); font-weight: 500;
  transition: background .15s;
}


/* ---------------------------------------------------------------- hero */

.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0, 128, 168, .8) 0%, rgba(227, 50, 54, .6) 100%);
}
.hero-inner {
  position: relative; z-index: 10; text-align: center; color: #fff;
}
.hero-copy { max-width: 56rem; margin-inline: auto; animation: fadeInUp .6s ease-out; }
.hero h1 {
  font-size: 3rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 700;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  font-size: 1.25rem; line-height: 1.625; margin-bottom: 2rem; color: rgb(255 255 255 / .9);
}
.hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1rem; color: rgb(255 255 255 / .8);
}
.hero-badges > div { display: flex; align-items: center; gap: .5rem; }
.hero-badges .ico { font-size: 1.25rem; color: var(--accent); }
.hero-badges span { font-size: .875rem; }

@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; }
  .hero p.lead { font-size: 1.5rem; }
  .hero-badges { gap: 2rem; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------------- sections */

.section { padding-block: 5rem; }
.section--bg    { background: var(--background); }
/* NOTE: the original's `bg-muted/30` utility was never emitted by Tailwind (it cannot
   apply an opacity modifier to a CSS var holding a complete hsl() string), so these
   sections render transparent on the live site. Matched deliberately. */
.section--muted { background: transparent; }

.section-head { text-align: center; margin-bottom: 4rem; }
.section-head h1,
.section-head h2 {
  font-size: 2.25rem; line-height: 2.5rem; color: var(--foreground); margin-bottom: 1rem;
}
.section-head p {
  font-size: 1.25rem; line-height: 1.75rem; color: var(--muted-foreground);
  max-width: 48rem; margin-inline: auto;
}
@media (min-width: 768px) {
  .section-head h1,
  .section-head h2 { font-size: 3rem; line-height: 1; }
}

/* ---------------------------------------------------------------- usp cards */

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.usp-card {
  text-align: center; padding: 2rem; background: var(--card);
  border-radius: 1rem; box-shadow: var(--shadow-lg); transition: box-shadow .15s;
}
.usp-card:hover { box-shadow: var(--shadow-xl); }
.usp-icon {
  width: 4rem; height: 4rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.usp-icon .ico { font-size: 2rem; }
.usp-icon--primary   { color: var(--primary); }
.usp-icon--secondary { color: var(--secondary); }
.usp-icon--accent    { color: var(--accent); }
.usp-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.usp-card p { color: var(--muted-foreground); line-height: 1.625; }

/* ---------------------------------------------------------------- packages */

.pkg-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  max-width: 72rem; margin-inline: auto;
}
@media (min-width: 768px) { .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pkg-card {
  background: var(--card); border-radius: 1rem; overflow: hidden;
  box-shadow: var(--shadow-lg); transition: box-shadow .15s;
  display: flex; flex-direction: column;
}
.pkg-card:hover { box-shadow: var(--shadow-xl); }
.media-16x9 { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; }
.media-16x9 img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.pkg-card:hover .media-16x9 img,
.card:hover .media-16x9 img { transform: scale(1.05); }
.pkg-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pkg-body h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: .75rem; }
.pkg-body p {
  color: var(--muted-foreground); line-height: 1.625;
  margin-bottom: 1.5rem; min-height: 60px; flex: 1;
}
.btn-block {
  display: block; width: 100%; text-align: center;
  background: var(--primary); color: var(--primary-foreground);
  padding: .75rem 1.5rem; border-radius: var(--radius); font-weight: 600;
  border: 0; font-family: inherit; font-size: 1rem; cursor: pointer;
  transition: background .15s;
}


/* ---------------------------------------------------------------- activities */

.card-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px)  { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s;
}
.card:hover { box-shadow: var(--shadow-xl); }
.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .75rem; }
.card-body p { color: var(--muted-foreground); line-height: 1.625; }

.subsection-head { text-align: center; margin-bottom: 3rem; }
.subsection-head h3 { font-size: 1.875rem; margin-bottom: 1rem; }
.subsection-head p {
  font-size: 1.125rem; line-height: 1.75rem;
  color: var(--muted-foreground); max-width: 48rem; margin-inline: auto;
}
@media (min-width: 768px) { .subsection-head h3 { font-size: 2.25rem; } }

.mb-20 { margin-bottom: 5rem; }

/* ---------------------------------------------------------------- gallery */

.gallery-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
}
@media (min-width: 768px)  { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.gallery-grid figure {
  margin: 0; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--radius); background: var(--card);
  transition: box-shadow .3s;
}
.gallery-grid figure:hover { box-shadow: var(--shadow-xl); }
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .3s;
}
.gallery-grid figure:hover img { transform: scale(1.1); }

/* ---------------------------------------------------------------- location */

.location-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.location-grid h2 {
  font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .location-grid h2 { font-size: 3rem; line-height: 1; } }
.location-lead {
  font-size: 1.25rem; line-height: 1.625;
  color: var(--muted-foreground); margin-bottom: 2rem;
}

.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feature { display: flex; align-items: flex-start; gap: 1rem; }
.feature-icon {
  width: 3rem; height: 3rem; border-radius: var(--radius); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon .ico { font-size: 1.5rem; }
.feature-icon--primary   { color: var(--primary); }
.feature-icon--secondary { color: var(--secondary); }
.feature-icon--accent    { color: var(--accent); }
.feature h3 { font-weight: 600; margin-bottom: .5rem; }
.feature p { color: var(--muted-foreground); }

.btn-inline {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem;
  background: var(--primary); color: var(--primary-foreground);
  padding: .75rem 1.5rem; border-radius: var(--radius); font-weight: 600;
  transition: background .15s;
}

.btn-inline .ico { font-size: 1.25rem; }

.location-media img { border-radius: 1rem; box-shadow: var(--shadow-lg); width: 100%; }

.quick-info {
  margin-top: 1.5rem; padding: 1.5rem;
  background: var(--card); border-radius: .75rem; box-shadow: var(--shadow-lg);
}
.quick-info h3 {
  font-weight: 600; margin-bottom: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.quick-info h3 .ico { font-size: 1.25rem; color: var(--primary); }
.quick-info dl {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem; font-size: .875rem; margin: 0;
}
.quick-info dt { color: var(--muted-foreground); }
.quick-info dd { margin: 0; font-weight: 600; color: var(--foreground); }

/* ---------------------------------------------------------------- contact */

.contact-wrap { max-width: 56rem; margin-inline: auto; }

.panel {
  background: var(--card); border-radius: 1rem;
  padding: 2rem; box-shadow: var(--shadow-lg);
}
.panel h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.panel a { color: var(--primary); }
.panel a:hover { text-decoration: underline; }

.contact-rows { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-row h4 { font-weight: 600; margin-bottom: .5rem; }
.contact-row p { color: var(--muted-foreground); }

.follow-us { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.follow-us h4 { font-weight: 600; margin-bottom: 1rem; }
.social-row { display: flex; gap: 1rem; }
.social-row a {
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: transform .15s;
}
.social-row a:hover { transform: scale(1.1); }
.social-row .ico { font-size: 1.25rem; }
.s-instagram  { background: linear-gradient(to right, #ec4899, #ef4444, #eab308); }
.s-facebook   { background: #2563eb; }
.s-tripadvisor{ background: #16a34a; }

.quick-links {
  margin-top: 1.5rem; background: var(--card);
  border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-lg);
}
.quick-links h4 { font-weight: 600; margin-bottom: 1rem; }
.quick-links div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.quick-links a {
  display: flex; align-items: center; gap: .5rem;
  color: var(--muted-foreground); font-size: .875rem; transition: color .15s;
}
.quick-links a:hover { color: var(--primary); }
.quick-links .ico { font-size: 1rem; }

.cta-banner {
  margin-top: 4rem; text-align: center;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 1rem; padding: 2rem; color: #fff;
}
.cta-banner h3 { font-size: 1.875rem; margin-bottom: 1rem; }
.cta-banner p { font-size: 1.25rem; margin-bottom: 1.5rem; color: rgb(255 255 255 / .9); }
.cta-banner a {
  display: inline-flex; align-items: center; gap: .75rem;
  background: #fff; color: var(--primary);
  padding: 1rem 2rem; border-radius: .75rem;
  font-size: 1.125rem; font-weight: 600;
  box-shadow: var(--shadow-lg); transition: transform .15s, background .15s;
}
.cta-banner a:hover { transform: scale(1.05); }
.cta-banner .ico { font-size: 1.25rem; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--foreground); color: #fff; padding-block: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 2 / span 2; }
}
.footer-brand img {
  height: 2.5rem; width: auto; margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  color: rgb(255 255 255 / .8); line-height: 1.625;
  margin-bottom: 1.5rem; max-width: 28rem;
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius);
  background: rgb(255 255 255 / .1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.footer-social a:hover { background: rgb(255 255 255 / .2); }
.footer-social .ico { font-size: 1.25rem; }

.site-footer h4 { font-weight: 600; color: #fff; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .75rem; }
.footer-links a { color: rgb(255 255 255 / .8); transition: color .15s; }
.footer-links a:hover { color: #fff; }

.footer-contact { display: flex; flex-direction: column; gap: .75rem; color: rgb(255 255 255 / .8); }
.footer-contact li { display: flex; align-items: center; gap: .5rem; }
.footer-contact li.top { align-items: flex-start; }
.footer-contact .ico { font-size: 1rem; }
.footer-contact li.top .ico { margin-top: .25rem; }
.footer-contact span, .footer-contact a { font-size: .875rem; }
.footer-contact a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgb(255 255 255 / .1);
  margin-top: 3rem; padding-top: 2rem; text-align: center;
}
.footer-legal p { color: rgb(255 255 255 / .6); font-size: .875rem; }

/* ---------------------------------------------------------------- floating */

.whatsapp-fab {
  position: fixed; bottom: 5rem; right: 1.5rem; z-index: 50;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background: #22c55e; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.whatsapp-fab:hover { background: #16a34a; transform: scale(1.1); box-shadow: var(--shadow-xl); }
.whatsapp-fab .ico { font-size: 1.75rem; }
@media (min-width: 768px) { .whatsapp-fab { bottom: 1.5rem; } }

.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: #fff; border-top: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.bottom-nav div {
  display: flex; align-items: center; justify-content: space-around;
  padding: .75rem .5rem;
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem; flex: 1; color: var(--muted-foreground); transition: color .15s;
}
.bottom-nav a:hover, .bottom-nav a[aria-current="page"] { color: var(--primary); }
.bottom-nav .ico { font-size: 1.25rem; }
.bottom-nav span { font-size: .75rem; font-weight: 500; }
@media (min-width: 768px) { .bottom-nav { display: none; } }

/* ---------------------------------------------------------------- subpage + 404 */

.page-head { padding-top: 9rem; padding-bottom: 1rem; background: var(--background); }
.page-head .section-head { margin-bottom: 0; }

.notfound {
  min-height: 70vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 9rem 1rem 5rem;
}
.notfound .code {
  font-size: 5rem; line-height: 1; font-weight: 700; color: var(--primary); margin-bottom: 1rem;
}
.notfound h1 { font-size: 2.25rem; margin-bottom: 1rem; }
.notfound p { font-size: 1.25rem; color: var(--muted-foreground); max-width: 34rem; margin-bottom: 2rem; }
.notfound .links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
