/* ============================================
   Moonies Resort Bar & Grill — Global Styles
   Lake of the Ozarks, Missouri
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --red: #C41E2A;
  --red-dark: #9B1720;
  --red-light: #E8434E;
  --blue: #1A3A5C;
  --blue-dark: #0F2440;
  --blue-light: #2A5A8C;
  --cream: #F5F0E8;
  --cream-dark: #E8DFD0;
  --green: #2D5F3E;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --gray: #6B7280;
  --gray-light: #D1D5DB;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--blue-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: background var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo img {
  height: 55px;
  width: auto;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-dark);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links .btn {
  padding: 8px 22px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links .btn::after {
  display: none;
}

.nav-links .btn:hover {
  color: var(--white);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(196, 30, 42, 0.4);
}

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

.btn-secondary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 58, 92, 0.4);
}

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

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: var(--header-height);
  background: url('../assets/images/Moonies_Building.png') center center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0.5);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Water wave animation at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 60% at 50% 100%);
}

/* --- Section Styles --- */
.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .accent-line {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- Highlights / Features Grid --- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.highlight-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.highlight-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--red);
}

.highlight-card p {
  color: var(--gray);
  line-height: 1.7;
}

/* --- About Teaser --- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-teaser-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue-light), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}

.about-teaser-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-teaser-text p {
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* --- Menu Page Styles --- */
.page-hero {
  margin-top: var(--header-height);
  padding: 60px 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
}

.menu-section {
  margin-bottom: 48px;
}

.menu-section h2 {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--cream-dark);
}

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

.menu-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
  border-left: 4px solid transparent;
}

.menu-item:hover {
  box-shadow: var(--shadow);
  border-left-color: var(--red);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.menu-item-header h3 {
  font-size: 1.1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: var(--blue-dark);
}

.menu-item-header .price {
  font-weight: 700;
  color: var(--red);
  font-size: 1.05rem;
  white-space: nowrap;
}

.menu-item p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Accommodations Page Styles --- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.room-card-image {
  height: 220px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

.room-card-image .room-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.room-card-body {
  padding: 28px;
}

.room-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.room-card-body p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.room-amenities span {
  background: var(--cream);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.room-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.room-card-footer .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.room-card-footer .price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray);
}

/* --- About Page Styles --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.contact-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card .icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.contact-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-card a {
  color: var(--red);
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--blue-dark);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--gray);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 40px;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 1.1rem;
  font-weight: 600;
}

/* --- Footer --- */
.footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--red);
  transform: translateY(-3px);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--red);
  font-weight: 700;
}

.cta-banner .btn:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-teaser {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .room-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin: 0 auto;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hero {
    min-height: 70vh;
  }

  .section {
    padding: 60px 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
  }
}

/* --- Overlay for mobile menu --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}
