/* ============================================
   Virtual EA — Shared Stylesheet
   Netlify-ready static rebuild
   ============================================ */

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

/* ── Variables ─────────────────────────────── */
:root {
  --navy:        #1e2d5a;
  --navy-dark:   #0d1b3e;
  --navy-light:  #2d3f78;
  --text:        #2c2c2c;
  --text-mid:    #555555;
  --text-light:  #888888;
  --bg:          #ffffff;
  --bg-alt:      #f4f6f9;
  --bg-section:  #eef1f7;
  --card-bg:     #ffffff;
  --border:      #e0e4ee;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.13);
  --max-w:       1100px;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition:  0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }

/* ── Header / Nav ──────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  max-width: min(265px, 36vw);
  height: 70px;
  width: auto;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
  gap: 2px;
}

.site-nav a {
  display: block;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.site-nav a:hover {
  background: var(--bg-alt);
  color: var(--navy);
}

.site-nav a.active {
  background: var(--navy);
  color: #fff;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

.nav-toggle svg {
  display: block;
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(30,45,90,0.3);
}

.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,45,90,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

/* ── Hero (Home) ───────────────────────────── */
.hero {
  background: var(--bg-alt);
  padding: 56px 24px 24px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  max-width: 520px;
}

.hero-text .btn {
  margin-top: 8px;
}

.hero-image {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 56% 24%;
}

/* ── Section wrapper ───────────────────────── */
.section {
  padding: 72px 24px;
}

#services.section {
  padding-top: 36px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.3px;
}

/* ── Services grid ─────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card.wide {
  grid-column: 1 / -1;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-section);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 10px;
  line-height: 1.7;
}

/* ── Contact section ───────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  text-align: center;
}

.contact-intro {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Form */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid var(--border);
  background: transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  resize: none;
}

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

.form-group textarea {
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.contact-form .btn {
  margin-top: 8px;
  width: 100%;
}

.form-widget {
  margin-top: 8px;
}

.form-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #b03a2e;
}

.contact-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form {
  width: min(100%, 520px);
}

/* Contact details */
.contact-details h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-details p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.contact-details {
  align-items: center;
}

.contact-details a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Footer ────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  transition: background var(--transition);
}

.footer-social a:hover {
  background: rgba(255,255,255,0.2);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-info p {
  font-size: 0.85rem;
  line-height: 1.9;
}

.footer-info {
  text-align: center;
}

.footer-info a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-badges img {
  height: 60px;
  width: auto;
  border-radius: 6px;
  opacity: 0.9;
}

.footer-address {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  margin-top: 8px;
}

/* ── Travel Hero ───────────────────────────── */
.travel-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.travel-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.travel-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.travel-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-align: right;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* ── Travel service blocks ─────────────────── */
.travel-block {
  padding: 60px 24px;
}

.travel-block:nth-child(even) {
  background: var(--bg-alt);
}

.travel-block-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.travel-block-inner.reverse {
  direction: rtl;
}

.travel-block-inner.reverse > * {
  direction: ltr;
}

.travel-block-inner.full {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.travel-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.travel-text p {
  font-size: 0.98rem;
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.75;
}

.travel-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.travel-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.travel-cta {
  text-align: center;
  padding: 48px 24px;
}

/* ── Testimonials ──────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  border: 1px solid var(--border);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--navy);
  opacity: 0.12;
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  display: block;
}

.testimonial-card .company {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ── Thank you page ───────────────────────── */
.thankyou-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.thankyou-section h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.thankyou-section p {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 32px;
}

/* ── Netlify success notice ────────────────── */
.form-success {
  display: none;
  background: #eaf6f0;
  border: 1px solid #b2dfc5;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #2a7a4f;
  font-weight: 500;
  margin-bottom: 20px;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }
  .hero-image img {
    height: 420px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .travel-block-inner,
  .travel-block-inner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-badges {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card.wide {
    grid-column: auto;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 16px;
    gap: 4px;
    background: var(--bg);
    box-shadow: var(--shadow-md);
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    border-radius: 8px;
    padding: 10px 16px;
    width: 100%;
  }
  .nav-toggle {
    display: block;
  }
  .logo img {
    max-width: min(220px, 56vw);
    height: 58px;
  }
  .site-header {
    position: relative;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .travel-hero-content {
    align-items: flex-start;
  }
  .travel-hero-content h1 {
    text-align: left;
  }
}
