:root {
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-red: #E52C2C;
  --color-gold: #FFD700;
  --color-gray-50: #F9F9F9;
  --color-gray-100: #F5F5F5;
  --color-gray-200: #E5E5E5;
  --color-gray-400: #999999;
  --color-gray-600: #666666;
  --color-gray-900: #1A1A1A;
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-gray-900);
  line-height: 1.6;
  background: var(--color-white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-gray-200);
  z-index: 1000;
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: block;
  transition: var(--transition);
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.logo:hover {
  opacity: 0.8;
}

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-gray-900);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--color-red);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-black);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 0;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  pointer-events: none;
  display: block;
  z-index: 2; /* Sit on top */
}

.hero-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-logo-box {
  display: inline-block;
  padding: 40px 60px;
  margin-bottom: 50px;
  animation: fadeInDown 0.8s ease-out;
  background: white;
}

.hero-logo {
  height: 200px;
  width: auto;
  display: block;
}

.hero-tagline {
  font-size: 32px;
  line-height: 1.5;
  color: var(--color-gray-900);
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-gray-600);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-indicator {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-red) 0%, var(--color-gold) 100%);
  animation: scrollMove 2s ease-in-out infinite;
  border-radius: 2px;
}

@keyframes scrollMove {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  border-radius: 0;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(229, 44, 44, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn-secondary:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-gray-900);
  border: 2px solid var(--color-gray-900);
}

.btn-outline:hover {
  background: var(--color-gray-900);
  color: var(--color-white);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.btn-light:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

/* Sections */
section {
  padding: 100px 0;
  position: relative;
}

/* Section-level parallax effects */
.intro-section,
.services-preview,
.why-section {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Parallax Image Sections - CLEANED UP */
.parallax-image-section {
  position: relative; /* Crucial for absolute wave positioning */
  height: 500px;
  margin: 0; /* Remove margins to prevent white gaps */
  padding: 0;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Zoom parallax elements */
.parallax-zoom-in,
.parallax-zoom-out {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--color-red);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(229, 44, 44, 0.4);
}

/* Wave Dividers */

/* Standard divider (solid to solid) */
.section-wave {
  width: 100%;
  height: 80px;
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
  background-color: transparent; 
}

.section-wave path {
  transition: none;
}

/* NEW: Overlay Waves for Images 
   These sit ON TOP of the image section to mask the edges 
*/
.parallax-overlay-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2; /* Must be higher than parallax-bg */
  pointer-events: none;
  line-height: 0;
  display: block;
}

.parallax-overlay-wave.top {
  top: 0;
  transform: rotate(180deg); /* Flip to hang down from top */
}

.parallax-overlay-wave.bottom {
  bottom: 0;
}

/* Wave Color Utilities */
/* Use these to match the "Fill" color to the adjacent section */
.wave-fill-white { fill: var(--color-white); }
.wave-fill-gray { fill: var(--color-gray-50); }
.wave-fill-black { fill: var(--color-black); }
.wave-fill-footer { fill: var(--color-gray-900); }

/* Background helpers for solid-to-solid transitions */
.wave-bg-white { background-color: var(--color-white); }
.wave-bg-gray { background-color: var(--color-gray-50); }
.wave-bg-black { background-color: var(--color-black); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 12px;
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
  margin-bottom: 30px;
}

.section-header {
  margin-bottom: 60px;
}

.lead {
  font-size: 22px;
  line-height: 1.6;
  color: var(--color-gray-900);
  margin-bottom: 25px;
}

/* Intro Section */
.intro-section {
  background: var(--color-gray-50);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-gray-600);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-red);
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: var(--transition);
}

.link-arrow:hover {
  gap: 12px;
}

.intro-stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stat-card {
  background: transparent;
  padding: 30px 30px 30px 40px;
  border-left: 4px solid var(--color-red);
  transition: var(--transition);
  position: relative;
}

.stat-card:nth-child(2) {
  border-left-color: var(--color-gold);
}

.stat-card:nth-child(3) {
  border-left-color: var(--color-black);
}

.stat-card:hover {
  transform: translateX(10px);
  border-left-width: 6px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--color-gray-600);
  letter-spacing: 0.5px;
}

/* Services Preview */
.services-preview {
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-preview-card {
  text-decoration: none;
  color: inherit;
  padding: 40px 30px;
  background: transparent;
  border-top: 4px solid var(--color-black);
  transition: var(--transition);
  display: block;
  position: relative;
  overflow: hidden;
}

.service-preview-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
  transition: width 0.5s ease;
}

.service-preview-card:hover::before {
  width: 100%;
}

.service-preview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 25px;
}

.service-preview-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-black);
}

.service-preview-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray-600);
}

/* Why Section */
.why-section {
  background: var(--color-gray-50);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.why-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.why-item {
  display: flex;
  gap: 25px;
}

.why-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
  flex-shrink: 0;
}

.why-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-black);
}

.why-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray-600);

}

.quote-box {
  background: transparent;
  padding: 60px 50px 60px 60px;
  border-left: 6px solid var(--color-gold);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 100px;
  color: var(--color-red);
  line-height: 0.5;
  margin-bottom: 20px;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-black);
  margin-bottom: 20px;
  font-style: italic;
}

.quote-author {
  font-size: 14px;
  color: var(--color-gray-600);
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  background: var(--color-black);
  color: var(--color-white);
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-white);
}

.cta-box p {
  font-size: 18px;
  margin-bottom: 35px;
  color: #CCC;
}

/* Footer */
.footer {
  background: var(--color-gray-900);
  color: var(--color-gray-400);
  padding: 80px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4 {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--color-gray-400);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 13px;
}

.footer-bottom p {
  margin-bottom: 8px;
}

.footer-credit {
  font-size: 12px;
  color: var(--color-gray-600);
  margin-top: 5px;
}

.footer-credit a {
  color: var(--color-white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-credit a:hover {
  text-decoration: underline;
}

.text-center {
  text-align: center;
}

/* ---------------------------
   FORMS (New Addition) 
   ---------------------------
*/
.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gray-600);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--color-gray-200);
  background: var(--color-gray-50);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-gray-900);
  transition: var(--transition);
  border-radius: 0;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--color-black);
  background: var(--color-white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .intro-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Mobile navigation */
  .header-content {
    position: relative;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 12px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    z-index: 1100;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 14px 6px;
    font-size: 16px;
  }

  .main-nav a::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .logo img {
    height: 40px;
  }

  .hero-logo-box {
    padding: 30px 40px;
  }

  .hero-logo {
    height: 140px;
  }

  .hero-tagline {
    font-size: 22px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  /* Hero: prevent CTA from colliding with the scroll prompt */
  .hero {
    justify-content: flex-start;
    padding: 110px 20px 50px;
  }

  .hero-scroll {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 26px;
  }

  .section-title {
    font-size: 36px;
  }

  .services-grid {
    gap: 30px;
  }

  .why-item {
    flex-direction: column;
    gap: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-logo img {
    height: 50px;
  }

  .parallax-image-section {
    height: 300px;
  }
}

/* Contact page logo on dark background */
.cta-box img.logo-dark {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto 30px;
}
a.contact {
    color: var(--color-black);
}
a.contact:hover {
    color: var(--color-gold);
}