/*
Theme Name: Joy Resort
Theme URI: https://joyhospitalitygroups.com
Author: Joy Hospitality
Description: Joy Adventure Resort marketing site.
Version: 1.0.0
Text Domain: joy-resort
*/

:root {
  --green: #0a291c;
  --green-2: #0d3423;
  --green-3: #074d2b;
  --gold: #cfa353;
  --gold-2: #e6bf73;
  --cream: #fbf9f5;
  --paper: #ffffff;
  --ink: #1c1917;
  --muted: #57534e;
  --line: rgba(207, 163, 83, 0.28);
  --shadow: 0 18px 50px rgba(10, 41, 28, 0.12);
  --header: 72px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
}

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.wrap-wide { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(10, 41, 28, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; min-width: 180px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: cover; border: 1px solid var(--gold); }
.brand strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; letter-spacing: 0.04em; }
.brand span { display: block; color: var(--gold); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 18px; color: #f5f0e6; font-size: 14px; }
.nav a:hover, .nav button:hover { color: var(--gold); }
.nav button {
  background: none; border: 0; color: inherit; cursor: pointer; padding: 0;
}
.drop { position: relative; }
.drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.open .drop-menu { display: block; }
.drop-menu a { display: block; padding: 10px 12px; border-radius: 10px; }
.drop-menu a:hover { background: #f7f1e4; color: var(--green); }
.drop-menu small { display: block; color: var(--muted); font-size: 12px; }

.header-actions { display: flex; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 20px; border: 1px solid transparent;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
.btn-gold { background: var(--gold); color: #1a1408; }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark:hover { background: var(--green-3); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: #fff; border-radius: 10px; padding: 8px 10px; }

.hero {
  position: relative; min-height: 78vh; color: #fff;
  display: flex; align-items: flex-end;
  background: #123528 center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,41,28,.25), rgba(10,41,28,.72));
}
.hero-inner { position: relative; z-index: 1; padding: 72px 0 48px; }
.kicker { letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-2); font-size: 12px; font-weight: 600; }
.hero h1 { font-size: clamp(48px, 7vw, 86px); max-width: 760px; margin: 10px 0 14px; }
.hero p, .lede { max-width: 620px; color: #f3efe6; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.feature-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: -42px; position: relative; z-index: 2;
}
.feature {
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); min-height: 210px;
  display: flex; flex-direction: column;
}
.feature img { height: 120px; width: 100%; object-fit: cover; }
.feature div { padding: 14px 14px 16px; }
.feature em { color: var(--gold); font-style: normal; font-size: 12px; letter-spacing: 0.14em; }
.feature h3 { font-size: 28px; }
.feature p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.section { padding: 72px 0; }
.section h2 { font-size: clamp(36px, 5vw, 58px); margin: 8px 0 12px; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.split img, .frame img { width: 100%; height: 420px; object-fit: cover; border-radius: 24px; }
.ticks { padding: 0; margin: 16px 0 0; list-style: none; }
.ticks li { padding: 8px 0 8px 18px; position: relative; }
.ticks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); position: absolute; left: 0; top: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.stat { background: var(--green); color: #fff; border-radius: 16px; padding: 16px; }
.stat b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 40px; color: var(--gold); }

.cards, .cards-3, .cards-2 { display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: 1.3fr .7fr; }
.card {
  background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(10,41,28,.06);
  border: 1px solid rgba(10,41,28,.05);
}
.card img { width: 100%; height: 190px; object-fit: cover; }
.card .body, .pad { padding: 18px; }
.price { color: var(--green-3); font-weight: 700; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.band { background: var(--green); color: #fff; }
.band .muted, .band p { color: #e7e1d4; }
.well-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.well-list article { background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { background: #fff; border-radius: 18px; padding: 20px; }
.quote p { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; line-height: 1.25; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery img { height: 180px; width: 100%; object-fit: cover; border-radius: 14px; }
.page-hero { padding: 54px 0 10px; }
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #eee; vertical-align: top; }
th { background: var(--green); color: #fff; font-weight: 500; }
.note { background: var(--green); color: #efe8da; border-radius: 16px; padding: 18px 20px; margin-top: 16px; }
.form { display: grid; gap: 12px; background: #fff; border-radius: 20px; padding: 22px; }
.form label { display: grid; gap: 6px; font-size: 14px; }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid #e7e0d4; border-radius: 12px; padding: 12px 14px; background: #fff;
}
.form textarea { min-height: 120px; resize: vertical; }
.alert { background: #eef8f1; border: 1px solid #b7e0c2; padding: 12px 14px; border-radius: 12px; }

.site-footer { background: var(--green); color: #efe8da; padding: 48px 0 22px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 28px; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; padding: 0; list-style: none; margin: 0; }
.legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; font-size: 13px; color: #c9c1b2; }
.news { display: flex; gap: 8px; }
.news input { flex: 1; border-radius: 999px; border: 0; padding: 12px 14px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav, .header-actions { display: none; }
  .site-header.open .nav {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: var(--header);
    background: var(--green); padding: 16px 20px 20px; gap: 12px;
  }
  .site-header.open .header-actions { display: flex; padding: 0 20px 16px; background: var(--green); }
  .drop-menu { position: static; transform: none; display: none; min-width: 0; }
  .drop.open .drop-menu { display: block; }
  .feature-row, .cards, .cards-3, .well-list, .quote-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .split, .cards-2, .footer-grid, .section-head { grid-template-columns: 1fr; }
  .split img, .frame img { height: 260px; }
}
@media (max-width: 640px) {
  .feature-row, .cards, .cards-3, .well-list, .quote-grid, .gallery, .stats { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
}
