/* =========================================================
   Excel with Eddie – Production-Optimized Global Styles
   ========================================================= */

/* ---------- Brand Variables ---------- */
:root {
  --blue: #083c5a;
  --green: #16a085;
  --green-hover: #00a870;
  --footer-blue: #083c5a;
  --bg: #f5f7fa;
  --white: #ffffff;
}

/* ---------- Base Reset ---------- */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--blue);
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   CLEAN HEADER — Excel with Eddie
   Compact, centered, consistent, mobile-friendly
   ========================================================= */

/* Entire Header Bar */
.site-header {
  background: #16a085;        /* Brand green */
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 6px 0;             /* LOWER HEIGHT */
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Header Inner Layout */
.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;            /* horizontal padding only */
}

/* =============================
   LOGO
   ============================= */
.header-logo {
  height: 75px;               /* ↓ Compact size */
  width: auto;
  display: block;
  border: 3px solid #083c5a;  /* blue border requested */
  border-radius: 12px;
  padding: 4px;               /* subtle breathing room */
  background: white;          /* clean contrast */
}

/* =============================
   DESKTOP NAVIGATION
   ============================= */
.main-nav {
  display: flex;
  gap: 32px;
}

.nav-item {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-item:hover {
  color: #083c5a;             /* blue hover */
}

/* =============================
   MOBILE NAV BUTTON
   ============================= */
.mobile-menu-btn {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* =============================
   MOBILE NAV MENU
   ============================= */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #16a085;
  padding: 15px 20px;
}

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

.mobile-item {
  padding: 10px 0;
  font-size: 1.3rem;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.mobile-item:last-child {
  border-bottom: none;
}

.mobile-item:hover {
  color: #083c5a;
}

/* =============================
   RESPONSIVE BREAKPOINT
   ============================= */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-logo {
    height: 65px;     /* slightly smaller on phones */
  }
}

/* Ensure body content stays above header background area */
main,
section,
.page-content {
  position: relative;
  z-index: 1;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  background: var(--white);
  text-align: center;
  padding: 80px 20px;
}

.hero-logo {
  height: 275px;
  margin: 0 auto 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 25px;
}

.cta-btn {
  background: var(--blue);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  display: inline-block;
  transition: background 0.2s ease;
}

.cta-btn:hover {
  background: var(--green-hover);
}

/* =========================================================
   GENERAL CONTENT
   ========================================================= */

.section {
  padding: 50px 20px;
  max-width: 900px;
  margin: auto;
}

.section h2 {
  font-size: 2.4rem;
  border-left: 6px solid var(--green);
  padding-left: 12px;
  margin-bottom: 20px;
}

.card {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  margin: 20px 0;
}

/* =========================================================
   BLOG
   ========================================================= */

.post-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.post-content {
  font-size: 1.15rem;
  line-height: 1.7;
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */

.services-hero {
  text-align: center;
  padding: 60px 20px 20px;
}

.services-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.services-hero p {
  font-size: 1.2rem;
}

.services-grid {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-card h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.service-btn {
  background: var(--blue);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.service-btn:hover {
  background: var(--green-hover);
}

.service-icon-img {
  height: 70px;
  width: 70px;
  margin: 0 auto 20px;
}

/* Tint for SVG icons */
img[src$=".svg"] {
  stroke: var(--blue);
  fill: transparent;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--footer-blue);
  color: var(--white);
  text-align: center;
  padding: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 2000; /* ensures footer is clickable */
}

.site-footer a {
  color: var(--green-hover);
  text-decoration: none;
}

.footer-email {
  cursor: pointer;
  pointer-events: auto;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form button {
  margin-top: 15px;
  width: 100%;
}
.footer-contact-btn {
  display: inline-block;
  background: #00c27a;    /* bright green accent */
  color: #ffffff !important;         /* white text */
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 15px;
}

.footer-contact-btn:hover {
  background: #009a63;  /* darker green when hovered */
  color: #ffffff;       /* stays white */
}
/* Footer Social Icons */
.footer-social {
  margin: 20px 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.social-icon {
  height: 30px;
  width: 30px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.social-icon:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px #00c27a);
}

/* Floating Book Now Button */
.floating-book-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #083c5a;                 /* brand dark blue */
  color: #ffffff;
  padding: 14px 22px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: background 0.3s, transform 0.2s;
}

.floating-book-btn:hover {
  background: #00a870;                 /* brand green */
  transform: scale(1.05);
}

/* Mobile sizing */
@media (max-width: 600px) {
  .floating-book-btn {
    padding: 12px 18px;
    font-size: 1rem;
    bottom: 18px;
    right: 18px;
  }
}
