/* ==========================================================================
   Courtyard by Marriott Saratoga Springs — Modern stylesheet
   ========================================================================== */

:root {
  --primary: #0b6e5a;          /* Marriott green */
  --primary-dark: #0a4f42;
  --primary-darker: #083a31;
  --accent: #c9a227;           /* warm gold */
  --accent-soft: #f3e9c9;
  --red: #b60c3d;
  --ink: #1f2a27;
  --muted: #5b6b66;
  --bg: #ffffff;
  --bg-soft: #f4f7f5;
  --line: #e2e8e5;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(8, 58, 49, 0.10);
  --shadow-sm: 0 2px 10px rgba(8, 58, 49, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { line-height: 1.2; color: var(--primary-darker); margin: 0 0 0.5em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }

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

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, transform .1s;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #b18a1c; color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(8,58,49,.05);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-darker);
}
.brand:hover { text-decoration: none; }
.brand img { width: 60px; height: auto; }
.brand-name { font-weight: 800; font-size: 1.15rem; display: block; line-height: 1.1; }
.brand-sub { font-size: 0.8rem; color: var(--muted); display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--primary); text-decoration: none; }
.site-nav a.active { background: var(--primary); color: #fff; }

.btn-book { margin-left: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.4rem;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--primary-darker);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 60%, #0d7a63 100%);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.hero h1 { color: #fff; font-size: 2.6rem; margin-bottom: 0.3em; }
.hero .tagline { font-size: 1.2rem; opacity: .95; max-width: 720px; margin: 0 auto 1.2em; }
.hero .lead { max-width: 720px; margin: 0 auto 1.6em; opacity: .9; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .badge-row { margin-top: 26px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; opacity: .95; }
.hero .badge-row img { height: 40px; width: auto; background: #fff; border-radius: 6px; padding: 4px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head .kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-head p { color: var(--muted); }

/* Cards / grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Two-column content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary));
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero p { opacity: .92; max-width: 720px; margin: 0 auto; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: .85rem;
  color: var(--muted);
  padding: 18px 0 0;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }

/* ==========================================================================
   Tables (conference space)
   ========================================================================== */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.data th, table.data td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.data thead th { background: var(--primary); color: #fff; font-weight: 600; }
table.data tbody tr:nth-child(even) { background: var(--bg-soft); }
table.data tbody tr:hover { background: var(--accent-soft); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; text-align: center; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-darker);
  font-size: 1.05rem;
}
.faq details[open] summary { margin-bottom: 10px; }
.faq p { margin: 0; color: var(--muted); }

/* ==========================================================================
   Contact / info blocks
   ========================================================================== */
.info-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.info-block h3 { margin-top: 0; }
.info-block ul { list-style: none; padding: 0; margin: 0; }
.info-block li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.info-block li:last-child { border-bottom: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--primary-darker); color: #d7e6e0; margin-top: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 50px 20px 30px;
}
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.site-footer a { color: #cfe3dc; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 20px;
  text-align: center;
  font-size: .85rem;
  color: #9fbdb4;
}
.footer-bottom a { color: #cfe3dc; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .btn-book { margin-left: 0; }
}
