/*
Theme Name: My Portfolio Theme
Author: Titus Canet
Description: A custom portfolio theme for learning WordPress
Version: 1.0
Text Domain: my-portfolio-theme
*/

body {
  margin: 0;
}

/* ===== HEADER ===== */

.site-header {
  border-bottom: 1px solid #E5E7EB;
  background: transparent;
  opacity: 30%;
  position: absolute;
  width: 100%;
}

.site-header:hover{
  background-color: white;
  opacity: 100%;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  width: 100%;
  background-color: transparent;
}

.header-inner:hover{
  background-color: white;
}

.site-logo a {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--muted);
  text-decoration: none;
}


/* Navigation */
.nav-menu {
  list-style: none;
  display: flex;
  flex-direction:  row;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: bold;
  transition: color 0.2s ease;
}

.nav-menu a:hover, .site-logo a:hover {
  color: var(--text);
}

.homepage {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.projects {
  margin-top: 3rem;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.project {
  border: 1px solid #ddd;
  padding: 1rem;
  width: 240px;
  border-radius: 8px;
}

.contact-cta {
  margin-top: 3rem;
}

.contact-cta .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

:root{
  --accent: #2563EB;
  --text: #1F2937;
  --muted: #6B7280;
  --bg: #FFFFFF;
  --max: 1100px;
}

body { color: var(--text); background: var(--bg); }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.hero .container
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}




.hero{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
  background-color: #6B7280;
  border-bottom-style: solid;
  border-bottom: #1D4ED8;
  border-bottom-left-radius:  5px;
  border-bottom-right-radius: 5px;
  box-shadow: 0px 2px 10px black;
}

.hero-kicker{
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.hero-title{
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 16px;
  color: white;
}

.hero-subtitle{
  max-width: 700px;
  color: white;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 28px;
  text-align: center;
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary{
  background: var(--accent);
  color: #fff;
}

.btn-outline{
  border-color: white;
  color: var(--text);
  background: white;
}

.btn:focus{
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.skills-section{
  padding: 80px 0;
}

.section-heading{
  margin-bottom: 32px;
}

.section-heading h2{
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--text);
}

.section-heading p{
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.skills-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.skill-card{
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 24px;
}

.skill-card h3{
  margin: 0 0 16px;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--text);
}

.skill-card ul{
  margin: 0;
  padding-left: 20px;
}

.skill-card li{
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.skill-card li:last-child{
  margin-bottom: 0;
}

.project-section{
  padding: 80px 0;
  background: #F8FAFC;
}

.project-card{
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px;
}

.project-content{
  display: grid;
  gap: 32px;
}

.project-block h3{
  margin: 0 0 16px;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--text);
}

.project-block p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 750px;
}

.project-block ul{
  margin: 0;
  padding-left: 20px;
}

.project-block li{
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.project-block li:last-child{
  margin-bottom: 0;
}

.tag-list{
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-list li{
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  font-size: 0.95rem;
  line-height: 1.2;
}

/* ===== LAB SECTION ===== */

.lab-section {
  padding: 80px 0;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Individual cards */
.lab-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

/* Subtle hover (optional but nice) */
.lab-card:hover {
  border-color: #D1D5DB;
  transform: translateY(-2px);
}

/* Card titles */
.lab-card h3 {
  margin: 0 0 16px;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--text);
}

/* Lists */
.lab-card ul {
  margin: 0;
  padding-left: 20px;
}

.lab-card li {
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.lab-card li:last-child {
  margin-bottom: 0;
}

/* Optional note under heading */
.lab-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== GAME DEV PAGE ===== */

.gamedev-page {
  padding: 80px 0;
}

.gamedev-hero {
  margin-bottom: 48px;
}

.gamedev-hero h1 {
  margin-bottom: 16px;
}

.gamedev-hero p {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.6;
}

/* Sections */
.gamedev-section {
  margin-bottom: 64px;
}

.gamedev-section h2 {
  margin-bottom: 24px;
}

/* Grid */
.gamedev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Cards */
.gamedev-card {
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 24px;
  background: #FFFFFF;
}

.gamedev-card h3 {
  margin-bottom: 16px;
}

.gamedev-card ul {
  padding-left: 20px;
}

.gamedev-card li {
  margin-bottom: 10px;
  color: var(--muted);
}

/* Video */
.video {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
}

/* Projects */
.project-list {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.project-item {
  padding: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
}

.project-item h3 {
  margin: 0 0 8px;
}

.project-item p {
  margin: 0;
  color: var(--muted);
}

/* Link */
.external-link a {
  color: var(--accent);
  text-decoration: none;
}




/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .lab-section {
    padding: 64px 0;
  }

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

@media (max-width: 768px){
  .project-section{
    padding: 64px 0;
  }

  .project-card{
    padding: 24px;
  }
}

@media (max-width: 768px){
  .skills-grid{
    grid-template-columns: 1fr;
  }

  .skills-section{
    padding: 64px 0;
  }
}

@media (max-width: 600px){
  .hero{ padding: 72px 0; }
  .btn{ width: 100%; }
}

@media (max-width: 768px) {
  .gamedev-grid {
    grid-template-columns: 1fr;
  }
}

