/* Vintage-inspired Portfolio CSS for Sethu Iyer */

/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Color Variables */
:root {
  --primary-blue: #3b5998;
  --primary-pink: #ee3380;
  --primary-orange: #ff6600;
  --light-gray: #f0f2f5;
  --border-gray: #dddfe2;
  --text-dark: #1c1e21;
  --text-secondary: #65676b;
  --box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px;
}

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

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

a {
  text-decoration: none;
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-orange);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background-color: var(--primary-blue);
  color: white;
  padding: 15px 0;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
}

.logo-text {
  margin-left: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 20px;
}

.nav-link {
  color: white;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--primary-blue), var(--primary-pink));
  color: white;
  padding: 60px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Profile Section - Vintage Style */
.profile-section {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-top: -30px;
  padding: 30px;
  position: relative;
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: var(--box-shadow);
  object-fit: cover;
}

.profile-info {
  margin-left: 30px;
}

.profile-name {
  font-size: 2.5rem;
  margin-bottom: 5px;
  color: var(--primary-blue);
}

.profile-title {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.profile-info a {
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

.profile-info a:hover {
  color: var(--primary-orange);
  text-decoration: none;
}

/* Stats Bar */
.stats-bar {
  display: flex;
  background-color: #f0f2f5;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 30px;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 15px;
  border-right: 1px solid var(--border-gray);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-blue);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* About Section - Vintage Testimonial Style */
.about-section {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-top: 30px;
  padding: 30px;
}

.section-title {
  position: relative;
  font-size: 1.8rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  color: var(--primary-blue);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-blue), var(--primary-pink));
}

.testimonial-box {
  background-color: #f7f9fb;
  border-left: 4px solid var(--primary-pink);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0 8px 8px 0;
}

/* Experience & Education Styles - Timeline */
.company-name {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 5px;
  display: flex;
  align-items: center;
}

.company-name i {
  margin-right: 8px;
  color: var(--primary-blue);
}

.testimonial-box h3 {
  color: var(--primary-blue);
  font-size: 1.3rem;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}

.testimonial-box ul {
  margin-left: 5px;
  list-style-type: none;
}

.testimonial-box ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.testimonial-box ul li:before {
  content: "•";
  color: var(--primary-orange);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.date-badge {
  background-color: var(--primary-blue);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Projects Section - Vintage Scrapbook Style */
.projects-section {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-top: 30px;
  padding: 30px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.project-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-info {
  width: 100%;
}

.project-title {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.project-desc {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.project-tag {
  background-color: var(--light-gray);
  color: var(--primary-blue);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
}

/* Filter buttons */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.filter-btn {
  background-color: var(--light-gray);
  color: var(--text-secondary);
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.filter-btn.active, 
.filter-btn:hover {
  background-color: var(--primary-blue);
  color: white;
}

/* Skills Section - Vintage Communities Style */
.skills-section {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-top: 30px;
  padding: 30px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.skill-category {
  background-color: #f7f9fb;
  border-radius: 8px;
  padding: 20px;
  border-top: 4px solid var(--primary-blue);
}

.skill-category h3 {
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.skill-list {
  list-style: none;
}

.skill-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.skill-item:before {
  content: "•";
  color: var(--primary-orange);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Contact Section - Vintage Friends Style */
.contact-section {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 30px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  font-family: inherit;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-button {
  background-color: var(--primary-blue);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.form-button:hover {
  background-color: var(--primary-orange);
}

/* Footer - Vintage Style */
.footer {
  background-color: var(--primary-blue);
  color: white;
  padding: 30px 0;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0 10px;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-text {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Vintage Elements */
.vintage-label {
  font-weight: bold;
  background-color: var(--primary-pink);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  display: inline-block;
  margin-left: 10px;
  transform: rotate(-2deg);
}

/* Vintage card style - replace orkut-card */
.vintage-card {
  background-color: #f7f9fb;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  position: relative;
  border: 1px solid var(--border-gray);
}

.vintage-card::before {
  content: '💬';
  position: absolute;
  top: -15px;
  left: 20px;
  background: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 1.2rem;
  box-shadow: var(--box-shadow);
}

/* Vintage button style - replace orkut-button */
.vintage-button {
  background-color: var(--primary-blue);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.vintage-button:hover {
  background-color: var(--primary-orange);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .profile-info {
    margin-left: 0;
    margin-top: 20px;
  }

  .stats-bar {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 0 0 50%;
    margin-bottom: 15px;
    border-right: none;
    border-bottom: 1px solid var(--border-gray);
  }

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

  .skills-container {
    grid-template-columns: 1fr;
  }
  
  .filter-container {
    justify-content: center;
  }
  
  .nav-menu {
    display: none;
  }
  
  .testimonial-box h3 {
    flex-direction: column;
  }
  
  .testimonial-box h3 span {
    margin-top: 5px;
    display: inline-block;
  }
}

@media (max-width: 576px) {
  .profile-name {
    font-size: 2rem;
  }

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

  .section-title {
    font-size: 1.5rem;
  }
}

/* Animation Effects */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animated-section {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Cool Vintage-inspired scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary-blue), var(--primary-pink));
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--primary-pink), var(--primary-orange));
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 8px;
    min-width: 120px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-item span:first-child {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Medium Articles Section */
.medium-articles {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.medium-article {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.medium-article:hover {
    transform: translateY(-2px);
}

.medium-article h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.medium-article a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.medium-article a:hover {
    color: var(--primary-orange);
}

.medium-article .date {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Utility Classes */
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.pl-20 { padding-left: 20px; }
.text-center { text-align: center; }
.inline-block { display: inline-block; }

/* Date Range Style */
.date-range {
  float: right;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-blue);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--box-shadow);
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: var(--primary-orange);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-blue);
    padding: 10px 0;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-item {
    margin: 0;
    display: block;
  }

  .nav-link {
    display: block;
    padding: 10px 20px;
  }

  .back-to-top {
    bottom: 10px;
    right: 10px;
  }
} 