/* ============================================
   Eyja Travel Media LTD — Site Styles
   ============================================ */

:root {
  --color-bg: #F9F8F6;        /* Warm Off-White / Ivory */
  --color-text: #1A1D20;      /* Charcoal Black / Deep Slate */
  --color-accent: #C83E2B;    /* Muted Gold / Sand */
  --color-muted: #8a8a86;     /* muted grey for footer/secondary text */
  --color-border: rgba(26, 29, 32, 0.1);
  --font-heading: 'Inter', 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.25em;
  color: var(--color-text);
}

a { color: inherit; text-decoration: none; }

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

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

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(249, 248, 246, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.nav .logo-link {
  display: block;
  width: 140px;
}

.nav .logo-link svg { width: 100%; height: auto; display: block; }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.25s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text);
}

.btn-primary:hover { opacity: 0.85; }

/* Scoped override: hero CTA sits on a dark video background, so its
   label is set to ivory instead of the default charcoal. Other
   .btn-primary instances (e.g. the Contact form Submit button) are
   unaffected. */
.btn-on-dark {
  color: var(--color-bg);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}

.btn-outline:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

/* ---------- Hero (Home) ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1A1D20; /* shows while video loads */
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 0 32px;
  color: #F9F8F6;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  color: #F9F8F6;
  margin-bottom: 0.6em;
}

.hero-content p {
  font-size: 18px;
  color: rgba(249, 248, 246, 0.88);
  max-width: 600px;
  margin: 0 auto 2em;
}

/* ---------- Generic page sections ---------- */

.section {
  padding: 96px 0;
}

.section-narrow {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.section-narrow h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.section-narrow p {
  font-size: 17px;
  color: #44484c;
}

/* ---------- About split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: #e5e1d8; /* shows while image loads */
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text h2 {
  font-size: clamp(26px, 3.6vw, 38px);
}

.split-text p {
  font-size: 16px;
  color: #44484c;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
}

.contact-info h2 {
  font-size: clamp(26px, 3.6vw, 38px);
}

.contact-info p {
  font-size: 16px;
  color: #44484c;
}

.contact-detail {
  margin-top: 32px;
}

.contact-detail dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.contact-detail dd {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 500;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-muted);
}

/* ---------- Legal pages (Privacy Policy / Terms & Conditions) ---------- */

.legal-header {
  padding: 64px 0 0;
}

.legal-header h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.legal-content > .legal-intro {
  font-size: 17px;
  color: #44484c;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 21px;
  margin-top: 44px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #44484c;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-content li {
  font-size: 15.5px;
  line-height: 1.7;
  color: #44484c;
  margin-bottom: 8px;
}

.legal-content li strong,
.legal-content p strong {
  color: var(--color-text);
}

.legal-content a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-inner p {
  margin: 0;
  font-size: 12.5px;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 12.5px;
  color: var(--color-muted);
}

.footer-links a:hover { color: var(--color-text); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-media { order: -1; aspect-ratio: 16/10; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 32px 24px;
    gap: 18px;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }

  .section { padding: 64px 0; }
}
