/* ============================================================
   ADRIATIC PIPER — Shared Stylesheet
   Sean Rathwell | Scottish Highland Bagpiper, based in Croatia
   ============================================================ */

:root {
  --navy: #0e1e2b;
  --navy-light: #16334a;
  --navy-lighter: #1e4863;
  --cream: #f8f3e9;
  --cream-dark: #efe6d3;
  --gold: #b8923f;
  --gold-light: #d9b96a;
  --wine: #5c1f2e;
  --charcoal: #24211d;
  --grey: #6b665e;
  --white: #ffffff;
  --radius: 4px;
  --shadow-soft: 0 10px 30px rgba(14, 30, 43, 0.12);
  --shadow-deep: 0 20px 50px rgba(14, 30, 43, 0.35);
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', 'Segoe UI', Helvetica, Arial, sans-serif;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p { margin-bottom: 1rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.section {
  padding: 92px 0;
}
.section--tight { padding: 60px 0; }
.section--dark {
  background: var(--navy);
  color: var(--cream-dark);
}
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark p { color: #c9d3da; }
.section--cream-dark { background: var(--cream-dark); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.align-left { margin: 0 0 48px; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--outline {
  background: transparent;
  border-color: rgba(248,243,233,0.55);
  color: inherit;
}
.btn--outline:hover { background: rgba(248,243,233,0.12); }
.btn--outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline-dark:hover { background: var(--navy); color: var(--cream); }
.btn--whatsapp {
  background: #25D366;
  color: #06210f;
}
.btn--whatsapp:hover { background: #2fe377; transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 10px 20px; font-size: 0.82rem; }

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.site-header.is-scrolled,
.site-header.solid {
  background: rgba(14, 30, 43, 0.96);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}
.brand {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--cream);
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand span {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-top: 4px;
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 44px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  color: var(--cream-dark);
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: relative;
  padding: 4px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--gold-light); }
.nav-pair {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 600;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--cream);
}

@media (max-width: 940px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
  .nav-pair { flex-direction: column; gap: 28px; }
  .nav-wrap { gap: 14px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn span.long { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  background: linear-gradient(160deg, #0b1720 0%, #16334a 55%, #1e4863 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(184,146,63,0.18), transparent 45%),
    repeating-linear-gradient(45deg, rgba(248,243,233,0.035) 0 2px, transparent 2px 90px),
    repeating-linear-gradient(-45deg, rgba(248,243,233,0.03) 0 2px, transparent 2px 90px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); max-width: 900px; }
.hero-sub {
  font-size: 1.18rem;
  max-width: 620px;
  color: #d9e2e8;
  margin: 22px 0 34px;
}
.hero--page { min-height: 56vh; }
.hero--page .hero-inner { padding-top: 150px; padding-bottom: 60px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(248,243,233,0.18);
}
.hero-badge { font-size: 0.82rem; letter-spacing: 0.03em; color: #c9d3da; display: flex; align-items: center; gap: 10px; }
.hero-badge::before { content: "◆"; color: var(--gold); font-size: 0.7rem; }

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 30px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--gold);
}
.card h3 { margin-bottom: 12px; }
.card .icon { font-size: 1.7rem; margin-bottom: 18px; display: block; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split.reverse .split-media { order: 2; }

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-deep);
}
.media-frame.wide { aspect-ratio: 16/10; }
.media-frame.square { aspect-ratio: 1/1; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: rgba(248,243,233,0.55);
  font-size: 0.82rem;
  text-align: center;
  padding: 20px;
  letter-spacing: 0.03em;
  position: relative;
}
.img-placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(184,146,63,0.08) 0 2px, transparent 2px 26px);
}
.img-placeholder b { display:block; color: var(--gold-light); font-family: var(--font-head); font-size: 1rem; margin-bottom: 6px; }

/* ---------- Divider / quote ---------- */
.divider-quote {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.divider-quote q {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--navy);
  display: block;
  line-height: 1.4;
}
.divider-quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--navy);
}
.price-card.featured {
  border-top-color: var(--gold);
  transform: translateY(-14px);
  box-shadow: var(--shadow-deep);
}
.price-card .tag {
  align-self: flex-start;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.price-card .price {
  font-family: var(--font-head);
  font-size: 2.3rem;
  color: var(--navy);
  margin: 8px 0 4px;
}
.price-card .price small { font-size: 0.9rem; font-weight: 400; color: var(--grey); }
.price-card ul { margin: 22px 0 28px; flex-grow: 1; }
.price-card li {
  padding: 9px 0;
  border-bottom: 1px dashed #e4dcc8;
  font-size: 0.93rem;
  padding-left: 22px;
  position: relative;
}
.price-card li::before {
  content: "✓";
  position: absolute; left: 0; color: var(--gold);
  font-weight: 700;
}
.price-note {
  background: var(--cream-dark);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  margin-top: 20px;
}

.addon-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.addon-table th, .addon-table td {
  text-align: left;
  padding: 16px 22px;
  border-bottom: 1px solid #ece4d2;
  font-size: 0.93rem;
}
.addon-table th { background: var(--navy); color: var(--cream); font-family: var(--font-head); font-weight: 700; }
.addon-table tr:last-child td { border-bottom: none; }
.addon-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ---------- Location chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: var(--white);
  border: 1px solid #e4dcc8;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.chip.gold { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
  position: relative;
}
.gallery-item:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
.gallery-item .img-placeholder { font-size: 0.75rem; }
.gallery-item:hover .img-placeholder { filter: brightness(1.15); }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: filter 0.25s ease, transform 0.4s ease;
}
.gallery-item:hover img { filter: brightness(1.1); transform: scale(1.03); }
.lightbox-media img { max-width: 100%; max-height: 75vh; border-radius: var(--radius); object-fit: contain; }

