/*
Theme Name: Sikhami 2026
Theme URI: https://sikhami.com/
Author: OpenSocial Intellectrax Pvt Ltd
Author URI: https://sikhami.com/
Description: The 2026 dark redesign for Sikhami — modern, minimal, OpenAI-inspired. Pure black background, white Arial typography, blue accent for links only. Built around the eight core features of the Sikhami app (Meetups, Notes, Polls, Audios, Clips, Quizzes, Clubs, Posts).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sikhami-2026
Tags: black, dark, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ====================================================================
   RESET
   ==================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ====================================================================
   ROOT
   ==================================================================== */
:root {
  --bg: #000000;
  --bg-elevated: #0A0A0A;
  --bg-elevated-2: #121212;
  --text: #FFFFFF;
  --text-muted: rgba(255,255,255,0.6);
  --text-subtle: rgba(255,255,255,0.4);
  --border: rgba(255,255,255,0.1);
  --border-strong: rgba(255,255,255,0.2);
  --link: #2874F0;
  --container: 1280px;
}

html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
a { color: var(--link); text-decoration: none; transition: opacity 0.15s; }
a:hover { opacity: 0.75; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.screen-reader-text { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ====================================================================
   NAVIGATION
   ==================================================================== */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.site-logo a, .site-logo { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--text); }
.site-logo a:hover { opacity: 1; }
.nav-links { display: flex; gap: 8px; align-items: center; list-style: none; }
.nav-links li { list-style: none; }
.nav-link, .nav-links a {
  color: var(--text-muted); font-weight: 400; font-size: 15px;
  padding: 8px 14px; border-radius: 8px; background: none; border: none;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.15s, background 0.15s; text-decoration: none;
}
.nav-link:hover, .nav-links a:hover { color: var(--text); background: var(--bg-elevated); opacity: 1; }
.nav-link .arrow { font-size: 10px; opacity: 0.7; transition: transform 0.15s; }

/* Features dropdown */
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 16px; padding: 12px; min-width: 480px;
  opacity: 0; pointer-events: none; transition: all 0.2s;
  text-align: left; box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6);
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown:hover .nav-link .arrow { transform: rotate(180deg); }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--text); font-size: 14px; transition: background 0.15s;
}
.dropdown-item:hover { background: var(--bg-elevated-2); opacity: 1; }
.dropdown-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-elevated-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dropdown-icon svg { width: 18px; height: 18px; color: var(--text); }
.dropdown-item-text strong { display: block; font-size: 14px; font-weight: 700; }
.dropdown-item-text span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.btn-primary {
  background: var(--text); color: var(--bg);
  padding: 10px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 700; margin-left: 8px;
}
.btn-primary:hover { opacity: 0.85; }

/* ====================================================================
   HERO
   ==================================================================== */
.hero { padding: 180px 0 140px; }
.hero-inner { max-width: 920px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 14px; color: var(--text-muted); margin-bottom: 32px; font-weight: 400; }
.eyebrow .badge {
  display: inline-block; padding: 3px 10px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  font-size: 12px; margin-right: 12px; color: var(--text); font-weight: 700;
}
.hero h1 { font-size: 96px; line-height: 1.0; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 36px; }
.hero p.lead {
  font-size: 22px; color: var(--text-muted); margin: 0 auto 48px;
  max-width: 680px; line-height: 1.4; font-weight: 400;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: center; }

/* ====================================================================
   PLAY STORE BUTTON
   ==================================================================== */
.play-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--text); color: var(--bg); padding: 14px 26px;
  border-radius: 999px; font-weight: 700;
}
.play-store:hover { opacity: 0.85; }
.play-store-icon { width: 24px; height: 24px; }
.play-store-text { line-height: 1.1; text-align: left; }
.play-store-text small { font-size: 11px; opacity: 0.7; font-weight: 400; }
.play-store-text strong { display: block; font-size: 15px; font-weight: 700; }

.secondary-cta {
  color: var(--text); font-size: 15px; font-weight: 400;
  padding: 14px 18px; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border-strong); border-radius: 999px; text-decoration: none;
}
.secondary-cta::after { content: '→'; transition: transform 0.15s; }
.secondary-cta:hover::after { transform: translateX(3px); }
.secondary-cta:hover { opacity: 1; background: var(--bg-elevated); }

/* ====================================================================
   SECTIONS
   ==================================================================== */
.section { padding: 120px 0; }
.section-head { margin: 0 auto 72px; max-width: 800px; }
.section-eyebrow { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; font-weight: 400; }
.section-head h2 { font-size: 60px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; }
.section-head p { font-size: 20px; color: var(--text-muted); max-width: 640px; margin: 0 auto; line-height: 1.4; font-weight: 400; }

/* ====================================================================
   ARTICLES (post grid)
   ==================================================================== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  transition: border-color 0.15s; color: var(--text);
  display: flex; flex-direction: column; text-align: center;
}
.post-card:hover { border-color: var(--border-strong); opacity: 1; }
.post-image {
  height: 200px; background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.post-image img { width: 100%; height: 100%; object-fit: cover; }
.post-image svg { width: 48px; height: 48px; color: var(--text-subtle); }
.post-content { padding: 28px; flex: 1; display: flex; flex-direction: column; align-items: center; }
.post-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 400; }
.post-content h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 10px; }
.post-content h3 a { color: var(--text); }
.post-content h3 a:hover { color: var(--link); opacity: 1; }
.post-content p { font-size: 14px; color: var(--text-muted); line-height: 1.5; font-weight: 400; flex: 1; }
.post-link { color: var(--link); font-size: 14px; margin-top: 16px; display: inline-flex; align-items: center; gap: 4px; font-weight: 400; }
.posts-cta { margin-top: 56px; }
.posts-cta a { font-size: 16px; }

/* ====================================================================
   CTA SECTION
   ==================================================================== */
