/* ===========================
   IKOSA — GitHub Pages Styles
   =========================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700&family=Barlow+Condensed:wght@700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
  --red:     #91110B;
  --red-dark:#6e0d08;
  --dark:    #111111;
  --mid:     #1e1e1e;
  --light:   #f5f5f5;
  --white:   #ffffff;
  --font-body: 'Barlow', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Navigation ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--red);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--red);
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ccc;
  transition: color 0.2s;
}

nav ul li a:hover { color: var(--white); }

/* ---- Hero ---- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  background:
    linear-gradient(135deg, rgba(145,17,11,0.18) 0%, transparent 60%),
    var(--dark);
  position: relative;
  overflow: hidden;
}

/* decorative geometric accent */
.hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border: 3px solid rgba(145,17,11,0.25);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  border: 1px solid rgba(145,17,11,0.15);
  border-radius: 50%;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* ---- Button ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--red);
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: transparent;
  color: var(--red);
}

/* ---- Sections ---- */
.section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-alt {
  max-width: 100%;
  background: var(--mid);
  padding: 6rem 2rem;
}

.section-alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 48px;
  height: 3px;
  background: var(--red);
}

/* ---- Cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid var(--red);
  padding: 2rem;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-left-color: #c0190f;
}

.card-icon { font-size: 2rem; margin-bottom: 1rem; }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.card p { color: #aaa; font-size: 0.95rem; }

/* ---- About ---- */
.about-text {
  max-width: 640px;
  font-size: 1.15rem;
  color: #bbb;
  line-height: 1.8;
}

/* ---- Contact ---- */
#contact { text-align: center; }
#contact p { color: #aaa; margin-bottom: 2rem; font-size: 1.05rem; }

/* ---- Footer ---- */
footer {
  background: #0a0a0a;
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: #555;
  border-top: 1px solid #222;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  nav ul { display: none; }
  .hero { min-height: 80vh; }
  .hero::before, .hero::after { display: none; }
}
