* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 600;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: #c9a96e; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  background: none;
  border: 1px solid #c9a96e;
  color: #c9a96e;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.lang-toggle:hover {
  background: #c9a96e;
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  transition: all 0.3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1600&q=80') center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 640px;
}

.hero-content h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: #c9a96e;
  color: #fff;
}

.btn-primary:hover { background: #b8944f; }

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

.btn-outline:hover {
  background: #fff;
  color: #1a1a1a;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 12px;
  flex-shrink: 0;
}

/* About */
.about {
  background: #fff;
}

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

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 8px;
}

.about-text .section-tag { margin-bottom: 8px; }

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  color: #666;
  margin-bottom: 16px;
  font-size: 16px;
}

.diagnostic-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f9f7f4;
  border-left: 4px solid #c9a96e;
  padding: 20px 24px;
  border-radius: 6px;
  margin-top: 28px;
}

.diagnostic-icon {
  font-size: 32px;
  color: #c9a96e;
  flex-shrink: 0;
}

.diagnostic-banner strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 4px;
}

.diagnostic-banner p {
  font-size: 14px;
  margin: 0;
}

/* Services */
.services {
  background: #f9f7f4;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.service-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-card p {
  color: #777;
  font-size: 14px;
  margin-bottom: 12px;
  min-height: 40px;
}

.service-price {
  font-size: 15px;
  font-weight: 600;
  color: #c9a96e;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

.services-cta p {
  color: #888;
  margin-bottom: 20px;
  font-size: 15px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 44px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 16px 20px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.3); }

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* Contact */
.contact {
  background: #f9f7f4;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.info-item { margin-bottom: 32px; }

.info-item h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: #c9a96e;
}

.info-item p {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

.whatsapp-link {
  color: #25D366;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
}

.whatsapp-link:hover { text-decoration: underline; }

.contact-social {
  display: flex;
  gap: 16px;
}

.contact-social a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.contact-social a:hover { color: #c9a96e; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #c9a96e;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 32px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content p { font-size: 14px; }

.footer-made {
  color: #777;
  font-size: 13px;
}

/* WhatsApp Float */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: wa-pulse 2s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.6); }
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(255,255,255,0.98);
    padding: 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger { display: flex; }

  .hero-content h1 { font-size: 38px; }

  .hero-content p { font-size: 16px; }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image img { height: 300px; }

  .services-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }

  .section-header h2 { font-size: 30px; }

  .diagnostic-banner {
    flex-direction: column;
    text-align: center;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-nav { padding: 12px 14px; font-size: 22px; }

  .footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 30px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; text-align: center; }
}

/* =============================================
   Admin Dashboard Styles
   ============================================= */

.admin-body {
  background: #f5f5f5;
}

.admin-navbar {
  background: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  padding: 8px 18px;
  font-size: 12px;
  text-decoration: none;
}

.btn-outline-dark:hover {
  background: #1a1a1a;
  color: #fff;
}

.admin-main {
  padding-top: 100px;
  padding-bottom: 60px;
}

.admin-section {
  margin-bottom: 40px;
}

.admin-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stat-label {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  font-weight: 500;
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}

/* Form */
.admin-form {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

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

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #555;
}

.form-group select,
.form-group input {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.form-group select:focus,
.form-group input:focus {
  border-color: #c9a96e;
}

.admin-form .btn {
  margin-top: 8px;
  width: 100%;
  text-align: center;
}

/* Feedback */
.feedback {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.feedback.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.feedback.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.text-muted {
  color: #999;
  font-size: 14px;
}

/* Today grid */
.today-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.today-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.today-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}

.employee-row,
.tx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.employee-row:last-child,
.tx-row:last-child {
  border-bottom: none;
}

.emp-name {
  font-weight: 600;
  font-size: 14px;
}

.emp-stats {
  font-size: 13px;
  text-align: right;
}

.emp-commission {
  color: #c9a96e;
  font-weight: 700;
}

.tx-main {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tx-service {
  font-weight: 600;
  font-size: 14px;
}

.tx-amount {
  font-weight: 700;
  color: #2d6a4f;
  font-size: 14px;
}

.tx-meta {
  font-size: 12px;
  color: #888;
  text-align: right;
}

.tx-meta span {
  margin-left: 10px;
}

.tx-time {
  color: #bbb;
}

/* Admin responsive */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .today-grid {
    grid-template-columns: 1fr;
  }

  .admin-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
