/*
Theme Name: Health for the Future
Theme URI: https://healthforthefuture.is
Description: Custom landing page theme for Health for the Future Summit
Version: 1.1
Author: HFTF Team
Text Domain: hftf
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

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

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

/* === Override WP global styles === */
.wp-site-blocks, #page, #content, #primary, main, .site-main,
.wp-block-template-part, .entry-content {
  position: static !important;
  background: none !important;
}

/* === Header / Nav === */
.site-header {
  background: #e8f5e9 !important;
  padding: 18px 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: block;
}

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

.site-nav {
  display: flex;
  gap: 40px;
  list-style: none;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  transition: color 0.3s;
}

.site-nav a:hover {
  color: #4caf50;
}

/* === Hero Section === */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

/* Hero Left — Logo lockup with circles */
.hero-left {
  position: relative;
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circles {
  position: absolute;
  inset: -40px;
  z-index: 0;
}

.hero-circles img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-lockup {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-lockup img {
  max-width: 100%;
  height: auto;
}

/* Hero Right — Text + CTA */
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  font-style: italic;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
}

.btn-learn-more {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 40px;
  transition: all 0.3s;
}

.btn-learn-more:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.hero-capacity {
  color: rgba(165, 214, 167, 0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-urgency {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 30px;
}

/* === Tickets Section === */
.tickets {
  background: #1a2318;
  padding: 80px 0;
}

.tickets-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  color: #a5d6a7;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.ticket-group {
  margin-bottom: 50px;
}

.ticket-group:last-child {
  margin-bottom: 0;
}

.ticket-group-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 8px;
}

.ticket-group-note {
  color: rgba(165, 214, 167, 0.7);
  font-size: 13px;
  font-style: italic;
  text-align: center;
  margin-bottom: 25px;
}

.ticket-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.ticket-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(165, 214, 167, 0.15);
  border-radius: 4px;
  padding: 35px 30px;
  flex: 1;
  max-width: 360px;
  text-align: center;
  transition: border-color 0.3s;
}

.ticket-card:hover {
  border-color: rgba(165, 214, 167, 0.4);
}

.ticket-card-vip {
  border-color: rgba(165, 214, 167, 0.35);
  background: rgba(165, 214, 167, 0.06);
}

.ticket-badge {
  display: inline-block;
  background: rgba(165, 214, 167, 0.2);
  color: #a5d6a7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 2px;
  margin-bottom: 15px;
}

