/* ==========================================================================
   Alan Hospitality base styles
   ========================================================================== */

@font-face {
  font-family: 'Sansation';
  src: url('../fonts/Sansation/Sansation_Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #0a2540;
  --navy-800: #102f52;
  --navy-700: #1a3d66;
  --navy-50:  #eef3f9;

  --gold-500: #c9a961;
  --gold-600: #b89548;
  --gold-50:  #faf5e9;

  --ink-900: #11151c;
  --ink-700: #2a3340;
  --ink-500: #5a6577;
  --ink-300: #aab2c0;
  --ink-200: #d8dde6;
  --ink-100: #eef1f5;
  --ink-50:  #f6f8fb;

  --white: #ffffff;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.14);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --container: 1140px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-600); }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; }
p  { margin: 0 0 1em; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 8vw, 112px) 0; }

.section-header { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-lede { color: var(--ink-500); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-600);
  margin: 0 0 14px;
}

.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-size: 0.96rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--navy-800); color: var(--white); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--ink-200);
}
.btn-ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy-900);
  color: var(--gold-500);
  border-radius: 8px;
  font-family: 'Sansation', var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.brand-name {
  font-family: 'Sansation', var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-700);
}
.nav-menu a:hover { color: var(--navy-900); }
.nav-cta {
  background: var(--navy-900);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: var(--radius-md);
}
.nav-cta:hover { background: var(--navy-800); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  padding: 0 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu li { border-bottom: 1px solid var(--ink-100); }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu a { display: block; padding: 14px 0; }
  .nav-cta { margin-top: 8px; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(120px, 14vw, 200px) 0 clamp(96px, 12vw, 160px);
  background-image:
    linear-gradient(rgba(10, 37, 64, 0.6), rgba(10, 37, 64, 0.6)),
    url('../images/hero-mobile.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}
@media (min-width: 768px) {
  .hero {
    background-image:
      linear-gradient(rgba(10, 37, 64, 0.6), rgba(10, 37, 64, 0.6)),
      url('../images/hero.jpg');
  }
}
.hero-inner { max-width: 880px; position: relative; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--gold-500); }
.hero .lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.hero .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Cards (services) ---------- */
.section-services { background: var(--white); }
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink-200);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-900);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { color: var(--navy-900); margin-bottom: 8px; }
.card p { color: var(--ink-500); margin: 0; font-size: 0.96rem; flex-grow: 1; }

/* ---------- About ---------- */
.section-about { background: var(--ink-50); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.about-stats li {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 18px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy-900);
  font-weight: 700;
}
.stat-label { color: var(--ink-500); font-size: 0.9rem; }

.about-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}
.about-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.about-card h3 { color: var(--white); margin-bottom: 18px; font-size: 1.1rem; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.88);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Why Us ---------- */
.section-why { background: var(--white); }
.why-item {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
}
.why-num {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--gold-600);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.why-item h3 { color: var(--navy-900); margin-bottom: 8px; }
.why-item p { color: var(--ink-500); font-size: 0.96rem; margin: 0; }

/* ---------- Contact ---------- */
.section-contact {
  background:
    radial-gradient(800px 320px at 100% 0%, rgba(201, 169, 97, 0.14), transparent 60%),
    var(--navy-900);
  color: rgba(255, 255, 255, 0.9);
}
.section-contact .eyebrow { color: var(--gold-500); }
.section-contact h2 { color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy p { color: rgba(255, 255, 255, 0.78); }
.contact-meta { margin-top: 28px; }
.contact-meta li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.85);
}
.contact-meta li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.contact-meta strong { color: var(--white); margin-right: 10px; font-weight: 600; }

.contact-form {
  background: var(--white);
  color: var(--ink-700);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.field { display: block; margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field-row .field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(26, 61, 102, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.84rem;
  color: #b3261e;
}
.field.has-error input,
.field.has-error textarea { border-color: #b3261e; }
.field.has-error .field-error { display: block; }

.form-status {
  margin: 14px 0 0;
  font-size: 0.92rem;
  min-height: 1.2em;
}
.form-status.is-success { color: #1f7a3a; }
.form-status.is-error { color: #b3261e; }
.form-fineprint {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--ink-500);
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: 'Sansation', var(--font-sans);
  font-weight: 700;
}
.footer-meta { margin: 0; font-size: 0.88rem; }
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold-500); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
