/*
 * Portfolio Styles - Pavan Sai Reddy Pendry
 * Modern design with featured experience section
 */

:root {
  --primary: #f16363;
  --secondary: #4f46e5;
  --accent: #fbbf24;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --bg-dark: #111827;
  --border-color: #e5e7eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  color: var(--primary);
}

/* Hero section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  text-align: center;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  color: var(--primary);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--primary);
}

/* Section styles */
section {
  padding: 4rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
}

/* About section */
.about p {
  margin-bottom: 1rem;
}

.about h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.education-list {
  list-style: none;
  padding-left: 0;
}

.education-list li {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Skills section */
.skills .skill-category {
  margin-bottom: 1.5rem;
}

.skills .skill-category h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 1.2rem;
}

/* Tech tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.tech-tags span {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-tags span:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Experience section */
.experience-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.experience-item h3 {
  margin-bottom: 0.25rem;
  color: var(--text-dark);
  font-size: 1.3rem;
}

.experience-item .date {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.experience-item ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.experience-item ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Featured Experience - BabyJay */
.featured-experience {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #ffffff;
  border: none;
  border-left: 5px solid var(--accent);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.featured-experience:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.featured-experience h3 {
  color: #ffffff;
}

.featured-experience .date {
  color: #aaaaaa;
}

.featured-experience ul li {
  color: #d0d0d0;
}

.featured-experience strong {
  color: var(--accent);
}

.featured-experience .tech-tags span {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-experience .tech-tags span:hover {
  background: var(--accent);
  color: #111111;
  border-color: var(--accent);
}

/* Experience header with links */
.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.experience-links {
  display: flex;
  gap: 10px;
}

.btn-small {
  background: var(--accent);
  color: #111111;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-small:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}

.btn-outline-small {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline-small:hover {
  background: #ffffff;
  color: #111111;
}

.project-intro {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #e5e7eb;
}

/* Projects section */
.projects .project-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects .project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.projects .project-card h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.projects .project-card .date {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.projects .project-card p {
  margin-bottom: 0.7rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Publications section */
.publications ul {
  list-style: square inside;
  padding-left: 0;
}

.publications ul li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.publications a {
  color: var(--primary);
  text-decoration: none;
}

.publications a:hover {
  text-decoration: underline;
}

/* Contact section */
.contact p {
  margin-bottom: 1rem;
}

.contact ul {
  list-style: none;
  padding-left: 0;
}

.contact li {
  margin-bottom: 0.5rem;
}

.contact a {
  color: var(--primary);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #aaaaaa;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links a {
    display: block;
    padding: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-links {
    flex-direction: column;
    align-items: center;
  }

  .experience-header {
    flex-direction: column;
  }

  .experience-links {
    margin-top: 0.5rem;
  }

  .featured-experience {
    padding: 1.5rem;
  }
}
