/* style.css */

/* --- FONTS --- */
@font-face {
  font-family: "HK Modular";
  src: url("fonts/Modular.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ignis Sharp";
  src: url("fonts/Ignis et Glacies Sharp.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ignis Sharp";
  src: url("fonts/Ignis et Glacies Sharp Bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- RESET & VARIABLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #fa8f32;
  --secondary-color: #ef6e4a;
  --dark-blue: #0f4a7f;
  --darker-blue: #0c2d4c;
  --light-bg: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --accent: #fa6146;
  --sunset-orange: #fab337;
  --sunset-red: #de5a4a;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* --- LAYOUT & SECTIONS --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

section {
  margin-bottom: 60px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--dark-bg);
  text-align: center;
  font-weight: 800;
}

/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(
    135deg,
    var(--dark-blue) 0%,
    var(--darker-blue) 100%
  );
  color: white;
  padding: 60px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("media/sunset_perth.svg");
  background-size: cover;
  background-position: center 28%;
  opacity: 0.15;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    to top,
    var(--primary-color) 0%,
    transparent 100%
  );
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.logo {
  max-width: 450px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.05em;
  font-family: "Ignis Sharp", sans-serif;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 15px;
  opacity: 0.95;
}

.hero .tagline {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* --- MINI BRANDED HERO (Internal Pages) --- */
.hero-mini-branded {
  background: linear-gradient(
    135deg,
    var(--dark-blue) 0%,
    var(--darker-blue) 100%
  );
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-mini-branded::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("media/sunset_perth.svg");
  background-size: cover;
  background-position: center 13%;
  opacity: 0.15;
  z-index: 0;
}

.hero-mini-branded .hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.hero-mini-branded .quokka-header-mini {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.hero-mini-branded h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  font-family: "Ignis Sharp", sans-serif;
  letter-spacing: 0.03em;
}

.partner-logo-mini {
  position: absolute;
  top: 15px;
  left: 20px;
  z-index: 10;
}

/* --- BUTTONS --- */
.cta-button {
  display: inline-block;
  /* CHANGED: Copied from Floating CTA */
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  /* CHANGED: Text is now white */
  color: white;
  padding: 18px 48px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  /* CHANGED: Shadow now matches the orange glow of the floating button */
  box-shadow: 0 8px 24px rgba(250, 143, 50, 0.4);
}

.cta-button:hover {
  transform: translateY(-2px);
  /* CHANGED: Stronger orange glow on hover */
  box-shadow: 0 12px 32px rgba(250, 143, 50, 0.5);
}

/* --- FLOATING CTA --- */
#floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(250, 143, 50, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
}

#floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(250, 143, 50, 0.5);
}

/* --- EVENT DETAILS --- */
.event-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.event-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-detail-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.event-detail-text {
  font-size: 1.1rem;
  font-weight: 600;
}

/* --- HIGHLIGHT BOX --- */
.highlight-box {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 60px 20px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.highlight-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}

.highlight-box > * {
  position: relative;
  z-index: 1;
}

.highlight-box h2 {
  color: white;
}

/* --- FEATURES/CARDS --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;

  /* --- ADD THESE LINES TO FIX LINKS --- */
  text-decoration: none; /* Removes underline */
  color: inherit; /* Keeps text dark/original color */
  display: block; /* Ensures the link acts like a box */
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary-color);
}

/* --- SPONSORS --- */
.sponsors-section {
  background: white;
  padding: 60px 20px;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
  align-items: center;
}

.sponsor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 160px;
  text-decoration: none !important;
  color: inherit;
}

.sponsor-item > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-grow: 1;
}

.sponsor-item * {
  text-decoration: none !important;
}

.sponsor-logo {
  max-width: 150px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.sponsor-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  margin-top: auto;
}

.sponsor-category {
  font-size: 0.8rem;
  color: var(--text-light);
  display: block;
  margin-top: 5px;
  text-align: center;
}

