/* ============================================
   Providence Academy - Main Stylesheet
   Colors: Navy #1a1a2e, Gold #d4a843, White #ffffff
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

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

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  transition: all 0.3s ease;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.nav-logo-icon {
  color: #d4a843;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #c8c8d4;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: #d4a843;
}

.nav-cta {
  background: #d4a843 !important;
  color: #1a1a2e !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: #e0b854 !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(212, 168, 67, 0.05) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: #d4a843;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #ffffff;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #b8b8cc;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-network {
  color: #8888aa;
  font-size: 0.85rem;
}

.hero-network a {
  color: #d4a843;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-network a:hover {
  color: #e0b854;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #666680;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #d4a843, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: #d4a843;
  color: #1a1a2e;
}

.btn-primary:hover {
  background: #e0b854;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: #d4a843;
  color: #d4a843;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 100px 0;
}

.section-light {
  background: #ffffff;
}

.section-dark {
  background: #1a1a2e;
  color: #ffffff;
}

.section-accent {
  background: #f8f6f0;
}

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

.section-label {
  display: inline-block;
  color: #d4a843;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label.light {
  color: #d4a843;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1a1a2e;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title.light {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-subtitle.light {
  color: #b8b8cc;
}

/* ============================================
   Mission Grid
   ============================================ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.mission-card {
  text-align: center;
  padding: 40px 24px;
  background: #f8f6f0;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
}

.mission-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.mission-card h3 {
  color: #1a1a2e;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.mission-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.mission-statement {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.mission-statement blockquote {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.mission-statement blockquote p {
  color: #d4a843;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px;
}

.mission-statement blockquote cite {
  color: #8888aa;
  font-size: 0.9rem;
  font-style: normal;
}

.mission-statement > p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(212, 168, 67, 0.08);
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
}

.feature-number {
  color: #d4a843;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  opacity: 0.6;
}

.feature-card h3 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature-card p {
  color: #b8b8cc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.extra-programs {
  text-align: center;
}

.extra-programs h3 {
  color: #d4a843;
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.program-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c8c8d4;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   Schedule / Day in the Life
   ============================================ */
.schedule {
  max-width: 700px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
  align-items: flex-start;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  min-width: 100px;
  font-weight: 700;
  color: #d4a843;
  font-size: 0.95rem;
  padding-top: 2px;
  font-family: 'Inter', sans-serif;
}

.schedule-content h4 {
  color: #1a1a2e;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.schedule-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================
   Admissions
   ============================================ */
.admissions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.admissions-process h3 {
  color: #1a1a2e;
  margin-bottom: 32px;
  font-size: 1.5rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  min-width: 40px;
  height: 40px;
  background: #1a1a2e;
  color: #d4a843;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.process-step h4 {
  color: #1a1a2e;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.process-step p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ============================================
   Forms
   ============================================ */
.form {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.form h3 {
  color: #1a1a2e;
  margin-bottom: 24px;
  font-size: 1.3rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4a843;
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ============================================
   Tour Section
   ============================================ */
.tour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tour-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tour-info-card {
  background: #f8f6f0;
  padding: 32px;
  border-radius: 12px;
}

.tour-info-card h3 {
  color: #1a1a2e;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.tour-info-card ul {
  list-style: none;
  padding: 0;
}

.tour-info-card li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.tour-info-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #d4a843;
  font-weight: 700;
}

.tour-info-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tour-info-card strong {
  color: #1a1a2e;
}

/* ============================================
   Location
   ============================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.location-info h3 {
  color: #d4a843;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.location-info p {
  color: #b8b8cc;
  font-size: 1rem;
  line-height: 1.6;
}

.location-info a {
  color: #d4a843;
  transition: color 0.3s;
}

.location-info a:hover {
  color: #e0b854;
}

.location-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #12121f;
  color: #8888aa;
  padding: 64px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-icon {
  color: #d4a843;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-verse {
  color: #d4a843;
  font-style: italic;
  margin-top: 12px;
  font-family: 'Playfair Display', serif;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: #8888aa;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d4a843;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 968px) {
  .mission-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admissions-grid,
  .tour-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .mission-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .schedule-item {
    flex-direction: column;
    gap: 8px;
  }

  .schedule-time {
    min-width: auto;
  }

  .section {
    padding: 64px 0;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }

  .form {
    padding: 24px;
  }

  .hero-scroll {
    display: none;
  }
}

/* ============================================
   Animations
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .mission-card,
  .feature-card,
  .schedule-item,
  .process-step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .mission-card.visible,
  .feature-card.visible,
  .schedule-item.visible,
  .process-step.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
