/* ============================================
   NEW IVOIRE — Styles
   Vibrant modern · Plum + Amber · Geometric
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: #3b0419;
  color: #ffffff;
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- DECORATIVE BACKGROUND SHAPES ---------- */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.deco-circle--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -150px;
}

.deco-circle--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  bottom: 10%;
  left: -100px;
}

.deco-circle--3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.deco-rect {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.deco-rect--1 {
  width: 200px;
  height: 200px;
  background: rgba(251, 191, 36, 0.04);
  border: 1px solid rgba(251, 191, 36, 0.08);
  top: 30%;
  right: 5%;
  transform: rotate(15deg);
}

.deco-rect--2 {
  width: 120px;
  height: 120px;
  background: rgba(219, 39, 119, 0.06);
  border: 1px solid rgba(219, 39, 119, 0.1);
  bottom: 20%;
  left: 8%;
  transform: rotate(-10deg);
}

/* ---------- NAVIGATION ---------- */
.nav {
  background: rgba(59, 4, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(59, 4, 25, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav__logo {
  transition: transform 0.3s ease;
}

.nav__link {
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fbbf24;
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  box-shadow: 0 2px 15px rgba(251, 191, 36, 0.2);
}

.nav__cta:hover {
  box-shadow: 0 4px 25px rgba(251, 191, 36, 0.35);
}

/* Burger */
.burger-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__burger[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}

.nav__burger[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  transition: transform 0.3s ease;
}

.mobile-menu__link:hover {
  transform: translateX(8px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(
    135deg,
    #3b0419 0%,
    #500724 20%,
    #831443 40%,
    #9d174d 55%,
    #be185d 70%,
    #d97706 85%,
    #f59e0b 100%
  );
  min-height: 100vh;
}

.hero__gradient {
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(251, 191, 36, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(219, 39, 119, 0.2) 0%, transparent 60%);
}

.hero__badge {
  animation: fadeInDown 0.8s ease both;
}

.hero__headline {
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero__subheadline {
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero__actions {
  animation: fadeInUp 0.8s 0.6s ease both;
}

.hero__scroll {
  animation: fadeInUp 0.8s 1s ease both;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: #fbbf24;
  color: #3b0419;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
}

.btn--primary:hover {
  background: #fcd34d;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: #fbbf24;
  border: 2px solid rgba(251, 191, 36, 0.5);
}

.btn--outline:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: #fbbf24;
  transform: translateY(-2px);
}

/* ---------- BADGES ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge--amber {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

/* ---------- SECTIONS ---------- */
.section {
  position: relative;
}

.section__header {
  margin-bottom: 3rem;
}

/* ---------- CARDS ---------- */
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(251, 191, 36, 0.08);
}

.card__image-wrapper {
  position: relative;
  overflow: hidden;
}

.card__image {
  transition: transform 0.6s ease;
}

.card:hover .card__image {
  transform: scale(1.08);
}

.card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59, 4, 25, 0.6) 0%, transparent 50%);
  pointer-events: none;
}

.card__body {
  position: relative;
}

.card__category {
  letter-spacing: 0.12em;
}

/* ---------- ABOUT ---------- */
.about__image-grid {
  position: relative;
}

.about__img--accent {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about__deco--2 {
  animation: float 6s ease-in-out infinite;
}

.about__stat {
  text-align: left;
}

.about__stat span:first-child {
  display: block;
}

/* ---------- EXPERIENCE ---------- */
.experience {
  background: linear-gradient(
    135deg,
    rgba(127, 20, 77, 0.4) 0%,
    rgba(59, 4, 25, 0.6) 50%,
    rgba(148, 103, 8, 0.3) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.experience__icon {
  transition: transform 0.3s ease, background 0.3s ease;
}

.experience__item:hover .experience__icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(251, 191, 36, 0.2);
}

/* ---------- GALLERY ---------- */
.gallery__item {
  overflow: hidden;
  border-radius: 0.75rem;
  position: relative;
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59, 4, 25, 0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 0.75rem;
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__img {
  transition: transform 0.6s ease;
  width: 100%;
  height: 100%;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.06);
}

/* ---------- INFO CARDS ---------- */
.info-card {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-card:last-child {
  border-bottom: none;
}

/* ---------- FORM ---------- */
.contact-form-wrapper {
  transition: border-color 0.3s ease;
}

.contact-form-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.form-label {
  display: block;
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.form-input:focus-visible {
  outline: 2px solid rgba(251, 191, 36, 0.6);
  outline-offset: 2px;
}

.form-success {
  animation: fadeInUp 0.4s ease both;
}

/* ---------- FOOTER ---------- */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo:hover {
  transform: scale(1.05);
}

.footer__divider {
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* ---------- REVEAL ANIMATIONS (below-fold only) ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

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

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
  .hero__headline {
    font-size: 2.75rem;
  }

  .hero__subheadline {
    font-size: 1rem;
  }

  .section__header h2 {
    font-size: 2.25rem;
  }

  .about__img--main {
    height: 300px !important;
  }

  .about__img--accent {
    width: 50%;
    height: 160px !important;
    bottom: -20px;
    right: -10px;
  }

  .about__deco {
    display: none;
  }

  .experience__grid {
    gap: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__headline {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero__headline {
    font-size: 5.5rem;
  }
}

@media (min-width: 1280px) {
  .hero__headline {
    font-size: 6.5rem;
  }
}
