/* =========================
   Base / Reset
   ========================= */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: Arial, sans-serif;
  background: #1f2933;          /* dark outer background */
  color: #111827;
  padding-top: 65px;            /* match fixed topbar height */
}

p { font-size: 18px; line-height: 1.6; margin: 0 0 12px; }
h1 { font-size: 32px; margin: 0 0 12px; }

/* =========================
   Topbar / Nav
   ========================= */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;

  height: 65px;
  padding: 0 20px;
  gap: 16px;

  background: #ffffff;
  border-bottom: 1px solid #374151;

  display: flex;
  align-items: center;
  overflow: hidden; /* prevents spill on zoom */
}

.logo-link {
  height: 100%;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
   margin-left: 100px;   /* 👈 adjust THIS number */
}

.logo {
  max-height: 100%;
  width: auto;
  display: block;
  margin: 0; /* no manual pushes */
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;

  flex-wrap: nowrap;
  white-space: nowrap;

  overflow-x: auto;
  max-width: 100%;
}

.nav a {
  text-decoration: none;
  color: #000;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a:hover { background: #c6cacf; }

.nav a[aria-current="page"] { background: #374151; color: #fff; }

/* =========================
   Dropdown
   ========================= */
/* Let dropdowns show outside the header/nav */
.topbar { overflow: visible; }
.nav { overflow: visible; }           /* override the scrolling clip */
.dropdown { position: relative; }

/* Put the panel directly under the button (no gap) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;          /* IMPORTANT: no extra pixels */
  left: 0;
  min-width: 200px;

  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 8px 0;

  z-index: 99999;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* Keep it open if hovering EITHER the button OR the panel */
.dropdown:hover .dropdown-content,
.dropdown-content:hover {
  display: block;
}

/* Make the panel easier to hit */
.dropdown-content a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #111827;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background: rgba(0,0,0,0.06);
}




/* =========================
   Main container / Sections
   ========================= */
.container {
  width: 100%;
  margin: 0;
  padding: 0;                 /* you wanted no “paper padding” */
  background: #ffffff;
}

section {
  padding: 50px 60px;
  border-bottom: none;
}

.section-dark {
  background: #ffffff;
  padding: 60px 20px;
}
.section-alt  { background: #f1f1f1; }
.section-darker {
  background: #ffffff;
  text-align: center;
}

/* Optional content rail (use only when you add <div class="inner"> inside sections) */
.inner {
  max-width: 900px;
  margin: 0;
  padding: 0;
}

.section-inner {
  max-width: 700px;      /* controls line length */
  margin: 0 auto;        /* 🔥 centers block */
  text-align: center;    /* 🔥 centers text */
}

/* About tweaks */
.about h1 { text-align: center; }
.about p  { max-width: 700px; margin: 0 auto; }

/* =========================
   Banner (home)
   ========================= */
.banner {
  width: 100%;
  padding: 250px 18px;
  text-align: center;
  color: #f9fafb;
  position: relative;

  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.65)),
              url("images/San Antonio.jpg");
  background-size: cover;
  background-position: center;
}

.banner h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; }
.banner p  { max-width: 720px; margin: 12px auto 0; opacity: 0.92; }

/* =========================
   Small banner (sub pages)
   ========================= */
.bannersmall {
  width: 100%;
  padding: 80px 20px;
  text-align: center;
  position: relative;

  background-image: url("images/San Antonio.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bannersmall::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.bannersmall h1,
.bannersmall p {
  position: relative;
  color: #ffffff;
}

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
}

.btn:hover { filter: brightness(1.05); }

.btn-ghost {
  background: transparent;
  border: 1px solid #4b5563;
  color: #111827;
}

.btn-ghost:hover { background: #f3f4f6; }

/* =========================
   Products grid (home)
   ========================= */
.products-home {
  padding: 60px 20px;
  background: #ffffff;
}

.products-inner {
  max-width: 1200px;   /* controls total width */
  margin: 0 auto;      /* 🔥 centers everything */
  text-align: center;
}

.products-title {
  margin-bottom: 24px;
  font-size: 24px;
}

/* Grid stays centered */
.products-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;

  max-width: 1200px;
  margin: 0 auto;      /* 🔥 centers grid */
  text-align: left;    /* cards text stays normal */
}
.products-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #2563eb;
  margin: 12px auto 0;
  border-radius: 99px;
}


