/* ======================== */
/* ===== ROOT & RESET ===== */
/* ======================== */
:root{
  --font-head:"Marcellus",serif;
  --font-body:"Manrope",sans-serif;

  --bg:#F7F3ED;        /* Fantasy */
  --surface:#EFD8D6;   /* Vanilla Ice */
  --muted:#C2C6B9;     /* Silver Sand */
  --accent:#DBA1A2;    /* Rose */
  --ink:#422B23;       /* Tobago */
}

/* RESET */
*{margin:0;padding:0;box-sizing:border-box}

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
}

a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

/* ======================== */
/* ===== HEADER & NAV ===== */
/* ======================== */
.site-header{
  background:var(--bg);
  color:var(--ink);
  height:160px;
  display:flex;align-items:center;
}

.header-flex{
  display:flex;justify-content:space-between;align-items:center;
  width:90%;max-width:1200px;margin:0 auto;position:relative; /* for mobile dropdown */
}

.header-logo img{
  max-height:200px; /* keep inside 160px header */
  width:auto;object-fit:contain;margin-top:30px;
}

.navbar ul{display:flex;gap:1rem;list-style:none}

.navbar a{
  color:var(--ink);
  padding:.4rem .8rem;
  border:2px solid var(--accent);
  border-radius:14px;
  transition:all .3s ease;
  font-weight:600;font-size:.85rem;position:relative;top:-10px;
}

.navbar a:hover,
.navbar a.active{
  background:var(--accent);
  color:var(--ink);
  border-color:var(--accent);
}

/* Menu toggle hidden on desktop */
.menu-toggle{
  display:none;background:none;border:none;color:var(--ink);
  font-size:1.8rem;cursor:pointer;
}

/* ======================== */
/* ===== HERO & SECTIONS === */
/* ======================== */
/* Plane image with SURFACE tint */
.services-hero,
.services-list,
.cta{
  position:relative;
  isolation:isolate; /* ensures overlay stays behind content */
  background:url('plane.jpg') center/cover no-repeat, var(--surface);
}
.services-hero::before,
.services-list::before,
.cta::before{
  content:"";
  position:absolute; inset:0;
  background:var(--surface);
  opacity:.65;         /* tint strength */
  z-index:0;
}
.services-hero > *, .services-list > *, .cta > *{ position:relative; z-index:1 }

.services-hero{
  color:var(--ink);
  padding:0 1rem;
  text-align:center;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:35vh;
  box-shadow:0 4px 12px rgba(66,43,35,.15);
}

.services-hero h1{
  margin-bottom:.5rem;font-size:2.5rem;text-align:center;font-family:var(--font-head);
}

/* ======================== */
/* ===== SERVICES GRID ===== */
/* ======================== */
.services-list{
  padding:4rem 1rem;
  text-align:center;
  margin:4rem auto 0;
  box-shadow:0 4px 12px rgba(66,43,35,.10);
}

.services-grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:2.5rem; padding:1.5rem .5rem; max-width:1000px; margin:0 auto;
}

.service-card{
  background:#fff;                 /* contrast against tinted bg */
  border:1px solid var(--muted);
  border-radius:12px; overflow:hidden;
  box-shadow:0 4px 12px rgba(66,43,35,.08);
  min-height:300px; transition:transform .3s ease;
  display:flex;flex-direction:column;justify-content:space-between;
}
.service-card:hover{ transform:translateY(-8px) }

.service-card h3{ margin:1rem; color:var(--ink); font-family:var(--font-head) }
.service-card p{ margin:0 1rem 1rem; color:var(--ink); opacity:.9 }

/* ======================== */
/* ========= CTA ========== */
/* ======================== */
.cta{
  padding:4rem 1rem; text-align:center; border-radius:12px;
  margin:4rem auto 0; max-width:1000px;
  box-shadow:0 4px 12px rgba(66,43,35,.10);
}
.cta h2{ margin-bottom:1rem; color:var(--ink); font-family:var(--font-head) }

.btn-primary{
  background:var(--ink); color:var(--bg);
  padding:.75rem 1.5rem; border-radius:8px; display:inline-block;
  margin-top:1rem; transition:all .3s; font-weight:600;
}
.btn-primary:hover{ background:var(--accent); color:var(--ink) }

/* ======================== */
/* ========= FOOTER ======= */
/* ======================== */
.site-footer{
  background:var(--bg); color:var(--ink);
  padding:3rem 0 .8rem; font-size:.9rem;
}

.footer-grid{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:2rem;
  align-items:flex-start; width:90%; max-width:1200px; margin:0 auto;
}

.footer-about{ flex:1 1 220px }
.footer-logo{ height:180px; margin-bottom:.2rem }

