/* =========================================
   HAVSERVICE STAVANGER - STYLE SHEET
   Colors: #F4EFE6, #33302C, #4F6B3A, #E7D7B8
   Fonts: Nunito (headings/body), Barlow Condensed (prices)
   ========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #F4EFE6;
  color: #33302C;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

/* 1. Announcement Ribbon Bar */
.announcement-ribbon {
  background-color: #33302C;
  color: #F4EFE6;
  padding: 10px 0;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 2px solid #4F6B3A;
  text-align: center;
}

.ribbon-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ribbon-dot {
  width: 8px;
  height: 8px;
  background-color: #4F6B3A;
  border-radius: 50%;
  display: inline-block;
}

/* 2. Header */
.site-header {
  background-color: #F4EFE6;
  border-bottom: 3px solid #33302C;
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #33302C;
}

.brand-text strong {
  color: #4F6B3A;
  margin-left: 3px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: #33302C;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #4F6B3A;
}

.btn-header {
  background-color: #4F6B3A;
  color: #F4EFE6;
  padding: 8px 16px;
  border: 2px solid #33302C;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-block;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-header:hover {
  background-color: #33302C;
  color: #F4EFE6;
}

/* 3. Hero Section */
.hero-section {
  padding: 60px 0 50px;
  text-align: center;
  background-color: #F4EFE6;
}

.hero-content {
  max-width: 860px;
}

.eyebrow {
  display: inline-block;
  background-color: #E7D7B8;
  color: #33302C;
  border: 2px solid #33302C;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 800;
  color: #33302C;
  margin-bottom: 18px;
}

.hero-intro {
  font-size: 1.15rem;
  color: #33302C;
  max-width: 680px;
  margin: 0 auto 30px;
}

.btn-primary {
  background-color: #4F6B3A;
  color: #F4EFE6;
  padding: 14px 28px;
  border: 3px solid #33302C;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: #33302C;
  color: #F4EFE6;
}

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

.collage-tile {
  background-color: transparent;
}

.collage-frame {
  background-color: #E7D7B8;
  border: 3px solid #33302C;
  border-radius: 10px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 140px;
  justify-content: center;
}

.collage-frame-accent {
  background-color: #4F6B3A;
  color: #F4EFE6;
}

.collage-icon {
  margin-bottom: 10px;
}

.collage-label {
  font-size: 1.05rem;
  font-weight: 800;
}

.collage-sub {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
  opacity: 0.9;
}

/* 4. Offerings as Window Tiles */
.offerings-section {
  padding: 60px 0 70px;
  background-color: #F4EFE6;
  border-top: 3px solid #33302C;
}

.section-header-box {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4F6B3A;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #33302C;
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: #33302C;
}

.window-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 5 tiles layout: 3 on top row, 2 centered on next */
.window-tiles-grid > :nth-child(4) {
  grid-column: 1 / 2;
}

@media (min-width: 901px) {
  .window-tiles-grid > :nth-child(4) {
    grid-column: 1 / 2;
    margin-left: calc(50% + 12px);
  }
  .window-tiles-grid > :nth-child(5) {
    grid-column: 2 / 3;
    margin-left: calc(50% + 12px);
  }
}

.window-tile {
  display: flex;
  flex-direction: column;
}

