﻿/* =============================================
   AppointEngine - Main Stylesheet
   ============================================= */

/* ----- Fonts ----- */
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/GalanoGrotesque-Regular.woff2') format('woff2'),
       url('../fonts/GalanoGrotesque-Regular.woff') format('woff');
  font-weight: 400;
}

@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/GalanoGrotesque-SemiBold.woff2') format('woff2'),
       url('../fonts/GalanoGrotesque-SemiBold.woff') format('woff');
  font-weight: 600;
}

@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/GalanoGrotesque-Bold.woff2') format('woff2'),
       url('../fonts/GalanoGrotesque-Bold.woff') format('woff');
  font-weight: 700;
}

/* ----- Variables ----- */
:root {
  --primary: #4fc3d6;
  --gradient: linear-gradient(135deg, #4fc3d6 0%, #f4e06a 50%, #f0a23a 100%);
  --text: #fff;
  --muted: #b0b8c1;
  --surface: #1a1a1a;
  --surface-alt: #0d0d0d;
  --border: #333;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  --radius: 20px;
}

/* ----- Reset ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Galano Grotesque', sans-serif;
  color: var(--text);
  background: #0a0a0a;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ----- Utilities ----- */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 24px;
}

.brand-logo {
  height: 60px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
}

.site-nav a.active { color: var(--primary); }
.site-nav .btn-primary { background: #fff; color: #000; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(79, 195, 214, 0.4);
}

.btn-light {
  background: #fff;
  color: #000;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--gradient);
  color: #000;
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              var(--gradient) border-box;
  border: 2px solid transparent;
  color: var(--text);
}

/* ----- Hero Section ----- */
.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 12px;
}

.hero-logo {
  margin-bottom: 24px;
}

.hero-logo-img {
  max-width: 180px;
  height: auto;
  display: block;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.hero-metrics h3 { font-size: 1.5rem; }

/* Hero Card */
.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ----- Forms ----- */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: 'Galano Grotesque', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 195, 214, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-form .btn {
  margin-top: 8px;
  padding: 14px 28px;
  font-size: 1rem;
}

.form-privacy {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

.card-highlight {
  background: var(--surface-alt);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--border);
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gradient);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
}

.timeline {
  list-style: none;
  margin: 20px 0;
  display: grid;
  gap: 14px;
}

.timeline li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--border);
}

.timeline span {
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mini-stats {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* ----- Benefits Strip ----- */
.benefits-strip {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  padding: 40px 0;
}

.strip-container {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: min(1200px, 92%);
  margin: 0 auto;
  flex-wrap: wrap;
}

.strip-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.strip-box.primary {
  background: var(--gradient);
  color: #000;
}

.strip-box.secondary {
  background: var(--surface);
  color: #fff;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.strip-arrow {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ----- Testimonials / Trusted Section ----- */
.section { padding: 35px 0; }
.testimonials { padding-top: 30px; padding-bottom: 0; }

.trusted-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 28px;
}

.trusted-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.trusted-card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trusted-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.trusted-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scrolling Strip */
.trusted-strip {
  margin-top: 32px;
  background: var(--gradient);
  padding: 18px 0;
  overflow: hidden;
}

.trusted-strip-inner {
  display: flex;
  gap: 48px;
  color: #000;
  font-weight: 700;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
}

.trusted-strip-inner span {
  min-width: 180px;
  text-align: center;
}

.trusted-strip:hover .trusted-strip-inner {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----- What We Do Section ----- */
.what-we-do {
  padding: 60px 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  filter: grayscale(0.2);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ----- CTA Section ----- */
.cta-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Footer ----- */
.site-footer {
  background: #000;
  color: #fff;
  padding: 50px 0 24px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 20px;
  align-items: start;
}

.footer-brand,
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  gap: 12px;
}

.footer-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact p {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* =============================================
   Responsive Styles
   ============================================= */

/* Tablet */
@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 2%;
    left: 2%;
    background: var(--surface);
    padding: 18px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.98);
    transition: 0.2s ease;
    border: 1px solid var(--border);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-toggle { display: block; }
  .header-inner { position: relative; padding: 10px 0; }
  .brand-logo { height: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* Mobile */
@media (max-width: 720px) {
  .trusted-card:nth-child(n+7) { display: none; }
  .trusted-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trusted-card { aspect-ratio: 16 / 10; }
  .hero { padding-top: 60px; }
  .hero-grid { gap: 28px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-metrics div:last-child { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cta-section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Small Mobile */
@media (max-width: 520px) {
  .header-inner { padding: 6px 0; }
  .brand-logo { height: 56px; }
  .hero-content h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
  .section { padding: 28px 0; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .strip-container { flex-direction: column; gap: 12px; }
  .strip-arrow { display: none; }
  .booking-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .booking-form .btn { width: 100%; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .cta-actions { flex-direction: column; gap: 12px; width: 100%; }
  .cta-section { padding: 50px 0; }
}