/* --- LOCATION --- */
.location-section {
  background: var(--darker-blue);
  color: white;
  padding: 60px 20px;
}

.location-section h2 {
  color: white;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.location-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.location-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--accent);
}

/* --- PEOPLE GRID (Hosts, Mentors, Experts) --- */
.people-group {
  margin-bottom: 60px;
}

.group-title {
  text-align: center;
  color: var(--dark-blue);
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.group-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  margin: 8px auto 0;
  border-radius: 2px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 40px auto 0;
  justify-content: center;
}

.people-grid.centered-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.people-grid.centered-grid .person-card {
  width: 240px;
}

.person-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.person-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.person-photo-placeholder {
  width: 100%;
  height: 250px;
  background-color: #eee;
  border-radius: 8px; /* This makes it rectangular with rounded corners */
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ccc;
  overflow: hidden;
}

.person-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 5px;
  line-height: 1.3;
}

.person-role {
  font-size: 0.95rem;
  color: var(--secondary-color);
  font-weight: 600;
}

/* --- EXPO STARTUP GRID --- */
/* style.css */

.startup-logo-link {
  display: block;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3/2;

  /* --- REMOVED THESE LINES --- */
  /* background-color: #f1f5f9; */ /* Removed grey background */
  /* border: 1px dashed #cbd5e1; */ /* Removed dashed border */
  /* text-decoration: none; */
  /* color: #94a3b8; */
  /* font-weight: 600; */
  /* -------------------------- */

  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  overflow: hidden;

  /* ADDED: Ensure no default link styling if this is an <a> tag */
  text-decoration: none;
  color: inherit; /* Keeps text color from parent if any */
}

/* Update the hover effect as well */
.startup-logo-link:hover {
  /* --- UPDATED HOVER --- */
  border-color: transparent; /* Ensure no border appears on hover if you removed it */
  background-color: transparent; /* No background color change on hover */
  /* --------------------- */
}

/* Ensure images always fill the link space */
.startup-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px; /* Keep padding to prevent logos from touching edges */
}

/* --- FOOTER --- */
footer {
  background: var(--darker-blue);
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.footer-note {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* --- AGENDA THEMES GRID --- */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  text-align: left; /* Align text left for better readability of lists */
}

.theme-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s;
  height: 100%;
}

.theme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
}

/* style.css - Update this specific class */

.theme-title {
  /* Removed custom font-family so it defaults to normal font */
  color: var(--dark-blue);
  font-size: 1.5rem;
  font-weight: 800; /* Added bold weight to make it stand out */
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  display: inline-block;
}
.time-label {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 5px;
  margin-bottom: 20px;
}
.theme-sub-header {
  font-size: 0.9rem;
  /* text-transform: uppercase; */
  color: var(--text-light);
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 5px;
}

nav {
  text-align: center;
  background: white;
  border-bottom: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Bigger shadow for pop */
  overflow-x: auto;
  white-space: nowrap;

  /* MAKE IT STICKY */
  position: sticky;
  top: 0;
  z-index: 1000; /* Ensures it sits on top of everything */
}

nav a {
  display: inline-block;
  margin: 0 5px;
  padding: 20px 25px; /* More breathing room creates a bigger click area */
  font-size: 1rem;
  text-decoration: none;
  color: var(--dark-blue) !important; /* Force dark blue */
  font-weight: 800; /* Extra Bold */
  text-transform: uppercase; /* Makes it stand out like a header */
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent; /* Prepares for hover effect */
}

nav a:hover {
  color: var(--primary-color) !important;
  background-color: #fffbf5; /* Very light orange tint */
  border-bottom: 4px solid var(--primary-color); /* Orange underline on hover */
}

.mc-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero .subtitle {
    font-size: 1.2rem;
  }
  .event-details {
    gap: 20px;
  }
  h2 {
    font-size: 2rem;
  }
  #floating-cta {
    padding: 15px 35px;
    font-size: 1rem;
  }
}
