/* ============================================================
   CORAL BLOSSOM DESIGNS — Stylesheet
   Color Palette derived from brand logo:
   Navy #1E1A5E | Gold #C9A74C | Cream #FBF8F1
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:        #1E1A5E;
  --navy-dark:   #12103E;
  --navy-light:  #2D2878;
  --gold:        #C9A74C;
  --gold-light:  #E2CC8B;
  --gold-dark:   #A8893D;
  --cream:       #FBF8F1;
  --warm-white:  #FFFDF7;
  --white:       #FFFFFF;
  --text-dark:   #2D2D2D;
  --text-muted:  #6B6B6B;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Raleway', 'Segoe UI', sans-serif;
  --font-accent:  'Cormorant Garant', Georgia, serif;

  --shadow-sm:  0 2px 8px rgba(30, 26, 94, 0.06);
  --shadow-md:  0 8px 30px rgba(30, 26, 94, 0.10);
  --shadow-lg:  0 20px 60px rgba(30, 26, 94, 0.12);

  --radius:     12px;
  --radius-sm:  8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

/* ---------- Cursor Glow (desktop) ---------- */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 167, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cursor-glow.active {
  opacity: 1;
}

/* ---------- Typography ---------- */
.section-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-description {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Animated gold divider — starts at 0 width, expands on reveal */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 28px;
}

.gold-divider.center {
  margin-left: auto;
  margin-right: auto;
}

.gold-divider.animate-width {
  width: 0;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.gold-divider.animate-width.visible {
  width: 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .section-description {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Text Reveal Animation ---------- */
.text-reveal {
  overflow: hidden;
}

.text-reveal .word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.visible .word {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201, 167, 76, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 8px 40px rgba(201, 167, 76, 0.5);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gold);
  padding: 14px 34px;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 167, 76, 0.35);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- Reveal Animations ---------- */
.reveal,
.reveal-slide-left,
.reveal-slide-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal         { transform: translateY(60px); }
.reveal-slide-left  { transform: translateX(80px); }
.reveal-slide-right { transform: translateX(-80px); }
.reveal-scale   { transform: scale(0.9) translateY(30px); }

.reveal.visible,
.reveal-slide-left.visible,
.reveal-slide-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ---------- Floating Accents ---------- */
.floating-accent {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.floating-accent--1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 167, 76, 0.08) 0%, transparent 70%);
  top: -80px;
  right: -100px;
  animation: floatSlow 8s ease-in-out infinite;
}

.floating-accent--2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(30, 26, 94, 0.05) 0%, transparent 70%);
  bottom: -60px;
  left: -60px;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(20px, -30px) rotate(5deg); }
  66% { transform: translate(-15px, 15px) rotate(-3deg); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background: rgba(18, 16, 62, 0.95);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 50px;
  width: auto;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled .logo-img {
  height: 38px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::before,
.nav-link.active-link::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
}

.nav-cta::before { display: none; }

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(201, 167, 76, 0.4);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 16, 62, 0.55) 0%,
    rgba(30, 26, 94, 0.70) 50%,
    rgba(18, 16, 62, 0.85) 100%
  );
}

/* Gold floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 850px;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(40px);
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title span {
  font-weight: 400;
  font-style: italic;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 44px;
}

/* Scroll indicator — animated line */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold-light));
  animation: scrollLine 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 200%; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--warm-white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-zoom:hover {
  transform: scale(1.03);
}

.about-image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover .about-image-accent {
  top: -12px;
  left: -12px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.9;
}

.about-text p:last-of-type {
  margin-bottom: 36px;
}

.about-text strong {
  color: var(--navy);
  font-weight: 600;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* 3D tilt card */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  border: 1px solid rgba(201, 167, 76, 0);
  position: relative;
  overflow: hidden;
  perspective: 800px;
  transform-style: preserve-3d;
}

.service-card-inner {
  padding: 44px 28px;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 167, 76, 0.2);
}

/* Shine sweep effect on hover */
.service-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(201, 167, 76, 0.06) 45%,
    rgba(201, 167, 76, 0.12) 50%,
    rgba(201, 167, 76, 0.06) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: none;
  pointer-events: none;
  z-index: 2;
}