.cta-section { padding: 160px 0; border-top: 1px solid var(--border); }
.cta-inner { max-width: 800px; margin: 0 auto; }
.cta-inner h2 { font-size: 72px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 24px; }
.cta-inner p { font-size: 20px; color: var(--text-muted); margin: 0 auto 40px; max-width: 540px; font-weight: 400; }

/* ====================================================================
   PAGES & POSTS
   ==================================================================== */
.page-wrap, .single-wrap, .archive-wrap { max-width: 800px; margin: 0 auto; padding: 120px 32px 80px; text-align: left; }
.page-wrap.is-centered, .single-wrap.is-centered { text-align: center; }
.entry-header { margin-bottom: 56px; text-align: center; }
.entry-eyebrow { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.1em; }
.entry-title { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; }
.entry-meta { color: var(--text-muted); font-size: 14px; margin-top: 20px; }
.entry-meta a { color: var(--text); }
.entry-content { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.85); }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2em; margin-bottom: 0.5em; }
.entry-content h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin-top: 1.5em; margin-bottom: 0.5em; }
.entry-content h4 { font-size: 18px; font-weight: 700; margin-top: 1.5em; margin-bottom: 0.5em; }
.entry-content p { margin: 0 0 1em; }
.entry-content ul, .entry-content ol { margin: 1em 0; padding-left: 1.5em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content a { color: var(--link); text-decoration: underline; }
.entry-content blockquote { border-left: 3px solid var(--border-strong); padding-left: 24px; margin: 1.5em 0; color: var(--text-muted); font-style: italic; }
.entry-content code { background: var(--bg-elevated); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; font-family: monospace; }
.entry-content pre { background: var(--bg-elevated); padding: 20px; border-radius: 8px; overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--border); }
.entry-content img { border-radius: 8px; margin: 1em auto; }
.entry-content hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
.entry-footer { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); text-align: center; }

/* Archive listing */
.archive-list { display: flex; flex-direction: column; gap: 32px; margin-top: 56px; }
.archive-item { border: 1px solid var(--border); border-radius: 16px; padding: 32px; text-align: left; transition: border-color 0.15s; }
.archive-item:hover { border-color: var(--border-strong); }
.archive-item h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.archive-item h2 a { color: var(--text); }
.archive-item h2 a:hover { color: var(--link); opacity: 1; }
.archive-item p { color: var(--text-muted); font-size: 15px; margin-top: 8px; }
.archive-item .post-meta { margin-bottom: 0; text-align: left; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Pagination */
.pagination { margin-top: 64px; display: flex; justify-content: center; gap: 8px; list-style: none; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); color: var(--text-muted); font-size: 14px; }
.pagination .page-numbers:hover { color: var(--text); border-color: var(--border-strong); }
.pagination .page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }

/* 404 */
.error-404 { max-width: 600px; margin: 0 auto; padding: 200px 32px 120px; text-align: center; }
.error-404 h1 { font-size: 96px; font-weight: 700; letter-spacing: -0.04em; }
.error-404 p { font-size: 20px; color: var(--text-muted); margin: 24px 0 36px; }

/* Search */
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.search-form input[type="search"] { flex: 1; padding: 12px 18px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-size: 15px; font-family: inherit; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--border-strong); }
.search-form button { background: var(--text); color: var(--bg); border: none; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; }

/* ====================================================================
   FOOTER
   ==================================================================== */
.site-footer { border-top: 1px solid var(--border); padding: 80px 0 40px; text-align: center; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-bottom: 64px; text-align: center; }
.footer-col { display: flex; flex-direction: column; align-items: center; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; padding: 5px 0; font-weight: 400; }
.footer-col a:hover { color: var(--text); opacity: 1; }
.footer-col p { color: var(--text-muted); font-size: 14px; margin-top: 12px; max-width: 280px; line-height: 1.5; font-weight: 400; }
.footer-features { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 32px; display: flex; justify-content: center; align-items: center; color: var(--text-subtle); font-size: 13px; flex-wrap: wrap; gap: 24px; font-weight: 400; }
.footer-app-link { margin-top: 16px; color: var(--link); display: inline-block; }

/* ====================================================================
   COMMENTS
   ==================================================================== */
.comments-area { max-width: 800px; margin: 0 auto; padding: 64px 32px; text-align: left; }
.comments-area h2 { font-size: 24px; margin-bottom: 32px; font-weight: 700; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { border-top: 1px solid var(--border); padding: 24px 0; }
.comment-author { font-weight: 700; }
.comment-meta { color: var(--text-muted); font-size: 13px; }
.comment-respond textarea, .comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"] { width: 100%; padding: 12px 16px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: inherit; font-size: 15px; margin-top: 6px; }
.comment-respond label { display: block; margin-top: 12px; font-size: 14px; color: var(--text-muted); }
.comment-respond .submit { background: var(--text); color: var(--bg); border: none; padding: 12px 22px; border-radius: 999px; font-weight: 700; margin-top: 16px; cursor: pointer; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dropdown-panel { min-width: 380px; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 48px; }
  .section-head h2, .entry-title { font-size: 36px; }
  .cta-inner h2 { font-size: 44px; }
  .hero { padding: 100px 0 80px; }
  .section { padding: 80px 0; }
  .posts-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-links .nav-link, .nav-links li > a { display: none; }
  .nav-links .btn-primary { display: inline-flex; }
  .dropdown-grid { grid-template-columns: 1fr; }
  .dropdown-panel { min-width: 280px; }
  .page-wrap, .single-wrap, .archive-wrap { padding: 80px 24px 60px; }
  .error-404 { padding: 120px 24px 80px; }
  .error-404 h1 { font-size: 64px; }
}
