:root {
  --primary-color: #080d12;
  --secondary-color: #121a24;
  --accent-gold: #D4AF37;
  --accent-gold-hover: #e8c65d;
  --text-main: #f8f9fa;
  --text-muted: #abb8c3;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--primary-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Base layout & Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
}

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

section {
  padding: 80px 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  background: rgba(8, 13, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.3s ease;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}
.logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-gold), #b48e28);
  color: #080d12;
  font-weight: 600;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: none;
}
.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold-hover);
  box-shadow: none;
}

/* Header btn specifier for specificity */
.nav-links a.btn-outline {
  color: var(--accent-gold);
}
.nav-links a.btn-outline:hover {
  color: var(--accent-gold-hover);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 5%;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/hero_bg_law.png') center/cover no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(8, 13, 18, 0.95) 0%, rgba(8, 13, 18, 0.75) 50%, rgba(8, 13, 18, 0.3) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-main);
  animation: slideUp 1s ease-out forwards;
  opacity: 0;
}

.hero-content h1 span {
  color: var(--accent-gold);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
  animation: slideUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  animation: slideUp 1s ease-out 0.4s forwards;
  opacity: 0;
  display: flex;
  gap: 20px;
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h2 {
  font-size: 2.8rem;
  color: var(--text-main);
  margin-bottom: 15px;
}
.section-title p {
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-sans);
}

/* About Section */
.about {
  background-color: var(--secondary-color);
  border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Quote Box */
.quote-box {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(8,13,18,0.2));
  padding: 50px 40px;
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.quote-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: #eaedf0;
  line-height: 1.8;
  margin-bottom: 25px;
}
.quote-author {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* Services Sections */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(18, 26, 36, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 40px;
  border-radius: 8px;
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(18, 26, 36, 0.8);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.service-icon {
  font-size: 3rem;
  margin-bottom: 25px;
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold), #fff);
  background-clip: text;
  -webkit-background-clip: text;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-main);
}
.service-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* CTA / Contact */
.cta {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(8, 13, 18, 0.9)), var(--secondary-color);
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 100px 5%;
}
.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.cta p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: #05080c; /* Extra dark for footer */
  padding: 80px 5% 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}
.footer-col h4 {
  color: var(--accent-gold);
  font-size: 1.3rem;
  margin-bottom: 25px;
}
.footer-col p, .footer-col a {
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
  font-size: 0.95rem;
}
.footer-col a:hover {
  color: var(--accent-gold);
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(171, 184, 195, 0.6);
  font-size: 0.9rem;
}

/* Responsiveness */
@media(max-width: 900px) {
  .hero-content h1 { font-size: 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .quote-box { padding: 30px 25px; }
}

@media(max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; }
  .hero-buttons { flex-direction: column; }
  .nav-links a:not(.btn) { display: none; }
  .section-title h2 { font-size: 2.2rem; }
  .cta h2 { font-size: 2.2rem; }
  .service-card { padding: 40px 25px; }
}
