/* ======================== */
/* ===== 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 */
}

*{margin:0;padding:0;box-sizing:border-box}

html{scroll-behavior:smooth}

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}

/* ===== MENU TOGGLE (MOBILE) ===== */
.menu-toggle{
  display:none;background:none;border:none;color:var(--bg);
  font-size:1.8rem;cursor:pointer;
}

/* ======================== */
/* ========= HERO ========= */
/* ======================== */
.hero{
  position:relative; isolation:isolate;
  background:url('back1.png') center/cover no-repeat, var(--surface);
  height:100vh; color:var(--bg);
}
.hero::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:var(--surface); opacity:.1; /* Surface tint */
}
.hero-overlay{height:100%} /* kept for structure if used */
.hero-container{
  width:90%; max-width:1200px; margin:0 auto;
  display:flex; flex-direction:column; position:relative; z-index:1;
}

/* NAVBAR */
.hero-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:1rem 0;
}
.header-logo img{ max-height:200px }
.navbar ul{ display:flex; gap:1rem; list-style:none }
.navbar a{
  padding:.4rem .8rem; border:2px solid var(--bg); border-radius:20px;
  color:var(--bg); font-weight:600; transition:.2s;
}
.navbar a:hover, .navbar a.active{ background:var(--bg); color:var(--ink) }

/* HERO CONTENT */
.hero-content{ text-align:left; margin-top:2rem }
.hero-text h1{ color:var(--bg); font-size:3rem; font-weight:800; margin-bottom:1rem; font-family:var(--font-head) }
.hero-text h2{ color:var(--bg); font-size:2rem; margin-bottom:1rem; font-family:var(--font-head) }
.hero-text p{ font-size:1.1rem; margin-bottom:2rem; color:var(--bg) }

/* HERO BUTTONS */
.hero-buttons{
  display:flex; gap:1rem; justify-content:flex-start; align-items:flex-start;
}
.hero-buttons a{
  display:inline-block; padding:.8rem 1.5rem; border-radius:10px; font-weight:700;
}
.btn-primary{ background:var(--ink); color:var(--bg) }
.btn-primary:hover{ background:var(--accent); color:var(--ink) }
.btn-secondary{ background:transparent; border:2px solid var(--bg); color:var(--bg) }
.btn-secondary:hover{ background:var(--bg); color:var(--ink) }

/* ======================== */
/* ======= SERVICES ======= */
/* ======================== */
.services-preview{
  background:var(--surface);
  padding:4rem 1rem;
}
.services-preview h2{
  text-align:center; margin-bottom:3rem; color:var(--ink); font-size:2rem; font-family:var(--font-head)
}
.services-grid{
  display:flex; flex-wrap:wrap; justify-content:center; gap:2rem;
}
.service-card{
  background:var(--bg); border-radius:8px; overflow:hidden;
  box-shadow:0 4px 12px rgba(66,43,35,.12);
  width:300px; text-align:center; cursor:pointer;
  opacity:0; transform:translateX(-50px);
  transition:transform .6s ease, box-shadow .3s ease, opacity .6s ease;
}
.service-card.show{ opacity:1; transform:translateX(0) }
.service-card:hover{ transform:translateY(-10px); box-shadow:0 12px 30px rgba(219,161,162,.35) }
.service-card img{ width:100%; height:220px; object-fit:cover }
.service-card h3{ margin:1rem 0 .5rem; color:var(--ink); font-family:var(--font-head) }
.service-card p{ margin:0 1rem 1rem; font-size:.95rem; color:var(--ink) }
.services-preview .center{ text-align:center; margin-top:2rem }
.services-preview .btn-secondary{
  display:inline-block; padding:.9rem 2rem; background:var(--ink); color:var(--bg);
  border-radius:10px; font-weight:700; transition:.2s; border:none;
}
.services-preview .btn-secondary:hover{ background:var(--accent); color:var(--ink) }

/* ======================== */
/* ========= ABOUT ======== */
/* ======================== */
.about-preview{
  background:var(--surface);
  padding:4rem 2rem; text-align:center; border-radius:12px;
  margin:4rem auto 0; max-width:1000px;
  box-shadow:0 4px 12px rgba(66,43,35,.10);
}
.about-flex{ display:flex; flex-wrap:wrap; gap:2rem; align-items:center }
.about-text{ flex:1 }
.about-image{ flex:1 }
.about-image img{ border-radius:8px; box-shadow:0 4px 12px rgba(66,43,35,.10) }
.about-text h2{ margin-bottom:1rem; color:var(--ink); font-size:2.2rem; text-align:left; font-family:var(--font-head) }
.about-text p{ margin-bottom:1.5rem; color:var(--ink); font-size:1.1rem; text-align:left }
.about-text .btn-secondary{
  display:inline-block; padding:.75rem 1.5rem; background:var(--ink); color:var(--bg);
  border-radius:10px; font-weight:700; font-size:1rem; transition:.2s; border:none;
}
.about-text .btn-secondary:hover{ background:var(--accent); color:var(--ink) }

