/* =========================================
   LITTLE YODA - STATIC SITE
   CSS Custom Styles (Bootstrap supplement)
   ========================================= */

/* ---- ROOT VARIABLES ---- */
:root {
  --brand-red:    #d2053e;
  --brand-yellow: #fcd21d;
  --text-dark:    #353740;
  --text-mid:     #747d88;
  --text-light:   #f7f7f7;
  --section-gap:  80px;
}

/* ---- BASE ---- */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Offset for fixed navbar */
section,
footer {
  scroll-margin-top: 72px;
}

/* ---- TYPOGRAPHY ---- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-red);
  margin-bottom: 0.5rem;
}

.py-section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

/* ---- COLOUR UTILITIES ---- */
.bg-brand {
  background-color: var(--brand-red) !important;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- BUTTONS ---- */
.btn-pill {
  border-radius: 100px;
  padding: 0.55rem 1.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  transition: all 0.25s ease;
}

.btn-primary-brand {
  background-color: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

.btn-primary-brand:hover,
.btn-primary-brand:focus {
  background-color: #b50434;
  border-color: #b50434;
  color: #fff;
}

.btn-outline-brand {
  border: 2px solid var(--brand-red);
  color: var(--brand-red);
  background: transparent;
}

.btn-outline-brand:hover {
  background-color: var(--brand-red);
  color: #fff;
}

.btn-outline-white {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

/* ---- NAVBAR ---- */
#mainNav {
  transition: box-shadow 0.3s ease;
  z-index: 1030;
}

#mainNav .navbar-brand img {
  transition: opacity 0.2s;
}

#mainNav .nav-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
  transition: color 0.2s;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--brand-red);
}

/* ---- HERO SECTION ---- */
.hero-section {
  min-height: 100vh;
  background-color: var(--brand-red);
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  display: flex;
  align-items: center;
  padding: 100px 8% 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  text-transform: lowercase;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-book-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.6rem;
  margin-bottom: 0;
  letter-spacing: 0.03em;
}

.hero-secondary-link {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-secondary-link i {
  font-size: 1.1rem;
  color: var(--brand-yellow);
}

.hero-secondary-link:hover {
  color: #fff;
}

.hero-stats {
  flex: 0 0 340px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-box.featured {
  background: #fff;
  grid-column: span 2;
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--brand-yellow);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-box.featured .stat-num {
  color: var(--brand-red);
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}

.stat-box.featured .stat-label {
  color: var(--text-dark);
}

.stat-clients-link {
  color: var(--brand-yellow);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: lowercase;
  line-height: 1.3;
  display: block;
}

.stat-clients-link:hover {
  color: #fff;
}

/* ---- SERVICE CARDS ---- */
.service-card {
  border: 1px solid #eeeeee;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: var(--brand-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.6rem;
  color: var(--text-dark);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

/* ---- SIGNUP FORM CARD ---- */
.signup-form-card {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.signup-form-card .form-control {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.signup-form-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.signup-form-card .form-control:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
  color: #fff;
}

/* ---- PORTFOLIO CARDS ---- */
.portfolio-card {
  position: relative;
  cursor: pointer;
}

.portfolio-card img {
  display: block;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.04);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

/* ---- PORTFOLIO THUMBS ---- */
.portfolio-thumb {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-thumb {
  transform: scale(1.04);
}

.portfolio-thumb--meta {
  background: linear-gradient(135deg, #1877F2 0%, #0a58ca 100%);
  color: #fff;
}

.portfolio-thumb--google {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
  color: #4285F4;
}

.portfolio-thumb--dual {
  background: linear-gradient(135deg, var(--text-dark) 0%, #4a5060 100%);
  color: var(--brand-yellow);
  gap: 0.75rem;
}

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border: 2px solid #eee;
  background: #f8f8f8;
  padding: 3px;
}

/* ---- CONTACT FORM ---- */
.contact-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 8px;
}

.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
  color: #fff;
  outline: none;
}

/* ---- FOOTER ---- */
.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

.letter-spacing {
  letter-spacing: 0.1em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 100px 6% 60px;
  }

  .hero-content {
    flex-direction: column;
    gap: 40px;
  }

  .hero-stats {
    flex: none;
    width: 100%;
  }

  .portfolio-card img {
    height: 200px;
  }

  :root {
    --section-gap: 50px;
  }
}
