@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 / Red */
  --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(220, 38, 38, 0.2);
  border: 5px solid white;
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
  background-color: #b91c1c;
}
.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: #fff;
  transition: 0.3s;
}

/* Active class styling for Mobile Nav */
.nav-links.active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff; /* Solid white background for mobile menu */
  padding: 30px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  gap: 25px;
  text-align: center;
}
.nav-links.active a {
  color: var(--text-dark); /* Dark text on white menu */
  font-size: 1.1rem;
}
.nav-links.active a:hover {
  color: var(--primary);
}

/* --- Hero Section (Centered & Text-Only) --- */
.hero {
  padding: 265px 0 0;
  background-color: var(--bg-light);
  text-align: center;
  overflow: hidden;
}
.hero-content {
  max-width: 1000px;
  margin: 50px 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 {
  background-color: var(--primary);
  font-family: var(--primary-font);
  font-style: italic;
  color: white;
  padding: 0 5px;
}
.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 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: 24px 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);
}
.accordion-item:first-child .accordion-header {
  padding-top: 8px;
}

/* --- SEAMLESS WAVE TRANSITION --- */
.wave-container {
  position: absolute;
  bottom: -2px; /* Prevent 1px gap bug on mobile */
  left: 0;
  width: 100%;
  height: 12vw;
  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);
  }
}

/* --- services Section (White Background) --- */
.services-white-section {
  background-color: var(--bg-light);
  padding: 80px 0 20px;
}
.services-title {
  text-align: center;
  color: var(--text-dark);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.services-category {
  margin-bottom: 35px;
  min-height: 280px;
}
.services-category h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary); /* Makes titles pop on the white bg */
}
.services-category ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}
.services-category ul li {
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  list-style: circle;
  margin-left: 25px;
}

/* --- 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 (Now holding Contact + Bottom info) --- */
.pink-footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 40px 0 60px;
}

/* Contact Form Area (Red Background) */
.footer-contact-area {
  max-width: 600px;
  margin: 80px auto 60px auto; /* Creates space above the bottom logo */
  text-align: center;
}
.footer-contact-area h2 {
  color: var(--text-light);
}
.footer-contact-area p {
  font-family: var(--primary-font);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}
.footer-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  padding: 20px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  color: var(--text-light);
  font-family: var(--primary-font);
  text-transform: lowercase;
  font-style: italic;
  transition: all 0.3s ease;
}
.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
}
.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
  outline: none;
  border-color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.2);
}

/* Dedicated White Button for Red Backgrounds */
.btn-white {
  background-color: var(--text-light);
  color: var(--primary);
  border: 2px solid var(--text-light);
}
.btn-white:hover {
  background-color: transparent;
  color: var(--text-light);
}

/* Lower Centered Footer */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  width: 220px;
}
.footer-email {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
  font-family: var(--primary-font);
}
.footer-email:hover {
  opacity: 0.8;
}
.footer-socials {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.social-icon {
  color: var(--text-light);
  transition:
    transform 0.3s ease,
    opacity 0.3s;
}
.social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

/* --- 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;
}

/* --- Tablet Responsive --- */
@media (max-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding: 180px 0 0;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ======================================================= */
/*  MOBILE (Max Width 768px)          */
/* ======================================================= */
@media (max-width: 768px) {
  /* Typography Controls */
  h1 {
    font-size: 2.1rem !important;
    font-weight: 800;
    line-height: 1.1;
  }
  h2 {
    font-size: 1.8rem !important;
    font-weight: 800;
    line-height: 1.15;
  }
  h3 {
    font-size: 1.25rem !important;
    font-weight: 700;
  }
  p {
    font-size: 0.95rem !important;
  }
  .hero-content p {
    font-size: 1.1rem !important;
  }
  .footer-contact-area p {
    font-size: 1.15rem !important;
  }
  .btn {
    font-size: 0.85rem;
    padding: 14px 28px;
  }

  .services-title {
    font-size: 1.5rem !important;
    margin-bottom: 30px;
  }

  /* Nav & Form fixes */
  .hero {
    padding: 140px 0 0;
  }
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-buttons,
  .split-buttons {
    flex-direction: column;
    width: 100%;
  }
  .split-buttons .btn {
    width: 100%;
  }

  /* services Stack to 1 Column for phones */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .services-category {
    min-height: auto;
  }
}
