:root {
  --black: #080808;
  --dark: #111111;
  --gray-dark: #2b2b2b;
  --gray: #777777;
  --gray-light: #f4f4f4;
  --white: #ffffff;
  --gold: #c9a646;
  --gold-light: #e6c96f;
  --shadow: rgba(0, 0, 0, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  width: 100%;
  display: block;
}

/* HEADER */

.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 166, 70, 0.25);
}

.navbar {
  max-width: 1180px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: var(--white);
  font-size: 0.95rem;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: var(--gold-light);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

/* HERO */

.hero {
  min-height: 100vh;
  padding: 130px 24px 70px;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.95), rgba(20,20,20,0.9)),
    radial-gradient(circle at top right, rgba(201,166,70,0.25), transparent 35%);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero-content,
.hero-image {
  max-width: 590px;
  justify-self: center;
}

.tag {
  display: inline-block;
  color: var(--gold-light);
  border: 1px solid rgba(201, 166, 70, 0.5);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  color: #dddddd;
  font-size: 1.1rem;
  margin-bottom: 34px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 50px;
  font-weight: 700;
  transition: 0.3s;
  text-align: center;
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(201, 166, 70, 0.25);
}

.btn.secondary {
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

.btn.secondary:hover {
  background: var(--gold);
  color: var(--black);
}

.photo-frame {
  position: relative;
  max-width: 410px;
  border-radius: 28px;
  padding: 12px;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold-light));
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(201, 166, 70, 0.25);
  border-radius: 34px;
  z-index: 0;
}

.photo-frame img {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

/* SECTIONS */

.section {
  padding: 90px 24px;
  max-width: 1180px;
  margin: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title span {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
}

.section-title h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 8px;
}

.section-title.light h2,
.section-title.light span {
  color: var(--white);
}

/* ABOUT */

.about-content {
  max-width: 900px;
  margin: auto;
  display: grid;
  gap: 22px;
  text-align: center;
  color: var(--gray-dark);
  font-size: 1.05rem;
}

/* LAW SECTION */

.law-section {
  max-width: 100%;
  background: var(--black);
  color: var(--white);
}

.law-grid {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.law-card {
  background: linear-gradient(180deg, #171717, #0d0d0d);
  border: 1px solid rgba(201, 166, 70, 0.25);
  padding: 34px;
  border-radius: 22px;
  transition: 0.3s;
}

.law-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
}

.law-card h3 {
  font-family: "Cinzel", serif;
  color: var(--gold-light);
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.law-card p {
  color: #d6d6d6;
}

/* SKILLS */

.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.skill-box {
  padding: 32px;
  border-radius: 22px;
  background: var(--gray-light);
  border-left: 5px solid var(--gold);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.skill-box h3 {
  font-family: "Cinzel", serif;
  margin-bottom: 18px;
  color: var(--black);
}

.skill-box li {
  margin-bottom: 10px;
  color: var(--gray-dark);
}

.skill-box li::before {
  content: "\2022";
  color: var(--gold);
  font-weight: bold;
  margin-right: 8px;
}

/* OBJECTIVES */

.objectives {
  padding-top: 40px;
}

.objective-card {
  max-width: 900px;
  margin: auto;
  padding: 42px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(201,166,70,0.12), rgba(255,255,255,1));
  border: 1px solid rgba(201, 166, 70, 0.35);
  box-shadow: 0 16px 35px rgba(0,0,0,0.08);
}

.objective-card p {
  margin-bottom: 18px;
  color: var(--gray-dark);
  font-size: 1.05rem;
}

/* QUOTE */

.quote-section {
  background: var(--dark);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}

.quote-section blockquote {
  max-width: 850px;
  margin: auto;
  font-family: "Cinzel", serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: var(--gold-light);
  line-height: 1.4;
}

/* CONTACT */

.contact {
  max-width: 100%;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.95), rgba(20,20,20,0.92));
  color: var(--white);
  text-align: center;
}

.contact p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: #dddddd;
}

/* FOOTER */

.footer {
  background: var(--black);
  color: #bbbbbb;
  text-align: center;
  padding: 28px 18px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(201, 166, 70, 0.25);
}

.footer p:last-child {
  color: var(--gold-light);
  margin-top: 6px;
}

/* BACK TO TOP */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--black);
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  display: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.back-to-top.show {
  display: block;
}

/* ANIMATION */

.section,
.hero-content,
.hero-image {
  opacity: 0;
  transform: translateY(25px);
  transition: 0.8s ease;
}

.section.visible,
.hero-content.visible,
.hero-image.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 42px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .photo-frame img {
    height: 460px;
  }

  .law-grid,
  .skills-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
  }

  .header {
    background: rgba(8, 8, 8, 0.98);
  }

  .navbar {
    position: relative;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    right: 0;
    width: 100%;
    background: var(--black);
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 18px;
    display: none;
    border: 1px solid rgba(201, 166, 70, 0.25);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
  }

  .section {
    padding: 70px 20px;
  }

  .hero {
    min-height: auto;
    padding: 120px 20px 64px;
  }

  .photo-frame img {
    height: 390px;
  }

  .law-card,
  .skill-box {
    padding: 28px;
    border-radius: 18px;
  }

  .objective-card {
    padding: 28px;
    border-radius: 20px;
  }

  .quote-section {
    padding: 64px 20px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 16px 18px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .tag {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .hero {
    padding: 110px 18px 56px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 12px 18px;
  }

  .photo-frame {
    max-width: 310px;
    padding: 9px;
    border-radius: 22px;
  }

  .photo-frame::before {
    inset: -10px;
    border-radius: 26px;
  }

  .photo-frame img {
    height: 350px;
    border-radius: 18px;
    object-position: center top;
  }

  .section {
    padding: 58px 18px;
  }

  .section-title {
    margin-bottom: 34px;
  }

  .section-title h2 {
    font-size: 1.85rem;
  }

  .about-content {
    text-align: left;
    font-size: 1rem;
  }

  .law-card,
  .skill-box,
  .objective-card {
    padding: 24px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 2rem;
  }

  .photo-frame {
    max-width: 270px;
  }

  .photo-frame img {
    height: 315px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
