/* ============================================
   sirkitree.net — Dark theme portfolio
   ============================================ */

:root {
  --bg: #111117;
  --bg-surface: #1a1a24;
  --bg-card: #16161f;
  --text: #e0e0e0;
  --text-muted: #8a8a9a;
  --accent: #00FFFF;
  --accent-hover: #00C2C2;
  --accent-alt: #26FFCE;
  --link-hover: #6A00FF;
  --font-heading: 'Antonio', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --gap: 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill='none' stroke='%231a1a2e' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s;
}

a:hover {
  color: var(--link-hover);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* Shared section heading */
.section-heading,
.services h2,
.videos h2,
.articles h2,
.gallery h2,
.blog-page h1 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 3rem;
  text-align: center;
}

/* ---- Nav ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 17, 23, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.3rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--gap);
}

.hero-label {
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(3rem, 10vw, 6.5rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}

.hero-cta:hover {
  background: var(--accent);
  color: var(--bg);
  transform: scale(1.05);
}

/* ---- About ---- */
.about {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: 1.05rem;
}

.about-image img {
  border-radius: 4px;
}

/* ---- Services ---- */
.services {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
  margin-bottom: 3rem;
}

.service-card {
  background: var(--bg-card);
  padding: 2rem;
  border-left: 3px solid var(--accent);
  transition: transform 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.services-cta {
  text-align: center;
  padding-top: 1rem;
}

.services-cta p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ---- Videos ---- */
.videos {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--gap);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--bg-card);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Articles ---- */
.articles {
  padding: 6rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap);
}

.article-card {
  display: block;
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.25s;
  color: var(--text);
}

.article-card:hover {
  transform: translateY(-4px);
  color: var(--text);
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 1.5rem;
}

.article-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- Gallery ---- */
.gallery {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
}

.gallery-card {
  display: block;
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.25s;
  color: var(--text);
}

.gallery-card:hover {
  transform: translateY(-4px);
  color: var(--text);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery-info {
  padding: 1rem 1.25rem;
}

.gallery-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.gallery-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---- Links ---- */
.links {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.links .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.link-group h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--accent);
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 0.6rem;
}

.link-group a {
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.25s;
}

.link-group a:hover {
  color: var(--accent);
}

.link-group span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---- Footer ---- */
.footer {
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---- Blog page ---- */
.blog-page {
  padding: 6rem 0;
}

.blog-page h1 {
  margin-bottom: 2rem;
}

.post-list {
  list-style: none;
}

.post-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--bg-surface);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.post-list a {
  font-size: 1.1rem;
}

.post-list time {
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 736px) {
  .hero {
    min-height: 80vh;
    padding: 3rem var(--gap);
  }

  .services,
  .videos,
  .articles,
  .about,
  .links {
    padding: 4rem 0;
  }

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

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

  .links .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .links .container {
    grid-template-columns: 1fr;
  }

  .post-list li {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-links {
    display: none;
  }
}
