/* =========================
   Base Styles
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  line-height: 1.7;
  color: white;
  background: #2a2a2a;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75em;
  text-align: center;
}

h2 {
  font-size: 2.4rem;
}
h3 {
  font-size: 1.6rem;
}

.bottom { 
  text-align: center;
}
.bottom p {
  margin-bottom: auto;;
}

a {
  color: #FC8936;
  text-decoration: none;
}
a:hover {
  color: #fda15e;
  border-color: #fda15e;
}

.btn {
  display: inline-block;
  background: transparent;
  padding: 0.75rem 1.5rem;
  border: 1px solid #FC8936;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  transition: background 0.3s ease;
}

.thanks .btn {
  margin-top: 2em;
}

.bold {
  font-weight: 600;
}
hr {
  margin: 1.4rem 0;
}
/* Containers */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.thanks {
  text-align: center;
  background-color: #1d1d1d;
  border-radius: 1em;
}

/* =========================
   Hero Split Layout
========================= */
.hero {
  display: flex;
  align-items: stretch; /* ensures children stretch to full height */
  justify-content: space-between;
  min-height: 50vh;
  background: #111; /* fallback background */
  color: #fff;
}

.hero-left,
.hero-right {
  flex: 1;
  position: relative;
  padding: 4.8rem 2rem;
}

/* Left side text */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero-left h1 {
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 0.2s;
  font-size: 4.4rem;
  line-height: 5.9rem;
  margin-bottom: 1rem;
  color: white;
}

.hero-left .tagline {
  font-size: 1.25rem;
  font-style: italic;
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 0.8s;
}

/* Right side image */
.hero-right {
  overflow: hidden;
}

/* Background image with dark overlay */
.hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/git-hero.png') no-repeat center center;
  background-size: cover;
  z-index: 1;
}

.hero-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* =========================
   Responsive: Mobile
========================= */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-left,
  .hero-right {
    padding: 1rem;
    width: 100%;
  }

  .hero-right::before {
    background-size: cover;
    background-position: center top;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }

  .hero-left .tagline {
    font-size: 1.1rem;
  }
}


/* =========================
   Sections
========================= */
section {
  margin-bottom: 2rem;
}

section p, section ul {
  font-size: 1.05rem;
  text-align: center;
}

/* Services */
.service-intro {
  font-size: 1.4em;
  font-weight: 500;
}
.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
  padding: 0;
  margin: 2rem auto;
  max-width: 900px;
}

.service-item {
  background: #191919;
  border: 1px solid #191919;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.service-item img {
  width: 100%;
  max-width: 200px;
  max-height: 117px;
  object-fit: cover;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  border-radius: 8px;
}

.service-item p {
  font-weight: 500;
  color: white;
  margin: 0;
  font-size: 1.05rem;
}



.price {
  background: transparent;
}

/* Mobile stacking: 2 per row */
@media (max-width: 600px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Testimonials */
.testimonials blockquote {
  background: #111;
  border-left: 4px solid #CC5803;
  padding: 1rem 1.25rem;
  margin: 1rem auto;
  max-width: 600px;
  font-style: italic;
  border-radius: 6px;
}

.testimonials cite {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  text-align: right;
  color: #FC8936;
}

.pricing p, .pricing ul {
  text-align: left;
}
.indent-list {
  padding: 1rem 2rem;
}

/* =========================
   Contact Form
========================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form label {
  font-weight: bold;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: white;
  background: transparent;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  background: #CC5803;
  color: #fff;
  padding: 0.85rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  margin: .7em 0;
}

.contact-form button:hover {
  background: #F16704;
}

.contact-note {
  text-align: center;
  margin-top: 1rem;
  color: white;
  font-style: italic;
}

/* =========================
   Footer
========================= */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

/* =========================
   Hero Tagline Fade-In
========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .tagline {
  opacity: 0; /* hidden at first */
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 0.8s; /* slight delay after title appears */
}
