
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --green: #092019;
  --green-light: #12372c;
  --gold: #edbf55;
  --gold-light: #ffdc88;
  --cream: #f6f4ee;
  --white: #ffffff;
  --text: #263b34;
  --muted: #64736d;
  --border: #e9e5da;
  --shadow: 0 18px 55px rgba(18, 38, 29, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: 5%;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.nav-wrap {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 13px;
  background: #f9e7a2;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  color: white;
  letter-spacing: 4px;
}

.brand-text strong {
  font-size: 19px;
}

.brand-text small {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
}

.main-nav > a {
  position: relative;
  padding: 10px 0;
  color: #f5f5f0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  transform: scaleX(1);
}

.main-nav > a.active {
  color: var(--gold);
}

.main-nav > .nav-cta {
  padding: 13px 22px;
  border-radius: 50px;
  color: var(--green);
  background: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
}


/* Mobile navigation fix */
@media (max-width: 768px) {
  .nav-wrap {
    position: relative;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px;
    background: var(--green, #08251c);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav > a {
    display: block;
    padding: 12px 8px;
  }

  .main-nav > .nav-cta {
    align-self: flex-start;
    margin-top: 6px;
  }
}

/* HERO */

.blog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(105deg, rgba(5,26,20,.96), rgba(5,26,20,.77)),
    url('../assets/images/shiv_resort.jpg') center 45% / cover no-repeat,
    var(--green);
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,26,20,.45), transparent);
}

.hero-inner {
  padding-top: 28px;
  padding-bottom: 65px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  letter-spacing: 1px;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs span:nth-child(even) {
  color: var(--gold);
}

.hero-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 13px;
  border-radius: 3px;
  color: var(--green);
  background: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-inner h1 {
  max-width: 930px;
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 5.3vw, 72px);
  line-height: 1.12;
  letter-spacing: -1.7px;
}

.hero-inner h1 span {
  display: block;
  color: var(--gold-light);
}

.hero-description {
  max-width: 660px;
  margin: 22px 0 27px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 49px;
  padding: 13px 22px;
  border: 0;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.btn-gold {
  color: var(--green);
  background: linear-gradient(115deg, #ffdf91, #eab744);
}

/* ARTICLE + SIDEBAR */

.blog-section {
  padding: 34px 0 80px;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .85fr);
  align-items: start;
  gap: 28px;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 5%;
}

.blog-article {
  min-width: 0;
  padding: clamp(25px, 4vw, 48px);
  border: 1px solid rgba(30,55,43,.05);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 23px;
  color: #738078;
  font-size: 10px;
  letter-spacing: 1.3px;
}

.article-meta span + span {
  padding-left: 18px;
  border-left: 1px solid var(--gold);
}

.article-title {
  margin: 0 0 22px;
  color: var(--green-light);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 3.3vw, 45px);
  line-height: 1.2;
  letter-spacing: -.8px;
}

.article-content p {
  margin: 0 0 19px;
  font-size: 15.5px;
  line-height: 1.95;
}

.article-content h2 {
  margin: 44px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--green-light);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(25px, 2.5vw, 33px);
  line-height: 1.3;
}

.article-content h2::after {
  display: block;
  width: 55px;
  height: 3px;
  margin-top: 13px;
  background: var(--gold);
  content: "";
}

.article-content h3 {
  margin: 27px 0 10px;
  color: var(--green-light);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  line-height: 1.4;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin: 12px 0 25px;
}

.article-content li {
  margin-bottom: 9px;
  padding-left: 4px;
}

.article-content li::marker {
  color: #c9972d;
}

.article-content strong {
  color: var(--green-light);
}

.article-cta {
  margin: 32px 0;
  padding: 28px;
  border: 1px solid #f0dfb4;
  border-radius: 16px;
  background: #fffaf0;
}

.article-cta h3 {
  margin-top: 0;
  font-size: 26px;
}

.article-cta p {
  margin-bottom: 14px;
}

