/* File: assets/css/custom.css
   Main styling for Divi Child — Dark (royal / majestic)
   English comments for maintainers.
*/

/* Root palette variables — change these to tune site color quickly */
:root{
  --bg: #0B1020;          /* dark background */
  --surface: #0F1724;     /* slightly lighter surface */
  --navy: #001F3F;        /* deep navy */
  --royal: #2855FF;       /* royal highlight */
  --muted: #9FB3C8;       /* muted body text */
  --text-light: #FFFFFF;  /* main text on dark backgrounds */
  --accent-gold: #EAB308; /* gold accent */
  --radius: 12px;
  --max-width: 1200px;
}

/* Basic global rules */
html,body{
  background: var(--bg);
  color: var(--text-light);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

/* Content wrapper */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}

/* Headings: use Playfair Display for a regal look */
h1,h2,h3,h4,h5 {
  font-family: "Playfair Display", "Georgia", serif;
  color: var(--royal);
  line-height: 1.08;
  margin: 0 0 12px 0;
}

/* Body text */
p, li, a, span {
  color: var(--muted);
}

/* Links and CTA */
a {
  color: var(--royal);
  text-decoration: underline;
}
a:hover { color: #94b8ff; }

/* Buttons */
.button, .et_pb_button, .et_pb_promo_button {
  background: linear-gradient(180deg, var(--royal), #1338b8);
  color: var(--text-light);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(40,85,255,0.16);
  border: none;
  font-weight: 700;
  text-decoration: none;
}

/* Header overrides for Divi header */
#main-header {
  background: linear-gradient(90deg, rgba(11,16,32,0.92), rgba(11,16,32,0.78));
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
#et-top-navigation, #et-secondary-menu {
  color: var(--text-light);
}

/* Primary menu items */
#et-top-navigation .menu-item a {
  color: var(--muted);
  font-weight:600;
}
#et-top-navigation .menu-item a:hover {
  color: var(--text-light);
}

/* Make the primary CTA in header more visible */
#top-menu .menu-item .et_pb_button {
  background: var(--accent-gold);
  color: #081024;
}

/* Dark hero block example */
.hero {
  background: linear-gradient(180deg, rgba(8,16,36,0.6), rgba(11,16,32,0.6)), url('../images/hero-bg.jpg') center/cover no-repeat;
  padding: 100px 24px;
  border-radius: var(--radius);
  color: var(--text-light);
}

/* Card styling used in sections */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(3,6,20,0.6);
  color: var(--muted);
}

/* Footer */
#main-footer {
  background: #06101b;
  color: rgba(255,255,255,0.75);
  padding: 40px 24px;
}

/* Small screens */
@media (max-width: 780px) {
  .hero { padding: 56px 18px; }
  .container { padding: 16px; }
}