.ticket-name {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ticket-price {
  color: #a5d6a7;
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 4px;
}

.ticket-save {
  color: rgba(165, 214, 167, 0.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ticket-features {
  list-style: none;
  margin-bottom: 25px;
}

.ticket-features li {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-features li:last-child {
  border-bottom: none;
}

.ticket-card-active {
  background: rgba(165, 214, 167, 0.08);
  border-color: rgba(165, 214, 167, 0.3);
}

.ticket-card-active:hover {
  border-color: rgba(165, 214, 167, 0.5);
}

.ticket-btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 30px;
  transition: all 0.3s;
}

.ticket-btn-active {
  background: rgba(165, 214, 167, 0.2);
  border: 1px solid rgba(165, 214, 167, 0.5);
  color: #a5d6a7;
  cursor: pointer;
}

.ticket-btn-active:hover {
  background: rgba(165, 214, 167, 0.35);
  border-color: #a5d6a7;
  color: #fff;
}

.ticket-btn-disabled {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  cursor: default;
}

/* === VIP Highlight Section === */
.vip-highlight {
  background: linear-gradient(135deg, #2e4a2e 0%, #1a2318 100%);
  padding: 70px 0;
}

.vip-highlight-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.vip-highlight .section-title {
  margin-bottom: 25px;
}

.vip-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-style: italic;
  line-height: 1.9;
}

/* === Contact Modal === */
.contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.contact-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  background: #1a2318;
  border: 1px solid rgba(165, 214, 167, 0.2);
  border-radius: 4px;
  padding: 45px 40px;
  max-width: 520px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #fff;
}

.modal-title {
  color: #a5d6a7;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  text-align: center;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
  flex: 1;
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(165, 214, 167, 0.2);
  border-radius: 2px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(165, 214, 167, 0.5);
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  display: block;
  width: 100%;
  background: rgba(165, 214, 167, 0.15);
  border: 1px solid rgba(165, 214, 167, 0.4);
  color: #a5d6a7;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
}

.form-submit:hover {
  background: rgba(165, 214, 167, 0.25);
}

/* === Shopify Embed === */
.tickets-purchase {
  background: #1a2318;
  padding: 70px 0;
}

.tickets-purchase-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.shopify-embed {
  margin-top: 30px;
  border: 1px solid rgba(165, 214, 167, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.shopify-embed iframe {
  width: 100%;
  min-height: 700px;
  border: none;
  display: block;
}

/* === Learn More Page === */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.9;
}

/* === About Page === */
.about-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 3px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.about-text {
  max-width: 600px;
  margin: 0 auto;
}

.about-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.about-list li {
  color: rgba(165, 214, 167, 0.85);
  font-size: 15px;
  font-style: italic;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.about-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #a5d6a7;
  font-size: 24px;
  line-height: 1;
}

/* === What We Explore === */
.explore-section {
  background: #1a2318;
  padding: 80px 0;
}

.explore-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.explore-section .section-title {
  margin-bottom: 40px;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.explore-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(165, 214, 167, 0.15);
  border-radius: 4px;
  padding: 30px;
  transition: border-color 0.3s;
}

.explore-card:hover {
  border-color: rgba(165, 214, 167, 0.4);
}

.explore-card-title {
  color: #a5d6a7;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.explore-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .explore-section {
    padding: 50px 0;
  }

  .explore-inner {
    padding: 0 20px;
  }

  .explore-grid {
    grid-template-columns: 1fr;
  }
}

/* === Footer === */
.site-footer {
  background: rgba(30, 35, 25, 0.85);
  color: rgba(255, 255, 255, 0.6);
  padding: 30px 0 20px;
  font-size: 12px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-columns {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.footer-col h4 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-col p {
  margin: 3px 0;
  font-size: 11px;
  line-height: 1.6;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-social-icons a {
  color: rgba(165, 214, 167, 0.5);
  transition: color 0.3s;
}

.footer-social-icons a:hover {
  color: #a5d6a7;
}

.footer-social {
  margin-left: auto;
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: right;
  margin-top: 15px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 20px;
  }

  .footer-col {
    width: 100%;
  }

  .footer-social {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    padding-top: 10px;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-inner {
    padding: 0 20px;
  }
}

/* === Mobile Hamburger === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

/* === Responsive === */
@media (max-width: 768px) {
  /* --- Header: more prominent, sticky --- */
  .site-header {
    padding: 14px 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .header-inner {
    padding: 0 16px;
  }

  .site-logo img {
    height: 38px;
  }

  /* --- Hamburger menu --- */
  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #e8f5e9;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 10px 0 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

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

  .site-nav li {
    padding: 12px 0;
  }

  /* --- Hero: stacked grid (logo top, text bottom) --- */
  .hero {
    min-height: auto;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 20px;
  }

  .hero-left {
    flex: none;
    width: 280px;
  }

  .hero-circles {
    inset: -20px;
  }

  .hero-lockup img {
    max-width: 280px;
  }

  .hero-right {
    padding: 0 10px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  .btn-learn-more {
    font-size: 12px;
    padding: 12px 32px;
    letter-spacing: 2px;
  }

  /* --- Page content (learn more) --- */
  .page-hero {
    min-height: auto;
  }

  .page-content {
    padding: 50px 20px;
    font-size: 15px;
  }

  /* --- Tickets --- */
  .tickets {
    padding: 50px 0;
  }

  .tickets-inner {
    padding: 0 20px;
  }

  .section-title {
    font-size: 26px;
    letter-spacing: 4px;
  }

  .ticket-cards {
    flex-direction: column;
    align-items: center;
  }

  .ticket-card {
    max-width: 100%;
    width: 100%;
  }

  .ticket-price {
    font-size: 34px;
  }

  /* --- VIP highlight --- */
  .vip-highlight {
    padding: 50px 0;
  }

  .vip-highlight-inner {
    padding: 0 20px;
  }

  .vip-text {
    font-size: 14px;
  }

  /* --- Contact modal --- */
  .modal-content {
    padding: 30px 24px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}
