/* ============================================
   GURUNATHAN ELECTRONICS - header.css
   ============================================ */

#header,
.intro {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

#header {
  position: relative;
  overflow: hidden;
}
/* ── Reset ── */
body {
  margin: 0;
  overflow-x: hidden;
  padding-top: var(--header-offset, 100px); /* dynamic, set via JS in App.js */
}
/* ── Hero wrapper ── */
.intro {
  position: relative;
  display: flex;
  align-items: stretch;
  height: calc(100vh - 100px); /* match body padding-top exactly */
  background-color: #0f0800;
  overflow: hidden;
  box-sizing: border-box;
}

/* ── Dark overlay ── */
.intro .overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 8, 0, 0.82);
  z-index: 2;
  display: flex;
  align-items: stretch;
  width: 100%;
}

/* ── 50/50 split container ── */
.intro-split {
  display: flex;
  width: 100%;
  height: 100%;
}

/* ── LEFT: Image ── */
.split-image {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.split-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 8, 0, 0.15) 0%,
    rgba(15, 8, 0, 0.45) 100%
  );
  pointer-events: none;
}

/* ── RIGHT: Content ── */
.split-content {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 30px 20px 50px; /* less padding on the right */
  z-index: 3;
  position: relative;
  overflow-y: auto;
}

/* ── Glow orbs ── */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 1;
  pointer-events: none;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 107, 0, 0.18);
  top: -5%;
  left: -5%;
  animation: floatGlow 12s ease-in-out infinite;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(255, 204, 0, 0.15);
  bottom: 5%;
  right: 5%;
  animation: floatGlow 15s ease-in-out infinite reverse;
}

.glow-3 {
  width: 300px;
  height: 300px;
  background: rgba(255, 140, 0, 0.12);
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  animation: floatGlow 10s ease-in-out infinite;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(40px, -30px); }
}

/* ── God names ── */
.god-names {
  font-size: 12px;
  color: #b35a00;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  font-weight: 600;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.1s forwards;
  line-height: 1.7;
}

.god-names span {
  margin: 0 6px;
  opacity: 0.9;
}

/* ── Offer badge ── */
.offer-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: #ffd9a8;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.12);
  width: fit-content;
}

.offer-badge strong {
  color: #ff6b00;
  font-weight: 800;
}

.offer-icon {
  color: #ff6b00;
  font-size: 16px;
  animation: spinSlow 4s linear infinite;
  display: inline-block;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.offer-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: shimmer 3.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { left: -60%; }
  100% { left: 130%; }
}

/* ── Main heading ── */
.intro h1 {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.intro h1 .welcome-text {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 4px;
  color: #ffd9a8;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.intro h1 .brand-text {
  display: block;
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b00 0%, #ffcc00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  line-height: 1.15;
}

/* ── Tagline ── */
.intro .tagline {
  color: #ffd9a8;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 10px 0 4px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.45s forwards;
}

/* ── Description ── */
.intro p {
  padding-top: 8px;
  color: #fdf0e0;
  font-size: 14px;
  font-weight: 400;
  max-width: 100%;
  line-height: 24px;
  margin: 0 0 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.55s forwards;
}

/* ── Buttons ── */
.hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.btn-custom {
  background: linear-gradient(135deg, #ff6b00, #ffcc00);
  border: none;
  color: #fff !important;
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.45);
  color: #fff !important;
}

.btn-outline {
  background: transparent;
  border: 2px solid #ff6b00;
  color: #ff6b00 !important;
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: linear-gradient(135deg, #ff6b00, #ffcc00);
  border-color: transparent;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
}

/* ── Entrance animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .intro h1 .brand-text {
    font-size: 32px;
  }
  .split-content {
    padding: 30px 40px;
  }
}
@media (max-width: 768px) {
  .intro {
    height: auto;
    min-height: calc(100vh - 1px); /* match the new mobile padding-top */
  }

  .intro-split {
    flex-direction: column;
    height: auto;
  }

  .split-image {
    flex: none;
    width: 100%;
    height: 240px;
    order: 0;
  }

  .split-content {
    flex: none;
    width: 100%;
    height: auto;
    padding: 30px 24px 50px;
    order: 1;
    align-items: center;
    text-align: center;
    overflow: visible;
  }

  .god-names {
    font-size: 10px;
    text-align: center;
  }

  .intro h1 .welcome-text {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .intro h1 .brand-text {
    font-size: 26px;
    line-height: 1.4;
  }

  .intro .tagline {
    font-size: 12px;
  }

  .intro p {
    font-size: 13px;
    padding: 0;
    max-width: 100%;
    margin: 0 0 20px;
  }

  .offer-badge {
    font-size: 11px;
    padding: 8px 16px;
    margin-bottom: 14px;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-buttons a {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    padding: 11px 14px;
    font-size: 13px;
  }
}
.brand-location {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 217, 168, 0.8);
  letter-spacing: 2px;
  margin-top: 6px;
  font-family: "Lato", sans-serif;
  text-decoration: none;
  transition: color 0.2s ease;
}

.brand-location:hover {
  color: #ff6b00;
  text-decoration: none;
}