/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #E31D17;
  --red-dark: #b8120e;
  --dark: #1a1a1a;
  --gray-900: #222;
  --gray-700: #555;
  --gray-400: #aaa;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-weight: 500; line-height: 1.3; }
h1 { font-size: 2rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.75rem; margin-top: 2rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; margin-top: 1.5rem; }
p { margin-bottom: 1rem; }
hr { border: none; border-top: 1px solid var(--gray-200); margin: 2rem 0; }

/* === Header === */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}
.logo span { color: var(--red); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  color: var(--gray-900);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--red); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: transform 0.2s;
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* === Hero === */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* === Sections === */
.section {
  padding: 3rem 0;
  flex: 1;
}

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

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

/* === Info Grid === */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.info-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--red);
}
.info-card h3 { margin-top: 0; color: var(--red); }

.info-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: none;
}

.ips-logo {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

/* === Pricing Table === */
.pricing-table-wrapper {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.pricing-table th,
.pricing-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.pricing-table thead th {
  background: var(--dark);
  color: var(--white);
  font-weight: 500;
}
.pricing-table tbody tr:hover {
  background: var(--gray-100);
}

.social-events {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.social-events li {
  margin-bottom: 0.35rem;
}

/* === Form === */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label,
.form-group legend {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--gray-400);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(227, 29, 23, 0.15);
}

fieldset {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem;
}
fieldset legend {
  padding: 0 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"] {
  width: auto;
}

.radio-inline {
  display: flex;
  gap: 1.5rem;
}

.required { color: var(--red); }

.form-sublabel {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  display: block;
}

.dinner-menu-choice {
  margin-top: 0.25rem;
  margin-left: 1.5rem;
}

.optional-event-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.optional-event-options {
  flex: 1;
}

.event-image-link {
  flex-shrink: 0;
  display: block;
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  border: 3px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.event-image-link:hover {
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tour-event-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tour-event-options {
  flex: 1;
}

.tour-event-images {
  flex-shrink: 0;
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .optional-event-row,
  .tour-event-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .event-image-link {
    width: 100px;
    height: 100px;
  }
}

.price-summary {
  background: var(--gray-100);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-size: 1.1rem;
  border-left: 4px solid var(--red);
}

.form-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* === Status Pages === */
.status-icon {
  font-size: 3.5rem;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  font-weight: 700;
}
.status-success {
  background: #d1fae5;
  color: #065f46;
}
.status-cancel {
  background: #fef2f2;
  color: #b91c1c;
}

.details-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 480px;
  margin: 2rem auto;
  text-align: left;
}
.details-card h2 {
  margin-top: 0;
  text-align: center;
}

.details-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
}
.details-list dt {
  font-weight: 500;
  color: var(--gray-700);
}

/* === Footer === */
.site-footer {
  background: var(--dark);
  color: var(--gray-400);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  margin-top: auto;
}
.site-footer p { margin-bottom: 0.25rem; }

/* === Mobile === */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--gray-200);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 0;
  }
  .main-nav li {
    border-bottom: 1px solid var(--gray-200);
  }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a {
    display: block;
    padding: 0.75rem 0;
  }

  .hero h1 { font-size: 1.6rem; }
  h1 { font-size: 1.6rem; }

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