/* ============================
   SSV Foundation – style.css
   Colors: Dark Brown #3b1a0e, Red #c0392b, Cream #f5f0eb
   ============================ */

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

:root {
  --brown:      #3b1a0e;
  --brown-mid:  #5c2a14;
  --red:        #c0392b;
  --cream:      #f5f0eb;
  --cream-dark: #ece5dc;
  --text:       #2c1a0f;
  --text-light: #7a5c4a;
  --white:      #ffffff;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
}

/* ---- NAVBAR ---- */
.navbar {
  background: var(--brown);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Real logo in navbar — show only the eagle part (crop with object-fit) */
.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  background: var(--cream);
  padding: 2px;
}

.nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--red);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  list-style: none;
  background: var(--brown-mid);
  padding: 8px 24px 16px;
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 10px 0;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile a.active { color: #e8a09a; }

/* ---- HERO ---- */
.hero {
  position: relative;
  background: var(--brown);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

/* Logo as large blurred background watermark */
.hero-bg-logo {
  position: absolute;
  inset: 0;
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.08;
  filter: blur(2px) grayscale(30%);
  transform: scale(1.05);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(192,57,43,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(0,0,0,0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Real logo in hero — full logo image */
.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 24px rgba(192,57,43,0.5)) brightness(1.1);
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  font-style: italic;
}

.hero-swoosh {
  width: 100px;
  height: 5px;
  background: var(--red);
  border-radius: 3px;
  margin: 0 auto 28px;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
}

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(192,57,43,0.4);
}

.btn-primary:hover {
  background: #a93226;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.5);
}

/* ---- MISSION SECTION ---- */
.mission {
  background: var(--cream-dark);
  padding: 80px 24px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--brown);
  text-align: center;
  margin-bottom: 48px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 12px auto 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  border-top: 4px solid var(--red);
  box-shadow: 0 2px 12px rgba(59,26,14,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(59,26,14,0.14);
}

.card-icon { font-size: 2.5rem; margin-bottom: 16px; }

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
}

.card p {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- CONTACT HERO ---- */
.contact-hero {
  position: relative;
  background: var(--brown);
  padding: 80px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.contact-hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(1.1) drop-shadow(0 2px 12px rgba(192,57,43,0.45));
}

.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
}

.contact-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- CONTACT BODY ---- */
.contact-body { padding: 72px 24px 80px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

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

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: 0 2px 8px rgba(59,26,14,0.07);
  border-left: 4px solid var(--red);
}

.info-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }

.info-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  word-break: break-all;
}

.info-value:hover { color: var(--red); }

.info-note {
  background: rgba(192,57,43,0.07);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- FORM ---- */
.contact-form-wrap {
  background: var(--white);
  border-radius: 10px;
  padding: 40px 36px;
  box-shadow: 0 4px 20px rgba(59,26,14,0.1);
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 28px;
}

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

.form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #ddd4c8;
  border-radius: 6px;
  font-size: 0.97rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--red);
  background: var(--white);
}

.form-row textarea { resize: vertical; }

.contact-form .btn-primary { width: 100%; text-align: center; margin-top: 4px; }

.form-note { margin-top: 12px; font-size: 0.9rem; min-height: 20px; font-weight: 500; }

/* ---- FOOTER ---- */
.footer {
  background: var(--brown);
  color: rgba(255,255,255,0.7);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner { display: flex; flex-direction: column; gap: 6px; align-items: center; }

.footer-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: brightness(1.15) drop-shadow(0 2px 6px rgba(192,57,43,0.4));
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tag { font-size: 0.9rem; font-style: italic; color: rgba(255,255,255,0.55); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 8px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 28px 20px; }

  .hero-logo { width: 150px; height: 150px; }
  .hero-bg-logo { background-size: 100%; opacity: 0.06; }
}

@media (max-width: 480px) {
  .contact-form-wrap { padding: 20px 16px; }
  .hero { min-height: 75vh; }
  .hero-logo { width: 120px; height: 120px; }
}
