/* =========================
   GLOBAL / RESET
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  flex: 1;
  display: block;
}

/* =========================
   HEADER / NAV (clean + compact)
========================= */

.site-header {
  background: #000;
  padding: 12px 16px;
  text-align: center;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  max-width: 230px;
  height: auto;
}

.header-subtitle {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.25rem;
  opacity: 0.95;
}

.site-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-weight: 700;
  font-size: 1.05rem;
}

.web-design-announcement {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.web-design-announcement a {
  color: #4a8fe7;
  font-weight: 700;
  text-decoration: underline;
}

.schedule-button {
  background: #000;
  color: red;
  border: 2px solid red;
  border-radius: 35px;
  padding: 9px 14px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.schedule-button:hover {
  background: red;
  color: #fff;
}

/* =========================
   HERO – STATIC IMAGE
========================= */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 52vh;
  min-height: 360px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  max-width: 820px;
  text-align: center;
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  font-weight: 800;
}

.hero-text {
  margin: 0 auto 14px;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-cta {
  background: #000;
  color: red;
  border: 2px solid red;
  border-radius: 35px;
  padding: 9px 14px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-cta:hover {
  background: red;
  color: #fff;
}

.hero-link {
  text-decoration: underline;
  font-weight: 700;
  font-size: 1rem;
  opacity: 0.95;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-badges li {
  background: rgba(255, 255, 255, 0.12);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* =========================
   SECTIONS
========================= */

.section-wrap {
  padding: 56px 16px;
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 10px;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 2.2rem;
  font-weight: normal;
}

.section-subtitle {
  margin: 0 auto 22px;
  text-align: center;
  max-width: 820px;
  line-height: 1.55;
  opacity: 0.9;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.primary-link {
  color: #4a8fe7;
  font-weight: 700;
  text-decoration: underline;
}

.secondary-link {
  font-weight: 700;
  text-decoration: underline;
}

/* =========================
   CARDS
========================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
}

.info-card h3 {
  margin: 0 0 8px;
  color: red;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  line-height: 1.45;
  opacity: 0.9;
}

/* =========================
   PORTFOLIO
========================= */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.portfolio-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.portfolio-item:hover img {
  transform: scale(1.03);
}

/* =========================
   CTA
========================= */

.cta {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #222;
  text-align: center;
  padding: 1rem;
  margin-top: auto;
}

/* =========================
   PWA BANNERS
========================= */

.install-banner,
.ios-install-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #333;
  color: #fff;
  z-index: 1000;
  padding: 10px;
}

.install-banner-content,
.ios-install-content {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.install-banner-buttons button,
.ios-install-content button {
  background: red;
  border: none;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* Hide install banners on desktop */
@media (min-width: 900px) {
  #installBanner,
  #iosInstallBanner {
    display: none !important;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .hero-image {
    min-height: 420px;
  }
}
/* =========================
   SERVICES: add separation
========================= */

/* Bigger spacing between services */
.service {
  margin: 42px 0;
  padding: 26px 0;
}

/* Divider line between services (but not after the last one) */
.service:not(:last-of-type) {
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

/* Optional: add a little breathing room between image and text */
.service-image {
  margin-right: 24px;
}

/* If you want the image + text to align nicer */
.service-description {
  max-width: 720px;
}


/* =========================
   HEADER SCALE-UP (GLOBAL)
========================= */

/* Give header a little more presence */
.site-header {
  padding: 18px 16px;
}

/* Allow header content to breathe */
.header-inner {
  gap: 14px;
}

/* Slightly larger logo */
.brand-logo {
  max-width: 400px;
}

/* Nav links more readable */
.nav-links a {
  font-size: 1.15rem;
  font-weight: 800;
}

/* Schedule button a bit bolder */
.schedule-button {
  padding: 11px 18px;
  font-size: 1.1rem;
}

/* Subtitle more legible */
.header-subtitle {
  font-size: 1.15rem;
  margin-top: 6px;
}

/* Web design announcement slightly clearer */
.web-design-announcement {
  font-size: 1rem;
  margin-top: 6px;
}

/* =========================
   CONTACT PAGE – CENTER CONTENT
========================= */

#contact-me {
  display: flex;
  justify-content: center;
}

#contact-me .contact-me-description {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

/* Space sections nicely */
#contact-me h1 {
  margin-bottom: 14px;
}

#contact-me p {
  margin: 6px 0;
}

/* Center button rows */
#contact-me .button-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 18px;
}

/* Make contact buttons consistent with site style */
#contact-me .contact-me {
  background: #000;
  color: red;
  border: 2px solid red;
  border-radius: 35px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

#contact-me .contact-me:hover {
  background: red;
  color: #fff;
}

/* =========================
   CONTACT PAGE – FORCE CENTER
========================= */

/* Center everything inside the contact card */
#contact-me,
#contact-me * {
  text-align: center;
}

/* Ensure buttons center properly */
#contact-me .button-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 14px 0;
}

/* Prevent the card from feeling left-heavy */
#contact-me {
  display: flex;
  justify-content: center;
}

#contact-me > div,
#contact-me .cta,
#contact-me .contact-me-description {
  margin: 0 auto;
}
