/* =============================================================================
   INNOVATE ISLAND — Main Stylesheet
   ============================================================================= */

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

/* Custom Properties
   ============================================================================= */
:root {
  --color-gold:         #f2b13d;
  --color-teal:         #56c6b5;
  --color-blue:         #718eee;
  --color-business-blue:#B5C7EE;
  --color-pink:         #E36B93;
  --color-dark:         #383838;
  --color-bg:           #e9e5e6;
  --color-white:        #ffffff;
  --color-navy:         #0a1b42;

  --font-heading: 'Raleway', sans-serif;
  --font-body:    'Roboto', sans-serif;

  --container-max: 1200px;
  --nav-height:    80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
}

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

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.2s;
}

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: 45px; }
h2 { font-size: 37px; }
h3 { font-size: 31px; }
h4 { font-size: 24px; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

/* Accent line used in multiple sections */
.accent-line {
  width: 56px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.accent-gold  { background: var(--color-gold); }
.accent-teal  { background: var(--color-teal); }
.accent-blue  { background: var(--color-blue); }
.accent-center { margin-left: auto; margin-right: auto; }

/* Buttons
   ============================================================================= */
.btn {
  display: inline-block;
  height: 50px;
  padding: 0 36px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  border-radius: 25px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 46px;
  white-space: nowrap;
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
}
.btn-gold:hover {
  background: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-teal {
  background: var(--color-teal);
  color: var(--color-white);
}
.btn-teal:hover {
  background: transparent;
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.btn-outline-white {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-pink {
  background: var(--color-pink);
  color: var(--color-white);
}
.btn-pink:hover {
  background: transparent;
  border-color: var(--color-pink);
  color: var(--color-pink);
}

/* =============================================================================
   HEADER & NAVIGATION
   ============================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

/* Fallback text shown when logo image is not yet available */
.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--color-navy);
  letter-spacing: -0.3px;
}

/* Primary nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover { color: var(--color-teal); }
.nav-menu > li > a.active { color: var(--color-teal); border-bottom-color: var(--color-teal); }

/* Dropdown indicator */
.has-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 currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.2s;
}

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

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: var(--color-navy);
  border-top: 3px solid var(--color-teal);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 11px 18px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-teal);
}

/* Hamburger button */
.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(--color-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); }

/* =============================================================================
   PAGE BANNER (inner pages)
   ============================================================================= */

.page-banner {
  background: var(--color-navy);
  padding: 64px 0;
  text-align: center;
}

.page-banner h1 {
  color: var(--color-white);
  font-size: 40px;
}

.page-banner .accent-line {
  margin: 16px auto 0;
}

/* =============================================================================
   HOME — VISION SECTION
   ============================================================================= */

.section-vision {
  background: url('../assets/background - dark.png') center / cover no-repeat;
  padding: 120px 0;
  position: relative;
}

.section-vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 27, 66, 0.5);
}

.section-vision .container {
  position: relative;
  z-index: 1;
}

.vision-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.vision-content h2 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.vision-content p {
  font-size: 20px;
  line-height: 1.75;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.9);
}

/* Social icons in vision section */
.vision-social {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

.vision-social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.vision-social a:hover {
  color: var(--color-white);
  border-color: var(--color-gold);
  background: rgba(242, 177, 61, 0.15);
}

/* =============================================================================
   HOME — MISSION SECTION
   ============================================================================= */

.section-mission {
  padding: 88px 0;
  background: var(--color-bg);
}

.mission-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.mission-inner h2 { margin-bottom: 16px; }

.mission-inner p {
  font-size: 20px;
  line-height: 1.8;
  color: var(--color-dark);
}

/* =============================================================================
   HOME — JOIN SECTION
   ============================================================================= */

.section-join {
  background: var(--color-business-blue);
  padding: 88px 0;
}

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

.section-join h2 { color: var(--color-navy); margin-bottom: 16px; }

.section-join p {
  color: var(--color-dark);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.section-join strong { color: var(--color-navy); }

.join-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* =============================================================================
   EMBED PAGES (News, Events, Ecosystem)
   ============================================================================= */

.section-embed {
  padding: 64px 0;
}

.section-embed .intro-text {
  max-width: 740px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-embed .intro-text h2 { margin-bottom: 16px; }

.kumu-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}

.kumu-toggle {
  display: flex;
  gap: 0;
  border: 2px solid var(--color-navy);
  border-radius: 25px;
  overflow: hidden;
}

.kumu-btn {
  padding: 0 24px;
  height: 44px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  border: none;
  background: transparent;
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s;
}

.kumu-btn:hover { background: var(--color-bg); }

.kumu-btn.active {
  background: var(--color-navy);
  color: var(--color-white);
}

.kumu-fullscreen {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  border-radius: 25px;
  padding: 0 20px;
  height: 44px;
  transition: background 0.2s, color 0.2s;
}

.kumu-fullscreen:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.kumu-view iframe {
  display: block;
  border-radius: 8px;
}

@media (max-width: 540px) {
  .kumu-controls { flex-direction: column; align-items: flex-start; }
}

.ecosystem-info {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ecosystem-about p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-dark);
}

.ecosystem-guide h3 {
  font-size: 24px;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.guide-block {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 28px;
  border-top: 4px solid var(--color-teal);
}

.guide-block h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.guide-block ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-block ul li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-dark);
}

kbd {
  display: inline-block;
  padding: 1px 7px;
  font-family: var(--font-body);
  font-size: 13px;
  background: var(--color-white);
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .guide-grid { grid-template-columns: 1fr; }
}

.events-image {
  margin: 40px 0;
}

.events-image img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

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

.event-type-card {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 32px 28px;
  border-top: 4px solid var(--color-teal);
}

