/* ============================================
   ALTAF-E-SERVICES — Professional Redesign
   Palette: Navy #0B1A2E | Gold #C9A84C | Cream #F7F4EF | Slate #4A5568
   Type: Playfair Display (headings) + Inter (body)
   ============================================ */

:root {
  --navy:   #0B1A2E;
  --navy2:  #112240;
  --gold:   #C9A84C;
  --gold2:  #E8C96B;
  --cream:  #F7F4EF;
  --parchment: #EAE6DC;
  --text:   #2D3748;
  --muted:  #718096;
  --white:  #ffffff;
  --shadow: 0 8px 30px rgba(11,26,46,0.10);
  --shadow-lg: 0 20px 50px rgba(11,26,46,0.14);
  --radius: 14px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 26, 46, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1280px;
  margin: auto;
  padding: 0 50px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.logo-icon {
  color: var(--gold);
  font-size: 14px;
}

nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

nav a:hover,
nav a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.btn-appt {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.btn-appt:hover {
  background: var(--gold2);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  margin-left: auto;
}

/* ===== HERO ===== */
.hero {
  height: 75vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(11,26,46,0.92) 0%, rgba(11,26,46,0.75) 100%),
    url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1600') center/cover no-repeat;
}

/* Signature element: large embossed gold seal in background */
.hero-seal {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%) rotate(15deg);
  font-size: 420px;
  color: rgba(201, 168, 76, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: serif;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(201,168,76,0.3);
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 20px;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-breadcrumb {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.hero-breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.hero-breadcrumb span {
  margin: 0 8px;
  color: var(--gold);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--navy);
  padding: 28px 0;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.trust-bar-inner {
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-stat {
  text-align: center;
  padding: 0 50px;
  flex-shrink: 0;
}

.trust-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 5px;
}

.trust-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(201,168,76,0.2);
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about-section {
  padding: 110px 60px;
  background: var(--white);
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 70px;
  align-items: flex-start;
}

.about-left {
  background: var(--cream);
  padding: 50px 45px;
  border-radius: 24px;
  flex: 1;
  border: 1px solid var(--parchment);
  position: relative;
}

.stamp-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.about-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.about-left p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 15px;
}

.video-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.video-box img {
  width: 100%;
  display: block;
  transition: transform var(--transition);
}

.video-box:hover img { transform: scale(1.04); }

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,26,46,0.4);
  transition: background var(--transition);
}

.play-btn i {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
  transition: transform var(--transition);
}

.video-box:hover .play-btn i { transform: scale(1.1); }

.about-right {
  flex: 1;
  padding-top: 10px;
}

.subtitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.about-right h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4.5vw, 56px);
  color: var(--navy);
  line-height: 1.1;
  margin: 14px 0 20px;
}

.about-right h1 em {
  font-style: italic;
  color: var(--gold);
}

.desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.tab {
  padding: 10px 26px;
  border-radius: 50px;
  border: 1.5px solid var(--parchment);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}

.tab:hover { border-color: var(--gold); color: var(--gold); }

.tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.tab-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--cream);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--parchment);
  transition: opacity 0.25s;
}

.tab-content.hidden { display: none; }

.tab-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.tab-content p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0;
  padding-top: 4px;
}

/* ===== SERVICES ===== */
.services-section {
  padding: 110px 60px;
  background: var(--cream);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.services-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.header-rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto;
  border-radius: 2px;
}

.services-grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,26,46,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 185px;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,26,46,0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover .card-overlay { opacity: 1; }

.card-overlay i {
  width: 34px;
  height: 34px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.card-body {
  padding: 18px 20px 20px;
  border-top: 2px solid transparent;
  transition: border-color var(--transition);
}

.service-card:hover .card-body { border-top-color: var(--gold); }

.card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--navy);
  padding: 90px 60px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '✦';
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 400px;
  color: rgba(201,168,76,0.04);
  line-height: 1;
}

.cta-inner {
  max-width: 700px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-inner p {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.cta-btn.primary {
  background: var(--gold);
  color: var(--navy);
}

.cta-btn.primary:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.cta-btn.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== FOOTER ===== */
.pro-footer {
  background: #07111F;
  padding: 80px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 60px 60px;
  display: grid;
  grid-template-columns: 260px 1fr 320px;
  gap: 60px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-tagline {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition);
}

.social-icons a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 600;
}

.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--gold);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item p {
  color: rgba(255,255,255,0.55);
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-map-col iframe {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1) !important;
}

.footer-bottom {
  text-align: center;
  padding: 22px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-container { flex-direction: column; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-map-col { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 24px; }
  nav { display: none; }
  .btn-appt { display: none; }
  .hamburger { display: block; }

  .hero-seal { display: none; }

  .about-section,
  .services-section,
  .cta-banner { padding-left: 24px; padding-right: 24px; }

  .trust-bar-inner { gap: 0; }
  .trust-stat { padding: 14px 24px; }
  .trust-divider { display: none; }

  .footer-container {
    grid-template-columns: 1fr;
    padding: 0 24px 40px;
    gap: 40px;
  }

  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
  .tabs { flex-wrap: wrap; }
}