/* Blue Light Caribbean Gin — shared styles
   Values sourced directly from ../style-guide.md (live-site audit, 2026-07-19) */

:root {
  --teal: #0096a1;
  --teal-btn: rgba(0, 150, 161, 0.68);
  --navy: #001524;
  --navy-overlay: rgba(0, 21, 36, 0.68);
  --white: #ffffff;
  --gray-bg: #f5f5f5;
  --cream: #eae7e3;
  --text: #000000;
  --heading: #333333;
  --scrim: rgba(0, 0, 0, 0.5);

  --font-heading: "Merriweather", Georgia, serif;
  --font-body: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 25.6px;
  color: var(--text);
  background: var(--white);
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 20px;
}

h1 {
  font-size: 40px;
  line-height: 56px;
}

h2 {
  font-size: 38px;
  line-height: 52px;
}

p {
  margin: 0 0 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */

.btn {
  display: inline-block;
  border-radius: 20px;
  padding: 15px 35px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal-btn);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-secondary.on-light {
  color: var(--heading);
  border-color: var(--heading);
}

/* Section rhythm */

.section {
  padding: 80px 0;
}

.section-white {
  background: var(--white);
}

.section-cream {
  background: var(--cream);
}

.section-gray {
  background: var(--gray-bg);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

/* Site header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px 16px 75px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.site-header .logo img {
  height: 75px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: var(--navy);
    padding: 24px;
    display: none;
  }

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

  .nav-toggle {
    display: block;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: 20% 0 12%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  color: var(--white);
  filter: brightness(1.5) saturate(1.15);
}

@media (max-width: 1024px) {
  .hero {
    padding: 80px 50px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 75px 25px;
  }
}

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

.hero .container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-copy {
  max-width: 560px;
  margin-top: 50px;
}

.hero h1,
.hero p {
  color: var(--white);
}

.hero h1 {
  margin-bottom: 50px;
}

.hero-subhead {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17.6px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* Page hero (interior pages — shorter than home) */

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scrim);
}

.page-hero h1 {
  position: relative;
  color: var(--white);
  margin: 0;
}

/* Quote banner (full-bleed image with centered quote) */

.quote-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

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

.quote-banner p {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
  color: var(--white);
}

/* Testimonial quote cards + CTA */

.quote-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.quote-card .stars {
  color: #d4a72c;
  letter-spacing: 3px;
  margin-bottom: 12px;
  font-size: 18px;
}

.quote-card p {
  font-style: italic;
}

.cta-card {
  background: var(--teal-btn);
  color: var(--white);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-card h3,
.cta-card p {
  color: var(--white);
}

/* Where to find us */

.location-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.location-group h4 {
  text-align: center;
  margin-bottom: 16px;
}

/* Card grids */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 22px;
  line-height: 30px;
  margin-bottom: 8px;
}

.tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 55%);
}

.tile-body {
  position: relative;
  padding: 28px;
  color: var(--white);
}

.tile-body h3 {
  color: var(--white);
  font-size: 22px;
  line-height: 30px;
  margin-bottom: 8px;
}

.tile-body p {
  color: var(--white);
  margin-bottom: 20px;
}

/* Testimonials + press strips (pre-made image assets) */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.testimonial-grid img {
  border-radius: 8px;
}

.press-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.press-strip img {
  max-height: 60px;
  width: auto;
  opacity: 0.85;
}

.awards-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.awards-strip img {
  max-height: 140px;
  width: auto;
}

/* Photo grid (about / distillery / sustainability etc.) */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.photo-grid img {
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 760px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* Contact form */

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-hidden {
  position: absolute;
  left: -9999px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--heading);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group textarea {
  resize: vertical;
}

.contact-form .btn {
  border: none;
}

/* Where to find us */

.locations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  text-align: center;
  font-weight: 700;
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 32px;
}

.site-footer .logo img {
  height: 40px;
  margin-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin: 0 0 16px;
}

.footer-grid a,
.footer-grid p {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}
