@import url('https://fonts.googleapis.com/css2?family=Rouge+Script&family=Fraunces:opsz,wght@9..144,400;9..144,600&family=Manrope:wght@400;500;700&display=swap');

:root {
  /* Colours */
  --color-bg: #FDFCFA;
  --color-ink: #2B2A28;
  --color-ink-soft: #6B655F;
  --color-accent: #E2896B;
  --color-accent-dark: #C96B5D;
  --gradient-spectrum: linear-gradient(90deg, #E2896B, #EFC069, #7FA687, #6D93B8, #9B7FA6, #C96B5D);

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

/* ==========================================================================
   Global Typography & Components
   ========================================================================== */
.eyebrow {
  font-family: 'Rouge Script', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem); 
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400; 
  color: var(--color-accent-dark) !important;
  margin-bottom: var(--space-xs);
  display: block;
}

.button {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav__links a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--color-accent);
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-spectrum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   Hero & Home Elements
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.hero__glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 200px;
  background: var(--gradient-spectrum);
  filter: blur(80px);
  opacity: 0.35;
  z-index: -1;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: var(--space-sm);
}

.hero__heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-sm);
}

.hero__subtext {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
  margin-bottom: var(--space-md);
  max-width: 500px;
}

.hero__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-link {
  color: var(--color-ink);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-link:hover {
  color: var(--color-accent);
}

.contact-divider {
  color: var(--color-accent);
  opacity: 0.5;
}

.hero__socials {
  display: flex;
  gap: 0.5rem;
}

.social-badge {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-ink-soft);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 75px;
}

.social-badge i {
  font-size: 1.2rem;
}

.social-badge:hover {
  color: white;
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

/* Inner Page Heroes */
.page-hero {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-xs);
}

.page-hero__lede {
  color: var(--color-ink-soft);
  font-size: 1.1rem;
}

/* ==========================================================================
   Sections (Why, About, Gallery, Reviews)
   ========================================================================== */
.why {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.why__intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.why__intro h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-style: italic;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.why__lede {
  color: var(--color-ink-soft);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.why__card {
  padding: var(--space-md);
  border-radius: 16px;
  background: #FBF7F3;
  border-top: 3px solid var(--color-accent);
}

.why__card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.why__card p {
  font-size: 0.95rem;
  color: var(--color-ink-soft);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
}

.about__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.about__content p {
  margin-bottom: var(--space-sm);
  color: var(--color-ink-soft);
}

.about__content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-sm);
  color: var(--color-ink);
}

.gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery__item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
}

.reviews, .home-reviews {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
}

.home-reviews__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.home-reviews .commonninja_component {
  width: 100% !important;
  max-width: 100% !important;
}

/* ==========================================================================
   Services Page Layout
   ========================================================================== */
.services-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.service-item:nth-child(even) .service-item__content {
  order: 2;
}

.service-item__content h3 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--color-ink);
}

.service-item__content p {
  color: var(--color-ink-soft);
  margin-bottom: var(--space-md);
}

.service-item__features {
  list-style: none;
}

.service-item__features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-ink-soft);
}

.service-item__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.service-item__image {
  background: #FBF7F3;
  height: 350px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.03);
}

.service-item--full-width {
  grid-template-columns: 1fr;
}

.service-item__features--emphasized li {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: var(--space-xs);
}

.service-item__features--emphasized li strong {
  font-weight: 700;
  color: var(--color-ink);
  display: inline-block;
  margin-right: 0.25rem;
}

/* ==========================================================================
   Contact Page Layout
   ========================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
}

.contact__form {
  background: #FBF7F3;
  padding: var(--space-md) var(--space-lg);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form__row label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-ink);
}

.form__row input,
.form__row select,
.form__row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: white;
  color: var(--color-ink);
  transition: border-color 0.2s;
}

.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
}

.contact__details .detail-block {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-sm);
}

.contact__details h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-soft);
  margin-bottom: 0.25rem;
}

.contact__details p {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-ink);
}

/* ==========================================================================
   Process Page Layout
   ========================================================================== */
.process-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
  align-items: start;
}

.process__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.process__list li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(226, 137, 107, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  line-height: 1.2;
}

.process__list h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}

.process__list p {
  color: var(--color-ink-soft);
  font-size: 0.95rem;
}

.highlight-card {
  background: #FBF7F3;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: var(--space-md);
  position: sticky;
  top: 100px;
}

.highlight-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  color: var(--color-ink);
}

.highlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.highlight-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-ink-soft);
}

.highlight-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ==========================================================================
   Owner Message Bubble (About Page)
   ========================================================================== */
.owner-message-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-md) var(--space-xl);
  display: flex;
  flex-direction: column; 
  
  /* Swapped this to center both the title and the message bubble */
  align-items: center; 
}

/* Forces the text itself to center if it wraps onto two lines on mobile */
.owner-message-section .eyebrow {
  text-align: center;
}

.owner-message-bubble {
  background: var(--color-accent); /* Uses your exact #E2896B hex */
  color: white;
  padding: var(--space-md) var(--space-lg);
  border-radius: 30px 30px 30px 4px; /* Creates the chat bubble tail on the bottom left */
  max-width: 850px;
  box-shadow: 0 10px 30px rgba(226, 137, 107, 0.25); /* Subtle glowing drop shadow matching the brand color */
}

.owner-message-bubble h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: white; 
}

.owner-message-bubble p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.95); /* Slightly softens body text so the heading pops */
}

.owner-message-bubble p:last-child {
  margin-bottom: 0;
}

/* Mobile adjustments to handle inner padding cleanly */
@media (max-width: 600px) {
  .owner-message-bubble {
    padding: var(--space-sm) var(--space-md);
  }
}

