@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;600;700&family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&family=Playfair+Display:ital,wght@0,400..700;1,400..700&display=swap');

:root {
  --purple: #6d2cb4;
  --blue: #003c73;
  --gold: #cda618;
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-light: #f8f9fa;
  --gray-medium: #666;
  --gray-dark: #333;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
}

h1, h2 {
  font-family: 'Tan Algean', 'TAN Aegean', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.2;
}

h3, h4, h5, h6 {
  font-family: 'Futura', 'Jost', 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.section-header p {
  color: var(--gray-medium);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 15px auto 0;
}

/* HEADER & NAV */
header {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-header {
  height: 50px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

nav a {
  color: white;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  position: relative;
}

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

nav a.active {
  color: var(--gold);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.cta-header {
  background: var(--gold);
  color: var(--black);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
}

.cta-header:hover {
  background: #e0b820;
}

.cta-header.active::after {
  content: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple), var(--blue));
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./images/alfred-back.webp') center/cover;
  opacity: 0.3;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109,44,180,0.5), rgba(0,60,115,0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 35px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Futura', 'Jost', 'Montserrat', sans-serif;
}

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

.btn-primary:hover {
  background: #e0b820;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(205,166,24,0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--purple);
  transform: translateY(-2px);
}

.btn-purple {
  background: var(--purple);
  color: white;
}

.btn-purple:hover {
  background: #5a2399;
  transform: translateY(-2px);
}

/* CARDS & GRIDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.card h3 {
  margin-bottom: 15px;
}

.three-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-block {
  background: white;
  border-radius: 8px;
  padding: 35px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-block:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-block.purple { border-top: 4px solid var(--purple); }
.service-block.gold { border-top: 4px solid var(--gold); }
.service-block.blue { border-top: 4px solid var(--blue); }

.service-block h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-block ul {
  list-style: none;
  margin: 20px 0;
}

.service-block li {
  padding: 8px 0;
  color: var(--gray-dark);
}

.service-block li::before {
  content: '✓ ';
  color: var(--gold);
  font-weight: bold;
  margin-right: 8px;
}

.service-meta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
}

.service-price {
  font-size: 1.6rem;
  color: var(--purple);
  font-weight: 700;
  margin: 10px 0;
}

.service-label {
  color: var(--gray-medium);
  font-size: 0.9rem;
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: white;
  padding: 70px 40px;
  border-radius: 8px;
  text-align: center;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: white;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.cta-section p {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./images/awd.webp') center/contain;
  opacity: 0.03;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: white;
  display: block;
  padding: 5px 0;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--gold);
  text-decoration: none;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* FORMS */
.form-section {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--gray-dark);
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(109,44,180,0.1);
}

/* UTILITY */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

.blue-bg { background: var(--gray-light); }

.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav ul { gap: 12px; }
  nav a { font-size: 13px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  nav ul { gap: 15px; }
  nav a { font-size: 13px; }

  .hero {
    height: 450px;
  }

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

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .three-service-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .content-two-col {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav {
    display: none;
  }

  nav.active {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--purple);
    padding: 20px;
  }

  nav.active ul {
    flex-direction: column;
    gap: 10px;
  }

  .cta-section {
    padding: 50px 25px;
  }

  .service-block {
    padding: 25px;
  }

  section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }

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

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

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .form-section {
    padding: 25px;
  }

  .content-two-col {
    gap: 25px;
  }

  .service-price {
    font-size: 1.4rem;
  }
}

/* FAQ ACCORDION STYLES */
.faq-section {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.05);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 20px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--purple);
  cursor: pointer;
  user-select: none;
  font-family: 'Futura', 'Jost', 'Montserrat', sans-serif;
  transition: var(--transition);
}
.faq-question:hover {
  color: var(--gold);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--gray-dark);
  transition: max-height 0.3s ease-out, margin-top 0.3s ease-out;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 12px;
}
.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  color: var(--gold);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* BLOG ARTICLE TYPOGRAPHY & BREATHING ROOM */
article {
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 0;
}
article h1 {
  font-family: 'Tan Algean', 'TAN Aegean', 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--blue);
}
article h2 {
  font-family: 'Tan Algean', 'TAN Aegean', 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--blue);
  line-height: 1.3;
}
article h3 {
  font-family: 'Futura', 'Jost', 'Montserrat', sans-serif;
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--purple);
}
article p {
  font-size: 1.125rem; /* 18px */
  line-height: 1.85;
  margin-bottom: 24px;
  color: var(--gray-dark);
}
article ul, article ol {
  margin-bottom: 24px;
  padding-left: 28px;
}
article li {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--gray-dark);
}
article strong {
  color: var(--black);
  font-weight: 600;
}
article blockquote {
  margin: 36px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--gold);
  background: var(--gray-light);
  font-style: italic;
  border-radius: 0 8px 8px 0;
}
article blockquote p {
  margin-bottom: 0;
}

