/* TEMA ANJUNG BAYU: biru laut + karang + kuning, menu terapung, polaroid senget, tepi berombak */
:root {
  --brand: #0a7385; --brand-dark: #06343f; --brand-light: #0a7385; --accent: #ffc93c;
  --coral: #ff6b4a; --sunset: #ff6b4a; --sea: #0a7385; --palm: #0a7385; --gold: #ff6b4a;
  --cream: #e7f7f7; --cream-dark: #cfeeee; --ink: #06343f; --muted: #3f6670; --line: #c9e6e6; --white: #ffffff;
  --font-body: "Nunito", system-ui, sans-serif; --font-script: "Fredoka", system-ui, sans-serif;
  --radius: 24px; --shadow: 0 8px 0 var(--cream-dark); --shadow-lg: 0 18px 40px rgba(6, 52, 63, .2); --header-h: 74px;
}
body { font-size: 1.05rem; }
h1, h2, h3, h4 { font-family: var(--font-script); font-weight: 600; }
.btn { border-radius: 99px; font: 700 1rem var(--font-body); padding: .85em 1.7em; }
.btn-primary:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: none; }
.btn-sun { background: var(--accent); color: var(--ink); }
.btn-sun:hover { background: #ffd968; }
.eyebrow { text-transform: none; letter-spacing: 0; font: 500 1.05rem var(--font-script); color: var(--brand); }
.script { font-family: var(--font-script); font-weight: 500; color: inherit; }

/* Menu terapung bentuk pil */
.site-header { position: fixed; top: 14px; left: 0; right: 0; background: transparent; backdrop-filter: none; pointer-events: none; }
.site-header::after { display: none; }
.nav-wrap { pointer-events: auto; background: var(--white); border-radius: 99px; height: 64px; padding: 0 12px 0 22px; box-shadow: 0 10px 28px rgba(6, 52, 63, .18); width: min(1180px, 100% - 28px); }
.site-header.scrolled { box-shadow: none; }
.logo { color: var(--brand); }
.logo-mark { width: 44px; height: 40px; }
.logo-text { flex-direction: row; align-items: baseline; gap: 6px; }
.logo-name { font: 600 1.35rem var(--font-script); white-space: nowrap; }
.logo-sub { font-size: .9rem; letter-spacing: 0; text-transform: none; margin: 0; color: var(--coral); font-family: var(--font-script); }
.nav a { font-weight: 700; font-size: .98rem; }
.nav a:not(.btn)::after { display: none; }
.nav a:not(.btn):hover, .nav a.active { color: var(--coral); }
.lang-switch { background: var(--cream); border: 0; }
.nav-cta { background: var(--coral); color: var(--ink); }
.nav-cta:hover { background: #ff8468; }
.btn-primary.is-current { background: var(--coral); box-shadow: none; }
html { scroll-padding-top: 96px; }

/* Hero */
.tide { position: relative; background: var(--brand); color: var(--white); padding: 126px 0 130px; overflow: hidden; }
.tide-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
.tide-loc { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .16); padding: .3em .9em; border-radius: 99px; }
.tide h1 { font-size: clamp(3.4rem, 8.4vw, 7.4rem); line-height: .96; margin: .2em 0; color: var(--accent); }
.tide-sub { font-size: 1.3rem; max-width: 24em; line-height: 1.4; }
.tide-price { font: 500 1.1rem var(--font-script); }
.tide-price strong { font-size: 1.8rem; font-weight: 600; }
.tide-price small { font-size: .9rem; font-weight: 400; }
.snaps { position: relative; height: clamp(340px, 40vw, 500px); }
.snap { position: absolute; margin: 0; background: var(--white); padding: 10px 10px 34px; border-radius: 6px; box-shadow: 0 18px 40px rgba(6, 52, 63, .35); }
.snap img { width: 100%; height: 100%; object-fit: cover; background: var(--cream-dark); }
.snap-a { width: 62%; height: 72%; left: 0; top: 0; transform: rotate(-6deg); z-index: 2; }
.snap-b { width: 50%; height: 58%; right: 0; top: 6%; transform: rotate(5deg); }
.snap-c { width: 48%; height: 54%; right: 14%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  .snap { animation: dropIn .7s cubic-bezier(.2, 1.3, .4, 1) both; }
  .snap-b { animation-delay: .12s; }
  .snap-c { animation-delay: .24s; }
  @keyframes dropIn { from { opacity: 0; translate: 0 -40px; } }
}
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; display: block; }
.wave-top { top: -1px; bottom: auto; }

/* Borang pil */
.booking-bar { margin: -40px auto 0; border-radius: 40px; padding: 12px 12px 12px 18px; width: min(980px, 100% - 32px); box-shadow: 0 14px 34px rgba(6, 52, 63, .16); }
.booking-field { border-right-style: dashed; }
.booking-field .icon { color: var(--coral); }
.booking-bar .btn { padding: 1.05em 1.8em; }
.date-display, .booking-field select { font-size: .98rem; }

/* Seksyen */
.section { padding: 84px 0; }
.section-cream { background: var(--cream); }
.section-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; }
.section-head p { font-size: 1.15rem; }

.room-card { box-shadow: var(--shadow); border: 2px solid var(--line); }
.room-card:nth-child(1) { rotate: -1deg; }
.room-card:nth-child(3) { rotate: 1deg; }
.room-card:hover { rotate: 0deg; transform: translateY(-4px); box-shadow: var(--shadow); }
.room-img { border-radius: 22px 22px 0 0; }
.room-top h3 { font-size: 1.35rem; }
.room-bed, .room-meta { font-size: .98rem; }
.room-bed .icon { color: var(--coral); }
.link-arrow { border: 0; font-weight: 700; font-size: .98rem; }

