/* ========================================
   DOVER QUARTERS - Downtown Seattle
   Dark navy + teal + coral theme
======================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1B3A4B;
  --primary-light: #2E6171;
  --primary-dark: #0F2637;
  --accent: #E07A3A;
  --accent-light: #F09A5E;
  --accent-dark: #C4622A;
  --secondary: #0A1C2B;
  --bg: #F7F6F3;
  --bg-alt: #EFEEE9;
  --card-bg: #FFFFFF;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #5A6570;
  --text-muted: #8C939A;
  --border: #DDE0E4;
  --border-light: #ECEEF0;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--text-secondary); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn--white:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }
.btn--outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn--reserve { background: transparent; color: var(--accent); border: 2px dashed var(--accent); }
.btn--reserve:hover { background: var(--accent); color: var(--white); border-style: solid; transform: translateY(-1px); }
.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.82rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 0.95rem; }
.btn--full { width: 100%; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav--scrolled {
  background: rgba(10,28,43,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--white);
}
.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.nav__link:hover { color: var(--white); }
.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav__cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.nav__cta--outline {
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.nav__cta--outline:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.08); }
.nav__cta--accent { background: var(--accent); color: var(--white); }
.nav__cta--accent:hover { background: var(--accent-dark); }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--secondary);
  padding: 2rem;
  z-index: 999;
}
.nav__mobile-menu.active { display: flex; flex-direction: column; gap: 0.5rem; }
.nav__mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ---- Hero: Full-page overlay ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--secondary);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--secondary) 0%, rgba(10,28,43,0.8) 40%, rgba(10,28,43,0.4) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 600px;
}
.hero__title span { color: var(--accent-light); }
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
}
.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.15rem;
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-grid__text h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.about-grid__text h3 span { color: var(--primary-light); }
.about-grid__text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.about-grid__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
}
.about-grid__image img { width: 100%; height: 100%; object-fit: cover; }

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.check-list li::before {
  content: '\2713';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 0.7rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.gallery-grid__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}
.gallery-grid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid__img:hover img { transform: scale(1.05); }
.gallery-grid__img--large { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ---- Suites ---- */
.suites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.suite-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.suite-card:hover { border-color: rgba(27,58,75,0.3); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.suite-card__image { aspect-ratio: 4/3; overflow: hidden; }
.suite-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.suite-card:hover .suite-card__image img { transform: scale(1.05); }
.suite-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.suite-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.suite-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.suite-card__features {
  margin-bottom: 1.25rem;
  flex: 1;
}
.suite-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.suite-card__features li::before {
  content: '\2713';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 0.6rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- Amenities ---- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.amenity-card {
  padding: 2rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.amenity-card:hover { border-color: rgba(27,58,75,0.3); box-shadow: var(--shadow-md); }
.amenity-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,58,75,0.08);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.amenity-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.amenity-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Location ---- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.location-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-md);
}
.location-map iframe { width: 100%; height: 100%; border: 0; }
.location-info h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.location-info p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.25rem; }
.nearby-list { margin-bottom: 1.5rem; }
.nearby-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}
.nearby-item__name { color: var(--text); font-weight: 500; }
.nearby-item__dist { color: var(--text-muted); font-size: 0.82rem; }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224,122,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}
.cta-section .btn-group {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---- FAQ ---- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.active .faq-question::after { content: '-'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding-top: 0.75rem; }
.faq-answer p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }

/* ---- Footer ---- */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer__brand { display: flex; align-items: baseline; gap: 0.4rem; color: var(--white); margin-bottom: 0.75rem; }
.footer__brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}
.footer__tagline { font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.footer__heading {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer__links a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  padding: 0.3rem 0;
  transition: var(--transition);
}
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer__legal a { margin-left: 1.25rem; color: rgba(255,255,255,0.35); transition: var(--transition); }
.footer__legal a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer__social a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer__social a:hover { color: var(--accent); }

/* ---- Modals ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10,28,43,0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}
.modal__close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.modal__close:hover { background: var(--bg-alt); color: var(--text); }
.modal__header { padding: 2rem 2rem 0.5rem; }
.modal__title { font-size: 1.5rem; margin-bottom: 0.25rem; }
.modal__subtitle { font-size: 0.88rem; color: var(--text-secondary); }
.modal__body { padding: 1.25rem 2rem 2rem; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text); margin-bottom: 0.35rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: var(--transition);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(46,97,113,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.success-message { text-align: center; padding: 2rem 0; }
.success-message__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ---- Animations ---- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---- SVG Wave Divider ---- */
.wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg { width: 100%; height: auto; display: block; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .suites-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid__img--large { grid-column: span 2; grid-row: span 1; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid__image { height: 320px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-map { height: 300px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
  .hero__stats { gap: 1.5rem; flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid__img--large { grid-column: span 2; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cta-section .btn-group { flex-direction: column; align-items: center; }
  .section { padding: 3.5rem 0; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
}

@media (max-width: 480px) {
  .suites-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .gallery-grid__img--large { grid-column: span 1; }
  .amenities-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