.footer-address{ color:var(--accent); font-size:.95rem; line-height:1.6 }
.footer-address h1,
.footer-address h3{ color:var(--ink); font-size:1.2rem; margin-bottom:.5rem; font-family:var(--font-head) }
.footer-address p{ color:var(--accent) }
.footer-address a:hover{ color:var(--ink) }
.footer-address i{ margin-right:8px; color:var(--accent) }

.footer-links{ flex:1 1 200px }
.footer-links h3{ margin-bottom:.5rem; color:var(--ink); font-family:var(--font-head) }
.footer-links ul{ list-style:none; padding:0; margin-top:0 }
.footer-links ul li{ margin-bottom:1.5rem }
.footer-links ul a{ color:var(--accent); transition:color .3s }
.footer-links ul a:hover{ color:var(--ink) }

.footer-social-section{ flex:1 1 200px; text-align:right; margin-right:12rem; margin-bottom:1.5rem }
.footer-social{
  display:flex; justify-content:flex-end; gap:1.3rem; padding-right:2rem; margin-bottom:1.5rem
}
.footer-social a i{
  margin-bottom:1.5rem; font-size:1.5rem; color:var(--accent);
  transition:color .3s ease, transform .3s ease;
}
.footer-social a:hover i{ transform:scale(1.2) }

.back-to-top{
  position:fixed; bottom:30px; right:30px;
  background:var(--bg); color:var(--ink);
  padding:8px 10px; border-radius:30%; font-size:1.2rem; cursor:pointer;
  border:2px solid var(--ink);
  z-index:1000; transition:transform .3s ease, opacity .3s ease, background .2s, color .2s;
}
.back-to-top:hover{ transform:translateY(-5px); background:var(--ink); color:var(--bg) }

.footer-bottom{
  text-align:center; margin-top:2rem; border-top:1px solid var(--muted);
  padding-top:1rem; font-size:.85rem;
}

/* ======================== */
/* ======= RESPONSIVE ===== */
/* ======================== */
@media (max-width:768px){
  .header-flex{ flex-direction:row; justify-content:space-between; align-items:center; gap:.5rem; padding:.5rem 1rem }
  .header-logo img{ max-height:140px; margin-top:0 }

  .menu-toggle{
    display:block; position:absolute; top:50%; right:15px; transform:translateY(-50%);
    z-index:1001; color:var(--ink); font-size:1.8rem;
  }

  .navbar{ position:static }
  .navbar ul{
    display:none; flex-direction:column; position:absolute; top:4rem; right:-1rem;
    width:160px; padding:1rem; background:rgba(66,43,35,.95);
    border-radius:8px; text-align:right; gap:1rem;
    box-shadow:-2px 2px 5px rgba(66,43,35,.15); z-index:1000;
  }
  .navbar ul.show{ display:flex }

  .navbar a{
    top:0; padding:.4rem; font-size:.95rem; color:#fff;
    border:none; background:transparent; font-weight:500;
  }
  .navbar a:hover, .navbar a.active{
    background:rgba(255,255,255,.15); color:#fff;
  }

  /* Hero */
  .services-hero{ min-height:25vh; padding:1.5rem }
  .services-hero h1{ font-size:2rem }

  /* Grid */
  .services-grid{ grid-template-columns:repeat(2,1fr); gap:4rem; padding:3rem }
}

@media (max-width:786px){
  .services-grid{  margin-top: -3rem;grid-template-columns:1fr; gap:2rem }
  .service-card{ min-height:200px; width: 300px;margin-left: -2.9rem; }
  .service-card h3{ font-size:1rem }
  .service-card p{ font-size:.85rem }
}

@media (max-width:786px){
  .services-hero h1{ font-size:1.5rem }
  
  .cta{padding: 1rem;width:95%;}
  .cta h2{ font-size:1.2rem }
  .btn-primary{ width:50%; text-align:center;}
}

@media (max-width:992px){
  .footer-grid{ gap:1rem }
  .footer-social-section{ margin-right:0; text-align:center }
  .footer-social{ justify-content:center; padding-right:0 }
}

@media (max-width:768px){
  .footer-grid{ flex-direction:column; align-items:center; text-align:center }
  .footer-about, .footer-links, .footer-social-section{ flex:1 1 100%; max-width:100% }
  .footer-logo{ height:120px }
}

@media (max-width:480px){
  .footer-address h1, .footer-address h3, .footer-links h3{ font-size:1rem }
  .footer-address p, .footer-links ul li a{ font-size:.85rem }
  .back-to-top{ font-size:1rem; padding:6px 8px; bottom:20px; right:20px }
}
