/* Primrose School of West McDonough - Botanical Elegance Theme */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,400&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* Brand Colors */
  --primary: #5e6738;
  --primary-light: #7a8549;
  --primary-dark: #4a5229;
  --secondary: #006ba6;
  --secondary-light: #1a8bc9;
  --secondary-dark: #005485;

  /* Warm Neutrals */
  --cream: #FDF9F3;
  --cream-dark: #F5EDE0;
  --warm-white: #FFFCF7;
  --soft-gray: #847872;
  --text-dark: #3D2F2A;
  --text-light: #6B5B54;

  /* Accent Colors */
  --blush: #F2E4E1;
  --sage: #E8F0E0;
  --lavender: #F0E8F2;

  /* Typography */
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-soft: 0 4px 20px rgba(94, 103, 56, 0.1);
  --shadow-medium: 0 8px 40px rgba(94, 103, 56, 0.15);
  --shadow-lifted: 0 20px 60px rgba(94, 103, 56, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: var(--space-sm);
  color: var(--text-light);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background-color: var(--cream);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 252, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 45, 91, 0.08);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.nav a:hover {
  color: var(--primary);
  background: var(--sage);
}

.nav-cta {
  background: var(--secondary) !important;
  color: white !important;
  padding: var(--space-xs) var(--space-md) !important;
}

.nav-cta:hover {
  background: var(--secondary-dark) !important;
  color: white !important;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--warm-white);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid rgba(107, 45, 91, 0.1);
    box-shadow: var(--shadow-soft);
  }

  .nav.active {
    display: flex;
  }

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  background: linear-gradient(135deg, var(--warm-white) 0%, var(--lavender) 50%, var(--sage) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(94, 103, 56, 0.15) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(0, 107, 166, 0.1) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(30px, 20px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--secondary);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.hero h1 {
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 107, 166, 0.3);
}

.btn-primary:hover {
  background: var(--secondary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 107, 166, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-green {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 20px rgba(94, 103, 56, 0.3);
}

.btn-green:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

/* Info Cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.info-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid rgba(94, 103, 56, 0.1);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.info-card-icon {
  width: 60px;
  height: 60px;
  background: var(--sage);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.info-card h4 {
  margin-bottom: var(--space-xs);
}

/* Quick Info Bar */
.quick-info {
  background: var(--primary);
  color: white;
  padding: var(--space-md) 0;
}

.quick-info-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.quick-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.95rem;
}

.quick-info-item svg {
  width: 20px;
  height: 20px;
  opacity: 0.9;
}

.quick-info a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quick-info a:hover {
  color: var(--cream);
}

/* About Section */
.about-grid {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.feature-list {
  list-style: none;
  margin-top: var(--space-md);
}

.feature-list li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  border-bottom: 1px solid var(--cream-dark);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--secondary);
  border-radius: 50%;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lifted);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: var(--sage);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* Programs Section */
.programs-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.program-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.program-card:hover {
  border-color: var(--secondary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.program-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-sm);
  background: linear-gradient(135deg, var(--lavender), var(--sage));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.program-card h4 {
  color: var(--primary);
  font-size: 1.1rem;
}

/* Facilities Section */
.facilities-showcase {
  max-width: 800px;
  margin: 0 auto;
}

.facilities-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.facilities-images img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.facilities-images img:hover {
  transform: scale(1.03);
}

.facilities-images img:first-child {
  grid-column: span 2;
}

.facilities-content h2 {
  margin-bottom: var(--space-md);
}

.facilities-list {
  list-style: none;
}

.facilities-list li {
  padding: var(--space-sm);
  padding-left: var(--space-xl);
  position: relative;
  background: white;
  margin-bottom: var(--space-xs);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.facilities-list li::before {
  content: '✓';
  position: absolute;
  left: var(--space-sm);
  color: var(--secondary);
  font-weight: bold;
}

/* Team Section */
.team-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
}

.team-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-medium);
  max-width: 900px;
  margin: 0 auto;
}

.team-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
  font-style: italic;
  text-align: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--cream-dark);
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.team-member {
  text-align: center;
  padding: var(--space-md);
}

.team-member-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 50%;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
}

.team-member h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.team-member p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Virtual Tour CTA */
.tour-cta {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.tour-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.tour-cta h2,
.tour-cta p {
  color: white;
  position: relative;
  z-index: 1;
}

.tour-cta h2 {
  margin-bottom: var(--space-sm);
}

.tour-cta p {
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

.tour-cta .btn {
  position: relative;
  z-index: 1;
}

/* Enrollment CTA */
.enroll-cta {
  background: var(--sage);
  padding: var(--space-2xl) var(--space-md);
}

.enroll-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.enroll-inner h2 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.enroll-inner p {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.footer-brand img {
  height: 50px;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-light);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Privacy Page Specific */

.privacy-hero {
  padding: 110px 0 var(--space-lg);
  background: linear-gradient(135deg, var(--lavender), var(--cream));
  text-align: center;
}

.privacy-hero h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-xs);
}

.privacy-hero p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.privacy-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--secondary);
}

.privacy-content ul {
  margin: var(--space-sm) 0;
  padding-left: var(--space-lg);
}

.privacy-content li {
  margin-bottom: 2px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.privacy-content p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.privacy-content strong {
  color: var(--text-dark);
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-purple {
  color: var(--primrose-purple);
}

.text-green {
  color: var(--primrose-green);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}