.product-card {
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 14px;
  overflow: hidden;
  padding: 12px;
  display: block;
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  display: block;
  margin-bottom: 10px;
}

.product-card h3 { margin: 0 0 6px; font-size: 18px; }
.product-card p  { margin: 0; font-size: 15px; line-height: 1.45; opacity: 0.9; }

/* =========================
   Contact page blocks
   ========================= */
.contact h1 { text-align: center; margin-bottom: 12px; }

.contact > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.contact-card {
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 16px;
}

.contact-form {
  margin-top: 24px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

input, select, textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #ffffff;
  color: #000;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: #4a7cff;
}

/* Split contact section (home) */
.contact-split { padding: 60px 20px; background: #f8f9fb; }

.contact-split-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-right {
  background: #ffffff;
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* =========================
   FAQ (pill bubbles)
   ========================= */
.faq { background: #ffffff; padding-top: 40px; padding-bottom: 80px; }

.faq h1 { text-align: center; margin-bottom: 10px; }
.faq-intro { text-align: center; opacity: 0.9; margin-bottom: 24px; }

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #f3f4f6;
  border-radius: 999px;
  padding: 14px 20px;
  border: 1px solid #e5e7eb;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  background: #e5e7eb;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border-radius: 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #111827;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after { content: "＋"; font-size: 18px; opacity: 0.8; }
.faq-item[open] summary::after { content: "－"; }

.faq-answer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.faq-answer p { margin: 0; color: #1f2937; }

/* =========================
   Services (polish)
   ========================= */
.services-page { background: #ffffff; padding-bottom: 20px; }

.services-intro {
  max-width: 900px;
  margin: 0 auto 18px;
  text-align: center;
}

.how-it-works-card {
  max-width: 1100px;
  margin: 0 auto 22px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.how-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
}

.how-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: #111827;
  color: #ffffff;
  flex: 0 0 auto;
}

.service-card-dark {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.services-cta {
  max-width: 1100px;
  margin: 26px auto 0;
  background: #0b1220;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}

.services-cta p {
  max-width: 70ch;
  margin: 10px auto 16px;
  opacity: 0.95;
}

.cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   Footer
   ========================= */
.footer {
  padding: 26px 0 44px;
  border-top: 1px solid #374151;
  background: #0b1220;
  color: #a0afcc;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.footer-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.95rem;
  opacity: 0.95;
}

.footer-sep { opacity: 0.55; }

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-split-inner { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding-left: 20px; padding-right: 20px; }
  .footer-sep { display: none; }
  .footer-meta { flex-direction: column; gap: 6px; }
  .nav { flex-wrap: wrap; white-space: normal; }
}

/* =========================
   Services cards (pro look)
   ========================= */

.services-grid{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 10px 20px 40px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

@media (max-width: 980px){
  .services-grid{ grid-template-columns: 1fr; }
}

.service-card.service-card-dark{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.service-card.service-card-dark:hover{
  transform: translateY(-2px);
  border-color: #d1d5db;
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

.service-card.service-card-dark h2{
  margin: 0 0 10px;
  font-size: 20px;
  color: #111827;
  letter-spacing: .2px;
}

.service-card.service-card-dark p{
  margin: 0 0 14px;
  color: #374151;
  font-size: 16px;
  line-height: 1.6;
}

.service-card.service-card-dark ul{
  margin: 0 0 16px;
  padding-left: 18px;
  color: #111827;
}

.service-card.service-card-dark li{
  margin: 8px 0;
  color: #374151;
  line-height: 1.5;
}

/* Buttons inside service cards */
.service-card.service-card-dark .btn{
  display: inline-block;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  background: #111827;
  color: #ffffff;
  border: 1px solid #111827;
}

.service-card.service-card-dark .btn:hover{
  filter: brightness(1.05);
}

/* Ghost button */
.service-card.service-card-dark .btn.btn-ghost{
  background: transparent;
  color: #111827;
  border: 1px solid #d1d5db;
}

.service-card.service-card-dark .btn.btn-ghost:hover{
  background: #f3f4f6;
}


/* Universal content width system */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* mobile breathing room */
}

.footer-links {
  display: flex;
  gap: 10px;
  align-items: center;
}