/* ======================== */
/* ===== CERTIFICATION ==== */
/* ======================== */
.certification{
  background:var(--surface);
  padding:4rem 2rem; text-align:center; border-radius:12px;
  margin:4rem auto 0; max-width:1000px;
  box-shadow:0 4px 12px rgba(66,43,35,.10);
}
.cert-flex{ display:flex; flex-wrap:wrap; gap:2rem; align-items:center }
.cert-text{ flex:1 }
.cert-image{ flex:1 }
.cert-image img{ width:100%; height:auto; border-radius:8px; box-shadow:0 4px 12px rgba(66,43,35,.10) }
.cert-text h2{ font-size:2.2rem; margin-bottom:1rem; color:var(--ink); text-align:left; font-family:var(--font-head) }
.cert-text p{ font-size:1.1rem; margin-bottom:1.5rem; color:var(--ink); text-align:left }

/* ======================== */
/* ===== FINAL HERO CTA === */
/* ======================== */
.cta{
  background:var(--surface);
  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{ font-size:2rem; color:var(--ink); margin-bottom:1rem; font-family:var(--font-head) }
.cta p{ font-size:1.1rem; color:var(--ink); margin-bottom:2rem }
.btn-primary{
  display:inline-block; padding:.75rem 1.5rem;
  background:var(--ink); color:var(--bg);
  border:none; border-radius:10px; font-weight:700; font-size:1rem; transition:background .2s;
}
.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-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) }
.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:transform .3s }
.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, background .2s, color .2s;
}
.back-to-top:hover{ transform:translateY(-5px); background:var(--bg); color:var(--ink) }

.footer-bottom{
  text-align:center; margin-top:2rem; border-top:1px solid var(--muted);
  padding-top:1rem; font-size:.8rem;
}

/* ======================== */
/* ========= TOAST ======== */
/* ======================== */
.toast-message{
  position:fixed; top:30px; left:50%; transform:translateX(-50%);
  background:var(--ink); color:var(--bg);
  padding:1rem 2rem; border-radius:10px; font-weight:700;
  box-shadow:0 6px 18px rgba(66,43,35,.2);
  opacity:0; z-index:9999; pointer-events:none; transition:opacity .5s ease, top .5s ease;
}
.toast-message.show{ opacity:1; top:60px }

/* ======================== */
/* ======= RESPONSIVE ===== */
/* ======================== */
@media (max-width:768px){
  /* Header & mobile menu */
  .hero-header{ position:relative; padding:.5rem 1rem }
  .header-logo img{ max-height:100px }
  .menu-toggle{
    display:block; position:absolute; top:15px; right:15px; z-index:1001;
  }
  .navbar ul{
    display:none; flex-direction:column; gap:.4rem;
    position:absolute; top:70px; right:15px;
    background:rgba(66,43,35,.95); width:200px; padding:1rem; border-radius:8px; text-align:right;
  }
  .navbar ul.show{ display:flex }
  .navbar a{
    display:block; width:100%; padding:.6rem; font-size:.9rem;
    color:#fff; border:none; border-radius:4px; background:transparent; text-align:left;
  }
  .navbar a:hover, .navbar a.active{ background:rgba(255,255,255,.2); color:#fff }

  /* Hero text & buttons */
  .hero-content{ margin-top:5rem; text-align:center; padding:1rem }
  .hero-text h1{ font-size:1.8rem }
  .hero-text h2{ font-size:1.3rem }
  .hero-text p{ font-size:.9rem; line-height:1.4; margin-bottom:1rem }
  .hero-buttons{ flex-direction:column; gap:.8rem }
  .hero-buttons a{ width:70%; font-size:.9rem; padding:.7rem; margin:0 auto }

  /* Services */
  .services-grid{ flex-direction:column; align-items:center }
  .service-card{ width:90%; max-width:280px; height:280px }

  /* About */
  .about-preview{ margin-top:2rem;width:90%; padding:0.5rem }
  .about-flex{ flex-direction:column; text-align:left }
  .about-text{ font-size:1rem; padding:1.2rem; font-weight:500 }
  .about-image{ flex:1 1 200%; padding:.8rem }

  /* Certification */
  .certification{ padding:.5rem; width:350px; max-width:90% }
  .cert-flex{ flex-direction:column; text-align:left; padding:1rem }
  .cert-text{ padding:1rem }
  .cert-image{ flex:1 1 50% }

  /* CTA */
  .cta{margin-top:2rem; width:90%; padding:1rem }
  .cta h2{ margin-top:1rem; font-size:1.2rem }
  .cta p{ font-size:.9rem }
  .btn-primary{ width:40%; padding:.5rem; font-size:.9rem; border-radius:8px ;margin-bottom: 1rem;}

  /* Footer */
  .footer-grid{ flex-direction:column; align-items:center; gap:2rem; text-align:center }
  .footer-about, .footer-links, .footer-social-section{ flex:1 1 80%; margin:0 auto }
  .footer-logo{ height:120px }
  .footer-social-section{ margin:0 auto }
  .footer-social{ justify-content:center; gap:1rem; padding-right:0 }
  .footer-bottom{ font-size:.85rem; margin-top:.5rem; padding-top:.3rem; margin-left:0 }
  .back-to-top{ right:15px; bottom:20px; font-size:1rem; padding:6px 8px }
}
