/* ============================================================
   DeepDots Ventures — main.css
   Theme: dark | Accent: #00b4d8
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --accent:        #00b4d8;
  --accent-dark:   #0096b5;
  --bg:            #0d1117;
  --surface:       #161b22;
  --surface-2:     #1c2333;
  --border:        rgba(255,255,255,0.08);
  --text:          #e8eaf0;
  --text-muted:    #8b949e;
  --nav-height:    72px;
  --radius:        12px;
}

/* ── Dark Theme Application (R-THEME1) ─────────────────── */
body            { background-color: var(--bg) !important; color: var(--text) !important; }
#wrapper        { background-color: var(--bg) !important; }
#main           { background-color: var(--bg) !important; }

/* ── Typography (MANDATORY !important) ─────────────────── */
body   { font-size: 18px !important; line-height: 1.9 !important; }
h1     { font-size: 61px !important; line-height: 1.1 !important; font-weight: 700 !important; }
h2     { font-size: 43px !important; line-height: 1.2 !important; font-weight: 700 !important; }
h3     { font-size: 28px !important; line-height: 1.3 !important; font-weight: 600 !important; }
.navbar-nav .nav-link { font-size: 15px !important; }

/* ── Override template yellow → accent blue ───────────── */
:root {
  --primary-color: #00b4d8;
  --secondary-color: #00b4d8;
}
.text-warning, .text-danger { color: var(--accent) !important; }
.bg-warning, .bg-danger { background-color: var(--accent) !important; }

/* ── Global image safety ────────────────────────────────── */
img { max-width: 100%; }

/* ── Navbar (dark) ──────────────────────────────────────── */
.navbar {
  background: var(--surface) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4) !important;
  z-index: 1000;
  position: sticky;
  top: 0;
}
.navbar-brand {
  color: var(--accent) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand img { height: 32px; width: auto; display: inline-block; }
.navbar-nav .nav-link { color: rgba(255,255,255,0.82) !important; text-transform: none !important; padding-top: 22px !important; padding-bottom: 22px !important; }
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--accent) !important; }
.navbar-toggler-icon { background-color: rgba(255,255,255,0.8) !important; }
.navbar-toggler { border-color: rgba(255,255,255,0.2) !important; }

/* Remove template site-header */
.site-header { display: none !important; }

/* ── Funding Bar (position:fixed ONLY — HARD RULE) ───────── */
#funding-bar {
  display: none;
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background-color: var(--accent-dark, #0096b5) !important;
  color: #ffffff !important;
  padding: 10px 5%;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 14px !important;
  font-weight: 500;
  text-align: center;
}
#funding-bar a, #funding-bar strong, #funding-bar span { color: #ffffff !important; }
#funding-bar button { background: transparent; border: 1px solid rgba(255,255,255,0.5); color: rgba(255,255,255,0.85) !important; border-radius: 4px; padding: 2px 10px; cursor: pointer; font-size: 12px; }
#funding-bar button:hover { background: rgba(255,255,255,0.15); }

/* ── Page top padding for sticky nav ───────────────────── */
.page-top { padding-top: var(--nav-height, 72px); }

/* ── Hero section ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 600px;
  background-image: url('../images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(10,15,40,0.35);
  background-blend-mode: multiply;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 2; }
.hero .carousel-image-wrap::before { display: none; }

.carousel-caption { z-index: 9; }
.carousel-caption h1 { color: #00b4d8 !important; text-shadow: none; }
.carousel-caption p, .carousel-caption small { color: #00b4d8 !important; text-shadow: none; }
.carousel-caption .section-label { color: #00b4d8 !important; text-shadow: none; }

/* ── Page Hero (inner pages) ────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(10,15,40,0.4);
  background-blend-mode: multiply;
  padding: 80px 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1, .page-hero h2 { color: #ffffff !important; }
.page-hero p { color: rgba(255,255,255,0.88) !important; }
.page-hero-about { background-image: url('../images/about-hero.jpg'); }
.page-hero-team { background-image: url('../images/about-hero.jpg'); }
.page-hero-portfolio { background-image: url('../images/portfolio-hero.jpg'); }
.page-hero-insights { background-image: url('../images/insights-hero.jpg'); }
.page-hero-contact { background-image: url('../images/contact-hero.jpg'); }

/* ── Section padding ────────────────────────────────────── */
.section-padding { padding-top: 100px; padding-bottom: 100px; }
.section-padding-sm { padding-top: 60px; padding-bottom: 60px; }

