/* Brand-specific styles for The Tek Studio Inc (loaded after tailwind.css) */

:root {
  --brand-1: #0d4d47;
  --brand-2: #14746a;
  --brand-3: #1a9484;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
}

.font-display {
  font-family: 'Playfair Display', Georgia, serif;
}
.font-body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.text-brand { color: var(--brand-1) !important; }
.bg-brand   { background-color: var(--brand-1) !important; }
.border-brand { border-color: var(--brand-1) !important; }
.hover\:bg-brand:hover { background-color: var(--brand-1) !important; }
.hover\:text-brand:hover { color: var(--brand-1) !important; }

.hero-gradient {
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(20,116,106,0.12), transparent 60%),
    radial-gradient(800px 400px at -10% 20%, rgba(13,77,71,0.08), transparent 60%),
    linear-gradient(180deg, #f6faf9 0%, #ffffff 100%);
}

.section-title-underline::after {
  content: '';
  display: block;
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-3));
  margin-top: 12px; border-radius: 3px;
}

.card-hover { transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(13,77,71,0.35); border-color: var(--brand-1); }

.link-underline { position: relative; }
.link-underline::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  height: 2px; width: 0; background: var(--brand-1);
  transition: width 300ms ease;
}
.link-underline:hover::after { width: 100%; }

.marquee { display: flex; gap: 3rem; animation: scroll 30s linear infinite; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeInUp 700ms ease both; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.animate-floaty { animation: floaty 6s ease-in-out infinite; }

::selection { background: var(--brand-1); color: #fff; }

/* Faq details reset */
details > summary::-webkit-details-marker { display: none; }
details > summary { list-style: none; }

/* Ensure the mobile menu toggle works even before JS icon-render */
[data-lucide] { display: inline-block; }

/* Small helper to make lucide icons align */
i[data-lucide] { vertical-align: middle; }

/* Responsive tweaks */
@media (max-width: 640px) {
  h1.font-display { font-size: 2.5rem !important; line-height: 1.05 !important; }
  h2.font-display { font-size: 2rem !important; line-height: 1.1 !important; }
}

/* ============================================================
   Services dropdown menu (desktop hover)
   Explicit rules so it works regardless of Tailwind purging.
   ============================================================ */
.services-dropdown {
  position: relative;
}
.services-dropdown-panel {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  padding-top: 12px;
  width: 22rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
  z-index: 60;
}
.services-dropdown:hover .services-dropdown-panel,
.services-dropdown:focus-within .services-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.services-dropdown-inner {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 25px 50px -12px rgba(13, 77, 71, 0.25);
  overflow: hidden;
}
.services-dropdown-inner a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.services-dropdown-inner a:last-child { border-bottom: 0; }
.services-dropdown-inner a:hover { background: #ecfdf5; }
.services-dropdown-inner .all-services {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-1);
  display: block;
}
.services-dropdown-inner .svc-id {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-1);
  width: 28px;
  flex-shrink: 0;
}
.services-dropdown-inner .svc-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.services-dropdown-inner .svc-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
  margin-top: 2px;
}
.services-dropdown-caret {
  transition: transform 200ms ease;
}
.services-dropdown:hover .services-dropdown-caret {
  transform: rotate(180deg);
}
