/*
Theme Name: Manish Portfolio
Author: Manish Bedi
Description: DGL233 Project 2
Version: 1.0
*/

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --soft: #f3f4f6;

  --brand: #2f5bff;
  --brand-dark: #1f3fb8;

  --navy: #0b1c2d;
  --card: #ffffff;

  --radius: 14px;
  --shadow: 0 10px 25px rgba(0,0,0,.08);
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img{ max-width: 100%; height: auto; display: block; }

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; }

.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section{
  padding: 2.5rem 0;
}

/* ===== HEADER ===== */
.site-header{
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-brand{
  font-weight: 700;
  letter-spacing: .2px;
}

.main-nav ul{
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav a{
  color: var(--muted);
  font-weight: 600;
  padding: .4rem .2rem;
}

.main-nav a:hover{
  color: var(--text);
}

/* ===== HERO ===== */
.section-hero{
  background: var(--soft);
}

.hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 0;
}

.hero-kicker{
  font-size: .85rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-title{
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-top: .5rem;
}

.hero-subtitle{
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: .8rem;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  margin-top: 1rem;
  box-shadow: 0 10px 22px rgba(47,91,255,.25);
}
.btn:hover{ background: var(--brand-dark); }

.hero-image{
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

/* ===== ABOUT ===== */
.section-about p{
  color: var(--muted);
  margin-top: .75rem;
}

/* ===== SKILLS ===== */
.section-skills{
  background: #fff;
}

.skills-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.skill-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.25rem;
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
  text-align: center;
}

.skill-card h3{
  margin-top: .75rem;
  font-size: 1.05rem;
}

.skill-card p{
  color: var(--muted);
  margin-top: .4rem;
  font-size: .95rem;
}

/* ===== EDUCATION / EXPERIENCE ===== */
.section-edu h2{
  margin-bottom: 1rem;
}

.edu-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.edu-box{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fff;
}

.edu-box h3{
  margin-bottom: .6rem;
}

.edu-box ul{
  padding-left: 1.1rem;
  color: var(--muted);
}
.edu-box li{ margin-bottom: .35rem; }

/* ===== CONTACT ===== */
.section-contact{
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.section-contact p{
  color: rgba(255,255,255,.75);
  max-width: 65ch;
  margin: .6rem auto 0;
}

.form-wrap{
  width: min(520px, 100%);
  margin: 1.5rem auto 0;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  text-align: left;
}

label{
  font-weight: 700;
  font-size: .9rem;
  display: block;
  margin: .75rem 0 .35rem;
}

input, textarea{
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}

textarea{ min-height: 120px; resize: vertical; }

button{
  width: 100%;
  margin-top: 1rem;
  padding: .75rem 1rem;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
button:hover{ background: var(--brand-dark); }

/* ===== FOOTER ===== */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  text-align: center;
  color: var(--muted);
}

/* ===== DESKTOP ===== */
@media (min-width: 768px){
  .hero-grid{
    grid-template-columns: 1.2fr .8fr;
    gap: 2.5rem;
    padding: 3rem 0;
  }

  .skills-grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .edu-grid{
    grid-template-columns: 1fr 1fr;
  }
}