/* ============================================
   Full Quality LLC — Design Tokens & Styles
   Navy + Gold Corporate Construction
   ============================================ */

/* --- Fonts --- */
/* Playfair Display for display headings, DM Sans for body */

/* --- Type Scale --- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

  /* --- Spacing (4px grid) --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Radius --- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Content Widths --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* --- Fonts --- */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

/* ============================================
   LIGHT MODE (default)
   ============================================ */
:root,
[data-theme='light'] {
  --color-bg: #FAFAF8;
  --color-surface: #FFFFFF;
  --color-surface-2: #F5F5F2;
  --color-surface-offset: #EEEEE8;
  --color-divider: #D9D9D2;
  --color-border: #C8C8C0;

  --color-text: #1B2A4A;
  --color-text-muted: #5A6578;
  --color-text-faint: #9AA0AC;

  --color-primary: #1B2A4A;
  --color-primary-hover: #0F1B33;
  --color-primary-active: #080F1E;

  --color-accent: #C8963E;
  --color-accent-hover: #B3832F;
  --color-accent-active: #9A7024;
  --color-accent-light: #F5EDD8;

  --color-success: #2E7D32;
  --color-error: #C62828;
  --color-warning: #E65100;

  --shadow-sm: 0 1px 2px rgba(27, 42, 74, 0.06);
  --shadow-md: 0 4px 12px rgba(27, 42, 74, 0.08);
  --shadow-lg: 0 12px 32px rgba(27, 42, 74, 0.12);
}

/* ============================================
   DARK MODE
   ============================================ */
[data-theme='dark'] {
  --color-bg: #0F1520;
  --color-surface: #161D2B;
  --color-surface-2: #1C2435;
  --color-surface-offset: #212A3C;
  --color-divider: #2A3348;
  --color-border: #3A4460;

  --color-text: #D8DDE8;
  --color-text-muted: #8D95A8;
  --color-text-faint: #596175;

  --color-primary: #8BA3D0;
  --color-primary-hover: #A4B8DE;
  --color-primary-active: #6B8EC2;

  --color-accent: #D4A84E;
  --color-accent-hover: #E0BA6A;
  --color-accent-active: #C09538;
  --color-accent-light: #2C2618;

  --color-success: #4CAF50;
  --color-error: #EF5350;
  --color-warning: #FF9800;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0F1520;
    --color-surface: #161D2B;
    --color-surface-2: #1C2435;
    --color-surface-offset: #212A3C;
    --color-divider: #2A3348;
    --color-border: #3A4460;
    --color-text: #D8DDE8;
    --color-text-muted: #8D95A8;
    --color-text-faint: #596175;
    --color-primary: #8BA3D0;
    --color-primary-hover: #A4B8DE;
    --color-primary-active: #6B8EC2;
    --color-accent: #D4A84E;
    --color-accent-hover: #E0BA6A;
    --color-accent-active: #C09538;
    --color-accent-light: #2C2618;
    --color-success: #4CAF50;
    --color-error: #EF5350;
    --color-warning: #FF9800;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
  }
}

/* ============================================
   LAYOUT & COMPONENTS
   ============================================ */

/* --- Container --- */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

/* --- Section Spacing --- */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--scrolled {
  box-shadow: var(--shadow-md);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-4);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.header__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.header__logo-text span {
  color: var(--color-accent);
}

/* Nav */
.header__nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .header__nav { display: flex; }
}
.header__nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.header__nav a:hover {
  color: var(--color-accent);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  flex-direction: column;
  padding: var(--space-6);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  display: block;
}
.mobile-nav a:hover {
  color: var(--color-accent);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}
[data-theme='dark'] .hero,
:root:not([data-theme]) .hero {
  background: #0A101A;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .hero {
    background: #0A101A;
  }
}
.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(200, 150, 62, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(200, 150, 62, 0.15) 0%, transparent 50%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-6);
  line-height: 1.08;
}
.hero__subtitle {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  max-width: 560px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* --- Stat bar below hero --- */
.stat-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
}
.stat-bar__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-6);
  text-align: center;
}
@media (min-width: 768px) {
  .stat-bar__inner { grid-template-columns: repeat(4, 1fr); }
}
.stat-bar__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
}
.stat-bar__item span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  min-height: 44px;
}
.btn--primary {
  background: var(--color-accent);
  color: #FFFFFF;
}
.btn--primary:hover {
  background: var(--color-accent-hover);
}
.btn--outline {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: #FFFFFF;
  background: rgba(255,255,255,0.08);
}
.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}
.btn--outline-dark:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.section-header__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.section-header__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-header__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
}

/* ============================================
   ABOUT
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
}
.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-surface-2);
  position: relative;
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.about__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.about__value {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.about__value-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  margin-top: 2px;
}
.about__value-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

/* ============================================
   FAQ
   ============================================ */
.faq__list {
  max-width: 760px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  gap: var(--space-4);
  min-height: 44px;
}
.faq-item__question:hover {
  color: var(--color-accent);
}
.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--color-text-muted);
}
.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-item__answer {
  max-height: 500px;
  padding-bottom: var(--space-5);
}
.faq-item__answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   CONTACT / BOOKING
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .contact__grid { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
}
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.form-group {
  margin-bottom: var(--space-4);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-base);
  color: var(--color-text);
  min-height: 44px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Booking panel */
.booking-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.booking-panel h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.booking-panel p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.booking-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.booking-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.booking-info__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  margin-top: 2px;
}
.booking-info__text {
  font-size: var(--text-sm);
  color: var(--color-text);
}
.booking-info__text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}
.booking-info__text span,
.booking-info__text a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.booking-info__text a:hover {
  color: var(--color-accent);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--color-primary);
  text-align: center;
}
[data-theme='dark'] .cta-banner {
  background: #0D1524;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-3);
}
.cta-banner__text {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-6);
  max-width: 500px;
  margin-inline: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-8);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.footer__brand-text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}
.footer__brand-text span {
  color: var(--color-accent);
}
.footer__links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--color-accent);
}
.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  margin-top: var(--space-6);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8);
}
.form-success.show {
  display: block;
}
.form-success__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  color: var(--color-success);
}
.form-success__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.form-success__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
