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

:root {
  --sand: #F5EFE0;
  --sand-dark: #E8DCBF;
  --sea: #2A7B8C;
  --sea-light: #4AABBF;
  --sea-deep: #1A4F5A;
  --ivory: #FAF6EE;
  --driftwood: #8B7355;
  --driftwood-light: #C4A882;
  --charcoal: #2C2C2A;
  --text: #3A3228;
  --text-muted: #7A6E60;
  --white: #FFFFFF;
  --gold: #C9A84C;
}

html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: var(--ivory); color: var(--text); font-weight: 300; line-height: 1.7; overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.2rem 3rem; display: flex; align-items: center; justify-content: space-between; transition: background 0.4s, padding 0.4s; }
nav.scrolled { background: rgba(250,246,238,0.97); backdrop-filter: blur(10px); padding: 0.8rem 3rem; box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; letter-spacing: 0.15em; color: var(--white); text-decoration: none; text-transform: uppercase; transition: color 0.3s; cursor: pointer; }
nav.scrolled .nav-logo { color: var(--sea-deep); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.9); text-decoration: none; transition: color 0.3s; cursor: pointer; }
nav.scrolled .nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--gold); }
nav.scrolled .nav-links a:hover { color: var(--sea); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: white; transition: all 0.3s; }
nav.scrolled .hamburger span { background: var(--text); }
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--ivory); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; letter-spacing: 0.1em; color: var(--text); text-decoration: none; text-transform: uppercase; transition: color 0.2s; cursor: pointer; }
.mobile-menu a:hover { color: var(--sea); }
.mobile-close { position: absolute; top: 1.5rem; right: 2rem; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--text-muted); }

/* PAGES */
.page { display: none; }
.page.active { display: block; }

/* HERO */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: -2px; /* removes gap between hero and next section */
}
.hero-bg { position: absolute; inset: 0; background: url('/static/images/Homepage1.jpg') center/cover no-repeat; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(42,123,140,0.6) 0%, transparent 70%), radial-gradient(ellipse 60% 40% at 20% 80%, rgba(26,79,90,0.4) 0%, transparent 60%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,79,90,0.5) 0%, rgba(26,79,90,0.2) 50%, rgba(26,79,90,0.55) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 2rem; animation: fadeUp 1.2s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.35em; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 1.2rem; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 8vw, 7rem); font-weight: 300; color: var(--white); line-height: 1.05; letter-spacing: 0.04em; margin-bottom: 0.3rem; }
.hero-title em { font-style: italic; font-weight: 300; color: var(--sand-dark); }
.hero-subtitle { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.1rem, 2.5vw, 1.7rem); font-weight: 300; color: rgba(255,255,255,0.75); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 2.5rem; }
.hero-cta { display: inline-block; padding: 0.9rem 2.8rem; border: 1px solid rgba(255,255,255,0.6); color: white; font-size: 0.72rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; transition: all 0.3s; cursor: pointer; background: transparent; }
.hero-cta:hover { background: rgba(255,255,255,0.15); border-color: white; }
.hero-scroll {
  position: absolute;
  bottom: 8rem; /* move above the wave */
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeUp 1.5s ease 0.5s both;
}
.hero-scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.35); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.7; } }

/* SECTIONS */
section { padding: 7rem 3rem; max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.65rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sea); margin-bottom: 1rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.15; color: var(--text); margin-bottom: 1.5rem; }
.section-title em { font-style: italic; color: var(--sea); }
.section-body { font-size: 1rem; color: var(--text-muted); max-width: 560px; line-height: 1.85; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.accent-line { width: 60px; height: 1px; background: var(--gold); margin: 1.5rem 0; }
.accent-line.center { margin: 1.5rem auto; }

/* IMAGE PLACEHOLDERS */
.img-placeholder { width: 100%; aspect-ratio: 4/5; border-radius: 2px; overflow: hidden; position: relative; }
.photo-sea { background: url('/static/images/Homepage2.jpg') center/cover no-repeat; }
.photo-sunset { background: url('/static/images/Homepage3.jpg') center/cover no-repeat; }
.photo-food { background: url('/static/images/restaurant1.jpg') center/cover no-repeat; }
.photo-bar { background: url('/static/images/Bar2.jpg') center/cover no-repeat; }
.photo-beach { background: url('/static/images/Beach.jpg') center/cover no-repeat; }
.photo-night { background: linear-gradient(180deg, #0a1628 0%, #0f2040 30%, #1a3a5c 50%, #2a5c7a 65%, #c4a555 65%, #8b6914 80%, #4a3208 100%); }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 4rem; }
.feature-item { text-align: center; }
.feature-icon { width: 48px; height: 48px; margin: 0 auto 1.2rem; color: var(--sea); }
.feature-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--text); margin-bottom: 0.6rem; }
.feature-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }

/* BAND */
.band { background: var(--sea-deep); color: white; padding: 6rem 3rem; text-align: center; }
.band .section-title { color: white; }
.band .section-title em { color: var(--sand-dark); }
.band .section-body { color: rgba(255,255,255,0.7); margin: 0 auto; }
.band .section-label { color: var(--sand-dark); }

/* BUTTONS */
.btn-primary { display: inline-block; padding: 1rem 3rem; background: var(--sea-deep); color: white; font-family: 'Jost', sans-serif; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.3s; text-decoration: none; }
.btn-primary:hover { background: var(--sea); }
.btn-outline { display: inline-block; padding: 0.9rem 2.5rem; border: 1px solid var(--sea); color: var(--sea); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; background: transparent; transition: all 0.3s; text-decoration: none; }
.btn-outline:hover { background: var(--sea); color: white; }

