/* Global Styles for Sharmina Nasrin Campaign Website */

/* Import Space Grotesk from Google Fonts for body text.  
   We keep this external import since Google Fonts is widely accessible.  */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap');

/* Import FivoSans Modern font family (multiple weights) to replace Sao Torpes for headings. */
@font-face {
  font-family: 'FivoSans Modern';
  src: url('./assets/fonts/FivoSansModern-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'FivoSans Modern';
  src: url('./assets/fonts/FivoSansModern-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'FivoSans Modern';
  src: url('./assets/fonts/FivoSansModern-ExtBlack.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* Colour palette inspired by the Street Poster Pop mood and user feedback */
:root {
  /* Colour palette updated to the latest Sharmina Nasrin campaign colours */
  /* Use Electric Aqua for primary call‑to‑action and highlight elements */
  --bright-orange: #6EFAFB;
  /* Use Bubblegum Fizz (hot pink) for secondary accents, stickers and youth graphics */
  --taxi-yellow: #FF57BB;
  /* Pacific Cyan for navigation and other dark coloured elements */
  --cobalt: #0091AD;
  /* Deep Espresso Ink for text */
  --almost-black: #1F120B;
  /* Old Lace for page backgrounds */
  --warm-cream: #FFF4E4;
  /* Vanilla Custard for secondary panels and soft backgrounds */
  --soft-mint: #F7E8A4;
  /* Vanilla Custard as an additional accent colour (used for hover states etc.) */
  --bubblegum: #F7E8A4;
  --white: #FFFFFF;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  color: var(--almost-black);
  background-color: var(--soft-mint);
}
a {
  text-decoration: none;
  color: inherit;
}
ul { list-style: none; }

/* Navigation styles */
.nav {
  background-color: var(--cobalt);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-brand {
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
}
.nav-menu {
  display: flex;
  gap: 1.5rem;
}
.nav-menu a {
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-menu a:hover {
  color: var(--taxi-yellow);
}
/* Mobile nav toggle (hidden for simplicity; not implemented) */

/* Hero section */
.hero {
  background-color: var(--cobalt);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 600px;
  z-index: 2;
}
.hero h1 {
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 3rem;
  line-height: 1.1;
  /* Use primary yellow for the main campaign message */
  color: var(--bright-orange);
  margin-bottom: 1rem;
}
.hero h2 {
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 2rem;
  /* Secondary pink for subheadline */
  color: var(--bubblegum);
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--warm-cream);
}
.cta-buttons {
  display: flex;
  gap: 1rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
  /* Primary call-to-action buttons use electric yellow */
  background-color: var(--bright-orange);
  color: var(--cobalt);
}
.btn-primary:hover {
  background-color: var(--bubblegum);
  color: var(--cobalt);
}
.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--bright-orange);
  color: var(--bright-orange);
}
.btn-secondary:hover {
  background-color: var(--bright-orange);
  color: var(--cobalt);
}
/* Hero image styling */
.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background-image: url('./assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.95;
}
@media (max-width: 768px) {
  .hero {
    padding: 2rem 1rem;
  }
  .hero-image {
    display: none;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero h2 {
    font-size: 1.5rem;
  }
}

/* Section styles */
section {
  padding: 4rem 2rem;
}
.section-title {
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--cobalt);
  text-align: center;
}
.section-intro {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  text-align: center;
}

/* About section */
.about {
  background-color: var(--warm-cream);
}
.about-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.about-card {
  flex: 1 1 250px;
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.about-card h3 {
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 1.5rem;
  color: var(--cobalt);
  margin-bottom: 0.5rem;
}
.about-card p {
  font-size: 1rem;
}

/* Priorities section with accordion */
.priorities {
  background-color: var(--soft-mint);
}
.priority-list {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--white);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 1.5rem;
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 1.5rem;
  background-color: var(--cobalt);
  color: var(--white);
  position: relative;
}
.accordion-header .icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.accordion-header.active .icon {
  transform: rotate(45deg);
}
.accordion-content {
  display: none;
  padding: 1.5rem;
  background-color: var(--warm-cream);
  color: var(--almost-black);
}
.accordion-content.active {
  display: block;
}
.accordion-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.accordion-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.accordion-content li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}
.accordion-content .video-placeholder {
  margin-top: 1rem;
  background-color: var(--soft-mint);
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  border-radius: 4px;
}
.accordion-content .video-placeholder::after {
  content: 'Video coming soon';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--cobalt);
  font-weight: 600;
}

/* Support tools section */
.support-section {
  background-color: var(--cobalt);
  color: var(--white);
}
.support-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.support-card {
  flex: 1 1 250px;
  /* Each support card is composed of a header (image) and body (text) */
  background-color: transparent;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.support-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.support-card h4 {
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--cobalt);
}
.support-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.support-card .support-btn {
  margin-top: auto;
  background-color: var(--cobalt);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease;
}
.support-card .support-btn:hover {
  background-color: var(--taxi-yellow);
  color: var(--almost-black);
}

/* New support card structure for hero-style panels */
.support-card .support-header {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}
.support-card .support-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.support-body h3 {
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--cobalt);
}
.support-body p {
  font-size: 1rem;
  margin-bottom: 1rem;
  flex: 1;
  color: var(--almost-black);
}
.support-body.support-profile {
  background-color: var(--bright-orange);
}
.support-body.support-voted {
  background-color: var(--taxi-yellow);
}
.support-body.support-download {
  background-color: var(--soft-mint);
}
.support-body .support-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Call to action section */
.cta-section {
  /* Use hot pink for the CTA section background to stand out */
  background-color: var(--taxi-yellow);
  color: var(--cobalt);
  text-align: center;
  padding: 3rem 2rem;
}
.cta-section h3 {
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cta-section .btn {
  margin-top: 1rem;
  /* Buttons within CTA section use the primary yellow */
  background-color: var(--bright-orange);
  color: var(--cobalt);
}
.cta-section .btn:hover {
  background-color: var(--bubblegum);
  color: var(--cobalt);
}

/* Footer styling */
.site-footer {
  background-color: var(--almost-black);
  color: var(--white);
  padding: 2rem;
  border-top: 5px solid var(--taxi-yellow);
}
.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer-column {
  flex: 1 1 250px;
}
.footer-column h4 {
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--taxi-yellow);
}
.footer-column p, .footer-column a {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.footer-column a:hover {
  text-decoration: underline;
}
.social-icons {
  display: flex;
  gap: 0.5rem;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--cobalt);
  color: var(--taxi-yellow);
  font-size: 1.2rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.social-icons a:hover {
  background-color: var(--bubblegum);
  color: var(--cobalt);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
}

/* Volunteer tools section styles */
.tools-section {
  padding: 4rem 2rem;
  background-color: var(--soft-mint);
}
.tools-section h2 {
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--cobalt);
}
.tool-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.tool-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  flex: 1 1 250px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tool-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.tool-card h3 {
  font-family: 'FivoSans Modern', sans-serif;
  font-size: 1.5rem;
  margin: 1rem;
  color: var(--cobalt);
}
.tool-card p {
  font-size: 1rem;
  margin: 0 1rem 1rem;
  flex: 1;
  color: var(--almost-black);
}
.tool-card .btn {
  margin: 0 1rem 1.5rem;
  align-self: flex-start;
}
.btn.disabled,
.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

/* Responsive layout tweaks */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .footer-row {
    flex-direction: column;
  }
  .support-card {
    flex: 1 1 100%;
  }
  .about-card {
    flex: 1 1 100%;
  }
  .accordion-header {
    font-size: 1.25rem;
  }
  .accordion-content p {
    font-size: 0.9rem;
  }

  /* Stack volunteer tool cards on mobile */
  .tool-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}