* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f8f7f4;
  color: #242424;
  line-height: 1.6;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}


/* HEADER */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e7e4de;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  color: #242424;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
}

.header-date {
  color: #666;
  font-size: 0.95rem;
}


/* HERO */

.hero {
  padding: 100px 0;
  background: #ebe7df;
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0;
  font-size: 1.2rem;
  color: #555;
}

.event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 35px 0;
}

.event-details div {
  display: flex;
  flex-direction: column;
}

.event-details span {
  color: #666;
  font-size: 0.9rem;
}


/* BUTTONS */

.primary-button,
.secondary-button {
  border-radius: 6px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}

.primary-button {
  background: #222;
  color: #fff;
}

.primary-button:hover {
  opacity: 0.85;
}

.primary-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.secondary-button {
  background: #fff;
  border-color: #ccc;
  color: #222;
}

.secondary-button:hover {
  background: #f1f1f1;
}

.full-width {
  width: 100%;
}


/* BOOKING */

.booking-section {
  padding: 80px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 45px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: 2.3rem;
}

.section-heading p {
  color: #666;
}


/* PROGRESS */

.progress {
  display: flex;
  align-items: center;
  margin-bottom: 45px;
  max-width: 800px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999;
  white-space: nowrap;
}

.progress-step span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 0.85rem;
}

.progress-step.active {
  color: #222;
  font-weight: 700;
}

.progress-step.active span {
  background: #222;
  border-color: #222;
  color: #fff;
}

.progress-line {
  height: 1px;
  flex: 1;
  background: #ddd;
  margin: 0 12px;
}


/* ROOM LAYOUT */

.rooms-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 35px;
  align-items: start;
}

.room-selection h3,
.booking-summary h3,
.form-card h3,
.review-card h3,
.payment-card h3 {
  margin-top: 0;
}

.room-option {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 15px;
}

.room-option-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.room-option h4 {
  margin: 0;
  font-size: 1.1rem;
}

.room-price {
  font-weight: 700;
  white-space: nowrap;
}

.room-description {
  margin: 8px 0 18px;
  color: #666;
  font-size: 0.92rem;
}

.room-controls {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.room-control {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.room-control label {
  font-size: 0.8rem;
  color: #666;
}

.room-control select {
  min-width: 120px;
  padding: 9px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
}


/* SUMMARY */

.booking-summary {
  position: sticky;
  top: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1.1rem;
}


/* FORMS */

.form-card,
.review-card,
.payment-card {
  max-width: 800px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 35px;
}

.form-intro {
  color: #666;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-weight: 700;
  font-size: 0.9rem;
}

.form-field input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
}


/* REVIEW */

.review-section {
  margin: 25px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.review-section h4 {
  margin-bottom: 10px;
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 0;
}

.review-grand-total {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  font-size: 1.3rem;
  font-weight: 700;
}


/* PAYMENT */

.payment-total {
  padding: 20px 0;
  font-size: 1.2rem;
}

.payment-total strong {
  display: block;
  font-size: 2rem;
}

.payment-placeholder {
  padding: 30px;
  margin: 20px 0;
  background: #f5f5f5;
  border-radius: 6px;
}


/* STATUS */

.status-message {
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.status-message.error {
  color: #a00000;
  border-color: #e0b0b0;
  background: #fff7f7;
}

.hidden {
  display: none !important;
}


/* FOOTER */

.site-footer {
  padding: 35px 0;
  background: #222;
  color: #fff;
}


/* MOBILE */

@media (max-width: 800px) {

  .rooms-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .progress-step label {
    display: none;
  }

  .hero {
    padding: 70px 0;
  }

  .form-card,
  .review-card,
  .payment-card {
    padding: 25px;
  }
}


/* =========================================
   BL4CKR3D®
========================================= */

.bl4ckr3d-footer {
    width: 100%;
    box-sizing: border-box;

    /* Bottom spacing */
    padding: 24px 20px;

    /* Center the signature */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Make sure nothing pushes it sideways */
    margin: 0;
    text-align: center;

    background: #222;
    color: white;
}


/* =========================================
   SIGNATURE
========================================= */

.bl4ckr3d-signature {
    --signature-color: rgba(255, 255, 255, 0.72);
    --signature-muted: rgba(255, 255, 255, 0.32);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: max-content;
    max-width: 100%;

    gap: 9px;

    margin: 0;
    padding: 0;

    color: var(--signature-color);
    text-decoration: none;

    font-family:
        "Inter",
        "Helvetica Neue",
        Arial,
        sans-serif;

    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1;

    transition:
        color 300ms ease,
        opacity 300ms ease;
}


/* =========================================
   SYMBOL
========================================= */

.bl4ckr3d-mark {
    position: relative;

    width: 15px;
    height: 15px;

    flex: 0 0 15px;

    display: block;

    transform: rotate(45deg);

    transition:
        transform 500ms cubic-bezier(.2, .8, .2, 1);
}


.bl4ckr3d-mark span {
    position: absolute;

    display: block;

    width: 7px;
    height: 7px;

    box-sizing: border-box;

    border: 1px solid currentColor;

    transition:
        transform 400ms ease,
        background-color 300ms ease;
}


.bl4ckr3d-mark span:first-child {
    top: 0;
    left: 0;
}


.bl4ckr3d-mark span:last-child {
    right: 0;
    bottom: 0;
}


/* =========================================
   WORDMARK
========================================= */

.bl4ckr3d-name {
    display: inline-flex;
    align-items: flex-start;

    margin: 0;
    padding: 0;

    font-weight: 600;
    letter-spacing: 0.12em;
}


.bl4ckr3d-name sup {
    margin-left: 2px;
    margin-top: -2px;

    font-size: 5px;
    line-height: 1;

    opacity: 0.55;
}


.bl4ckr3d-divider {
    color: var(--signature-muted);
    font-weight: 300;
}


.bl4ckr3d-digital {
    color: var(--signature-muted);

    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.22em;

    transition: color 300ms ease;
}


/* =========================================
   HOVER
========================================= */

.bl4ckr3d-signature:hover {
    color: #ffffff;
}


.bl4ckr3d-signature:hover .bl4ckr3d-mark {
    transform: rotate(135deg) scale(1.08);
}


.bl4ckr3d-signature:hover .bl4ckr3d-mark span:first-child {
    transform: translate(2px, 2px);
}


.bl4ckr3d-signature:hover .bl4ckr3d-mark span:last-child {
    transform: translate(-2px, -2px);
}


.bl4ckr3d-signature:hover .bl4ckr3d-digital {
    color: rgba(255, 255, 255, 0.65);
}


/* =========================================
   LIGHT BACKGROUND VERSION
========================================= */

.site-footer.light {
    --signature-color: rgba(0, 0, 0, 0.72);
    --signature-muted: rgba(0, 0, 0, 0.35);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .site-footer {
        padding: 20px 16px;
    }

    .bl4ckr3d-signature {
        gap: 7px;
        font-size: 9px;
    }

    .bl4ckr3d-digital {
        font-size: 7px;
    }

}