/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0a1a2b;
  background-color: #ffffff;
}

/* HERO SLIDESHOW */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  animation: slideshow 20s infinite;
  background-size: cover;
  background-position: center;
}

@keyframes slideshow {
  0%   { background-image: url('Image1.png'); }
  25%  { background-image: url('Image2.png'); }
  50%  { background-image: url('Image3.png'); }
  75%  { background-image: url('Image4.png'); }
  100% { background-image: url('Image1.png'); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* HERO TITLE */
.hero-title {
  position: absolute;
  top: 40px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.hero-title h1 {
  font-size: 3.4rem;
  letter-spacing: 0.10em;
  color: #ffffff;
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0,0,0,0.65);
}

.hero-title h1::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: #c89b3c;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 280px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background-color: #c89b3c;
  color: #0a1a2b;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #c89b3c;
  background-color: transparent;
  color: #0a1a2b;
  font-weight: 500;
  cursor: pointer;
}

/* ABOUT SECTION */
.about-section {
  padding: 40px 20px;
  background: #f0f2f5;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.about-left {
  flex: 1 1 300px;
  text-align: center;
}

.about-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}

.about-right {
  flex: 1 1 400px;
  border-left: 4px solid #c89b3c;
  padding-left: 20px;
}

.about-right h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
  color: #0a1a2b;
}

.about-right p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

/* PRACTICE AREAS */
.practice-areas {
  background: #ffffff;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.practice-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.practice-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #0a1a2b;
  border-bottom: 2px solid #c89b3c;
  display: inline-block;
  padding-bottom: 4px;
}

.practice-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333333;
}

/* CONTACT SECTION */
.section {
  padding: 40px 20px;
}

.contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.contact-details,
.contact-form-wrapper {
  flex: 1 1 260px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row label {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.form-row input,
.form-row textarea {
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #cbd2dd;
  font-size: 0.95rem;
}

/* FOOTER */
.site-footer {
  padding: 20px;
  background-color: #0a1a2b;
  color: #ffffff;
  text-align: center;
}

/* FADE-IN ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition:
    opacity 1.1s ease-out,
    transform 1.1s ease-out,
    filter 1.1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
