/* =========================
   GLOBAL STYLES
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Lora', 'Georgia', 'Times New Roman', serif;
  color: #2c2c2c;
  background-color: #f0f0f0;
  line-height: 1.7;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  
  /* Background image dengan transparency */
  background-image: url('/assets/images/homepage.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Overlay transparency untuk background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(240, 240, 240, 0.85);
  z-index: -1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* =========================
   PAGE WRAPPER
========================= */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrap {
  flex: 1;
}

/* =========================
   HEADER
========================= */
header {
  background-color: #14213d;
  color: #f0f0f0;
  padding: 25px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
}

.logo a {
  display: block;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 0;
  color: #f0f0f0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #f0b450;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #f0b450;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  background: linear-gradient(135deg, #14213d 0%, #0a1220 100%);
  color: #f0f0f0;
  padding: 100px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(240,180,80,0.05)" stroke-width="1"/></svg>');
  opacity: 0.3;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 300;
  color: #f0b450;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  margin-top: 6px;
}

/* =========================
   CONTAINER / CONTENT
========================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 60px;
  background-color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

.container h2 {
  font-size: 34px;
  margin-bottom: 28px;
  color: #14213d;
  font-weight: 600;
  position: relative;
  padding-bottom: 14px;
}

.container h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background-color: #f0b450;
}

.container h3 {
  margin-top: 32px;
  font-size: 20px;
  color: #14213d;
  font-weight: 600;
}

.container p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 18px;
}

.container ul {
  margin: 20px 0;
}

.container ul li {
  margin-bottom: 12px;
  color: #4a4a4a;
  line-height: 1.7;
}

/* =========================
   CURVED CONTAINER (Profile, Practice Areas, Contact Only)
========================= */
.container.curved {
  padding-bottom: 80px;
  overflow: visible;
}

.container.curved::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  z-index: 1;
}

/* =========================
   HOME PAGE SERVICES
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.service-card {
  background-color: #f9f9f9;
  padding: 28px;
  border-left: 4px solid #f0b450;
  transition: all 0.3s ease;
}

.service-card:hover {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-card h3 {
  margin: 0 0 14px 0;
  font-size: 20px;
  color: #14213d;
}

.service-card p {
  margin: 0;
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* =========================
   PROFILE PAGE
========================= */
.service-list {
  list-style: none;
  padding-left: 0;
  margin-top: 24px;
}

.service-list li {
  margin-bottom: 20px;
  padding-left: 28px;
  position: relative;
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.7;
}

.service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #f0b450;
  font-size: 28px;
  line-height: 1;
  top: -4px;
}

/* =========================
   LAWYERS PAGE
========================= */
.lawyer {
  margin-bottom: 48px;
  padding: 32px;
  background-color: #f9f9f9;
  border-left: 4px solid #f0b450;
  transition: all 0.3s ease;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.lawyer:hover {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}

.lawyer-photo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #e0e0e0;
  border: 3px solid #f0b450;
}

.lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lawyer-info {
  flex: 1;
}

.lawyer-info h3 {
  margin: 0 0 10px 0;
  font-size: 22px;
  color: #14213d;
}

.lawyer-info .specialty {
  color: #f0b450;
  font-size: 15px;
  font-style: italic;
  margin-bottom: 14px;
  display: block;
}

.lawyer-info p {
  margin: 0 0 10px 0;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.support-note {
  margin-top: 40px;
  padding: 24px;
  background-color: #f9f9f9;
  border-left: 4px solid #14213d;
  font-style: italic;
  color: #555;
}

/* =========================
   CLIENT PAGE
========================= */
.clients-intro {
  font-size: 17px;
  margin-bottom: 32px;
  color: #4a4a4a;
  line-height: 1.8;
}

.client-list {
  list-style: none;
  padding-left: 0;
}

.client-list li {
  margin-bottom: 18px;
  padding-left: 32px;
  position: relative;
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.7;
}

.client-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: #f0b450;
  font-size: 24px;
  line-height: 1;
  top: -2px;
}

.client-list li strong {
  color: #14213d;
  font-weight: 600;
}

/* =========================
   PRACTICE AREAS LIST
========================= */
.practice-list {
  list-style: none;
  padding-left: 0;
  margin-top: 24px;
}

.practice-list li {
  margin-bottom: 16px;
  padding-left: 32px;
  position: relative;
  font-size: 16px;
  color: #4a4a4a;
}

.practice-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: #f0b450;
  font-size: 24px;
  line-height: 1;
}

/* =========================
   ACCORDION
========================= */
.accordion {
  margin-top: 32px;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
  background-color: #ffffff;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 48px 22px 0;
  font-size: 19px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: #14213d;
  position: relative;
  transition: all 0.3s ease;
  font-family: 'Lora', 'Georgia', 'Times New Roman', serif;
}

.accordion-header:hover {
  color: #f0b450;
  padding-left: 6px;
}

.accordion-header::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: #f0b450;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.accordion-header.active::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 0 0 24px 0;
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.8;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   CONTACT BOX
========================= */
.contact-box {
  background-color: #f9f9f9;
  padding: 36px;
  margin-top: 32px;
  border-left: 4px solid #f0b450;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-box p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8;
}

.contact-box strong {
  color: #14213d;
  font-weight: 600;
  font-size: 16px;
}

/* =========================
   FOOTER
========================= */
footer {
  background-color: #14213d;
  color: #f0f0f0;
  text-align: center;
  padding: 28px 20px;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-top: auto;
}

footer::before {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #f0b450;
  margin: 0 auto 16px;
}


/* =========================
   responsive design buat di hp
========================= */
@media (max-width: 768px) {
  header {
    padding: 14px 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .logo img {
    height: 30px;
  }

  nav {
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
  }

  nav a {
    font-size: 11px;
    letter-spacing: 0;
    padding: 4px 0;
    white-space: nowrap;
  }

  .hero {
    padding: 70px 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 15px;
  }

  .container {
    padding: 40px 24px;
  }

  .container h2 {
    font-size: 26px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lawyer {
    padding: 24px;
    flex-direction: column;
  }

  .lawyer-photo {
    width: 120px;
    height: 120px;
  }

  .accordion-header {
    font-size: 17px;
    padding-right: 40px;
  }

  .container.curved::after {
    height: 40px;
  }
}