.article-cta .btn {
  margin-bottom: 15px;
}

/* RIGHT SIDEBAR */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.blog-sidebar > * {
  width: 100%;
  min-width: 0;
}

.enquiry-card {
  position: sticky;
  top: 116px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(237,191,85,.2);
  border-radius: 20px;
  color: white;
  background:
    radial-gradient(circle at 100% 0%, rgba(237,191,85,.13), transparent 36%),
    var(--green);
  box-shadow: 0 18px 45px rgba(9,32,25,.14);
}

.sidebar-logo {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(237,191,85,.4);
  border-radius: 14px;
  background: #f8e8ad;
}

.sidebar-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sidebar-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.enquiry-card h2 {
  margin: 8px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 29px;
  line-height: 1.25;
}

.enquiry-card > p {
  margin: 8px 0 20px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}

.enquiry-button {
  width: 100%;
  margin-bottom: 20px;
}

.sidebar-contact {
  display: grid;
  gap: 13px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.sidebar-contact a {
  overflow-wrap: anywhere;
  color: rgba(255,255,255,.9);
  font-size: 13px;
}

.sidebar-contact a:hover {
  color: var(--gold);
}

/* TABLE OF CONTENTS */

.toc-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.toc-card h2 {
  margin: 0;
  color: var(--green-light);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 25px;
}

.gold-line {
  display: block;
  width: 52px;
  height: 3px;
  margin: 12px 0 19px;
  background: var(--gold);
}

.toc-card > a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 9px 0;
  padding: 5px 0;
  color: #53615a;
  font-size: 12.5px;
  line-height: 1.6;
  transition: color .2s ease, transform .2s ease;
}

.toc-card > a:hover {
  color: #a97816;
  transform: translateX(3px);
}

.toc-card > a span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #e5bc65;
  border-radius: 50%;
  color: #946c21;
  font-size: 10px;
  font-weight: 700;
}

/* FOOTER */


/* FOOTER — MATCH MAIN WEBSITE */

.footer {
  padding-top: 42px;
  color: rgba(255, 255, 255, .82);
  background: #081d17;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr 1.6fr auto;
  align-items: center;
  gap: 30px;
  padding-bottom: 34px;
}

/* Logo and brand */
.footer .brand {
  justify-self: start;
}

.footer .brand-mark {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 13px;
  background: #f9e7a2;
}

.footer .brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer .brand-text {
  display: flex;
  flex-direction: column;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 4px;
}

.footer .brand-text strong {
  font-size: 19px;
}

.footer .brand-text small {
  color: #e8bd57;
  font-size: 10px;
  letter-spacing: 4px;
}

/* Horizontal navigation */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 25px;
}

.footer-links a {
  color: #aab9b2;
  font-size: 12px;
  transition: color .25s ease;
}

.footer-links a:hover {
  color: #f0c65f;
}

/* Phone numbers and social icons */
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
}

.footer-contact > a {
  color: #aab9b2;
  font-size: 12px;
  white-space: nowrap;
  transition: color .25s ease;
}

.footer-contact > a:hover {
  color: #f0c65f;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(237, 191, 85, .38);
  border-radius: 50%;
  color: #f0c65f;
  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease;
}

.footer-social:hover {
  color: #081d17;
  background: #edbf55;
  transform: translateY(-3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-social span {
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
}

/* Back to top */
.footer .back-top {
  justify-self: end;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  padding-bottom: 6px;
  transition: color .25s ease;
}

.footer .back-top span {
  color: #edbf55;
}

.footer .back-top:hover {
  color: #edbf55;
}

/* Bottom copyright strip */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 25px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #849991;
  font-size: 11px;
  line-height: 1.8;
}

.footer-dev-inline a {
  color: #fff;
}

.footer-dev-inline a strong {
  color: #f0c65f;
}

/* Tablet */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
  }

  .footer-links {
    justify-content: flex-end;
  }

  .footer-contact {
    justify-content: flex-start;
  }

  .footer .back-top {
    justify-self: end;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer {
    padding-top: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 12px 22px;
  }

  .footer-contact {
    justify-content: flex-start;
    gap: 14px;
  }

  .footer-socials {
    width: 100%;
    margin-top: 4px;
  }

  .footer-social {
    width: 45px;
    height: 45px;
  }

  .footer .back-top {
    justify-self: start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
  }
}

