/*
Theme Name: Vivek Kushwah Creator Theme
Theme URI: https://vivekkushwahkonhai.com/
Author: Codex
Description: Personal creator one-page WordPress theme with editable sections and blue brand colors.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: vivek-kushwah-theme
*/

:root {
  --bg: #f4f8ff;
  --panel: #ffffff;
  --ink: #10213d;
  --muted: #516487;
  --line: #d8e4ff;
  --brand: #1f5fff;
  --brand-2: #34b4ff;
  --radius: 18px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(700px 380px at 88% -8%, rgba(52, 180, 255, 0.28), transparent 60%), var(--bg);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(244, 248, 255, 0.9);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.brand {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}
.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
}

.section { padding: 72px 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.pill {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #c7ddff;
  background: #edf4ff;
  color: #2a5fbe;
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
}
h1, h2 { font-family: "Sora", "Manrope", sans-serif; margin: 0; }
h1 { font-size: clamp(2rem, 4.3vw, 3.6rem); line-height: 1.05; margin-top: 10px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.lead { color: var(--muted); margin-top: 12px; }

.hero-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.76rem 1.12rem;
  font-weight: 800;
  color: #fff;
  border: 0;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
}
.btn-light {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-photo {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
  box-shadow: 0 22px 40px rgba(15, 46, 110, 0.13);
}
.hero-photo img {
  display: block;
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.quick-stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.quick-stats article,
.card,
.post-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.quick-stats article { padding: 12px; }
.quick-stats strong { display: block; font-size: 1.2rem; }
.quick-stats span { color: var(--muted); font-size: 0.9rem; }

.card { padding: 22px; }
.brands-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.brand-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.brand-card img {
  width: 52px;
  height: 52px;
  display: block;
}
.brand-card h3 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1rem;
}
.content-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.post-card { padding: 14px; }
.post-card p { color: var(--muted); margin: 8px 0 0; }
.post-card a { display: block; }
.post-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
}

.media-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.media-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 16px;
}
.media-card h3 {
  margin: 10px 0 0;
  font-size: 1.05rem;
}
.media-card p {
  color: var(--muted);
}
.reel-embed {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f9fbff;
}
.reel-embed iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
.reel-embed video {
  width: 100%;
  display: block;
  border: 0;
  background: #000;
  min-height: 320px;
}
.featured-photo {
  width: 100%;
  display: block;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #fff;
}

.updates-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.update-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 12px;
}
.update-card h3 {
  margin: 8px 0 0;
  font-size: 1rem;
}
.update-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-card {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, #edf4ff, #f4f9ff);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 30px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.6s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.sound-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 80;
}

@media (max-width: 980px) {
  .hero-grid,
  .quick-stats,
  .brands-grid,
  .media-grid,
  .updates-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
  .reel-embed iframe {
    min-height: 360px;
  }
  .featured-photo {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 4%;
    right: 4%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 16px 30px rgba(15, 46, 110, 0.12);
    flex-direction: column;
    gap: 8px;
  }
  .nav a {
    padding: 8px 10px;
    border-radius: 8px;
  }
  .nav a:hover {
    background: #edf4ff;
  }
  .nav.is-open {
    display: flex;
  }
}
