/* Assured Law Firm - Updated Professional Styles */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --navy: #0d1b2a;
  --navy-light: #1b2838;
  --gold: #b8975a;
  --gold-light: #d4af7a;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --border: #e5e1d8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; color: var(--text); line-height: 1.6; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  padding: 8px 0;
}
.top-bar .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.top-social { display: flex; gap: 14px; }
.top-social a {
  color: #fff;
  opacity: 0.85;
  font-size: 0.9rem;
  transition: 0.3s;
}
.top-social a:hover { color: var(--gold); opacity: 1; }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 54px;
  width: auto;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 15px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  transition: 0.3s;
}
.nav-link:hover { color: var(--gold); }
.nav-link i { font-size: 0.6rem; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 250px;
  max-height: 65vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s ease;
  border-top: 2px solid var(--gold);
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: 0.2s;
}
.dropdown a:hover {
  background: var(--cream);
  color: var(--navy);
  padding-left: 24px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* ===== HERO ===== */
.hero {
  height: 88vh;
  min-height: 540px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner.jpeg') center/cover no-repeat;
  animation: bannerZoom 18s ease-in-out infinite alternate;
}
@keyframes bannerZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.18); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,42,0.5) 0%, rgba(13,27,42,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 820px;
  padding: 0 20px;
}
.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-shadow: 0 2px 25px rgba(0,0,0,0.45);
}
.hero-line {
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto;
}
.hero-content p {
  font-size: 1.12rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  opacity: 0.95;
  margin-bottom: 28px;
}
.btn-gold {
  display: inline-block;
  padding: 14px 38px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  transition: 0.3s;
}
.btn-gold:hover { background: var(--gold-light); }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-cream { background: var(--cream); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-title .line {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 15px;
}
.section-title p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* About - Hover Elements */
.about-elements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-element {
  background: var(--white);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
  cursor: pointer;
}
.about-element .icon {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 18px;
  transition: 0.4s;
}
.about-element h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.about-element .short-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: 0.4s;
}
.about-element .full-text {
  position: absolute;
  inset: 0;
  background: var(--navy);
  color: #fff;
  padding: 30px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s ease;
}
.about-element:hover .full-text {
  opacity: 1;
  transform: translateY(0);
}
.about-element:hover .icon,
.about-element:hover h3,
.about-element:hover .short-text {
  opacity: 0;
}

/* Practice Areas */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.practice-card {
  background: var(--white);
  padding: 32px 22px;
  text-align: center;
  border: 1px solid var(--border);
  transition: 0.35s ease;
  display: block;
  position: relative;
}
.practice-card .icon {
  font-size: 2.1rem;
  color: var(--gold);
  margin-bottom: 16px;
  transition: 0.35s;
}
.practice-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.practice-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.practice-card .arrow {
  font-size: 0.8rem;
  color: var(--gold);
  opacity: 0;
  transition: 0.3s;
}
.practice-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}
.practice-card:hover .icon { transform: scale(1.12); }
.practice-card:hover .arrow { opacity: 1; }

/* Testimonials */
.testimonials { background: var(--navy); color: #fff; }
.testimonials .section-title h2,
.testimonials .section-title p { color: #fff; }
.testimonial-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-item { display: none; }
.testimonial-item.active { display: block; }
.quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}
.author { color: var(--gold); font-weight: 500; }
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
}
.dot.active { background: var(--gold); }

/* Blog & Insights */
.blog-grid, .insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card, .insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: 0.3s;
}
.blog-card:hover, .insight-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.blog-card img, .insight-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.blog-content, .insight-content { padding: 22px; }
.blog-content h4, .insight-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.blog-content p, .insight-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.read-more {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 10px;
}

/* CTA & Footer */
.cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  margin-bottom: 12px;
}
.cta p { margin-bottom: 25px; opacity: 0.9; }

.footer {
  background: var(--navy-light);
  color: #fff;
  padding: 40px 0 25px;
  text-align: center;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.3s;
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.copyright { font-size: 0.82rem; opacity: 0.75; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  overflow-y: auto;
  padding: 70px 25px 40px;
}
.mobile-menu.active { display: block; }
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.mobile-nav { list-style: none; }
.mobile-nav > li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav > li > a {
  display: block;
  padding: 16px 0;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mobile-submenu {
  display: none;
  background: rgba(0,0,0,0.25);
  padding: 5px 0;
}
.mobile-submenu.active { display: block; }
.mobile-submenu a {
  display: block;
  padding: 11px 15px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.mobile-submenu a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 1100px) {
  .nav-link { padding: 12px 11px; font-size: 0.73rem; }
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .about-elements { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid, .insights-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.8rem; }
}
@media (max-width: 600px) {
  .hero { height: 78vh; }
  .hero-content h1 { font-size: 2.1rem; }
  .practice-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .logo img { height: 44px; }
}
