/* BRAND COLOR TEMPLATE */
:root {
/* Nature-Focused Dark Theme Mapping */
    --primary-brown: #120d08;      /* Deep Peppercorn (Nature's Dark) */
    --primary-brown-dark: #000000; /* Shadow for deep depth */
    --accent-tan: #f4b41a;         /* Turmeric Gold from your flyer */
    --tab-bg: #1e160e;             /* Roasted Leaf (Darker tab) */
    --page-bg: #120d08;            /* Keeps the whole page dark */
    --funder-bg: #1e160e;          /* Card background */
    --text-main: #f5ede0;          /* Steamed Milk (Easy to read) */
    --text-white: #e0e0e0;         /* Consistent off-white for all light text */
    --footer-bg: #0b0805;          /* Even deeper finish */
    
    /* New Nature Accent (Can be used for borders) */
    --nature-green: #4a5d23;
}

/* BASE STYLES */
* { box-sizing: border-box; }

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background: var(--page-bg);
    color: var(--text-main);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

/* HEADER & TYPOGRAPHY */
header {
    background: var(--primary-brown);
    color: var(--text-white);
    padding: 2rem 1rem;
    text-align: center;
    overflow: hidden;
}

header h1 {
    margin: 0;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header h1::after {
    content: '';
    display: block;
    width: 80%;
    max-width: 500px;
    height: 4px;
    background: var(--accent-tan);
    margin: 10px auto 0;
    border-radius: 2px;
}

.header-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: 50% 65%;
    border-radius: 0 0 20px 20px;
    display: block;
    margin-bottom: 25px;
}

/* STICKY HEADER LOGIC */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000; /* Keeps it above all other content */
    background: var(--primary-brown);
    padding: 10px 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border-bottom: 2px solid var(--nature-green);
}

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

/* CIRCULAR LOGO (Same style as founders) */
.header-logo-circle {
    width: 60px; 
    height: 60px;
    object-fit: contain; 
    background: white; /* Matches founders logo background */
    padding: 8px; 
    border-radius: 50%;
    border: 2px solid var(--accent-tan);
}

.tagline-break {
    display: block; /* Forces the span onto a new line */
    margin-top: 5px; /* Adds a tiny bit of breathing room between lines */
    font-size: 0.9em; /* Optional: makes the second line slightly more subtle */
    color: var(--accent-tan); /* Optional: uses your brand gold for the second half */
}

/* COMPACT EVENT DETAILS FOR STICKY BAR */
.event-details {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

/* ADJUST BANNER MARGIN */
.header-main-img {
    margin-top: 0; /* Ensures banner sits flush under sticky header */
    border-radius: 0; /* Keep it sharp or adjust as preferred */
}

.tagline {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.event-details {
    background: rgba(0, 0, 0, 0.15);
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* LAYOUT & CARDS */
section {
    max-width: 900px;
    margin: auto;
    padding: 2rem 1rem;
}

h2 { color: var(--text-white); margin-top: 0; }

.card {
    background: var(--primary-brown);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: var(--text-white);
}

/* TABS (What We Do) */
.tab-container {
    display: flex;
    gap: 10px;
    margin-bottom: -1px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.tab-btn {
    background: var(--tab-bg);
    color: var(--accent-tan);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    transition: 0.3s;
}

.tab-btn.active { background: var(--primary-brown); color: var(--text-white); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.journey-image {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;   /* 👈 always square */
  height: auto;

  object-fit: cover;    /* 👈 fills square without distortion */

  border-radius: 12px;
  margin-top: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}


/* FUNDER CARDS */
.funder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.funder-card {
    background: var(--funder-bg);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    color: var(--text-white);
}

.funder-card:hover { transform: translateY(-3px); border: 2px solid var(--accent-tan); }

.funder-logo {
    width: 60px; height: 60px;
    object-fit: contain; background: white;
    padding: 5px; border-radius: 50%;
}

.funder-details {
    max-height: 0; opacity: 0;
    transition: all 0.4s ease;
}

.funder-card.is-expanded .funder-details {
    max-height: 200px; opacity: 1;
    padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 10px;
}

/* CONTACT FORM & BUTTONS */
.push-button {
    width: 280px;
    background: var(--primary-brown); 
    color: var(--text-white);
    border: none; 
    padding: 1.2rem 2.5rem;
    font-size: 1rem; 
    font-weight: bold;
    border-radius: 50px; 
    cursor: pointer;
    box-shadow: 0 6px 0 var(--primary-brown-dark);
    transition: all 0.1s ease;
    
    display: flex; 
    margin: 20px auto; 
    
    align-items: center; 
    justify-content: center; 
    gap: 10px;
}

.push-button:active { transform: translateY(6px); box-shadow: 0 0 0 var(--primary-brown-dark); }

.contact-form-card {
    max-height: 0; opacity: 0; overflow: hidden;
    transition: all 0.5s ease; max-width: 600px; margin: 0 auto;
}

.contact-form-card.is-visible { max-height: 800px; opacity: 1; padding-top: 20px; }

.contact-form-card label { display: block; margin-bottom: 1rem; font-weight: bold; color: var(--text-white); }

.contact-form-card input, .contact-form-card textarea {
    width: 100%; padding: 12px; margin-top: 5px; border-radius: 6px; border: 1px solid #ddd;
}

.button {
    display: inline-block; background: var(--text-white);
    color: var(--primary-brown) !important; padding: 0.6rem 1.2rem;
    border-radius: 6px; font-weight: bold; text-decoration: none;
}

/* FOOTER */
footer {
    text-align: center; padding: 1.5rem;
    background: var(--footer-bg); color: #666;
}

/* JOURNEY AHEAD */
.carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.viewport {
  position: relative;
  width: 100%;
}

.slide {
  display: none; /* hide by default */
  gap: 16px;
  align-items: start;
}

.slide.active {
  display: block; /* only active slide shows */
}

.slide figure {
  margin: 0;
  max-width: 420px;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.arrow {
    background: rgba(255, 255, 255, 0.05) !important; /* Semi-transparent */
    color: var(--accent-tan) !important;
    border: 1px solid rgba(244, 180, 26, 0.3) !important; /* Subtle gold border */
    width: 10px;
    height: 75px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important; /* Remove the heavy 3D effect for navigation */
    transition: all 0.3s ease !important;
}

.arrow:hover {
    background: var(--accent-tan) !important;
    color: var(--primary-brown) !important;
    transform: scale(1.1);
}

.arrow:active {
    transform: scale(0.9);
}

.chip {
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    background: white;
    cursor: pointer;
    font-weight: bold;
    color: black;
    transition: all 0.2s ease;
}

.chip.active {
    border-color: #6772e5;
    background: #f0f2ff;
    color: #6772e5;
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
    body { background: #1a1a1a; color: #f4f4f9; }
    .card, .funder-card { background: #2d2d2d; }
    .funder-card.is-expanded { background: #3d3d3d; }
    footer { background: #111; color: #888; }
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 600px) {
    header h1 { font-size: 2rem; letter-spacing: 1px; }
    header h1::after { width: 90%; max-width: 300px; }
    .header-logo { height: 45px; }
    .event-details { display: flex; flex-direction: column; gap: 8px; border-radius: 15px; }
}

@media (max-width: 600px) {
    .header-logo-circle { width: 50px; height: 50px; }
    .event-details { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
}

@media (max-width: 800px) {
  .slide.active {
    flex-direction: column;
  }
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}