.event-type-card h3 {
  font-size: 20px;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.event-type-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark);
  margin: 0;
}

@media (max-width: 768px) {
  .event-types { grid-template-columns: 1fr; }
}

.circle-embed {
  margin: 0 -32px;
}

.embed-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg);
  min-height: 800px;
}

.embed-wrapper iframe {
  width: 100%;
  height: 900px;
  border: none;
  display: block;
}

/* Placeholder shown until iframe src is connected */
.embed-placeholder {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border-radius: 8px;
  border: 2px dashed #c0babb;
  text-align: center;
  padding: 48px 32px;
  gap: 12px;
}

.embed-placeholder i {
  font-size: 52px;
  color: #bbb;
}

.embed-placeholder h3 {
  font-size: 22px;
  color: var(--color-navy);
}

.embed-placeholder p {
  font-size: 15px;
  color: #999;
  margin: 0;
  max-width: 440px;
}

.embed-placeholder .placeholder-label {
  display: inline-block;
  padding: 5px 14px;
  background: var(--color-gold);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* =============================================================================
   ABOUT PAGE
   ============================================================================= */

.section-about {
  padding: 88px 0;
  background: var(--color-white);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 72px;
}

.about-text h2 { margin-bottom: 16px; }

.about-text p { font-size: 18px; line-height: 1.8; }

.about-body {
  max-width: 860px;
}

.about-body h2 {
  margin-bottom: 16px;
}

.about-body p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.about-body a {
  color: var(--color-teal);
  text-decoration: underline;
}

.about-body a:hover {
  color: var(--color-navy);
}

/* =============================================================================
   COMMUNITY FLOATING BUTTON
   ============================================================================= */

.community-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 50px;
  padding: 0 20px 0 16px;
  height: 52px;
  box-shadow: 0 4px 16px rgba(10, 27, 66, 0.35);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.community-fab i {
  font-size: 20px;
}

.community-fab:hover {
  background: var(--color-teal);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(86, 198, 181, 0.4);
}

@media (max-width: 540px) {
  .community-fab {
    bottom: 20px;
    right: 20px;
    padding: 0 14px;
    height: 48px;
  }
  .community-fab-label { display: none; }
}

/* =============================================================================
   STEERING GROUP
   ============================================================================= */

.section-steering {
  padding: 88px 0;
  background: var(--color-bg);
}

.section-steering h2 {
  margin-bottom: 16px;
}

.steering-intro {
  font-size: 18px;
  line-height: 1.8;
  max-width: 760px;
  margin-bottom: 56px;
}

.steering-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.steering-card {
  text-align: center;
}

.steering-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.steering-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s;
}

a.steering-photo:hover img {
  transform: scale(1.05);
}

a.steering-photo:hover {
  border-color: var(--color-teal);
}

.steering-card h3 {
  font-size: 18px;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.steering-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-dark);
  margin: 0;
}

@media (max-width: 900px) {
  .steering-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 540px) {
  .steering-grid { grid-template-columns: repeat(2, 1fr); }
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}

.stat-card {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 36px 24px;
  text-align: center;
  border-top: 4px solid var(--color-teal);
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card p {
  font-size: 15px;
  color: var(--color-dark);
  margin: 0;
}

.about-partner {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.partner-logo {
  flex-shrink: 0;
}

.partner-logo img {
  max-height: 60px;
  width: auto;
}

.partner-logo .partner-text-placeholder {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--color-navy);
  white-space: nowrap;
}

.about-partner-text h3 { margin-bottom: 10px; }
.about-partner-text p { font-size: 16px; margin: 0; }

/* =============================================================================
   CHARTER PAGE
   ============================================================================= */

.section-charter {
  padding: 88px 0;
  background: var(--color-white);
}

.charter-intro {
  max-width: 800px;
  margin: 0 auto 64px;
  text-align: center;
}

.charter-intro h2 { margin-bottom: 16px; }
.charter-intro p { font-size: 18px; line-height: 1.8; }

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

.charter-item {
  background: var(--color-bg);
  border-radius: 8px;
  padding: 32px 28px;
  border-left: 4px solid var(--color-teal);
}

.charter-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark);
  margin: 0;
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.site-footer {
  background: var(--color-navy);
  padding: 56px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

/* Footer nav */
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-nav a:hover { color: var(--color-teal); }

/* Social icons */
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

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

.footer-social a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social a:hover {
  color: var(--color-white);
  border-color: var(--color-gold);
  background: rgba(242, 177, 61, 0.12);
}

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

.footer-logo .logo-text-footer {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--color-white);
}

/* Partner logo */
.footer-partner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-partner span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-heading);
}

.footer-partner img {
  max-height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-partner .partner-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-heading);
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 900px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-partner { flex-direction: column; gap: 24px; text-align: center; }
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  .page-banner h1 { font-size: 28px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    gap: 2px;
  }

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

  .nav-menu > li > a {
    padding: 12px 16px;
    border-bottom: none;
    border-radius: 6px;
  }

  .has-dropdown > a::after { display: none; }

  .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--color-teal);
    margin-left: 20px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
  }

  /* Section padding */
  .section-vision,
  .section-mission,
  .section-join,
  .section-about,
  .section-charter { padding: 56px 0; }

  .about-intro,
  .join-grid { grid-template-columns: 1fr; gap: 40px; }

  .vision-content p,
  .mission-inner p { font-size: 18px; }

  .vision-social { gap: 10px; }
  .vision-social a { width: 40px; height: 40px; font-size: 17px; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav ul { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .footer-social { align-items: center; }
}

@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .btn { height: 46px; padding: 0 24px; line-height: 42px; font-size: 15px; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-social .social-links { gap: 12px; }
}
