/* ==========================================================================
   St. Ollaff Resort - static HTML/CSS recreation
   Fonts: Questrial, Quicksand, Playfair Display (matching original theme)
   ========================================================================== */

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

:root {
  --gold: #c9a227;
  --gold-dark: #a8871d;
  --dark: #111111;
  --dark-soft: #1c1c1c;
  --text: #555555;
  --text-light: #888888;
  --white: #ffffff;
  --offwhite: #f7f7f7;
}

body {
  font-family: "Questrial", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

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

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: relative;
  width: 100%;
}

.nav-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 30px 40px;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--white);
}

.brand {
  color: var(--white);
}

.brand h1 {
  font-family: "Questrial", sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
}

.brand p {
  font-family: "Questrial", sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
  align-items: center;
}

.main-nav a {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
}

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

.brand,
.main-nav a {
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ==========================================================================
   Hero - home page
   ========================================================================== */

.hero {
  width: 100%;
  height: 100vh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  max-width: 900px;
  padding: 0 60px;
  color: var(--white);
  z-index: 2;
}

.hero-content h2 {
  font-size: 52px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.95);
  max-width: 620px;
}

/* ==========================================================================
   Inner banner (sub-pages)
   ========================================================================== */

.inner-banner {
  background-size: cover;
  background-position: center;
  padding: 210px 0 90px;
  position: relative;
  color: var(--white);
  text-align: center;
}

.inner-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.inner-banner .container {
  position: relative;
  z-index: 2;
}

.inner-banner h2 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 12px;
}

.breadcrumb {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: var(--white);
}

/* ==========================================================================
   Generic sections
   ========================================================================== */

.section {
  padding: 90px 0;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 6px;
}

.section-title p {
  font-family: "Quicksand", sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Homepage about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 500;
}

.about-img img {
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Counters */
.counter-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.counter-item {
  text-align: center;
}

.counter-item .number {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--gold);
}

.counter-item h3 {
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

/* ==========================================================================
   Activities grid (home + activities page)
   ========================================================================== */

.section-accomodation {
  background: var(--offwhite);
}

.activities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.activity {
  position: relative;
  height: 260px;
  overflow: hidden;
  display: block;
}

.activity .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.activity:hover .bg {
  transform: scale(1.05);
}

.activity .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
}

.activity .overlay-text {
  padding: 22px 26px;
}

.activity h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 4px;
}

.activity p {
  color: var(--white);
  font-weight: 400;
  font-size: 14px;
  opacity: 0.95;
  padding-right: 20px;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  padding: 110px 0;
  color: var(--white);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.71);
}

.cta-band .container {
  position: relative;
  z-index: 2;
}

.cta-band h1 {
  font-size: 44px;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
  font-size: 18px;
}

.button {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 14px 44px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  transition: all 0.25s ease;
}

.button:hover {
  background: transparent;
  color: var(--white);
}

/* ==========================================================================
   Content + sidebar pages
   ========================================================================== */

.page-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content strong {
  color: var(--dark);
}

.entry-title {
  font-size: 30px;
  margin-bottom: 16px;
}

.post-hero-img {
  margin-bottom: 26px;
}

.post-hero-img img {
  width: 100%;
}

blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--offwhite);
  font-style: italic;
  color: var(--dark);
}

.sidebar {
  background: var(--offwhite);
  padding: 36px 30px;
  border: 1px solid #e9e9e9;
}

.widget {
  margin-bottom: 34px;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.widget ul {
  list-style: none;
}

.widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid #ececec;
}

.widget ul li:last-child {
  border-bottom: 0;
}

.widget a {
  color: var(--text);
}

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

.search-form {
  display: flex;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.search-form .search-submit {
  padding: 0 18px;
  background: var(--gold);
  color: #fff;
  border: 0;
  cursor: pointer;
  letter-spacing: 1px;
  font-size: 13px;
}

/* ==========================================================================
   About page
   ========================================================================== */

.about-page .inner-banner {
  padding: 230px 0 110px;
}

.about-tagline {
  font-family: "Quicksand", sans-serif;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold);
  margin-top: 14px;
}

/* Intro */
.about-intro {
  padding: 100px 0 60px;
}

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

.about-intro-media {
  position: relative;
}

