/* ============================================
   Precision Dent Repair - Static Site Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #1a1a2e;
  --primary-light: #2d2d4a;
  --accent: #c0392b;
  --accent-hover: #e74c3c;
  --accent-dark: #962d22;
  --light: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --text: #212529;
  --white: #ffffff;
  --font-sans: 'Lexend Deca', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
.section { padding: 100px 0; }
.section-alt { background: var(--light); }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
}
.text-accent { color: var(--accent); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-light {
  background: var(--white);
  color: var(--primary);
}
.btn-light:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ====== NAVIGATION ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}
.navbar.scrolled .nav-link { color: var(--text); }
.navbar.scrolled .nav-link:hover { color: var(--accent); }
.navbar.scrolled .logo-dark { display: block; }
.navbar.scrolled .logo-light { display: none; }
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 40px; width: auto; transition: var(--transition); }
.logo-dark { display: none; }
.logo-light { display: block; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-link {
  font-weight: 500;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--white); }
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .85rem;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}
.navbar.scrolled .nav-toggle span { background: var(--primary); }

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--primary);
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,.92) 0%, rgba(26,26,46,.75) 50%, rgba(26,26,46,.6) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  background: rgba(192,57,43,.15);
  border: 1px solid rgba(192,57,43,.3);
  color: var(--accent-hover);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,.7);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.hero-services {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-services span {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-services i {
  color: var(--accent-hover);
  font-size: 1.1rem;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ====== ABOUT ====== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.about-text p {
  margin-bottom: 16px;
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: .85rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), transparent);
  opacity: .1;
  z-index: 1;
}
.about-image-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.brands-row {
  text-align: center;
  padding: 40px;
  background: var(--gray-100);
  border-radius: var(--radius);
}
.brands-label {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-800);
  margin-bottom: 20px;
}
.brands-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--gray-500);
  font-size: 2rem;
}
.brands-more {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* ====== CTA STRIP ====== */
.cta-strip {
  background: var(--primary);
  padding: 60px 0;
}
.cta-strip-content {
  text-align: center;
  color: var(--white);
}
.cta-strip-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 8px;
}
.cta-strip-content p {
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
  font-size: 1.1rem;
}
.cta-strip-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== SERVICES ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(192,57,43,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
}
.service-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.service-desc {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ====== TESTIMONIALS ====== */
.testimonials-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  min-height: 280px;
}
.testimonial-card {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: none;
}
.testimonial-card.active { display: block; animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-stars {
  color: #f1c40f;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
}
.testimonial-author strong {
  display: block;
  font-size: .95rem;
  color: var(--primary);
}
.testimonial-author span {
  font-size: .8rem;
  color: var(--gray-500);
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--gray-700);
  font-size: .9rem;
}
.slider-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.slider-prev { left: -60px; }
.slider-next { right: -60px; }

/* ====== CTA LARGE ====== */
.cta-large {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  padding: 100px 0;
}
.cta-large-content {
  text-align: center;
  color: var(--white);
}
.cta-large-content h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-large-content p {
  font-size: 1.2rem;
  opacity: .85;
  margin-bottom: 36px;
}
.cta-large-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== CONTACT ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info .section-tag { margin-bottom: 8px; }
.contact-info .section-title { margin-bottom: 12px; }
.contact-info > p {
  color: var(--gray-600);
  margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item i {
  width: 20px;
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 2px;
}
.contact-item strong {
  display: block;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 2px;
}
.contact-item a { color: var(--text); transition: var(--transition); }
.contact-item a:hover { color: var(--accent); }

.hours-box {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.hours-box h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hours-box h4 i { color: var(--accent); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 6px 0;
  font-size: .92rem;
}
.hours-table td:first-child { font-weight: 600; color: var(--gray-700); }
.hours-table td:last-child { text-align: right; color: var(--gray-600); }
.hours-closed td { color: var(--gray-500) !important; }

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-700);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .95rem;
  transition: var(--transition);
  background: var(--light);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
  background: var(--white);
}
.form-note {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: 12px;
  text-align: center;
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .success-icon i {
  font-size: 3.5rem;
  color: #27ae60;
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-serif);
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.5rem;
}
.form-success > p {
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: .95rem;
}
.success-details {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
  text-align: left;
}
.success-details p {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.success-details p:last-child { margin-bottom: 0; }
.success-details i {
  color: var(--accent);
  width: 20px;
}
.success-details a { color: var(--text); font-weight: 600; }
.success-details a:hover { color: var(--accent); }

/* ====== FOOTER ====== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { height: 36px; width: auto; margin-bottom: 16px; }
.footer-about p { font-size: .9rem; line-height: 1.8; }
.footer h4 {
  color: var(--white);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-hover); }
.footer-contact p {
  margin-bottom: 10px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact a { color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-contact a:hover { color: var(--accent-hover); }
.footer-contact i { color: var(--accent); width: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }

/* ====== SCROLL TOP ====== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent-hover); transform: translateY(-3px); }

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-large-content h2 { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .slider-prev { left: -20px; }
  .slider-next { right: -20px; }
}
@media (max-width: 768px) {
  .hero-video-wrapper { display: none; }
  .hero { background-attachment: scroll; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-link { color: var(--text) !important; }
  .nav-link::after { background: var(--accent); }
  .nav-toggle { display: block; }
  .hero-title { font-size: 2.4rem; }
  .hero { background-attachment: scroll; }
  .hero-services { gap: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .cta-large { padding: 60px 0; }
  .cta-large-content h2 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hide-mobile { display: none; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-ctas { flex-direction: column; }
  .cta-strip-buttons { flex-direction: column; align-items: stretch; }
  .cta-large-buttons { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .contact-form-wrapper { padding: 24px; }
}
