/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple: #6B3FA0;
  --purple-deep: #4A2272;
  --purple-light: #9B72CF;
  --purple-pale: #EDE3F6;
  --green: #2E7D5B;
  --green-light: #4CAF82;
  --green-pale: #E0F2E9;
  --turquoise: #1A9E96;
  --turquoise-light: #5CC5BF;
  --turquoise-pale: #DFF5F3;
  --white: #FFFFFF;
  --off-white: #FAF8FC;
  --cream: #F7F4FA;
  --gray-100: #F3F0F7;
  --gray-200: #E2DCE8;
  --gray-400: #9A8FAA;
  --gray-600: #5E5470;
  --gray-800: #2D2440;
  --text: #2D2440;
  --text-light: #5E5470;
  --shadow-sm: 0 1px 3px rgba(45,36,64,0.08);
  --shadow-md: 0 4px 12px rgba(45,36,64,0.1);
  --shadow-lg: 0 8px 30px rgba(45,36,64,0.12);
  --radius: 10px;
  --radius-lg: 16px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}

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

a {
  color: var(--purple);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--turquoise);
}

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

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107,63,160,0.08);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: -0.01em;
}

.logo:hover {
  color: var(--purple-deep);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

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

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

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

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--white);
  padding: 80px 32px 32px;
  box-shadow: var(--shadow-lg);
  gap: 8px;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  visibility: hidden;
}

.nav-links.open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
}

.nav-links a {
  display: block;
  padding: 10px 0;
  color: var(--gray-800);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
}

.nav-links a:hover {
  color: var(--purple);
}

.nav-cta {
  display: inline-block;
  background: var(--purple);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 8px;
  border: none !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--purple-deep);
  color: var(--white) !important;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  border: 2px solid transparent;
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.btn-primary:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* ===== HERO ===== */
.hero {
  padding: 100px 20px 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107,63,160,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26,158,150,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--turquoise);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.6rem;
  color: var(--gray-800);
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--purple);
  font-style: italic;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-images {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
  max-width: 560px;
  width: 100%;
}

.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.hero-img-1 { transform: rotate(-2deg); }
.hero-img-2 { transform: translateY(-10px); }
.hero-img-3 { transform: rotate(2deg); }

/* ===== ABOUT ===== */
.about {
  padding: 80px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--gray-800);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--purple);
}

.highlight-icon {
  font-size: 1.1rem;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

/* ===== SERVICES ===== */
.services {
  padding: 80px 0;
  background: var(--cream);
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 8px;
}

.services-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.service-card:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-md);
}

.service-img {
  height: 220px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.service-card:hover .service-img img {
  transform: scale3d(1.04, 1.04, 1);
}

.service-card h3 {
  padding: 20px 24px 8px;
  font-size: 1.3rem;
  color: var(--gray-800);
}

.service-card p {
  padding: 0 24px 24px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== GALLERY ===== */
.gallery {
  padding: 80px 0;
  background: var(--white);
}

.gallery h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 8px;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
  border-color: var(--purple-light);
  color: var(--purple);
}

.filter-btn.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
  contain: layout style paint;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.gallery-item:hover img {
  transform: scale3d(1.05, 1.05, 1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,36,64,0.25) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.gallery-item.hidden {
  display: none;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20,15,30,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  z-index: 2001;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: background 0.2s;
  z-index: 2001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
  transition: opacity 0.25s ease;
}

/* ===== TRUST / OUR PAINTERS ===== */
.trust {
  padding: 80px 0;
  background: var(--off-white);
}

.trust h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 8px;
}

.trust-content {
  display: grid;
  gap: 40px;
}

.trust-text p {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.trust-badges {
  display: grid;
  gap: 20px;
}

.badge {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 3px solid var(--purple-light);
}

.badge-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--purple);
}

.badge h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.badge p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ===== BOOKING / CONTACT ===== */
.booking {
  padding: 80px 0;
  background: var(--white);
}

.booking-grid {
  display: grid;
  gap: 40px;
}

.booking-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.booking-info > p {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.booking-note {
  background: var(--purple-pale);
  border-left: 3px solid var(--purple);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--purple-deep);
}

.contact-line {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.contact-line span {
  font-weight: 600;
  color: var(--gray-800);
  min-width: 80px;
}

.contact-line a {
  word-break: break-word;
}

.booking-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(107,63,160,0.1);
}

.form-group textarea {
  resize: vertical;
}

/* Netlify Forms honeypot */
.hidden-field {
  display: none;
}

/* Conditional form sections */
.conditional-fields {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.conditional-fields.show {
  display: flex;
}

.form-note {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-pale);
  padding: 10px 14px;
  border-radius: var(--radius);
  border-left: 3px solid var(--green);
}

/* Service card note */
.service-note {
  padding: 0 24px 24px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.form-success p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--turquoise-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE: TABLET (600px+) ===== */
@media (min-width: 600px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-img img {
    height: 200px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .trust-badges {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ===== RESPONSIVE: DESKTOP (900px+) ===== */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
    box-shadow: none;
    gap: 4px;
    align-items: center;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .nav-links a {
    padding: 8px 16px;
    font-size: 0.92rem;
    border-bottom: none;
  }

  .nav-cta {
    margin-top: 0;
    padding: 8px 22px !important;
    margin-left: 8px;
  }

  .hero {
    flex-direction: row;
    text-align: left;
    padding: 120px 40px 80px;
    gap: 60px;
  }

  .hero-content {
    flex: 1;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-images {
    flex: 1;
    margin-top: 0;
    max-width: 480px;
  }

  .hero-img img {
    height: 220px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .about {
    padding: 100px 0;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .about-text h2 {
    font-size: 2.4rem;
  }

  .services {
    padding: 100px 0;
  }

  .services h2 {
    font-size: 2.4rem;
  }

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

  .gallery {
    padding: 100px 0;
  }

  .gallery h2 {
    font-size: 2.4rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .trust {
    padding: 100px 0;
  }

  .trust h2 {
    font-size: 2.4rem;
  }

  .trust-content {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .booking {
    padding: 100px 0;
  }

  .booking-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .booking-info h2 {
    font-size: 2.4rem;
  }

  .booking-form-wrap {
    padding: 40px 32px;
  }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* stagger children */
.fade-in-group > * {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-group.visible > *:nth-child(1) { transition-delay: 0s; }
.fade-in-group.visible > *:nth-child(2) { transition-delay: 0.1s; }
.fade-in-group.visible > *:nth-child(3) { transition-delay: 0.2s; }

.fade-in-group.visible > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
  .fade-in-group > * { opacity: 1; transform: none; }
}

/* selection color */
::selection {
  background: var(--purple-pale);
  color: var(--purple-deep);
}