/* ── Section labels ─────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ── Dark sections ───────────────────────────────────────── */
.section-dark {
  background: var(--surface);
  color: var(--text);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #ffffff !important; }
.section-dark p, .section-dark li { color: rgba(255,255,255,0.82) !important; }

.section-darker {
  background: var(--bg);
}
.section-darker h2, .section-darker h3 { color: #ffffff !important; }
.section-darker p, .section-darker li { color: rgba(255,255,255,0.78) !important; }

/* ── Cards ───────────────────────────────────────────────── */
.card-custom {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}
.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.card-custom h3, .card-custom h4 { color: #ffffff !important; }
.card-custom p { color: rgba(255,255,255,0.78) !important; }

/* ── Feature icon cards ──────────────────────────────────── */
.feature-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(0,180,216,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 24px !important;
  color: var(--accent);
}

/* ── Team cards (VC — rounded rect) ─────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.team-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.team-card img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 10%;
  display: block;
  margin: 0 auto 1.2rem;
}
.team-card h3 { color: #ffffff !important; margin-bottom: 4px !important; font-size: 22px !important; }
.team-role { color: var(--accent) !important; font-size: 14px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px !important; }
.team-bio { color: rgba(255,255,255,0.75) !important; font-size: 15px !important; line-height: 1.7 !important; }

/* ── Portfolio cards ─────────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.portfolio-card h3 { color: #ffffff !important; }
.portfolio-card p { color: rgba(255,255,255,0.78) !important; }
.portfolio-amount {
  display: inline-block;
  background: rgba(0,180,216,0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 19px !important;
  padding: 4px 14px;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.portfolio-tag {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 8px;
}
.portfolio-stage { font-size: 13px; color: rgba(255,255,255,0.5) !important; }

/* ── Stats bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.stat-number { font-size: 43px !important; font-weight: 700 !important; color: var(--accent) !important; line-height: 1.1 !important; }
.stat-label { font-size: 14px !important; color: rgba(255,255,255,0.65) !important; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── CTA section ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #005f73 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: #ffffff !important; }
.cta-section p { color: rgba(255,255,255,0.88) !important; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-accent {
  background: var(--accent);
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
  display: inline-block;
  text-decoration: none;
}
.btn-accent:hover { background: var(--accent-dark); color: #ffffff !important; }
.btn-outline-light-custom {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 6px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}
.btn-outline-light-custom:hover { background: rgba(255,255,255,0.1); color: #ffffff !important; }

/* Override template custom-btn to accent */
.custom-btn { background: var(--accent) !important; border-radius: 6px !important; }
.custom-btn:hover { background: var(--accent-dark) !important; }

/* ── Insights/Blog cards ──────────────────────────────────── */
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.insight-card-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; display: block; }
.insight-card-body { padding: 1.5rem; }
.insight-card h3 { color: #ffffff !important; font-size: 20px !important; margin-bottom: 8px !important; }
.insight-card p { color: rgba(255,255,255,0.72) !important; font-size: 15px !important; }
.insight-card a { text-decoration: none; color: inherit; }
.insight-card a:hover h3 { color: var(--accent) !important; }
.insight-meta { font-size: 12px !important; color: rgba(255,255,255,0.5) !important; margin-bottom: 8px !important; }
.insight-tag {
  display: inline-block;
  background: rgba(0,180,216,0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

/* ── Contact form ─────────────────────────────────────────── */
.contact-form-custom .form-control {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 16px;
}
.contact-form-custom .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,180,216,0.15); outline: none; }
.contact-form-custom .form-control::placeholder { color: rgba(255,255,255,0.3); }
.contact-info-block { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.contact-info-block h3 { color: #ffffff !important; }
.contact-info-block p { color: rgba(255,255,255,0.78) !important; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-icon { color: var(--accent); font-size: 19px !important; margin-top: 3px; flex-shrink: 0; }

/* ── Footer (R-FOOTER1) ───────────────────────────────────── */
#footer, .site-footer-custom {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4em 2em 2em;
}
#footer .inner, .footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3em;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4em;
  align-items: start;
  box-sizing: border-box;
}
#footer h2, .footer-col h2 {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 0 1em !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
#footer p, .footer-col p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 0; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.5em; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-nav a:hover { color: #ffffff; }
.footer-brand-name { color: var(--accent) !important; font-weight: 700; font-size: 18px !important; margin-bottom: 8px !important; }
.footer-copyright {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  margin: 2.5em auto 0;
  padding-top: 1.5em;
  border-top: 1px solid var(--border);
  max-width: 1100px;
}

/* ── Cookie banner ────────────────────────────────────────── */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 16px 5%;
  z-index: 9999;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
#cookie-banner p { color: rgba(255,255,255,0.82) !important; font-size: 14px !important; margin: 0 !important; flex: 1; }
.cookie-btn {
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn.decline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted) !important;
}

/* ── About page ───────────────────────────────────────────── */
.spotlight-section {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4em;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4em 2em;
}
.story-img { width: 100%; overflow: hidden; border-radius: var(--radius); }
.story-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; border-radius: var(--radius); display: block; }
.story-text h2 { color: #ffffff !important; }
.story-text p { color: rgba(255,255,255,0.82) !important; }

/* ── Process/timeline ─────────────────────────────────────── */
.process-step { display: flex; gap: 1.5rem; margin-bottom: 2rem; align-items: flex-start; }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #ffffff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.step-content h4 { color: #ffffff !important; margin-bottom: 6px !important; font-size: 20px !important; }
.step-content p { color: rgba(255,255,255,0.75) !important; font-size: 16px !important; }

/* ── Investors section ────────────────────────────────────── */
.investors-section { background: var(--surface); padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.investor-anchor {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  color: rgba(255,255,255,0.82) !important;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.investor-anchor:hover { border-color: var(--accent); color: var(--accent) !important; }

/* ── Image containers (R-IMG-OVERFLOW1) ──────────────────── */
.feature-img-wrap { width: 100%; max-width: 100%; overflow: hidden; border-radius: var(--radius); display: block; }
.feature-img-wrap img { width: 100%; max-width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }

/* ── Section headers ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { color: #ffffff !important; }
.section-header p { color: rgba(255,255,255,0.72) !important; max-width: 600px; margin: 0 auto; }

/* ── Container override ───────────────────────────────────── */
.container { max-width: 1100px; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb-bar { background: var(--surface-2); padding: 14px 0; border-bottom: 1px solid var(--border); }
.breadcrumb-bar a { color: var(--text-muted); font-size: 13px; text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--accent); }
.breadcrumb-bar span { color: rgba(255,255,255,0.4); font-size: 13px; }

/* ── Utilities ────────────────────────────────────────────── */
.text-accent { color: var(--accent) !important; }
.divider { width: 48px; height: 3px; background: var(--accent); border-radius: 2px; margin: 1rem 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  h1 { font-size: 44px !important; }
  h2 { font-size: 34px !important; }
  h3 { font-size: 24px !important; }
  .section-padding { padding-top: 70px; padding-bottom: 70px; }
  .hero { min-height: 480px; }
  #footer .inner, .footer-inner { grid-template-columns: 1fr 1fr; padding: 0 2em; }
  .spotlight-section { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .stats-bar .row > div { margin-bottom: 2rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 30px !important; }
  #footer .inner, .footer-inner { grid-template-columns: 1fr; padding: 0 1em; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}