.about-intro-media img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.about-badge {
  position: absolute;
  bottom: -28px;
  right: -22px;
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 22px 26px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(201,162,39,0.4);
}

.about-badge .num {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.about-badge .label {
  font-family: "Quicksand", sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

.section-kicker {
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.gradient-title {
  background: linear-gradient(120deg, var(--dark) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.about-intro-copy p {
  margin-bottom: 18px;
}

/* Stats band */
.stats-band {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 90px 0;
  color: var(--white);
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat {
  padding: 10px;
}

.stat .number {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}

.stat h3 {
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-top: 8px;
}

/* Timeline */
.story {
  padding: 100px 0;
  background: var(--offwhite);
}

.story .section-title {
  margin-bottom: 56px;
}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(201,162,39,0.2) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 56px 0;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 56px 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  right: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
  z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -8px;
}

.timeline-card {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 26px 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}

.timeline-card .year {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.timeline-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 15px;
  margin-bottom: 0;
}

/* Signature experiences */
.experiences {
  padding: 100px 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.experience-card {
  position: relative;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 56px rgba(0,0,0,0.2);
}

.experience-card .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.experience-card:hover .bg {
  transform: scale(1.08);
}

.experience-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.75) 100%);
}

.experience-card .card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  color: var(--white);
  z-index: 2;
}

.experience-card h3 {
  color: var(--white);
  font-size: 21px;
  margin-bottom: 4px;
}

.experience-card p {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  margin-bottom: 10px;
}

.experience-card .card-link {
  font-family: "Quicksand", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Pirates callout */
.pirates-band {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 110px 0;
  color: var(--white);
  text-align: center;
}

.pirates-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.66);
}

.pirates-band .container {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.pirates-band .quote-mark {
  font-family: "Playfair Display", serif;
  font-size: 80px;
  line-height: 0.6;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}

.pirates-band h2 {
  font-size: 38px;
  color: var(--white);
  margin-bottom: 16px;
}

.pirates-band p {
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 30px;
}

/* Gallery */
.gallery {
  padding: 100px 0;
  background: var(--offwhite);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  height: 260px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item.tall {
  height: 260px;
}

/* Scroll reveal */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Store
   ========================================================================== */

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

.product-gallery img {
  border: 1px solid #eee;
}

.product-title {
  font-size: 28px;
  margin-bottom: 8px;
}

.price {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  margin: 12px 0 16px;
}

.short-desc {
  margin-bottom: 20px;
}

.add-to-cart {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 14px 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  border: 2px solid var(--gold);
  transition: all 0.25s ease;
}

.add-to-cart:hover {
  background: transparent;
  color: var(--gold);
}

.product-meta {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-light);
}

.product-description {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 26px;
}

.product-description h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

/* ==========================================================================
   Store checkout
   ========================================================================== */

.checkout-error {
  background: #8a1c1c;
  color: var(--white);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 15px;
}

.checkout-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--dark);
}

.checkout-form input[type="text"],
.checkout-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd;
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
}

.checkout-form input[type="text"]:focus,
.checkout-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.checkout-form .form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
}

.checkout-submit {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.checkout-submit:hover {
  background: transparent;
  color: var(--gold);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table tr {
  border-bottom: 1px solid #ececec;
}

.cart-table tr:last-child {
  border-bottom: 0;
}

.cart-table td {
  padding: 10px 13px;
  text-align: left;
}

.cart-table td:last-child {
  text-align: right;
}

.cart-total {
  font-weight: bold;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
}

.footer-main {
  padding: 70px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-main h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-main ul {
  list-style: none;
}

.footer-main ul li {
  padding: 4px 0;
}

.footer-main a {
  color: rgba(255,255,255,0.65);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-band {
    background-attachment: scroll;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .page-layout,
  .product {
    grid-template-columns: 1fr;
  }
  .activities-grid {
    grid-template-columns: 1fr;
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-badge {
    right: 10px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 8px;
  }
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 56px 40px;
  }
  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 0;
    right: auto;
  }
  .nav-bar {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
  .hero-content h2 {
    font-size: 34px;
  }
  .inner-banner {
    padding: 170px 0 60px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .checkout-form .form-grid {
    grid-template-columns: 1fr;
  }
}