.window-frame {
  background-color: #E7D7B8;
  border: 4px solid #33302C;
  border-radius: 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.window-top-bar {
  height: 12px;
  background-color: #33302C;
  width: 100%;
}

.badge-accent {
  position: absolute;
  top: 20px;
  right: 16px;
  background-color: #4F6B3A;
  color: #F4EFE6;
  border: 2px solid #33302C;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 14px;
}

.window-body {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tile-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #33302C;
  margin-bottom: 10px;
  padding-right: 40px;
}

.tile-text {
  font-size: 0.95rem;
  color: #33302C;
  margin-bottom: 24px;
  flex-grow: 1;
}

.price-card {
  background-color: #F4EFE6;
  border: 2px solid #33302C;
  border-radius: 6px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  align-self: flex-start;
}

.price-prefix {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4F6B3A;
}

.price-amount {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #33302C;
  letter-spacing: 0.03em;
  line-height: 1;
}

/* 5. What's Included / Check Grid */
.included-section {
  padding: 60px 0;
  background-color: #E7D7B8;
  border-top: 3px solid #33302C;
  border-bottom: 3px solid #33302C;
}

.included-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.included-header {
  text-align: center;
  margin-bottom: 36px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.check-item {
  background-color: #F4EFE6;
  border: 3px solid #33302C;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check-icon-box {
  background-color: #E7D7B8;
  border: 2px solid #33302C;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #33302C;
  margin-bottom: 4px;
}

.check-detail {
  font-size: 0.9rem;
  color: #33302C;
}

/* 6. Location + Opening Hours */
.location-section {
  padding: 60px 0;
  background-color: #F4EFE6;
}

.location-card {
  background-color: #F4EFE6;
  border: 4px solid #33302C;
  border-radius: 14px;
  padding: 36px 32px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.loc-subheading {
  font-size: 1.45rem;
  font-weight: 800;
  color: #33302C;
  margin-bottom: 12px;
}

.loc-text {
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.address-box, .phone-box {
  background-color: #E7D7B8;
  border: 2px solid #33302C;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.phone-link {
  color: #4F6B3A;
  font-weight: 800;
  font-size: 1.1rem;
}

.phone-link:hover {
  text-decoration: underline;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.hours-table td {
  padding: 10px 12px;
  border-bottom: 2px solid #33302C;
  font-weight: 700;
  font-size: 0.95rem;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-notice {
  font-size: 0.88rem;
  background-color: #E7D7B8;
  border: 2px solid #33302C;
  padding: 10px 14px;
  border-radius: 6px;
}

/* 7. Contact / Booking CTA Band */
.cta-band {
  background-color: #4F6B3A;
  color: #F4EFE6;
  border-top: 4px solid #33302C;
  border-bottom: 4px solid #33302C;
  padding: 50px 0;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E7D7B8;
  display: block;
  margin-bottom: 8px;
}

.cta-heading {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.cta-lead {
  font-size: 1.05rem;
  color: #F4EFE6;
}

.booking-form {
  background-color: #F4EFE6;
  color: #33302C;
  border: 3px solid #33302C;
  border-radius: 12px;
  padding: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #33302C;
  border-radius: 6px;
  background-color: #F4EFE6;
  color: #33302C;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-input:focus {
  outline: none;
  border-color: #4F6B3A;
}

.btn-submit {
  width: 100%;
  background-color: #4F6B3A;
  color: #F4EFE6;
  border: 2px solid #33302C;
  padding: 12px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-submit:hover {
  background-color: #33302C;
}

.form-feedback {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

/* 8. Footer */
.site-footer {
  background-color: #33302C;
  color: #F4EFE6;
  padding: 40px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #4F6B3A;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #E7D7B8;
  display: block;
  margin-bottom: 8px;
}

.footer-text {
  font-size: 0.92rem;
  margin-bottom: 10px;
  max-width: 480px;
  color: #F4EFE6;
}

.footer-contact-info {
  font-size: 0.88rem;
  color: #E7D7B8;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: #E7D7B8;
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #F4EFE6;
  transition: color 0.15s ease;
}

.social-btn:hover {
  color: #E7D7B8;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.link-privacy {
  background: none;
  border: none;
  color: #E7D7B8;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.link-privacy:hover {
  color: #F4EFE6;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(51, 48, 44, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal-backdrop.is-active {
  display: flex;
}

.modal-box {
  background-color: #F4EFE6;
  border: 4px solid #33302C;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #33302C;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.modal-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #33302C;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  font-weight: 800;
  color: #33302C;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  font-size: 0.92rem;
  color: #33302C;
}

.modal-body p {
  margin-bottom: 14px;
}

.modal-footer {
  border-top: 2px solid #33302C;
  padding-top: 14px;
  text-align: right;
  margin-top: 16px;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .hero-collage {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 40px auto 0;
  }

  .window-tiles-grid {
    grid-template-columns: 1fr;
  }

  .window-tiles-grid > :nth-child(4) {
    grid-column: auto;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 650px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    display: flex;
    gap: 16px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .cta-heading {
    font-size: 1.6rem;
  }
}