/* ---------- Video thumbnail link (opens YouTube in new tab) ---------- */
.video-thumb-link {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}
.video-thumb-link::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(14, 30, 43, 0.28);
  transition: background 0.25s ease;
}
.video-thumb-link:hover::after { background: rgba(14, 30, 43, 0.15); }
.video-thumb-link .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: rgba(248,243,233,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}
.video-thumb-link:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }
.video-thumb-link .play-btn::before {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--navy);
  margin-left: 4px;
}

.lightbox {
  position: fixed; inset: 0; background: rgba(14,20,26,0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox-content { max-width: 900px; width: 100%; text-align: center; color: var(--cream); }
.lightbox-close {
  position: absolute; top: 24px; right: 34px;
  color: var(--cream); font-size: 2rem; cursor: pointer; background: none; border: none;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid #e4dcc8;
  padding: 22px 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 700; font-family: var(--font-head); font-size: 1.08rem; color: var(--navy);
}
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--gold); transition: transform 0.25s ease; }
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  color: var(--grey); font-size: 0.96rem;
}
.faq-item.is-open .faq-a { max-height: 400px; padding-top: 14px; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.testimonial-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-card p { font-style: italic; color: var(--charcoal); }
.testimonial-card .who { font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-top: 12px; }
.testimonial-card .who span { display:block; font-weight: 400; color: var(--grey); font-size: 0.82rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #d9cfb4; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.contact-method {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); margin-bottom: 14px;
}
.contact-method .ico {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy);
  color: var(--gold-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-method a, .contact-method div { font-weight: 700; color: var(--navy); }
.contact-method small { display: block; font-weight: 400; color: var(--grey); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b7c3cb;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(248,243,233,0.12);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 {
  color: var(--gold-light); font-size: 0.82rem; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body);
}
.site-footer li { margin-bottom: 10px; font-size: 0.9rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; font-size: 0.82rem; color: #7d8b94;
}

/* ---------- Floating WhatsApp ---------- */
.floating-whatsapp {
  position: fixed; bottom: 26px; right: 26px; z-index: 400;
  background: #25D366; color: #06210f; width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
  transition: transform 0.25s ease;
}
.floating-whatsapp:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.small-note { font-size: 0.85rem; color: var(--grey); }
.tag-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag-strip span {
  font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--navy); background: var(--cream-dark); padding: 6px 14px; border-radius: 20px; font-weight: 700;
}
.banner-cta {
  background: linear-gradient(120deg, var(--navy), var(--navy-lighter));
  color: var(--cream);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
}
@media (max-width: 700px) { .banner-cta { padding: 40px 24px; } }
.banner-cta h2 { color: var(--white); }

.breadcrumb { font-size: 0.82rem; color: var(--gold-light); margin-bottom: 16px; letter-spacing: 0.03em; }
.breadcrumb a { text-decoration: underline; }
