/* Template 39 - Royal Indigo / Majestic Luxury */
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Raleway:wght@300;400;600;800&display=swap");

:root {
  --gradient-1: linear-gradient(135deg, #4a148c 0%, #7b1fa2 100%);
  --gradient-2: linear-gradient(135deg, #673ab7 0%, #9c27b0 100%);
  --gradient-3: linear-gradient(135deg, #512da8 0%, #5e35b1 100%);
  --gradient-4: linear-gradient(135deg, #6a1b9a 0%, #8e24aa 100%);
  --gradient-5: linear-gradient(135deg, #4a148c 0%, #1a237e 100%);

  --bg-primary: #fafafa;
  --bg-secondary: #f5f5f5;
  --glass-bg: rgba(74, 20, 140, 0.05);
  --glass-border: rgba(74, 20, 140, 0.15);

  --text-primary: #1a1a1a;
  --text-secondary: #4a148c;
  --text-muted: #757575;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Raleway", sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, rgba(74, 20, 140, 0.03) 0%, transparent 50%),
    linear-gradient(225deg, rgba(123, 31, 162, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header with Royal Style */
.site-header {
  background: linear-gradient(90deg, #4a148c 0%, #7b1fa2 100%);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(74, 20, 140, 0.3);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo a {
  font-family: "Crimson Text", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 2px;
}

.site-logo a:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 1px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.site-nav a:hover {
  color: #ffffff;
}

/* Hero Section */
.section.head {
  padding: 7rem 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(74, 20, 140, 0.05) 0%, transparent 100%);
}

.section.head h1 {
  font-family: "Crimson Text", serif;
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section.head p {
  font-size: 1.3rem;
  color: var(--text-primary);
  max-width: 800px;
  line-height: 1.9;
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section header {
  text-align: center;
  margin-bottom: 4rem;
}

.section header h2 {
  font-family: "Crimson Text", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

.section header p {
  font-size: 1.2rem;
  color: var(--text-primary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Footer */
.footer {
  background: linear-gradient(90deg, #4a148c 0%, #7b1fa2 100%);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
  color: #ffffff;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-about {
  flex: 1;
  max-width: 400px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.footer-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

.copyright a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Animations */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: floatIn 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-size: 1.9rem;
  color: var(--text-secondary);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-family: "Crimson Text", serif;
  font-weight: 700;
  letter-spacing: 1px;
}
