/* ============================================================
   Downtown ROCs - Main Stylesheet
   Color palette inspired by the Downtown ROCs logo:
   Green: #2E7D32, Blue: #1565C0, Red: #C62828, 
   Yellow: #F9A825, Orange: #E65100
   ============================================================ */

:root {
  --green: #2E7D32;
  --blue: #1565C0;
  --red: #C62828;
  --yellow: #F9A825;
  --orange: #E65100;
  --dark: #1a1a1a;
  --dark-gray: #333333;
  --mid-gray: #666666;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* ---- 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(--dark);
  line-height: 1.7;
  background: var(--white);
}

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

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

a:hover {
  color: var(--green);
}

ul {
  list-style: none;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-primary:hover {
  background: #1b5e20;
  border-color: #1b5e20;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-secondary:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-2px);
}

.btn-donate {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  padding: 12px 28px;
  margin-top: 16px;
  display: inline-block;
}

.btn-donate:hover {
  background: #bf360c;
  border-color: #bf360c;
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.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;
}

.logo-img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links li a {
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--green);
  background: rgba(46, 125, 50, 0.08);
}

.nav-donate {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
}

.nav-donate:hover {
  background: #bf360c !important;
  color: #fff !important;
}

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

/* ---- Hero Slider ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 2px 4px 20px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 32px;
  text-shadow: 1px 2px 10px rgba(0,0,0,0.5);
  font-style: italic;
}

.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 10;
}

.slider-btn {
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.4);
}

.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ---- Mission Banner ---- */
.mission-banner {
  background: var(--green);
  padding: 32px 0;
}

.mission-text {
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  text-align: center;
  line-height: 1.6;
}

/* ---- Section Styles ---- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-light {
  color: #fff;
}

.section-header-light h2 {
  color: #fff;
}

.section-tag {
  display: inline-block;
  background: rgba(46, 125, 50, 0.1);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.tag-light {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- About Section ---- */
.about {
  padding: 100px 0;
  background: var(--white);
}

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

.about-text p {
  color: var(--mid-gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.mission-stats {
  display: flex;
  gap: 32px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 2px solid var(--light-gray);
  border-bottom: 2px solid var(--light-gray);
}

.stat {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--mid-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* ---- Story Section ---- */
.story {
  padding: 100px 0;
  background: var(--light-gray);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
}

.story-text p {
  color: var(--mid-gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.story-emphasis {
  font-size: 1.3rem !important;
  font-style: italic;
  color: var(--green) !important;
  font-weight: 600;
}

/* ---- Impact Section ---- */
.impact {
  padding: 100px 0;
  background: var(--dark);
  color: #fff;
}

.impact-quote {
  background: rgba(255,255,255,0.07);
  border-left: 4px solid var(--yellow);
  padding: 24px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 64px;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.project-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,0.15);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.project-card-body {
  padding: 24px;
}

.project-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.project-card-body p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.impact-projects-list {
  text-align: center;
  margin-bottom: 48px;
}

.impact-projects-list h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 24px;
}

.projects-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.project-tag {
  background: rgba(249, 168, 37, 0.15);
  color: var(--yellow);
  border: 1px solid rgba(249, 168, 37, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

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

/* ---- Midge Section ---- */
.midge-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #e8f5e9 0%, #f3e5f5 100%);
}

.midge-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.midge-text p {
  color: var(--mid-gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.midge-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: top;
}

/* ---- Office Announcement ---- */
.office-announcement {
  padding: 100px 0;
  background: var(--white);
}

.announcement-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.announcement-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.announcement-text p {
  color: var(--mid-gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.address-box {
  background: var(--light-gray);
  border-left: 4px solid var(--green);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 24px;
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.8;
}

/* ---- Testimonials ---- */
.testimonials {
  padding: 100px 0;
  background: var(--light-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card.featured {
  background: var(--green);
  color: #fff;
  grid-column: span 1;
}

.testimonial-card.featured p {
  color: rgba(255,255,255,0.95);
}

.testimonial-card.featured .quote-mark {
  color: rgba(255,255,255,0.4);
}

.testimonial-card.featured .testimonial-author {
  color: rgba(255,255,255,0.8);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--green);
  line-height: 0.5;
  margin-bottom: 16px;
  display: block;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- Get Involved ---- */
.get-involved {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green) 0%, #1b5e20 100%);
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---- Contact ---- */
.contact {
  padding: 100px 0;
  background: var(--white);
}

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

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

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

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

.contact-item strong {
  display: block;
  color: var(--dark);
  margin-bottom: 4px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item a {
  color: var(--blue);
}

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

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--dark-gray);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  display: block;
  border-radius: var(--radius-lg);
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 72px;
  width: auto;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
}

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

.footer-brand small {
  opacity: 0.6;
}

.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-contact a {
  color: rgba(255,255,255,0.7);
}

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

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-social-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
  color: var(--yellow);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: var(--shadow);
    gap: 4px;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-links li a {
    display: block;
    padding: 12px 16px;
  }
  
  .about-grid,
  .story-inner,
  .midge-inner,
  .announcement-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .story-inner {
    direction: ltr;
  }
  
  .about-image,
  .story-image,
  .midge-image,
  .announcement-image {
    order: -1;
  }
  
  .about-image img,
  .story-image img,
  .midge-image img,
  .announcement-image img {
    height: 300px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  .about,
  .story,
  .impact,
  .midge-section,
  .office-announcement,
  .testimonials,
  .get-involved,
  .contact {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    min-height: 100svh;
  }
  
  .slider-controls {
    bottom: 24px;
  }
}
