/* ============================================
   SNEKKERTJOMMIE AS - Premium Carpentry Website
   Design: Warm Scandinavian Craft Aesthetic
   ============================================ */

/* ---------- Font Imports ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Colors */
  --terracotta: #C45C3E;
  --terracotta-dark: #A84D33;
  --terracotta-light: #D97B5F;
  --forest: #2D4739;
  --forest-dark: #1E3028;
  --forest-light: #3D5F4D;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --charcoal: #2C2C2C;
  --charcoal-light: #4A4A4A;
  --gold: #D4A85E;
  --gold-light: #E6C88A;
  --wood-light: #E8DFD3;
  --wood-medium: #C4B5A0;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Layout */
  --max-width: 1400px;
  --border-radius: 12px;
  --border-radius-lg: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(44, 44, 44, 0.08);
  --shadow-medium: 0 8px 40px rgba(44, 44, 44, 0.12);
  --shadow-large: 0 16px 60px rgba(44, 44, 44, 0.16);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Wood grain texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--charcoal-light);
}

.accent-text {
  color: var(--terracotta);
  font-style: italic;
  font-family: var(--font-display);
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 900px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 4px 20px rgba(196, 92, 62, 0.3);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 92, 62, 0.4);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}

.btn-secondary:hover {
  background: var(--forest);
  color: white;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  padding: 0.75rem 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}

.btn-ghost:hover {
  border-bottom-color: var(--terracotta);
  color: var(--terracotta);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ---------- Header & Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-medium);
}

.header.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  padding: var(--space-sm) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  z-index: 1001;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--terracotta);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-medium);
}

.logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.05);
}

.logo-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.nav-desktop {
  display: none;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: var(--space-sm);
}

/* Mobile Navigation */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 1001;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

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

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

.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
  z-index: 999;
}

.nav-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile .nav-link {
  font-size: 1.5rem;
  font-family: var(--font-display);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--space-3xl) 0 var(--space-2xl);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: linear-gradient(135deg, var(--wood-light) 0%, var(--cream-dark) 100%);
  border-radius: 0 0 0 40%;
  z-index: -2;
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  background: var(--forest);
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s 0.1s ease forwards;
  opacity: 0;
}

.hero-title .highlight {
  color: var(--terracotta);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 0.15em;
  background: var(--gold);
  opacity: 0.5;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--charcoal-light);
  margin-bottom: var(--space-lg);
  max-width: 500px;
  animation: fadeInUp 0.8s 0.2s ease forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  animation: fadeInUp 0.8s 0.3s ease forwards;
  opacity: 0;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 1s 0.4s ease forwards;
  opacity: 0;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-large);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(45, 71, 57, 0.3));
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

@media (min-width: 1000px) {
  .hero-image {
    height: 600px;
  }
}

.hero-float-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: white;
  padding: var(--space-md);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.hero-float-card-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--terracotta);
  font-weight: 600;
  line-height: 1;
}

.hero-float-card-text {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
}

.hero-accent {
  position: absolute;
  top: 20%;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.3;
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--charcoal-light);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

/* ---------- Section Styles ---------- */
.section {
  padding: var(--space-2xl) 0;
}

.section-lg {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.section-header .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.section-header .overline::before,
.section-header .overline::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--terracotta);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--charcoal-light);
  margin-bottom: 0;
}

/* Background variants */
.bg-cream {
  background: var(--cream-dark);
}

.bg-forest {
  background: var(--forest);
  color: white;
}

.bg-forest h2,
.bg-forest h3,
.bg-forest h4 {
  color: white;
}

.bg-forest p {
  color: rgba(255,255,255,0.85);
}

/* ---------- Services Section ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--cream);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: all var(--transition-medium);
}

.service-card:hover .service-icon {
  background: var(--terracotta);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--terracotta);
  transition: stroke var(--transition-medium);
}

.service-card:hover .service-icon svg {
  stroke: white;
}

.service-card h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

.service-card p {
  color: var(--charcoal-light);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 500;
  color: var(--terracotta);
  font-size: 0.9rem;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* ---------- About Preview Section ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .about-preview {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image-stack {
  position: relative;
  padding: var(--space-lg);
}

.about-image-main {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-large);
  position: relative;
  z-index: 2;
}

.about-image-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  z-index: 3;
  border: 5px solid white;
}

.about-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  background: var(--forest);
  border-radius: var(--border-radius-lg);
  z-index: 1;
  opacity: 0.1;
}

.about-content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-content .lead {
  margin-bottom: var(--space-lg);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--forest);
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
}

/* ---------- Stats Section ---------- */
.stats-section {
  background: var(--forest);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-30 30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ---------- Process Section ---------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  text-align: center;
  position: relative;
}

