/* ==========================================================================
   Socido Website — Bright, Trustworthy & Educational Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette — Bright, Warm & Trustworthy */
  --bg-body: #faf8f5;
  --bg-card: #ffffff;
  --bg-subtle: #f0f7f6;
  
  --primary: #0d9488;        /* Warm Trustworthy Teal */
  --primary-hover: #0f766e;
  --secondary: #0284c7;      /* Educational Blue */
  --accent: #d97706;         /* Warm Gold Accent */
  
  --text-heading: #0f172a;   /* Deep Slate */
  --text-body: #334155;      /* Dark Soft Slate */
  --text-muted: #64748b;     /* Muted Grey */
  
  --border-light: #e2e8f0;
  --border-focus: #0d9488;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Radii */
  --container-max: 1140px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Shadows */
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 40px -10px rgba(13, 148, 136, 0.12), 0 8px 20px -4px rgba(15, 23, 42, 0.06);
  
  --transition: all 0.25s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
}

.text-highlight {
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.section-header .tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-heading);
}

.logo-badge {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-body);
}

.nav-link:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

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

.btn-outline:hover {
  background: rgba(13, 148, 136, 0.08);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-heading);
  cursor: pointer;
}

/* ==========================================================================
   Vision Hero Section
   ========================================================================== */
.hero-vision {
  padding: 4.5rem 0 3.5rem 0;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.05) 0%, rgba(250, 248, 245, 1) 100%);
  text-align: center;
}

.hero-vision h1 {
  font-size: 2.75rem;
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  letter-spacing: -0.01em;
}

.vision-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 2rem auto 0 auto;
  text-align: left;
}

.vision-card p {
  font-size: 1.125rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.vision-card p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Project Boxes Grid
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 148, 136, 0.3);
}

.project-thumb {
  height: 220px;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-box:hover .project-thumb img {
  transform: scale(1.05);
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.project-body p {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   Donation Box (Zelle Info)
   ========================================================================== */
.donation-box {
  background: #ffffff;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-hover);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.zelle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary);
  font-weight: 700;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.zelle-handle {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  background: var(--bg-subtle);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin: 1rem 0;
  user-select: all;
  border: 1px dashed var(--primary);
}

/* ==========================================================================
   Contact Area
   ========================================================================== */
.contact-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0;
}

.contact-card {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-heading);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* ==========================================================================
   Photo Gallery Grid (For Project Detail Pages)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 220px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  gap: 0.5rem;
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-sm);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--text-heading);
  color: #94a3b8;
  padding: 2.5rem 0;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer a {
  color: #f8fafc;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-vision h1 {
    font-size: 2rem;
  }
  .zelle-handle {
    font-size: 1.4rem;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
}