/* MENU */
.menu-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--sand-dark); margin-bottom: 3rem; }
.menu-tab { padding: 0.8rem 2rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.2s; color: var(--text-muted); background: none; border-top: none; border-left: none; border-right: none; font-family: 'Jost', sans-serif; font-weight: 400; }
.menu-tab.active { color: var(--sea); border-bottom-color: var(--sea); }
.menu-items { display: none; }
.menu-items.active { display: block; }
.menu-category { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--text); margin: 2.5rem 0 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--sand-dark); }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.menu-item-name { font-size: 0.95rem; font-weight: 400; color: var(--text); margin-bottom: 0.2rem; }
.menu-item-desc { font-size: 0.82rem; color: var(--text-muted); font-style: italic; }
.menu-item-price { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--sea); margin-left: 2rem; white-space: nowrap; }

/* SUNBEDS */
.sunbed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.sunbed-card { border: 1px solid var(--sand-dark); padding: 2rem; text-align: center; transition: border-color 0.3s, transform 0.3s; }
.sunbed-card:hover { border-color: var(--sea); transform: translateY(-3px); }
.sunbed-card.featured { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.sunbed-type { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; margin-bottom: 0.4rem; }
.sunbed-price { font-size: 2rem; font-family: 'Cormorant Garamond', serif; color: var(--sea); margin: 1rem 0; }
.sunbed-price span { font-size: 0.85rem; color: var(--text-muted); font-family: 'Jost', sans-serif; }
.sunbed-features { list-style: none; margin: 1rem 0 1.5rem; }
.sunbed-features li { font-size: 0.85rem; color: var(--text-muted); padding: 0.3rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.sunbed-badge { display: inline-block; background: var(--gold); color: white; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.25rem 0.8rem; margin-bottom: 1rem; }

/* EVENTS */
.events-list { margin-top: 3rem; }
.event-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 2.5rem; align-items: center; padding: 2.5rem 0; border-bottom: 1px solid var(--sand-dark); }
.event-day { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 300; line-height: 1; color: var(--sea); }
.event-month { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.event-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--text); margin-bottom: 0.4rem; }
.event-desc { font-size: 0.88rem; color: var(--text-muted); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-info-item { margin-bottom: 2.5rem; }
.contact-info-label { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sea); margin-bottom: 0.4rem; }
.contact-info-value { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--text); }
.contact-info-value a { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-info-value a:hover { color: var(--sea); }
.map-placeholder { width: 100%; height: 350px; background: linear-gradient(160deg, #c5d8e0 0%, #a8cdd8 30%, #2a7b8c 50%, #1e5f70 70%, #0d3a45 100%); border-radius: 2px; display: flex; align-items: center; justify-content: center; margin-top: 2rem; position: relative; overflow: hidden; }
.map-pin { width: 24px; height: 24px; background: var(--gold); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); position: relative; z-index: 2; }
.map-pin::after { content: ''; position: absolute; inset: 5px; background: white; border-radius: 50%; }
.map-label { position: absolute; bottom: 1.5rem; left: 1.5rem; color: white; font-size: 0.75rem; letter-spacing: 0.1em; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }

/* FORM */
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { border: none; border-bottom: 1px solid var(--sand-dark); background: transparent; padding: 0.6rem 0; font-family: 'Jost', sans-serif; font-size: 0.95rem; color: var(--text); outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--sea); }
.form-group textarea { resize: vertical; min-height: 80px; }

/* GALLERY */
.gallery-strip { display: grid; grid-template-columns: repeat(5, 1fr); height: 300px; overflow: hidden; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-item > div { width: 100%; height: 100%; transition: transform 0.5s; }
.gallery-item:hover > div { transform: scale(1.08); }

/* QUOTE */
.quote-band { background: var(--sand); padding: 6rem 3rem; text-align: center; }
.quote-text { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 300; font-style: italic; color: var(--text); line-height: 1.4; max-width: 800px; margin: 0 auto; }
.quote-author { margin-top: 1.5rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }

/* PAGE HERO */
.page-hero { height: 65vh; min-height: 400px; position: relative; display: flex; align-items: flex-end; padding-bottom: 5rem; padding-left: 5rem; overflow: hidden; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-label { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 0.8rem; }
.page-hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 300; color: white; line-height: 1.0; letter-spacing: 0.03em; }
.page-hero-title em { font-style: italic; color: var(--sand-dark); }

/* SUCCESS MSG */
.success-msg { display: none; background: rgba(42,123,140,0.1); border: 1px solid var(--sea-light); padding: 1rem 1.5rem; color: var(--sea-deep); font-size: 0.9rem; margin-top: 1rem; border-radius: 2px; }
.success-msg.show { display: block; }

/* FOOTER */
footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 5rem 3rem 3rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: white; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.8; font-style: italic; font-family: 'Cormorant Garamond', serif; }
.footer-col-title { font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 1.5rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.55); text-decoration: none; cursor: pointer; transition: color 0.2s; }
.footer-links a:hover { color: var(--sand-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.social-links { display: flex; gap: 1.2rem; }
.social-links a { font-size: 0.72rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); text-decoration: none; text-transform: uppercase; transition: color 0.2s; }
.social-links a:hover { color: var(--sand-dark); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 4rem 1.5rem; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sunbed-grid { grid-template-columns: 1fr; }
  .event-item { grid-template-columns: 80px 1fr; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .gallery-strip .gallery-item:nth-child(n+4) { display: none; }
  .page-hero { padding: 0 1.5rem 4rem; }
  .res-grid { grid-template-columns: 1fr; }
}
.event-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--sea-deep);
  overflow: hidden;
  display: block;
}

.event-card-img > div {
  width: 100%;
  height: 100%;
  min-height: 200px;
}
