/* Doctor Gadget by Vishesh Mobiles — Custom Styles */

/* Brand typography — Ethnocentric + clean static metallic */
.brand-title {
  font-family: 'Ethnocentric', 'Ethnocentric Rg', sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  display: inline-block;
  color: #e8f4f8;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #c5e8f5 22%,
    #00E5FF 48%,
    #7a9aaa 55%,
    #d0f0ff 62%,
    #00E5FF 78%,
    #00FF95 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 18px rgba(0, 229, 255, 0.25));
}

.hero-brand .brand-title {
  letter-spacing: 0.04em;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 24px rgba(0, 229, 255, 0.35));
}

.brand-byline {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: #B0B0B0;
}

.brand-block .brand-byline {
  margin-top: 0.125rem;
}

/* Ethnocentric needs slightly larger sizes for clarity */
header .brand-block .brand-title {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  header .brand-block .brand-title {
    font-size: 1.2rem;
  }
}

.hero-brand .brand-title {
  font-size: 2rem;
}

@media (min-width: 640px) {
  .hero-brand .brand-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-brand .brand-title {
    font-size: 2.85rem;
  }
}

footer .brand-block .brand-title {
  font-size: 1.65rem;
}

@media (min-width: 640px) {
  footer .brand-block .brand-title {
    font-size: 2rem;
  }
}

.location-card .brand-title {
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}

@media (min-width: 640px) {
  .brand-block .brand-byline {
    font-size: 0.7rem;
  }
}

.hero-brand .brand-byline {
  font-size: 0.8rem;
}

@media (min-width: 640px) {
  .hero-brand .brand-byline {
    font-size: 0.95rem;
  }
}

footer .brand-byline {
  font-size: 0.8rem;
}

.copyright-brand .brand-title.inline-brand {
  font-family: 'Ethnocentric', 'Ethnocentric Rg', sans-serif;
  font-size: 0.9rem;
  display: inline;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #00E5FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

.copyright-brand .brand-byline.inline {
  display: inline;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: #B0B0B0;
}

/* Hero Background */
.hero-bg {
  background: linear-gradient(135deg, #0B0B0B 0%, #141414 50%, #0B0B0B 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(0, 229, 255, 0.15);
  top: 10%;
  left: -10%;
  animation: pulse-glow 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 255, 149, 0.1);
  bottom: 20%;
  right: -5%;
  animation: pulse-glow 10s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

/* Floating shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.1);
  pointer-events: none;
}

.shape-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  right: 20%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 10%;
  border-color: rgba(0, 255, 149, 0.15);
  animation: float 8s ease-in-out infinite 1s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  top: 50%;
  left: 30%;
  animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Hero animations */
.hero-content.visible,
.hero-visual.visible {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-visual.visible {
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Float icons */
.float-icon {
  animation: floatIcon 4s ease-in-out infinite;
}

.float-icon-1 { animation-delay: 0s; }
.float-icon-2 { animation-delay: 1s; }
.float-icon-3 { animation-delay: 2s; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Phone mockup subtle glow */
.phone-frame {
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.15), 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Service cards */
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.12);
  transform: translateY(-4px);
}

/* Offer cards */
.offer-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00E5FF, #00FF95, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offer-card:hover::before {
  opacity: 1;
}

.offer-card:hover {
  border-color: rgba(0, 255, 149, 0.25);
  box-shadow: 0 0 30px rgba(0, 255, 149, 0.1);
  transform: translateY(-4px);
}

.offer-badge {
  background: linear-gradient(135deg, #00E5FF, #00FF95);
  color: #0B0B0B;
}

/* Glass feature cards */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(0, 229, 255, 0.25);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.1);
  transform: translateY(-4px);
}

/* Gallery */
.gallery-item {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-item img {
  transition: transform 0.5s ease;
}

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

.gallery-item:hover {
  border-color: rgba(0, 229, 255, 0.2);
}

/* Review cards */
.review-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.08);
}

/* Brands marquee */
.brands-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.brands-track {
  display: flex;
  gap: 3rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.brands-track:hover {
  animation-play-state: paused;
}

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

.brand-item {
  flex-shrink: 0;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 600;
  font-size: 1.125rem;
  color: #B0B0B0;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.brand-item:hover {
  color: #00E5FF;
  border-color: rgba(0, 229, 255, 0.2);
}

.brand-apple { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.brand-samsung { letter-spacing: 0.05em; }

/* Footer glow divider */
.footer-glow {
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), rgba(0, 255, 149, 0.5), transparent);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

/* Map container */
.map-container {
  filter: brightness(0.85);
}

.map-container iframe {
  transition: filter 0.3s ease;
}

.location-card:hover .map-container iframe {
  filter: brightness(1);
}

/* Navbar scrolled state */
#navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Hamburger active */
#menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

#menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Floating WhatsApp pulse */
#floating-whatsapp::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 149, 0.4);
  animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Star rating */
.star-filled {
  color: #00E5FF;
}

/* Form success/error */
.form-success { color: #00FF95; }
.form-error { color: #ff6b6b; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .brands-track {
    animation: none;
  }
}
