:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --accent: #c9842a;
  --accent-2: #2f2f2f;
  --shadow: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 16px;
}
* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding-top: 0;
  padding-bottom: 0;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  height: 72px;
  transition: height 0.3s ease;
}
.site-header.scrolled .header-inner {
  height: 60px;
}
.brand {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--accent-2);
  letter-spacing: -0.5px;
}
.nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.nav a {
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}
.nav a:hover {
  color: var(--accent);
}
.nav a:hover::after {
  width: 100%;
}
.nav .cta-mobile { display: none; }
.cta {
  background: var(--accent-2);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
  background: var(--accent);
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 100;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--accent-2);
  transition: all 0.3s ease;
}

/* Hamburger to X animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}
.hero {
  position: relative;
  min-height: 580px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: transparent;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 400px at 85% 55%, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 25%, rgba(0,0,0,0.0) 60%),
    url('../image/image.png') center/cover no-repeat;
  filter: blur(0.8px) saturate(50%);
  transform: scale(1.02);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  padding: 64px 24px 96px;
  max-width: 1200px;
  margin: 0 auto;
}
/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transform: translateY(30px);
  will-change: opacity, visibility;
}

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

.hero-copy h1 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
  animation: fadeInUp 0.8s ease-out forwards;
}
.hero-copy h3 {
  color: #fff;
  opacity: 0;
  margin: 0 0 12px;
  font-weight: 700;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}
.hero-copy p {
  color: #f0f0f0;
  max-width: 680px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}
.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}
/* Modern Button Animations */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.4s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn:hover::before {
  transform: translateX(100%) skewX(-15deg);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn.primary { 
  background: #dbab71; 
  color: #1a1a1a; 
  border: 1px solid transparent;
}
.btn.primary:hover {
  background: #dbab71;
}

.btn.outline { 
  background: transparent; 
  color: #fff; 
  border: 1px solid rgba(255,255,255,0.8);
}
.btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Dark button variant for on-light sections */
.btn.dark {
  background: var(--accent-2);
  color: #fff;
  border: 1px solid transparent;
}
.btn.dark:hover {
  background: #000;
}

/* Specific styling for the 'View Services' button on Hero */
.hero-actions .btn.outline {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}

/* CTA in header specific */
.header-inner .cta {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.header-inner .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.header-inner .cta:active {
  transform: translateY(0);
}
.hero-photo { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}
.photo-frame {
  border-radius: 16px;
  background: transparent;
  padding: 0;
  border: 4px solid rgba(255,255,255,0.4);
  overflow: hidden;
}
.photo-placeholder {
  width: 100%;
  max-width: 420px;
  height: 560px;
  background: url('../image/Pauline.jpg') center/cover no-repeat;
  display: grid;
  place-items: center;
}
.photo-img {
  width: 100%;
  max-width: 420px;
  height: 560px;
  object-fit: cover;
  display: block;
}
.lead h2, .section h2 {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 42px;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}
.lead h3, .section h3 {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
}
.divider {
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  margin: 24px auto 40px;
}
.grid {
  display: grid;
  gap: 32px;
}
.grid.two { grid-template-columns: repeat(2, 1fr) }
.grid.three { grid-template-columns: repeat(3, 1fr) }
.section.alt { 
  background: 
    radial-gradient(circle at 0% 0%, rgba(201, 132, 42, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(47, 47, 47, 0.03) 0%, transparent 50%),
    #fbfaf8;
}

/* Staggered Card Animations */
.reveal.active .card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}
.reveal.active .card:nth-child(1) { animation-delay: 0.1s; }
.reveal.active .card:nth-child(2) { animation-delay: 0.2s; }
.reveal.active .card:nth-child(3) { animation-delay: 0.3s; }
.reveal.active .card:nth-child(4) { animation-delay: 0.4s; }
.reveal.active .card:nth-child(5) { animation-delay: 0.5s; }

/* Enhanced Card Hover */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  border: 1px solid transparent;
}
.card h4 {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #1a1a1a;
  margin: 0 0 8px;
}
.card h4 + p {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 12px;
}
.card p {
  color: #4b5563;
  line-height: 1.7;
}
.card ul {
  margin: 0;
  padding-left: 18px;
}
.card ul li {
  color: #4b5563;
  margin-bottom: 8px;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: rgba(201, 132, 42, 0.1);
}
.lead { padding: 64px 0 }
.section { padding: 96px 0 }
.contact-list { list-style: none; padding: 0; margin: 0 }
.contact-list li { margin-bottom: 8px }
.contact-list a { color: var(--accent-2); text-decoration: none; font-weight: 600 }
.site-footer {
  background: #111;
  color: #fff;
  padding: 64px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.footer-left, .footer-right {
  display: flex;
  flex-direction: column;
}
.footer-grid .brand {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-grid p {
  color: #ccc;
  line-height: 1.5;
  margin: 0 0 16px;
}
.footer-grid a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.footer-bottom { 
  border-top: 1px solid rgba(255,255,255,0.1); 
  margin-top: 48px; 
  padding-top: 24px; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888;
}
.footer-bottom p { margin: 0; }
.footer-links a {
  color: #6d28d9;
  text-decoration: none;
  margin-left: 16px;
}
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-links a { margin: 0 8px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .photo-placeholder { max-width: 520px; height: 420px }
}
@media (max-width: 800px) {
  .header-inner { 
    grid-template-columns: auto 1fr auto; 
    justify-items: end;
  }
  .brand { margin-right: auto; }
  
  .nav { 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    background: #fdfbf7; /* Off-white background from design */
    padding: 100px 24px 48px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s, opacity 0.4s ease;
    z-index: 90;
    visibility: hidden;
    opacity: 0;
  }
  
  .nav.open { 
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s, opacity 0.4s ease;
  }

  .nav a {
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 500;
  }

  /* Hide the CTA in the header grid on mobile, move it inside the menu */
  .header-inner .cta { display: none; }
  
  /* Show CTA inside menu */
  .nav .cta-mobile {
    display: inline-block;
    background: #dbab71;
    color: #1a1a1a;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 24px;
    border-top: 1px solid #eee;
    padding-top: 32px;
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: transparent; /* Reset to container style */
  }
  
  .nav .cta-mobile-btn {
     background: #dbab71;
     color: #1a1a1a;
     padding: 14px 32px;
     border-radius: 8px;
     text-decoration: none;
     font-weight: 700;
     display: inline-block;
     width: 100%;
     max-width: 280px;
     text-align: center;
  }

  .nav-toggle { display: block; }
  
  .grid.two, .grid.three { grid-template-columns: 1fr }
  .hero-copy h1 { font-size: 40px }
  .lead h2, .section h2 { font-size: 34px }
  .section { padding: 64px 0 }
  .grid { gap: 24px }
}

/* Accessibility focus styles */
.btn:focus-visible, 
.header-inner .cta:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
