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

:root {
  --msu-green: #18453B;
  --msu-green-dark: #0f2e27;
  --msu-green-light: #1e5a4d;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --light-gray: #e8e8e8;
  --mid-gray: #888888;
  --dark-text: #222222;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--dark-text);
  line-height: 1.6;
  background: var(--white);
}

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

ul {
  list-style: none;
}

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

/* ===== HEADER / NAV ===== */
.site-header {
  background: var(--msu-green);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--white);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--msu-green) 0%, var(--msu-green-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: scale(0.97);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-green {
  background: var(--msu-green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--msu-green-light);
}

/* ===== SPLIT SECTION (Slideshow + Selling Points) ===== */
.split-section {
  display: flex;
  flex-direction: column;
}

.split-slideshow {
  width: 100%;
}

.split-points {
  padding: 3rem 1.5rem;
}

/* Slideshow */
.slideshow {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 350px;
  max-height: 600px;
  overflow: hidden;
  background: var(--white);
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* ===== BOOKING MODAL ===== */
.booking-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.booking-overlay.open {
  display: flex;
}

.booking-modal {
  background: var(--white);
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.booking-modal h2 {
  font-size: 1.4rem;
  color: var(--msu-green);
  margin-bottom: 0.25rem;
}

.booking-modal .modal-subtitle {
  color: var(--mid-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--mid-gray);
  line-height: 1;
}

.modal-close:hover {
  color: var(--dark-text);
}

/* Calendar */
.calendar {
  margin-bottom: 1.5rem;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.calendar-header h3 {
  font-size: 1rem;
  color: var(--dark-text);
}

.calendar-nav {
  background: none;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  font-size: 1rem;
  color: var(--dark-text);
}

.calendar-nav:hover {
  background: var(--off-white);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.calendar-grid .day-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mid-gray);
  padding: 0.4rem 0;
}

.calendar-grid .day {
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  background: none;
}

.calendar-grid .day:hover {
  background: var(--off-white);
}

.calendar-grid .day.disabled {
  color: #ccc;
  cursor: default;
}

.calendar-grid .day.disabled:hover {
  background: none;
}

.calendar-grid .day.selected {
  background: var(--msu-green);
  color: var(--white);
}

.calendar-grid .day.empty {
  cursor: default;
}

/* Time Slots */
.time-slots {
  display: none;
  margin-bottom: 1.5rem;
}

.time-slots.visible {
  display: block;
}

.time-slots h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--dark-text);
}

.slots-row {
  display: flex;
  gap: 0.75rem;
}

.slot-btn {
  flex: 1;
  padding: 0.6rem;
  border: 2px solid var(--msu-green);
  border-radius: 6px;
  background: var(--white);
  color: var(--msu-green);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.slot-btn:hover {
  background: var(--msu-green);
  color: var(--white);
}

.slot-btn.selected {
  background: var(--msu-green);
  color: var(--white);
}

.slot-btn.booked {
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
  background: var(--off-white);
}

.slot-btn.booked:hover {
  background: var(--off-white);
  color: #ccc;
}

/* Booking Form */
.booking-form {
  display: none;
}

.booking-form.visible {
  display: block;
}

.booking-form h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--dark-text);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #444;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: border-color 0.2s;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 70px;
}

.form-submit {
  width: 100%;
  padding: 0.75rem;
  background: var(--msu-green);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: var(--msu-green-light);
}

.form-submit:disabled {
  background: #aaa;
  cursor: not-allowed;
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  background: #e6f5e9;
  color: #1a7a2e;
}

.form-message.error {
  display: block;
  background: #fde8e8;
  color: #c0392b;
}

/* ===== SECTIONS ===== */
.section {
  padding: 3.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-alt .section {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--msu-green);
}

.section-subtitle {
  text-align: center;
  color: var(--mid-gray);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* ===== SELLING POINTS ===== */
.selling-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.point-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.point-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.point-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--msu-green);
}

.point-card p {
  font-size: 0.95rem;
  color: #555;
}

/* ===== ABOUT ===== */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  background: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 0.9rem;
  font-weight: 500;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== LIGHTBOX ===== */
.gallery-item {
  cursor: pointer;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  z-index: 3001;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  line-height: 1;
  z-index: 3001;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: var(--msu-green);
  position: relative;
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--msu-green);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.3rem;
  color: var(--msu-green);
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 0.25rem;
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin-bottom: 1.25rem;
}

.pricing-card .details {
  text-align: left;
  margin-bottom: 1.5rem;
}

.pricing-card .details li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: #444;
  border-bottom: 1px solid var(--off-white);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card .details li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--msu-green);
  font-weight: 700;
}

.pricing-info {
  text-align: center;
  color: var(--mid-gray);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--msu-green);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
}

.cta-banner h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--msu-green-dark);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  margin-bottom: 1rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
  color: var(--white);
}

/* ===== PAGE HEADER (Gallery / Booking) ===== */
.page-header {
  background: linear-gradient(135deg, var(--msu-green) 0%, var(--msu-green-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.9;
  font-size: 1.05rem;
}

/* ===== RESPONSIVE ===== */

/* Mobile: show hamburger, hide nav links */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--msu-green);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

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

  .nav-links a {
    padding: 0.75rem 1.5rem;
    border-bottom: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: none;
  }
}

/* Tablet */
@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 900px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero {
    padding: 5rem 2rem;
  }

  .split-section {
    flex-direction: row;
    align-items: stretch;
  }

  .split-slideshow {
    width: 50%;
  }

  .split-slideshow .slideshow {
    height: 100%;
    max-height: none;
  }

  .split-points {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section {
    padding: 4.5rem 2rem;
  }
}
