/* --- CSS VARIABLES & RESET --- */
:root {
  --primary-blue: #0f172a; /* Dark Navy */
  --accent-gold: #c5a059; /* Law Gold */
  --whatsapp-green: #25d366;
  --light-gray: #f8f9fa;
  --text-dark: #333;
}

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

body {
  font-family: "Lato", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}

/* --- DISCLAIMER MODAL (Compliance) --- */
#disclaimer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95); /* Dark overlay */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.disclaimer-box {
  background: white;
  max-width: 600px;
  padding: 40px;
  border-top: 5px solid var(--accent-gold);
  border-radius: 4px;
  text-align: center;
}

.disclaimer-box h2 {
  color: var(--primary-blue);
  margin-bottom: 15px;
}
.disclaimer-box p {
  font-size: 0.95rem;
  color: #555;
  text-align: justify;
  margin-bottom: 20px;
}

.agree-btn {
  background-color: var(--primary-blue);
  color: white;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  font-weight: bold;
}
.agree-btn:hover {
  background-color: var(--accent-gold);
  color: #000;
}

/* --- NAVIGATION --- */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}
.logo span {
  color: var(--accent-gold);
}

.nav-links a {
  margin-left: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-links a:hover {
  color: var(--accent-gold);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
}

/* --- HERO SECTION --- */
.hero {
  /* Updated to use your local image */
  background:
    linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)),
    url("./assets/hero-bg.png");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.cta-btn {
  display: inline-block;
  background-color: var(--accent-gold);
  color: #000;
  padding: 15px 35px;
  font-weight: bold;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cta-btn:hover {
  background-color: white;
}

/* --- SECTIONS GENERAL --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
}
.section-title .divider {
  height: 3px;
  width: 60px;
  background: var(--accent-gold);
  margin: 0 auto;
}

/* --- MODERN ABOUT LAYOUT (Horizontal) --- */
.about-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  text-align: left;
}

.profile-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  flex-shrink: 0; /* Prevents image from squishing */
}

.about-text {
  flex: 1;
}

/* --- PRACTICE AREAS --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.area-card {
  background: #fff;
  padding: 30px;
  border: 1px solid #eee;
  border-top: 3px solid var(--primary-blue);
  transition: 0.3s;
  text-align: center;
}
.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.area-card i {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
}
.area-card h3 {
  margin-bottom: 10px;
  color: var(--primary-blue);
}

/* --- MODERN CONTACT LAYOUT (Horizontal) --- */
.contact-bg {
  background-color: var(--light-gray);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.contact-item {
  flex: 1;
  background: white;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-bottom: 4px solid var(--primary-blue);
}
.contact-item i {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
  display: block;
}
.contact-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-blue);
  font-size: 1.1rem;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: var(--whatsapp-green);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}
/* --- REVIEWS SECTION --- */
.reviews-section {
  background-color: white;
  margin-top: 30px;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.review-card {
  background: #f9f9f9;
  padding: 20px;
  border-left: 4px solid var(--accent-gold);
  text-align: left;
  border-radius: 4px;
}
.stars {
  color: #f39c12;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.review-text {
  font-style: italic;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}
.review-author {
  font-weight: bold;
  color: var(--primary-blue);
  font-size: 0.9rem;
}

/* --- FOOTER --- */
footer {
  background: var(--primary-blue);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 850px) {
  .hero h1 {
    font-size: 2rem;
  }
  .nav-links {
    display: none;
  } /* Hide nav on mobile for simplicity */
  .menu-toggle {
    display: none;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  /* Stack horizontally items back to vertical on mobile */
  .about-layout {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .profile-photo {
    width: 200px;
    height: 200px;
  }
  .contact-row {
    flex-direction: column;
  }
}
