/* ============================================
   Bellview Photo Restoration — Main Stylesheet
   Palette: Charcoal + Warm White + Dusty Rose
   Fonts: Cormorant Garamond + Source Sans 3
   ============================================ */

:root {
  --charcoal: #2D2D2D;
  --charcoal-light: #3D3D3D;
  --warm-white: #FAF8F5;
  --cream: #F3EDE7;
  --dusty-rose: #C4918A;
  --dusty-rose-dark: #A8756E;
  --dusty-rose-light: #DBBAB5;
  --copper: #B87D6B;
  --copper-light: #D4A494;
  --text-dark: #2D2D2D;
  --text-body: #4A4A4A;
  --text-muted: #7A7A7A;
  --border-light: #E8E2DC;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(45,45,45,0.08);
  --shadow-md: 0 4px 20px rgba(45,45,45,0.12);
  --shadow-lg: 0 8px 40px rgba(45,45,45,0.16);
  --radius: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--warm-white);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: 3.25rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }

p { margin-top: 0; margin-bottom: 1rem; }

a {
  color: var(--dusty-rose-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--copper); }

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

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--dusty-rose), var(--copper));
  border: none;
  margin: 0.75rem auto 1.5rem;
  border-radius: 2px;
}

/* === Navigation === */
.navbar-bv {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  transition: box-shadow var(--transition);
}
.navbar-bv.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar-bv .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
}
.navbar-bv .navbar-brand:hover { color: var(--dusty-rose-dark); }
.navbar-bv .navbar-brand svg { flex-shrink: 0; }

.navbar-bv .nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.5rem 1rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.navbar-bv .nav-link:hover,
.navbar-bv .nav-link.active {
  color: var(--dusty-rose-dark);
}

.navbar-toggler {
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.6rem;
}
.navbar-toggler:focus { box-shadow: 0 0 0 2px var(--dusty-rose-light); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232D2D2D' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* === Hero === */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1rem 5rem;
  background: linear-gradient(145deg, var(--charcoal) 0%, #3A3235 50%, var(--charcoal-light) 100%);
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(196,145,138,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(184,125,107,0.1) 0%, transparent 50%),
    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='%23FAF8F5' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-section .hero-location {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dusty-rose-light);
  margin-bottom: 1.25rem;
}

.hero-section h1 {
  font-size: 3.75rem;
  color: var(--warm-white);
  max-width: 740px;
  margin: 0 auto 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-section .hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(250,248,245,0.75);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.btn-bv-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--dusty-rose), var(--copper));
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 2.25rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(196,145,138,0.3);
}
.btn-bv-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(196,145,138,0.45);
  color: #fff;
}

.btn-bv-outline {
  display: inline-block;
  background: transparent;
  color: var(--dusty-rose-dark);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8125rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--dusty-rose);
  cursor: pointer;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-bv-outline:hover {
  background: var(--dusty-rose);
  color: #fff;
}

.btn-bv-outline-light {
  display: inline-block;
  background: transparent;
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8125rem 2rem;
  border-radius: 50px;
  border: 2px solid rgba(250,248,245,0.4);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-bv-outline-light:hover {
  background: rgba(250,248,245,0.12);
  color: #fff;
  border-color: rgba(250,248,245,0.6);
}

/* === Studio Section === */
.studio-section {
  padding: 6rem 0;
  background: var(--warm-white);
}

.studio-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.studio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.studio-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--dusty-rose-light), var(--copper-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.studio-card .card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--charcoal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.studio-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.studio-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* === Process Section === */
.process-section {
  padding: 6rem 0;
  background: var(--cream);
}

.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
}
.process-step .step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dusty-rose), var(--copper));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.process-step h4 {
  font-size: 1.1875rem;
  margin-bottom: 0.625rem;
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 260px;
  margin: 0 auto;
}

/* === Before/After Section === */
.before-after-section {
  padding: 6rem 0;
  background: var(--warm-white);
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: ew-resize;
  box-shadow: var(--shadow-md);
  -webkit-user-select: none;
  user-select: none;
}
.ba-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider .ba-before {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}
.ba-slider .ba-after {
  z-index: 1;
}
.ba-slider .ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-slider .ba-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.ba-slider .ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232D2D2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: 2px center;
  background-repeat: no-repeat;
  z-index: 1;
}