.service-card:hover .service-card-shine {
  transform: translateX(100%);
  transition: transform 0.7s ease;
}

.service-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 1.5rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 8px 24px rgba(201, 167, 76, 0.3);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   PARALLAX DIVIDER
   ============================================================ */
.parallax-divider {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.parallax-divider .parallax-bg {
  position: absolute;
  inset: -30%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax-divider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 62, 0.8);
}

.parallax-divider-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.parallax-quote {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 20px;
}

.parallax-attribution {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio {
  background: var(--warm-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item--wide {
  grid-column: span 2;
}

.portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(18, 16, 62, 0.9) 0%,
    rgba(18, 16, 62, 0.0) 50%
  );
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 500;
}

.portfolio-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.portfolio-item:hover .portfolio-arrow {
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(-45deg);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

/* Animated background shapes */
.contact-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.contact-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.04;
}

.contact-shape--1 {
  width: 600px;
  height: 600px;
  background: var(--gold);
  top: -200px;
  right: -200px;
  animation: floatSlow 12s ease-in-out infinite;
}

.contact-shape--2 {
  width: 400px;
  height: 400px;
  background: var(--gold-light);
  bottom: -150px;
  left: -100px;
  animation: floatSlow 15s ease-in-out infinite reverse;
}

.contact-shape--3 {
  width: 250px;
  height: 250px;
  background: var(--white);
  top: 40%;
  left: 50%;
  animation: floatSlow 10s ease-in-out infinite;
}

.contact .section-title {
  color: var(--white);
}

.contact .gold-divider {
  margin-bottom: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-icon-wrapper {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 167, 76, 0.12);
  color: var(--gold-light);
  border-radius: 50%;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}

.contact-detail-item:hover .contact-icon-wrapper {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}

.contact-detail-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.contact-detail-item a,
.contact-detail-item span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.contact-detail-item a:hover {
  color: var(--gold-light);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 167, 76, 0.3);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 1rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 48px 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.5s ease;
}

.contact-form-wrapper:hover {
  border-color: rgba(201, 167, 76, 0.15);
  background: rgba(255, 255, 255, 0.07);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
  text-align: center;
}

.form-group {
  margin-bottom: 22px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-group label .required {
  color: var(--gold-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.4s ease;
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(201, 167, 76, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  display: none;
  font-size: 0.82rem;
  color: #ff8a8a;
  margin-top: 6px;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #ff8a8a;
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.form-group.error .form-error {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.contact-form .btn {
  margin-top: 8px;
  font-size: 1rem;
  padding: 18px 36px;
}

.form-status {
  text-align: center;
  margin-top: 16px;
  font-size: 0.95rem;
  min-height: 24px;
}

.form-status.success {
  color: #7dffb3;
  animation: fadeIn 0.5s ease;
}

.form-status.error {
  color: #ff8a8a;
  animation: fadeIn 0.5s ease;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  padding: 52px 0 28px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
}

.footer-location {
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
  font-size: 0.8rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 48px;
  }

  .cursor-glow { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  /* Mobile Nav */
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 0;
    width: 100%;
  }

  .nav-link::before { display: none; }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
    width: 100%;
    display: block;
    padding: 14px 24px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper img {
    height: 350px;
  }

  .about-image-accent {
    top: -12px;
    left: -12px;
  }

  .reveal-slide-left,
  .reveal-slide-right {
    transform: translateY(40px) translateX(0);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-item--wide {
    grid-column: span 2;
  }

  .portfolio-item img {
    height: 220px;
  }

  .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  /* Parallax divider */
  .parallax-divider {
    height: 40vh;
    min-height: 280px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Floating accents — smaller on mobile */
  .floating-accent--1 { width: 150px; height: 150px; }
  .floating-accent--2 { width: 100px; height: 100px; }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.85rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item--wide {
    grid-column: span 1;
  }

  .portfolio-item img {
    height: 250px;
  }

  .service-card-inner {
    padding: 32px 24px;
  }

  .parallax-quote {
    font-size: 1.3rem;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-slide-left,
  .reveal-slide-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .hero-content > * {
    opacity: 1;
    transform: none;
  }

  .text-reveal .word {
    opacity: 1;
    transform: none;
  }
}
