@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Niconne&display=swap");

/* --- Ultra-Modern 2026 Variables --- */
:root {
  --primary: #dc2626; /* Hot Pink */
  --bg-light: #ffffff;
  --bg-dark: #050505; /* OLED Black */
  --text-dark: #111111;
  --text-light: #ffffff;
  --text-gray: #888888;
  --primary-font: "Bricolage Grotesque", sans-serif;
  --secondary-font: "Niconne", cursive;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--primary-font);
  color: var(--text-dark);
  line-height: 1.5;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

/* --- Fluid Typography --- */
h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(3.5rem, 7vw, 4rem);
  line-height: 1;
  margin-bottom: 24px;
}
h1 span {
  color: var(--primary);
}
h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
p {
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 24px;
}

.pink-text {
  color: var(--primary);
}
.text-white {
  color: var(--text-light);
}
.text-gray {
  color: var(--text-gray);
}
.mb-large {
  margin-bottom: 50px;
}

/* --- 2026 Buttons --- */
.btn {
  font-family: var(--primary-font);
  display: inline-block;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 100px; /* Pill shape */
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.2);
  border: 5px solid white;
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 0, 127, 0.4);
  background-color: #e60073;
}
.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}
.btn-secondary:hover {
  background-color: var(--text-dark);
  color: var(--text-light);
}

/* --- Glassmorphism Nav --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 25px 0px 20px 0px;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
nav.scrolled {
  padding: 5px 0;
  background: var(--primary);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -2px;
  text-decoration: none;
  color: var(--text-dark);
}
.logo img {
  width: 300px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #000;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}
.bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 6px auto;
  background-color: var(--text-dark);
  transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
  padding: 265px 0 0; /* No bottom padding, flows into marquee */
  background-color: var(--bg-light);
  text-align: center;
}
.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 80px;
}
.hero-content p {
  font-family: var(--primary-font);
  text-transform: capitalize;
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.hero-content p span {
  /* text underline color red*/
  background-color: var(--primary);
  font-family: var(--primary-font);
  text-transform: Capitalize;
  font-style: italic;
  color: white;
}
.hero-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Marquee at bottom of Hero */
.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--primary);
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  padding: 30px 0;
}
.marquee-title {
  font-family: var(--secondary-font);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-light);
  text-transform: lowercase;
  text-align: center;
  margin-bottom: 20px;
}
.marquee-track {
  display: inline-flex;
  gap: 80px;
  padding-left: 80px;
  animation: scroll 25s linear infinite;
}
.marquee-item {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  transition: 0.3s;
  text-transform: lowercase;
}
.marquee-item:hover {
  color: #050505;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- Services & Accordion --- */
.modern-services-section {
  position: relative;
  padding: 120px 0 280px; /* Heavy bottom padding to account for the wave */
  background-color: var(--bg-light);
}
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.split-left p {
  font-size: 1.4rem;
  text-align: justify;
  overflow-wrap: break-word;
  hyphens: auto;
  color: #333;
  margin-bottom: 30px;
}
.split-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.accordion {
  border-top: 0px solid var(--text-dark);
}
.accordion-item {
  border-bottom: 1px solid #ddd;
}
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}
.accordion-title {
  font-family: var(--primary-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.3s;
}
.accordion-icon {
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
  transition: transform 0.4s ease;
  line-height: 1;
}
.accordion-header:hover .accordion-title {
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}
.accordion-content p {
  padding-bottom: 12px;
  color: #555;
  font-size: 1.1rem;
  margin: 0;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  transition: max-height 0.6s ease-in-out;
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--primary);
}
.accordion-item.active .accordion-title {
  color: var(--primary);
}

/* --- SEAMLESS WAVE TRANSITION --- */
.wave-container {
  position: absolute;
  bottom: -2px; /* Pulls it down slightly to prevent 1px gap bug on mobile */
  left: 0;
  width: 100%;
  height: 12vw; /* Responsive height */
  min-height: 100px;
  overflow: hidden;
  line-height: 0;
  padding-top: 20px;
}
.waves {
  width: 100%;
  height: 100%;
}
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* --- Work Section (Dark Background seamlessly catching the wave) --- */
.work-section {
  background-color: var(--bg-dark); /* Matches solid wave fill */
  padding: 80px 0 120px;
}

/* --- Contact Section (Updated to Light Theme) --- */
.contact-section {
  background-color: var(--bg-light); /* Light background to match wave */
  padding: 80px 0 20px;
  text-align: center;
}
.contact-section h2 {
  color: var(--text-dark);
}
.contact-section p {
  font-family: var(--primary-font);
  font-size: 2rem;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 20px;
  font-size: 1rem;
  background-color: transparent;
  border: none;
  border: 2px solid #ccc;
  border-radius: 4px;
  color: var(--text-dark);
  font-family: var(--primary-font);
  text-transform: lowercase;
  font-style: italic;
  transition: all 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
  background-color: rgba(255, 0, 127, 0.02);
}

/* --- Seamless Pink Wave Footer Transition --- */
.footer-curve-wrapper {
  width: 100%;
  line-height: 0;
  background-color: var(--bg-light);
}
.footer-curve-wrapper svg {
  width: 100%;
  height: auto;
  min-height: 50px;
  max-height: 120px;
}

/* --- The Pink Footer --- */
.pink-footer {
  background-color: var(--primary); /* #FF007F */
  color: var(--text-light); /* White text */
  padding: 20px 0 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1.5fr 1.5fr;
  gap: 40px;
  align-items: start;
}

/* Footer Typography & Links */
.pink-footer h4,
.pink-footer a,
.pink-footer p {
  font-family: var(--primary-font);
  color: var(--text-light);
  text-decoration: none;
  margin: 0;
}
.pink-footer p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #fff;
}
.pink-footer h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

/* Footer Logo Layout */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers text to match reference */
  text-align: center;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}
.footer-logo img {
  width: 100%;
  margin-bottom: 10px;
}
.logo-top,
.logo-bottom {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 3px;
}
.logo-main {
  font-size: 4.5rem;
  font-weight: 900;
  font-style: italic; /* Signature Attention Agency Italic */
  line-height: 0.9;
  letter-spacing: -2px;
  margin: 5px 0;
}
.footer-email {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
  display: inline-block;
  transition: opacity 0.3s;
}
.footer-email:hover {
  opacity: 0.8;
}

/* Lists and Underlines */
.pink-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pink-footer ul li a {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: opacity 0.3s;
}
.pink-footer ul li a:hover {
  opacity: 0.7;
}

/* Thick underlines for main links column */
.thick-underline {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  text-decoration-thickness: 2px !important;
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  padding-top: 15px;
}
.social-icon {
  color: var(--text-light);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

/* --- Responsive Layout for Mobile --- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1; /* Make logo span full width on tablets */
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
    margin-top: 20px;
  }
  .logo-main {
    font-size: 3.5rem;
  }
}

/* --- Scroll Reveals --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding: 160px 0 0;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .split-buttons {
    flex-direction: column;
    width: 100%;
  }
  .split-buttons .btn {
    width: 100%;
  }
}
