/* ===================================
   VARIABLES & RESET
   =================================== */
:root {
  --slate-gray: #708090;
  --rose-gold: #B76E79;
  --rose-gold-light: #D4AF37;
  --background: #f8f9fa;
  --text-dark: #2c3e50;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--background);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1 {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
  color: var(--text-dark) !important;
}

h2 {
  font-size: 2rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-top: 3rem !important;
  margin-bottom: 1.5rem !important;
  color: var(--slate-gray) !important;
}

h3 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
  color: var(--slate-gray) !important;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

strong {
  font-weight: 700;
  color: var(--rose-gold);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  background-color: var(--white) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem 0 !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand .logo {
  height: 40px;
  width: auto;
}

.navbar-brand .brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-gray);
  letter-spacing: -0.5px;
}

.navbar-menu a.navbar-item {
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
  list-style: none !important;
}

.navbar-menu a.navbar-item:hover {
  color: var(--rose-gold);
  background-color: transparent !important;
}

.navbar-item::before,
.navbar-item::after {
  display: none !important;
  content: none !important;
}

.navbar-menu .navbar-item {
  list-style: none !important;
}

.navbar-burger {
  color: var(--slate-gray);
}

.cta-button {
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-light) 100%) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(183, 110, 121, 0.4);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #708090 0%, #536878 100%) !important;
  padding: 6rem 1.5rem !important;
  min-height: 500px !important;
}

.hero::before {
  content: '' !important;
  position: absolute !important;
  top: -50px !important;
  right: -50px !important;
  width: 300px !important;
  height: 300px !important;
  background: rgba(183, 110, 121, 0.15) !important;
  border-radius: 50% !important;
  animation: float 6s ease-in-out infinite !important;
}

.hero::after {
  content: '' !important;
  position: absolute !important;
  bottom: -80px !important;
  left: -80px !important;
  width: 400px !important;
  height: 400px !important;
  background: rgba(212, 175, 55, 0.1) !important;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%) !important;
  animation: rotate 20s linear infinite !important;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.1); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-body {
  position: relative !important;
  z-index: 10 !important;
}

.hero h1 {
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.hero p {
  color: var(--white) !important;
  font-size: 1.15rem !important;
  margin-bottom: 2rem !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.hero .cta-button {
  font-size: 1.1rem !important;
  padding: 0.75rem 2rem !important;
}

/* ===================================
   TABLE OF CONTENTS
   =================================== */
.table-of-contents {
  background-color: var(--white);
  border-left: 4px solid var(--rose-gold);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.table-of-contents ol {
  list-style: none !important;
  counter-reset: toc-counter;
  padding-left: 0 !important;
}

.table-of-contents ol li {
  counter-increment: toc-counter;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2rem;
  list-style: none !important;
}

.table-of-contents ol li::before {
  content: counter(toc-counter) "." !important;
  position: absolute;
  left: 0;
  color: var(--rose-gold);
  font-weight: 700;
  list-style: none !important;
}

.table-of-contents ol li::marker {
  display: none !important;
  content: none !important;
}

.table-of-contents a {
  color: var(--slate-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.table-of-contents a:hover {
  color: var(--rose-gold);
}

/* ===================================
   SECTIONS & CARDS
   =================================== */
.section {
  padding: 4rem 1.5rem;
}

.content-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.content-card img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===================================
   LISTS
   =================================== */
ul, ol {
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

.content-card ul li,
.section ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  list-style: none !important;
  font-size: 1.05rem;
}

.content-card ul li::before,
.section ul li::before {
  content: '\25B8' !important;
  position: absolute;
  left: 0;
  color: var(--rose-gold);
  font-size: 0.9rem;
}

.content-card ul li::marker,
.section ul li::marker {
  display: none !important;
  content: none !important;
}

.content-card ol li,
.section ol li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  list-style: none !important;
  counter-increment: list-counter;
  font-size: 1.05rem;
}

.content-card ol,
.section ol {
  counter-reset: list-counter;
}

.content-card ol li::before,
.section ol li::before {
  content: counter(list-counter) "." !important;
  position: absolute;
  left: 0;
  color: var(--rose-gold);
  font-weight: 700;
}

.content-card ol li::marker,
.section ol li::marker {
  display: none !important;
  content: none !important;
}

/* ===================================
   TABLES
   =================================== */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.table {
  background-color: var(--white);
  width: 100%;
  border-collapse: collapse;
}

.table thead {
  background: linear-gradient(135deg, var(--slate-gray) 0%, #536878 100%);
}

.table thead th {
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 1rem !important;
  text-align: left;
  font-size: 1.05rem;
}

.table tbody td {
  padding: 1rem !important;
  border-bottom: 1px solid #e9ecef;
  font-size: 1rem;
}

.table tbody tr:hover {
  background-color: rgba(183, 110, 121, 0.05);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: var(--white) !important;
  padding: 3rem 1.5rem 2rem;
}

.footer h3 {
  color: var(--white) !important;
  font-size: 1.25rem !important;
  margin-bottom: 1rem !important;
}

.footer a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  transition: color 0.3s ease;
  list-style: none !important;
}

.footer a:hover {
  color: var(--rose-gold) !important;
}

.footer ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer ul li {
  margin-bottom: 0.5rem;
  list-style: none !important;
}

.footer ul li::before,
.footer ul li::after {
  display: none !important;
  content: none !important;
}

.footer ul li::marker {
  display: none !important;
  content: none !important;
}

.footer p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.6rem !important;
  }

  h3 {
    font-size: 1.3rem !important;
  }

  .hero {
    padding: 4rem 1rem !important;
    min-height: 400px !important;
  }

  .content-card {
    padding: 1.5rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .table-of-contents {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.4rem !important;
  }

  .hero {
    padding: 3rem 1rem !important;
  }

  .cta-button {
    font-size: 0.95rem !important;
    padding: 0.6rem 1.5rem !important;
  }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-card {
  animation: fadeInUp 0.6s ease-out;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.rounded {
  border-radius: 50px !important;
}
