/* ========================================
   SUGARSHORES OF DESTIN — STYLES
   Charcoal + Coral · Editorial Bold
   ======================================== */

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

:root {
  --charcoal-900: #0f0f0f;
  --charcoal-800: #1a1a1a;
  --charcoal-700: #2a2a2a;
  --charcoal-600: #3a3a3a;
  --charcoal-500: #555555;
  --charcoal-400: #888888;
  --coral-500: #F2705A;
  --coral-400: #f48976;
  --coral-300: #f7a99a;
  --coral-600: #e0553d;
  --cream-50: #faf8f6;
  --cream-100: #f5f0eb;
  --cream-200: #ece4db;
  --white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal-800);
  background: var(--cream-50);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  color: var(--coral-500);
}

.nav-logo-text {
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--coral-500);
  transition: width 0.3s var(--ease-out);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--coral-500) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.8125rem !important;
  letter-spacing: 0.06em !important;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--coral-600) !important;
  transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu-link {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-menu-link:hover {
  color: var(--coral-500);
}

.mobile-cta {
  color: var(--coral-500) !important;
  font-family: var(--font-sans) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 15, 15, 0.55) 0%,
    rgba(15, 15, 15, 0.40) 50%,
    rgba(15, 15, 15, 0.75) 100%
  );
}

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

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-400);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 36px;
  font-weight: 300;
}

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

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s, transform 0.3s;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
  color: var(--coral-400);
  transform: translateX(-50%) translateY(4px);
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral-500);
  color: var(--white);
  border: 2px solid var(--coral-500);
}

.btn-primary:hover {
  background: var(--coral-600);
  border-color: var(--coral-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 112, 90, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   SECTION COMMON
   ======================================== */
.section {
  padding: 112px 0;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--charcoal-800);
  margin-bottom: 24px;
}

.section-headline em {
  font-style: italic;
  color: var(--coral-500);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--charcoal-600);
  margin-bottom: 20px;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  background: var(--cream-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

.about-image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  background: var(--coral-500);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.15;
}

.about-content {
  padding: 16px 0;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--coral-500);
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-500);
}

/* ========================================
   AMENITIES
   ======================================== */
.amenities {
  background: var(--charcoal-800);
}

.amenities .section-headline {
  color: var(--white);
}

.amenities .section-header {
  margin-bottom: 64px;
}

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

.amenity-card {
  background: var(--charcoal-700);
  border-radius: 6px;
  padding: 40px 32px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.amenity-icon {
  color: var(--coral-500);
  margin-bottom: 20px;
}

.amenity-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.amenity-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ========================================
   DESTIN
   ======================================== */
.destin {
  background: var(--cream-50);
}

.destin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.destin-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.destin-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--charcoal-700);
  font-weight: 500;
}

.destin-list-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--coral-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.destin-images {
  position: relative;
  padding-top: 48px;
}

.destin-img-main {
  border-radius: 6px;
  overflow: hidden;
}

.destin-img-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.destin-img-stack {
  position: absolute;
  bottom: -24px;
  left: -32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.destin-img-stack img {
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
  background: var(--white);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item--tall {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
}

.gallery-item--tall img {
  height: 100%;
  min-height: 500px;
}

.gallery-item--wide {
  grid-column: 5 / 13;
}

.gallery-item--wide img {
  height: 100%;
  min-height: 280px;
}

.gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) img {
  height: 230px;
}

/* ========================================
   CTA
   ======================================== */
.cta {
  padding: 0;
  background: var(--charcoal-900);
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

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

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 15, 15, 0.92) 0%,
    rgba(15, 15, 15, 0.70) 60%,
    rgba(15, 15, 15, 0.40) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}

.cta-eyebrow {
  color: var(--coral-400) !important;
}

.cta-headline {
  color: var(--white);
}

.cta-text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 440px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  background: var(--cream-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail dt {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--coral-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-detail dd {
  font-size: 0.9375rem;
  color: var(--charcoal-700);
  line-height: 1.6;
}

.contact-detail a {
  color: var(--charcoal-700);
  transition: color 0.3s;
}

.contact-detail a:hover {
  color: var(--coral-500);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 44px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-600);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--charcoal-800);
  background: var(--cream-50);
  border: 1.5px solid var(--cream-200);
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral-500);
  box-shadow: 0 0 0 3px rgba(242, 112, 90, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: 4px;
  color: #2e7d32;
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  flex-shrink: 0;
  color: #2e7d32;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--charcoal-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-logo-icon {
  color: var(--coral-500);
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
  color: var(--coral-400);
  padding-left: 6px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9375rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--coral-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   SCROLL REVEAL (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Default visible state for reduced motion / no-JS */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .about-grid,
  .destin-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-wrap {
    max-width: 500px;
  }

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

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-bg {
    position: relative;
    min-height: 300px;
  }

  .cta-overlay {
    background: linear-gradient(to bottom, rgba(15, 15, 15, 0.88) 0%, rgba(15, 15, 15, 0.75) 100%);
  }

  .cta-content {
    padding: 64px 40px;
  }

  .destin-images {
    order: -1;
    padding-top: 0;
  }

  .destin-img-main img {
    height: 360px;
  }

  .destin-img-stack {
    position: relative;
    left: 0;
    bottom: 0;
    flex-direction: row;
    margin-top: 12px;
  }

  .destin-img-stack img {
    box-shadow: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 80px 0;
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

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

  .gallery-item--tall {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-item--tall img {
    min-height: 300px;
  }

  .gallery-item--wide {
    grid-column: 1 / -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .cta-content {
    padding: 48px 24px;
  }

  .about-stats {
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .about-image-wrap img {
    height: 360px;
  }

  .about-image-accent {
    width: 120px;
    height: 120px;
    bottom: -16px;
    right: -16px;
  }

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

  .gallery-item--tall,
  .gallery-item--wide {
    grid-column: 1;
  }
}