/* STAGGERED HEADING AND SECTION ANIMATIONS */

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-inner .reveal-item:nth-child(2) {
  transition-delay: .12s;
}

.hero-inner .reveal-item:nth-child(3) {
  transition-delay: .28s;
}

.hero-inner .reveal-item:nth-child(4) {
  transition-delay: .43s;
}

.hero-inner .reveal-item:nth-child(5) {
  transition-delay: .58s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

/* TABLET */

@media (max-width: 1100px) {
  .nav-wrap {
    gap: 14px;
  }

  .brand-text {
    letter-spacing: 2px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text small {
    letter-spacing: 2px;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav > a {
    font-size: 12px;
  }

  .main-nav > .nav-cta {
    padding: 11px 15px;
  }

  .blog-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(255px, .85fr);
    gap: 20px;
    padding-inline: 3%;
  }

  .enquiry-card,
  .toc-card {
    padding: 22px;
  }

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

/* MOBILE NAVIGATION AND LAYOUT */

@media (max-width: 760px) {
  .container {
    padding-inline: 5%;
  }

  .nav-wrap {
    min-height: 78px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 9px;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 3px;
    padding: 16px 5% 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    background: var(--green);
    box-shadow: 0 18px 25px rgba(0,0,0,.18);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a {
    padding: 12px 0;
    font-size: 14px;
  }

  .main-nav > .nav-cta {
    align-self: flex-start;
    margin-top: 8px;
    padding: 12px 22px;
  }

  .hero-inner {
    padding-top: 20px;
    padding-bottom: 42px;
  }

  .breadcrumbs {
    gap: 7px;
    margin-bottom: 25px;
    font-size: 9px;
  }

  .hero-inner h1 {
    font-size: clamp(35px, 9vw, 52px);
    letter-spacing: -.8px;
  }

  .hero-description {
    font-size: 14px;
  }

  .blog-section {
    padding-top: 22px;
  }

  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-inline: 4%;
  }

  .blog-article {
    padding: 25px 21px;
    border-radius: 17px;
  }

  .article-meta {
    gap: 9px;
    font-size: 9px;
  }

  .article-meta span + span {
    padding-left: 9px;
  }

  .article-title {
    font-size: 31px;
  }

  .article-content p {
    font-size: 14.5px;
    line-height: 1.85;
  }

  .article-content h2 {
    margin-top: 34px;
    font-size: 27px;
  }

  .article-content h3 {
    font-size: 21px;
  }

  .blog-sidebar {
    gap: 18px;
  }

  .enquiry-card {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Single Blog Page */
.single-blog {
  width: min(100% - 40px, 1000px);
  margin: 50px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.back-link {
  display: inline-block;
  margin-bottom: 25px;
  color: #12372c;
  font-weight: 600;
}

.blog-category {
  color: #a97816;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.single-blog h1 {
  color: #12372c;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
}

.blog-intro {
  color: #64736d;
  font-size: 17px;
  line-height: 1.9;
}

.article-image {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 14px;
  margin: 30px 0;
}

.single-blog section {
  margin-top: 35px;
}

.single-blog section h2 {
  color: #12372c;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
}

.single-blog section p {
  color: #263b34;
  font-size: 16px;
  line-height: 1.9;
}

@media (max-width: 600px) {
  .single-blog {
    width: calc(100% - 24px);
    margin: 20px auto;
    padding: 22px;
  }

  .single-blog h1 {
    font-size: 30px;
  }
}