.ba-label {
  position: absolute;
  bottom: 12px;
  padding: 4px 12px;
  background: rgba(45,45,45,0.7);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 4;
  pointer-events: none;
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }

/* === Testimonials === */
.testimonials-section {
  padding: 6rem 0;
  background: var(--cream);
}

.testimonial-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial-card .stars {
  color: var(--copper);
  margin-bottom: 1rem;
}
.testimonial-card .quote {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testimonial-card .author {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.9375rem;
}
.testimonial-card .location {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* === CTA Section === */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, #3A3235 100%);
  text-align: center;
}
.cta-section h2 {
  color: var(--warm-white);
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(250,248,245,0.7);
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* === Footer === */
.footer-bv {
  background: var(--charcoal);
  color: rgba(250,248,245,0.65);
  padding: 4rem 0 1.5rem;
  font-size: 0.9375rem;
}
.footer-bv h5 {
  color: var(--warm-white);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.footer-bv a {
  color: rgba(250,248,245,0.65);
  transition: color var(--transition);
}
.footer-bv a:hover { color: var(--dusty-rose-light); }
.footer-bv .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-bv .footer-links li { margin-bottom: 0.5rem; }
.footer-bv .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}
.footer-bv .footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--dusty-rose-light);
}
.footer-bv .footer-bottom {
  border-top: 1px solid rgba(250,248,245,0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(250,248,245,0.45);
}

/* === Cookie Banner === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--charcoal);
  color: rgba(250,248,245,0.85);
  padding: 1rem 1.5rem;
  z-index: 9999;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.15);
}
.cookie-banner a { color: var(--dusty-rose-light); text-decoration: underline; }
.cookie-banner .btn-cookie {
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.cookie-banner .btn-accept {
  background: var(--dusty-rose);
  color: #fff;
}
.cookie-banner .btn-accept:hover { background: var(--dusty-rose-dark); }
.cookie-banner .btn-decline {
  background: transparent;
  color: rgba(250,248,245,0.7);
  border: 1px solid rgba(250,248,245,0.3);
}
.cookie-banner .btn-decline:hover {
  border-color: rgba(250,248,245,0.5);
  color: #fff;
}

/* === Scroll Animation === */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.hidden {
  opacity: 1;
  transform: translateY(30px);
}

/* === Page Header (subpages) === */
.page-header {
  padding: 8rem 0 3.5rem;
  background: linear-gradient(145deg, var(--charcoal) 0%, #3A3235 100%);
  text-align: center;
}
.page-header h1 {
  color: var(--warm-white);
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}
.page-header p {
  color: rgba(250,248,245,0.65);
  max-width: 500px;
  margin: 0 auto;
}

/* === Page Content (subpages) === */
.page-content {
  padding: 4rem 0;
}
.page-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}
.page-content h3 {
  font-size: 1.375rem;
  margin: 2rem 0 0.75rem;
}
.page-content ul, .page-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.page-content li { margin-bottom: 0.4rem; }

/* === About Page === */
.about-story {
  padding: 5rem 0;
}
.about-story .lead-text {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--charcoal);
  line-height: 1.6;
}
.about-values {
  padding: 4rem 0;
  background: var(--cream);
}

/* === Contact Page === */
.contact-section {
  padding: 4rem 0;
}
.contact-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form .form-label {
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.9375rem;
}
.contact-form .form-control {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  background: var(--warm-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form .form-control:focus {
  border-color: var(--dusty-rose);
  box-shadow: 0 0 0 3px rgba(196,145,138,0.15);
}
.contact-info-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}
.contact-info-item .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--dusty-rose-light), var(--copper-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--charcoal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* === Responsive === */
@media (max-width: 991.98px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero-section h1 { font-size: 2.75rem; }
  .hero-section { min-height: 80vh; padding-top: 7rem; }
  .studio-section, .process-section, .before-after-section, .testimonials-section { padding: 4rem 0; }
}
@media (max-width: 575.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  .hero-section h1 { font-size: 2.25rem; }
  .hero-section .hero-subtitle { font-size: 1rem; }
  .studio-card, .contact-form, .contact-info-card { padding: 1.75rem; }
  .page-header h1 { font-size: 2rem; }
}
