/* ============================================
   BRAND WILD — Homepage Styles
   ============================================ */

/* --- Hero --- */
.home-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-hero__bg {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
}

.home-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    170deg,
    rgba(4, 67, 93, 0.25) 0%,
    rgba(4, 67, 93, 0.45) 40%,
    rgba(4, 67, 93, 0.65) 100%
  );
}

.home-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(2rem, 6vw, 4rem);
  max-width: 750px;
  background: rgba(4, 67, 93, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroFadeIn 1.2s var(--ease-out) 0.3s forwards;
}

.home-hero__brand-name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.home-hero__brand-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--white);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.home-hero__title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeIn 1.2s var(--ease-out) 0.6s forwards;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.home-hero__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 550px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: heroFadeIn 1.2s var(--ease-out) 0.9s forwards;
}

.home-hero__cta {
  opacity: 0;
  animation: heroFadeIn 1.2s var(--ease-out) 1.2s forwards;
}

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

/* --- Intro Section --- */
.intro {
  text-align: center;
}

.intro__text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.15rem;
}

.intro__name {
  font-family: var(--font-heading);
  color: var(--teal);
  font-size: 1.3rem;
}

/* --- Services --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin: 0 auto 1.25rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Portfolio Preview --- */
.portfolio-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  text-decoration: none;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.portfolio-card__image-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.portfolio-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.05);
}

.portfolio-card__info {
  padding: 1.5rem;
  background: var(--white);
}

.portfolio-card__logo {
  height: 30px;
  width: auto;
  max-width: 150px;
  margin-bottom: 0.4rem;
  object-fit: contain;
}

.portfolio-card__name {
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.portfolio-card__type {
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}

/* --- Testimonial Highlight --- */
.testimonial-highlight {
  text-align: center;
}

.testimonial-highlight__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--white);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 2rem;
  border: none;
  padding: 0;
}

.testimonial-highlight__mark {
  font-size: 4rem;
  color: var(--gold-light);
  line-height: 0;
  display: block;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.testimonial-highlight__author {
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.testimonial-highlight__role {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

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

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .portfolio-preview__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