/* ==========================================================================
   Thank You Page & Aurora Border Trace
   ========================================================================== */
.thankyou-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
}

.aura-container {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
  opacity: 0;
  animation: fadeInBlock 0.8s ease-out forwards;
}

/* Acts as the clipping mask for the tracer border */
.aura-glow {
  position: absolute;
  inset: -4px; /* Thickness of the glowing line */
  border-radius: 26px; /* Matches inner 24px + offset so corners don't clip */
  z-index: -1;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* Shadow moved here so it doesn't get clipped */
}

/* The actual spinning aurora gradient */
.aura-glow::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent, 
    transparent 65%, /* Keeps the majority of the border invisible */
    #E2896B, #EFC069, #7FA687, #6D93B8, #9B7FA6, #C96B5D,
    transparent 100%
  );
  animation: spinAura 4s linear infinite;
  filter: blur(4px); /* Softens the hard edge into a glowing light */
}

.thankyou-content {
  position: relative;
  background: var(--color-bg);
  padding: var(--space-lg) var(--space-md);
  border-radius: 24px;
  text-align: center;
}

.thankyou-subtext {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Aura Animation Keyframes
   ========================================================================== */
@keyframes spinAura {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeInBlock {
  0% { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* ==========================================================================
   Liquid Splatter Keyframes
   ========================================================================== */
@keyframes splatImpact {
  /* Hits the screen at 100% opacity, then settles into a 35% opacity watermark so text is readable */
  0% { transform: translate(-50%, -50%) scale(0.2) rotate(-45deg); opacity: 1; }
  60% { transform: translate(-50%, -50%) scale(1.05) rotate(0deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.35; } 
}

@keyframes fadeInText { 
  to { opacity: 1; transform: translateY(0); } 
}

@keyframes coreSplat { 
  0% { transform: scale(0); } 
  100% { transform: scale(1); } 
}

@keyframes streakShoot { 
  0% { transform: translateY(0) scaleY(0.5); } 
  100% { transform: translateY(-110px) scaleY(1.3); } 
}

@keyframes dropFly1 { 
  0% { transform: translate(0, 0) scale(0); } 
  100% { transform: translate(-30px, -170px) scale(1); } 
}

@keyframes dropFly2 { 
  0% { transform: translate(0, 0) scale(0); } 
  100% { transform: translate(45px, -130px) scale(1); } 
}

/* ==========================================================================
   Animation Keyframes
   ========================================================================== */
@keyframes splatBurst {
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  30% { opacity: 0.8; }
  100% { transform: scale(1.6) rotate(15deg); opacity: 0.08; filter: blur(40px); }
}
@keyframes fadeInText { to { opacity: 1; transform: translateY(0); } }
@keyframes dropOut1 { 0% { transform: translate(0,0) scale(0); opacity:0; } 50% { opacity:1; } 100% { transform: translate(-80px, -60px) scale(0.6); opacity:0; } }
@keyframes dropOut2 { 0% { transform: translate(0,0) scale(0); opacity:0; } 50% { opacity:1; } 100% { transform: translate(90px, -70px) scale(0.4); opacity:0; } }
@keyframes dropOut3 { 0% { transform: translate(0,0) scale(0); opacity:0; } 50% { opacity:1; } 100% { transform: translate(-60px, 90px) scale(0.5); opacity:0; } }
@keyframes dropOut4 { 0% { transform: translate(0,0) scale(0); opacity:0; } 50% { opacity:1; } 100% { transform: translate(80px, 80px) scale(0.3); opacity:0; } }

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: #FBF7F3;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: var(--space-md) var(--space-md);
  margin-top: var(--space-xl);
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.footer__regos {
  font-weight: 500;
  color: var(--color-ink);
}

.rego-badge {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-ink);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 968px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 2rem;
  }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: var(--space-md); }
  .about__image img { height: 350px; }
  .service-item { grid-template-columns: 1fr; gap: var(--space-md); }
  .service-item:nth-child(even) .service-item__content { order: 0; }
  .contact-container { grid-template-columns: 1fr; gap: var(--space-lg); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .process-container { grid-template-columns: 1fr; gap: var(--space-lg); }
  .highlight-card { position: relative; top: 0; }
}

@media (max-width: 680px) {
  .hero__contact { flex-direction: column; gap: var(--space-xs); margin-top: var(--space-md); }
  .contact-divider { display: none; }
}

@media (max-width: 600px) {
  .nav { flex-direction: column; gap: var(--space-sm); text-align: center; }
  .nav__links { gap: var(--space-sm); flex-wrap: wrap; justify-content: center; }
  .why__grid, .gallery__grid { grid-template-columns: 1fr; }
  .contact__form { padding: var(--space-md); }
  .footer__content { flex-direction: column; gap: var(--space-xs); text-align: center; }
}

/* ==========================================================================
   Custom Dropdown UI
   ========================================================================== */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select {
  position: relative;
  display: flex;
  flex-direction: column;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.custom-select.open .custom-select__trigger {
  border-color: var(--color-accent);
}

.custom-select__trigger .arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-ink-soft);
  border-bottom: 2px solid var(--color-ink-soft);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

/* Flips the arrow when open */
.custom-select.open .custom-select__trigger .arrow {
  transform: translateY(2px) rotate(-135deg);
}

.custom-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
}

.custom-select.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

/* Category Headers */
.optgroup {
  padding: 0.8rem 1rem 0.3rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-soft);
  font-weight: 700;
  background: #FBF7F3;
}

/* Individual Options */
.custom-option {
  display: block;
  padding: 0.6rem 1rem 0.6rem 1.5rem;
  font-size: 0.95rem;
  color: var(--color-ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

/* The magic highlight color */
.custom-option:hover, 
.custom-option.selected {
  background: var(--color-accent);
  color: white;
}

