/* ==========================================================================
   Dark Minimal Theme (generalized)
   --------------------------------------------------------------------------
   Sections expected:
   - Header / Navigation
   - Hero section
   - Card grid (with status tags)
   - Text block
   - Accordion section
   - Contact / Footer
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f7f7f9;
  --muted: #1a1d25;
  --text: #0b0c0e;
  --text-dim: #6b7280;
  --accent: #7dd3fc;
  --accent-2: #a78bfa;
  --tag-1: #34d399;
  --tag-2: #fbbf24;
  --tag-3: #60a5fa;
  --link: #93c5fd;
  --shadow: 0 10px 30px rgba(0,0,0,.35);

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Inter", "SF Pro Text",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --container: 1180px;
  --radius: 16px;
  --radius-sm: 12px;
  --pad: 24px;
  --gap: 20px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
}

/* Container & Section */
.container {
  width: min(100% - 2*var(--pad), var(--container));
  margin-inline: auto;
}
.section {
  padding: clamp(48px, 8vw, 96px) 0;
}
.section + .section {
  border-top: 1px solid rgba(255,255,255,.04);
}

/* Header */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}
.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 16px 0;
}
.nav-logo {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
}
.nav-links { display: flex; gap: 18px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(72px, 12vw, 160px) 0 clamp(48px, 8vw, 96px);
  background:
    linear-gradient(0deg, rgba(255,255,255,.96), rgba(255,255,255,.96)),
    repeating-linear-gradient(to bottom, rgba(0,0,0,.04) 0 2px, transparent 2px 88px),
    repeating-linear-gradient(to right, rgba(0,0,0,.035) 0 1px, transparent 1px 140px),
    #ffffff;
}
.hero h1 {
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: .9;
  color: var(--text);
}
.hero h1 .muted { color: var(--text-dim); }
.hero .lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  max-width: 840px;
  color: var(--text-dim);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}
.card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h4 { margin: 0; }
.tags { display: flex; gap: 8px; margin-top: 10px; }
.tag {
  padding: 6px 10px; border-radius: 999px; font-size: .78rem;
  border: 1px solid rgba(255,255,255,.08);
}
.tag-1 { background: rgba(52,211,153,.15); color: #9ef5c9; }
.tag-2 { background: rgba(251,191,36,.15); color: #fde68a; }
.tag-3 { background: rgba(96,165,250,.15); color: #bfdbfe; }

/* Text Block */
.text-block {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow);
  color: var(--text-dim);
}

/* Accordion */
.accordion { display: grid; gap: 14px; }
.accordion-item {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.accordion-item summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 650;
}
.accordion-item .content {
  padding: 16px 18px 20px;
  color: var(--text-dim);
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Contact */
.contact {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.contact .panel {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 18px;
}
.contact a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(147,197,253,.14);
  border: 1px solid rgba(147,197,253,.35);
  color: #dbeafe;
}

/* Footer */
.footer {
  padding: 36px 0 56px;
  color: var(--text-dim);
  text-align: center;
}

/* =====================
   Carousel styles
   ===================== */
.carousel{
  position: relative;
  max-width: 820px; /* keeps images smaller */
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--surface);
}
.carousel .slides{
  display: flex;
  will-change: transform;
  transition: transform .45s ease;
  align-items: center;
}
/* each image acts like one slide */
.carousel .slides img{
  flex: 0 0 100%;
  width: 100%;
  height: auto;            /* keep natural aspect */
  max-height: 360px;       /* cap size so it’s smaller */
  object-fit: contain;     /* show entire image */
  display: block;
}
/* nav buttons */
.carousel button{
  position: absolute; top: 50%; transform: translateY(-50%);
  border: 1px solid rgba(0,0,0,.15);
  background: rgba(255,255,255,.88);
  color: #111; width: 40px; height: 40px;
  border-radius: 999px; display: grid; place-items: center;
  cursor: pointer; user-select: none;
}
.carousel button:hover{ filter: brightness(0.97); }
.carousel .prev{ left: 10px; }
.carousel .next{ right: 10px; }

/* Optional: dots (if you add them later) */
.carousel .dots{ position: absolute; left: 0; right: 0; bottom: 10px; display: flex; gap: 8px; justify-content: center; }
.carousel .dot{ width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.6); }
.carousel .dot.is-active{ background: rgba(255,255,255,1); }

@media (max-width: 900px){
  .carousel{ max-width: 680px; border-radius: 12px; }
  .carousel .slides img{ height: auto; max-height: 280px; }
}
@media (max-width: 600px){
  .carousel{ max-width: 100%; }
  .carousel .slides img{ height: auto; max-height: 220px; }
  .carousel button{ width: 36px; height: 36px; }
}