@media (min-width: 768px) {
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--terracotta) 0%, var(--gold) 100%);
    opacity: 0.3;
  }
}

.process-number {
  width: 80px;
  height: 80px;
  background: var(--cream);
  border: 3px solid var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--terracotta);
  position: relative;
  z-index: 1;
  transition: all var(--transition-medium);
}

.process-step:hover .process-number {
  background: var(--terracotta);
  color: white;
  transform: scale(1.1);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
}

/* ---------- Testimonial Section ---------- */
.testimonial-section {
  background: linear-gradient(135deg, var(--cream) 0%, var(--wood-light) 100%);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '"';
  position: absolute;
  top: -50px;
  left: 5%;
  font-family: var(--font-display);
  font-size: 400px;
  color: var(--terracotta);
  opacity: 0.05;
  line-height: 1;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  color: var(--charcoal);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: var(--shadow-soft);
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--terracotta);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  transform: rotate(-15deg);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: white;
  margin-bottom: var(--space-sm);
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: var(--space-lg);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.cta-section .btn-primary {
  background: white;
  color: var(--terracotta);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cta-section .btn-primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.cta-section .btn-secondary {
  border-color: white;
  color: white;
}

.cta-section .btn-secondary:hover {
  background: white;
  color: var(--terracotta);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: white;
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo {
  color: white;
  margin-bottom: var(--space-md);
}

.footer-brand .logo-icon {
  background: var(--terracotta);
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--terracotta);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.footer-column h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--terracotta-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: white;
}

/* ---------- Page Headers ---------- */
.page-header {
  padding: calc(var(--space-3xl) + 80px) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--cream) 0%, var(--wood-light) 50%, var(--cream-dark) 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--forest);
  opacity: 0.03;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: var(--terracotta);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--terracotta-dark);
}

.breadcrumb svg {
  width: 16px;
  height: 16px;
  stroke: var(--charcoal-light);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header .lead {
  max-width: 600px;
}

/* ---------- Services Page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 900px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail:nth-child(even) {
    direction: rtl;
  }

  .service-detail:nth-child(even) > * {
    direction: ltr;
  }
}

.service-detail-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-content h2 {
  margin-bottom: var(--space-sm);
}

.service-detail-content p {
  color: var(--charcoal-light);
  margin-bottom: var(--space-md);
}

.service-features {
  margin-bottom: var(--space-md);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: 0.95rem;
}

.service-features li svg {
  width: 20px;
  height: 20px;
  stroke: var(--forest);
  flex-shrink: 0;
}

/* ---------- About Page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr 1fr;
  }
}

.founder-image {
  position: relative;
}

.founder-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-large);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.founder-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--terracotta);
  color: white;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
}

.founder-badge h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 2px;
}

.founder-badge p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.value-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: all var(--transition-medium);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--wood-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.value-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--terracotta);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.value-card p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Gallery/References Page ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 44, 44, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.gallery-placeholder {
  background: var(--cream-dark);
  border: 2px dashed var(--wood-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  aspect-ratio: 4/3;
}

.gallery-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--wood-medium);
  margin-bottom: var(--space-sm);
}

.gallery-placeholder p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info {
  background: var(--forest);
  color: white;
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.contact-info h3 {
  color: white;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}

.contact-info-item h4 {
  color: white;
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  opacity: 0.8;
}

.contact-info-item p {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.contact-info-item a {
  color: white;
  transition: color var(--transition-fast);
}

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

.service-areas {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.2);
  position: relative;
  z-index: 1;
}

.service-areas h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.area-tag {
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.85rem;
}

.contact-form-wrapper {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
}

.contact-form-wrapper h3 {
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.form-label .required {
  color: var(--terracotta);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--cream);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: white;
  box-shadow: 0 0 0 4px rgba(196, 92, 62, 0.1);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232C2C2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}

.radio-group {
  display: flex;
  gap: var(--space-md);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
  font-size: 0.95rem;
}

.radio-label input {
  width: 20px;
  height: 20px;
  accent-color: var(--terracotta);
}

.form-submit {
  margin-top: var(--space-md);
}

.form-note {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  margin-top: var(--space-sm);
}

/* Form Status Messages */
.form-status {
  padding: var(--space-md);
  border-radius: var(--border-radius);
  margin-top: var(--space-md);
  display: none;
}

.form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
  .section {
    padding: var(--space-xl) 0;
  }

  .section-lg {
    padding: var(--space-2xl) 0;
  }

  .hero {
    padding: calc(var(--space-2xl) + 80px) 0 var(--space-xl);
  }

  .hero-float-card {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .cta-section,
  .nav-toggle {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}
