/* ============================================================
   Mind Zoo – Main Stylesheet
   Brand colors: Dark Green #1a4a2e, Mid Green #2d6a4f,
                 Yellow-Green #a8c828, Amber #d4870a
   ============================================================ */

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

:root {
  --green-dark:   #1a3d2b;
  --green-mid:    #215c3b;
  --green-bright: #8cc21f;
  --amber:        #d4870a;
  --white:        #ffffff;
  --off-white:    #f7f7f5;
  --text-dark:    #1c2520;
  --text-mid:     #3a4a40;
  --text-light:   #6b7b6f;
  --border:       #d8e4da;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Segoe UI', Arial, sans-serif;

  --nav-height:   72px;
  --max-width:    1200px;
  --section-pad:  96px 24px;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}


/* ── Typography helpers ──────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--green-dark);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}


/* ── Navigation ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--green-dark);
  display: flex;
  align-items: center;
  padding: 0 32px;
  transition: box-shadow 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img.logo-icon {
  height: 44px;
  width: auto;
}

.nav-logo img.logo-text {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

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

.nav-links a.nav-cta {
  background: var(--green-bright);
  color: var(--green-dark);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  margin-left: 8px;
}

.nav-links a.nav-cta:hover {
  background: #9dd420;
  color: var(--green-dark);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,0.7);
  transition: transform 0.2s;
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--green-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px;
  min-width: 180px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 5px;
  font-size: 0.88rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  transform-origin: center;
  transition: transform 12s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 28, 18, 0.85) 0%,
    rgba(10, 28, 18, 0.55) 55%,
    rgba(10, 28, 18, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  padding-top: var(--nav-height);
}

.hero-brand-logo {
  height: 64px;
  width: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  color: var(--white);
  line-height: 1.15;
  max-width: 600px;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-content h1 span {
  color: var(--green-bright);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bright);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(140, 194, 31, 0.4);
}

.btn-primary:hover {
  background: #9dd420;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(140, 194, 31, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}


/* ── Mind Sectors strip ──────────────────────────────────── */
.sectors-strip {
  background: var(--green-dark);
  padding: 32px 24px;
}

.sectors-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sector-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  cursor: default;
}

.sector-item:hover {
  color: var(--white);
}

.sector-item img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.sector-item:hover img {
  opacity: 1;
}

.sector-item span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sector-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}


/* ── About section ───────────────────────────────────────── */
.about {
  padding: var(--section-pad);
  background: var(--off-white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-photos {
  position: relative;
  height: 520px;
}

.about-photo-main {
  position: absolute;
  left: 0;
  top: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.about-photo-secondary {
  position: absolute;
  right: 0;
  bottom: -32px;
  width: 50%;
  height: 68%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  border: 6px solid var(--white);
}

.about-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--green-bright);
  color: var(--green-dark);
  border-radius: 50%;
  width: 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 2;
}

.about-badge strong {
  font-size: 1.6rem;
  line-height: 1;
  display: block;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.sectors-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.sector-tag {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sector-tag-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-bright);
  flex-shrink: 0;
  margin-top: 7px;
}

.sector-tag p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0 !important;
}

.sector-tag strong {
  color: var(--green-dark);
}


/* ── Hours & Address section ─────────────────────────────── */
.info-section {
  padding: var(--section-pad);
  background: var(--white);
}

.info-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.hours-card,
.address-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--green-dark);
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row .day {
  color: var(--text-mid);
  font-weight: 500;
}

.hours-row .time {
  color: var(--green-dark);
  font-weight: 600;
}

.hours-row .time.closed {
  color: var(--text-light);
}

.address-text {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s;
}

.directions-btn:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

.directions-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ── Map ─────────────────────────────────────────────────── */
.map-section {
  height: 400px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: 64px 24px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-top .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-brand img.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.8);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: none;
  stroke: var(--green-bright);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 20px 24px;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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


/* ── Animations on scroll ────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }


/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about .container,
  .info-section .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-photos {
    height: 420px;
    max-width: 560px;
    margin: 0 auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px 24px;
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 16px 32px rgba(0,0,0,0.3);
  }

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

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-links a.nav-cta {
    margin: 8px 0 0;
    width: 100%;
    text-align: center;
    justify-content: center;
    border-radius: 8px;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    border: none;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: none;
    padding: 4px 0 4px 16px;
    display: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .sectors-strip .container {
    gap: 24px;
  }

  .sector-divider {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .about-photos {
    height: 360px;
  }

  .footer-top .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .about-photos {
    height: 300px;
  }

  .about-photo-secondary {
    bottom: -16px;
  }

  .hours-card,
  .address-card {
    padding: 28px 24px;
  }
}