/* Bahagian buih */
.foam { position: relative; background: var(--cream); padding: 120px 0 90px; }
.features { gap: 16px; }
.feature { flex-direction: column; align-items: center; text-align: center; border: 0; padding: 0 8px; }
.feature-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.feature:nth-child(even) .feature-icon { background: var(--coral); }
.feature-icon .icon { width: 36px; height: 36px; }
.feature h3 { font-size: 1.2rem; }
.feature p { font-size: .98rem; }
.foam-head { margin-top: 80px; }
.exp-card { border-radius: var(--radius); border: 2px solid var(--line); }
.exp-img { border-radius: 22px 22px 0 0; }
.exp-img img { border-radius: 22px 22px 0 0; }
.exp-icon { background: var(--coral); color: var(--ink); }
.exp-body h3 { font-size: 1.3rem; }
.exp-body p { font-size: 1rem; }

.split-img img { border-radius: 8px; padding: 12px 12px 44px; background: var(--white); box-shadow: 0 18px 40px rgba(6, 52, 63, .2); transform: rotate(-2deg); }
.discover-list { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.discover-item { font-weight: 700; font-size: 1rem; }
.discover-item .icon { color: var(--coral); width: 28px; height: 28px; }

/* Testimoni: belon cakap atas warna karang */
.coral { background: var(--coral); padding: 80px 0; color: var(--ink); }
.coral .section-title { text-align: center; margin-bottom: 40px; }
.testimonial { border-radius: 26px 26px 26px 4px; box-shadow: none; }
.coral .testimonial:nth-child(2) { translate: 0 22px; }
.stars { display: none; }
.testimonial blockquote { font-size: 1.1rem; }

.closing { background: var(--brand-dark); color: var(--white); text-align: center; padding: 90px 0; }
.closing h2 { font-size: clamp(3rem, 8vw, 6.4rem); line-height: 1; color: var(--accent); }
.closing p { font-size: 1.2rem; }
.closing .btn-row { justify-content: center; }

.cta-band { background-image: none !important; background-color: var(--brand); }
.cta-band::before { display: none; }
.cta-band h2 { color: var(--accent); }
.cta-band .script { color: var(--white); }
.cta-band .btn-outline { border-color: var(--white); }

/* Page dalaman */
.page-header { background-image: none !important; background-color: var(--brand); padding: 136px 0 96px; }
.page-header::before { display: none; }
.page-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 50px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 50c120-40 240-40 360 0s240 40 360 0 240-40 360 0 240 40 360 0v40H0z' fill='%23fff'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.page-header h1 { font: 600 clamp(3rem, 8vw, 5.6rem)/1 var(--font-script); color: var(--accent); }
.crumbs { text-transform: none; letter-spacing: 0; }

.house-card { box-shadow: var(--shadow); border: 2px solid var(--line); border-radius: var(--radius); }
.house-card-price { background: var(--brand); }
.house-card-price > span { color: var(--accent); text-transform: none; letter-spacing: 0; }
.house-card-price strong { font-family: var(--font-script); font-weight: 600; }
.house-facts .icon, .amenities .icon { color: var(--coral); }
.room-detail-img img { border-radius: 8px; padding: 10px 10px 36px; background: var(--white); box-shadow: 0 14px 34px rgba(6, 52, 63, .2); transform: rotate(-1.5deg); }
.room-detail.flip .room-detail-img img { transform: rotate(1.5deg); }
.room-detail-body h2 { font-size: 2.3rem; }
.info-card { border-radius: var(--radius); box-shadow: none; }
.info-card .feature-icon { width: 56px; height: 56px; }
.info-card .feature-icon .icon { width: 26px; height: 26px; }
.stat strong { font-family: var(--font-script); font-weight: 600; color: var(--brand); }
.form-card, .cal-inline { box-shadow: none; border: 2px solid var(--line); border-radius: var(--radius); }
.field input, .field select, .field textarea, .field .field-date { border-radius: 14px; }
.contact-info .icon { background: var(--accent); color: var(--ink); }
.map-box { border-radius: var(--radius); box-shadow: none; }
.faq-item summary { font: 500 1.1rem var(--font-script); }
.cal-panel { border-radius: 26px; }

.site-footer { background: var(--brand-dark); }
.site-footer .logo { color: var(--accent); }
.site-footer .logo-sub { color: var(--white); }
.site-footer h4 { font-size: 1.2rem; color: var(--accent); }

@media (max-width: 960px) {
  .nav { top: calc(var(--header-h) + 8px); border-radius: 26px; inset: calc(var(--header-h) + 8px) 14px auto 14px; max-height: calc(100vh - 110px); box-shadow: 0 14px 34px rgba(6, 52, 63, .25); }
  .tide-grid { grid-template-columns: 1fr; }
  .tide { padding-bottom: 110px; }
  .snaps { height: 340px; margin-top: 20px; }
  .coral .testimonial:nth-child(2) { translate: none; }
  .room-card:nth-child(n) { rotate: 0deg; }
}
@media (max-width: 720px) {
  .booking-bar { border-radius: 26px; padding: 12px; }
  .booking-field { border-right: 0; }
}
@media (max-width: 600px) {
  .logo-sub { display: none; }
  .features { grid-template-columns: 1fr 1fr; gap: 24px 10px; }
}
