@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,500;0,700;1,500&display=swap');

:root {
  /* Dark Mode Aesthetic with Gold/Amber Accents */
  --clr-bg-main: #0f1115;
  --clr-bg-surface: #1a1d24;
  --clr-bg-surface-glass: rgba(26, 29, 36, 0.7);
  --clr-accent: #d4af37; /* Luthier Gold / Wood */
  --clr-accent-glow: rgba(212, 175, 55, 0.4);
  --clr-text-main: #f8f9fa;
  --clr-text-muted: #9ca3af;
  --clr-border: #2d3748;

  /* Fluid Typography */
  --fs-h1: clamp(2.5rem, 6vw + 1rem, 5rem);
  --fs-h2: clamp(2rem, 4vw + 1rem, 3.5rem);
  --fs-h3: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  --fs-body: clamp(1rem, 1.2vw + 0.5rem, 1.125rem);
  
  /* Fluid Spacing */
  --space-xs: clamp(0.5rem, 1vw, 1rem);
  --space-sm: clamp(1rem, 2vw, 2rem);
  --space-md: clamp(2rem, 4vw, 4rem);
  --space-lg: clamp(4rem, 8vw, 8rem);
  
  /* Radii & Effects */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

::selection {
  background: var(--clr-accent);
  color: var(--clr-bg-main);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-body);
  color: var(--clr-text-main);
  background-color: var(--clr-bg-main);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
}

h1 i, h2 i {
  font-style: italic;
  color: var(--clr-accent);
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

/* Layout: Sticky Sidebar on Desktop */
.layout-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar-header {
  position: sticky;
  top: 0;
  width: 300px;
  height: 100vh;
  background-color: var(--clr-bg-surface);
  border-right: 1px solid var(--clr-border);
  padding: var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 100;
}

.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-accent);
  margin-bottom: var(--space-md);
  line-height: 1;
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.nav__link {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--clr-text-muted);
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.nav__link:hover, .nav__link.active {
  color: var(--clr-text-main);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--clr-accent);
  transition: width var(--transition-fast);
}

.nav__link:hover::after { width: 100%; }

.main-content {
  flex-grow: 1;
  width: calc(100% - 300px);
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* UI Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 0; /* Brutalist/Elegant hard edges */
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  font-size: 0.9rem;
}

.btn--primary {
  background-color: var(--clr-accent);
  color: var(--clr-bg-main);
}

.btn--primary:hover {
  background-color: #fff;
  box-shadow: 0 0 20px var(--clr-accent-glow);
  transform: scale(1.02);
}

.btn--outline {
  background: transparent;
  border-color: var(--clr-text-muted);
  color: var(--clr-text-main);
}
.btn--outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* Hero - Split Screen */
.hero {
  display: flex;
  min-height: 100vh;
}

.hero__text-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-md);
  background: var(--clr-bg-main);
}

.hero__image-area {
  flex: 1.2;
  position: relative;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: brightness(0.85);
  transition: transform var(--transition-slow);
}
.hero__image-area:hover .hero__img {
  transform: scale(1.05);
}

.hero__title {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-sm);
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-md);
  max-width: 500px;
}

/* Reveal Animation Class */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Social Proof (Logos) */
.social-proof {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--clr-border);
  background-color: var(--clr-bg-surface);
}
.social-proof__list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--space-md);
  opacity: 0.6;
}
.social-proof__list svg {
  height: 30px;
  fill: currentColor;
}

/* About - Overlapping Bento Grid */
.about { padding: var(--space-lg) 0; }
.about__bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
  align-items: center;
}
.about__content {
  grid-column: 1 / 7;
  z-index: 2;
  background: var(--clr-bg-surface-glass);
  backdrop-filter: blur(16px);
  padding: var(--space-md);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}
.about__img-wrapper {
  grid-column: 6 / 13;
  z-index: 1;
}

/* Services - Glass Cards */
.services {
  padding: var(--space-lg) 0;
  background-image: radial-gradient(circle at top right, var(--clr-bg-surface), var(--clr-bg-main));
}
.services__header { text-align: center; margin-bottom: var(--space-lg); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}
.service-card {
  background: var(--clr-bg-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card__img-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}
.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.service-card:hover .service-card__img { transform: scale(1.1); }

.service-card__body {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-card__title { font-size: var(--fs-h3); margin-bottom: var(--space-xs); }
.service-card__desc { color: var(--clr-text-muted); margin-bottom: var(--space-md); flex-grow: 1; }

/* Testimonials & FAQ */
.faq-test {
  padding: var(--space-lg) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-h3);
  font-style: italic;
  color: var(--clr-accent);
  margin-bottom: var(--space-sm);
}
.testimonial-author { color: var(--clr-text-muted); }

.faq__item {
  border-bottom: 1px solid var(--clr-border);
  padding: var(--space-sm) 0;
}
.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-family: 'Lato', sans-serif;
  color: var(--clr-text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-fast);
  color: var(--clr-text-muted);
}
.faq__item.active .faq__answer {
  max-height: 400px;
  margin-top: var(--space-xs);
}

/* Footer */
.footer {
  background-color: #050608;
  padding: var(--space-lg) var(--space-sm) var(--space-md);
  border-top: 1px solid var(--clr-border);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}
.footer__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--clr-accent);
}
.footer__list { display: flex; flex-direction: column; gap: var(--space-xs); color: var(--clr-text-muted); }
.footer__link:hover { color: var(--clr-text-main); }
.footer__bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--clr-border);
  display: flex;
  justify-content: space-between;
  color: var(--clr-text-muted);
  font-size: 0.875rem;
}

/* Cookie Banner - Glassmorphism */
.cookie-banner {
  position: fixed;
  bottom: var(--space-sm);
  right: var(--space-sm);
  background: rgba(26, 29, 36, 0.85);
  backdrop-filter: blur(12px);
  padding: var(--space-md);
  border: 1px solid var(--clr-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  width: calc(100% - var(--space-sm)*2);
  max-width: 450px;
  z-index: 1000;
  display: none;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-fast);
}
.cookie-banner.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__btns { margin-top: var(--space-sm); display: flex; gap: var(--space-xs); }

/* Responsive */
@media (max-width: 1024px) {
  .layout-wrapper { flex-direction: column; }
  .sidebar-header {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid var(--clr-border);
    flex-direction: row;
    align-items: center;
  }
  .nav__logo { margin-bottom: 0; }
  .nav__list { flex-direction: row; }
  .main-content { width: 100%; }
  .hero { flex-direction: column; }
  .about__bento { display: flex; flex-direction: column-reverse; }
  .faq-test { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav__list { display: none; } /* Mobile menu needed in real life, hiding for brevity */
}

/* Page Headers for Internal Pages */
.page-header {
  padding: var(--space-lg) 0 var(--space-md);
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-bg-surface);
}
.page-content { padding: var(--space-lg) 0; max-width: 800px; }
.page-content p { margin-bottom: var(--space-sm); color: var(--clr-text-muted); }
.page-content h2 { margin-bottom: var(--space-sm); margin-top: var(--space-md); color: var(--clr-accent); }
