/* ============================================================
   Work with AJ — shared styles
   Matches the visual language of photography.akashjagdhale.com
   and gaming.akashjagdhale.com (dark bg + warm orange accent).
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --bg:           #1a1a1a;
  --surface:      #222222;
  --surface-2:    #2a2a2a;
  --border:       rgba(255,255,255,0.06);
  --border-strong:rgba(255,255,255,0.12);
  --text:         #d4d4d4;
  --text-strong:  #ffffff;
  --text-muted:   #888888;
  --text-faint:   rgba(255,255,255,0.12);
  --accent:       #d4773b;
  --accent-soft:  rgba(212,119,59,0.12);
  --accent-glow:  rgba(212,119,59,0.3);
  --radius:       6px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: rgba(212,119,59,0.25); color: #fff; }

a { color: inherit; text-decoration: none; }

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

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26,26,26,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Alata', sans-serif;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-logo em { font-style: normal; color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-strong); }

@media (max-width: 640px) {
  nav { padding: 0.9rem 1.2rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.7rem; letter-spacing: 0.1em; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212,119,59,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Alata', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  max-width: 950px;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 680px;
  margin-top: 1.8rem;
  line-height: 1.7;
}

.hero-cta {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: all 0.3s;
  cursor: pointer;
  background: transparent;
}
.btn:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 30px var(--accent-glow);
}
.btn.ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.btn.ghost:hover {
  background: transparent;
  border-color: var(--text);
  color: var(--text-strong);
  box-shadow: none;
}

/* ============================================================
   SECTION FRAME
   ============================================================ */
section.block {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: 'Alata', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  max-width: 720px;
}
.section-title em { font-style: normal; color: var(--accent); }

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 1.2rem;
  max-width: 680px;
  line-height: 1.7;
}

/* ============================================================
   CARD GRID (services / skills)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: rgba(212,119,59,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}

.card h3 {
  font-family: 'Alata', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-strong);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

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

.card .card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Alata', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

/* ============================================================
   TIMELINE (experience)
   ============================================================ */
.timeline {
  margin-top: 3rem;
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}

.timeline-item {
  position: relative;
  padding: 0 0 2.6rem 0;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.3rem;
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent-glow);
  border: 2px solid var(--bg);
}

.timeline-date {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.timeline-role {
  font-family: 'Alata', sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-strong);
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.timeline-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 760px;
}

.timeline-body p { margin-bottom: 0.7rem; }
.timeline-body p:last-child { margin-bottom: 0; }

.timeline-body strong {
  color: var(--text);
  font-weight: 500;
}

.timeline-body ul {
  list-style: none;
  margin: 0.5rem 0 0.9rem 0;
  padding: 0;
}
.timeline-body ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
}
.timeline-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 1px;
  background: var(--accent);
}

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}

.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  border-color: rgba(212,119,59,0.3);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}

.portfolio-logo {
  height: 180px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
}
.portfolio-logo img {
  max-height: 100%;
  max-width: 80%;
  object-fit: contain;
}

.portfolio-body {
  padding: 1.6rem 1.8rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-name {
  font-family: 'Alata', sans-serif;
  font-size: 1.25rem;
  color: var(--text-strong);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.portfolio-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

.portfolio-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   PROFILE
   ============================================================ */
.profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}
@media (max-width: 720px) {
  .profile { grid-template-columns: 1fr; gap: 2rem; }
}

.profile-image {
  width: 100%;
  max-width: 280px;
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem;
  border: 1px solid var(--border);
}

.profile-body p {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}
.profile-body p:last-child { margin-bottom: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 3rem;
  max-width: 720px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.contact-card:hover {
  border-color: rgba(212,119,59,0.3);
  transform: translateY(-2px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Alata', sans-serif;
}

.contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.contact-value {
  font-family: 'Alata', sans-serif;
  font-size: 1.1rem;
  color: var(--text-strong);
  margin-top: 0.1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
  text-align: center;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: center;
}

.footer-location {
  font-family: 'Alata', sans-serif;
  font-size: 1.05rem;
  color: var(--text);
}
.footer-location em { font-style: normal; color: var(--accent); }

.footer-social {
  display: flex;
  gap: 1.8rem;
}
.footer-social a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--accent); }

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.footer-copy a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-copy a:hover { color: var(--accent); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 640px) {
  .hero { padding: 7rem 1.4rem 3rem; min-height: 78vh; }
  section.block { padding: 3.5rem 1.4rem; }
  .card { padding: 1.6rem 1.4rem; }
  .portfolio-body { padding: 1.4rem 1.4rem 1.6rem; }
  .timeline { padding-left: 1.5rem; }
  .timeline-item::before { left: -1.9rem; }
  .footer-social { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}
