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

body {
  font-family: "Google Sans Flex", sans-serif;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

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

/* Header */
.header {
  padding: 20px 0;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Caveat", cursive;
  font-size: 1.3rem;
}

.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #007bff;
}

.nav-separator {
  color: #999;
}

/* Hero Section */
.hero {
  padding: 60px 0 40px;
  text-align: center;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.hero-title {
  font-family: "Caveat", cursive;
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: #222;
}

.hero-subtitle {
  color: #666;
  font-size: 1rem;
}

/* Main Content Grid */
.main-content {
  padding: 40px 0;
  background-color: #fff;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
  gap: 0;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
}

.column {
  padding: 25px;
  border-right: 1px solid #333;
}

.column:last-child {
  border-right: none;
}

.column-title {
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: #222;
}

/* Projects Column */
.project-list {
  list-style: none;
}

.project-item {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.project-item:hover {
  background-color: #f5f5f5;
  border-color: #333;
}

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

/* Experience Column */
.experience-item {
  margin-bottom: 25px;
}

.experience-item:last-child {
  margin-bottom: 0;
}

.experience-company {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.experience-desc {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 8px;
}

.link {
  color: #007bff;
  text-decoration: none;
  font-size: 0.9rem;
}

.link:hover {
  text-decoration: underline;
}

/* Education Column */
.education-text {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 20px;
}

.courses-label {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.courses-list {
  list-style: none;
  font-size: 0.85rem;
  color: #555;
}

.courses-list li {
  margin-bottom: 5px;
}

/* Reviews Section */
.reviews {
  padding: 50px 0;
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
}

.reviews-title {
  font-family: "Caveat", cursive;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 30px;
  color: #222;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  border: 2px solid #333;
  border-radius: 20px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-text {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
}

.review-author {
  border-top: 1px solid #e0e0e0;
  padding-top: 15px;
}

.author-name {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 3px;
}

.author-title {
  font-size: 0.85rem;
  color: #aaa;
}

/* Footer */
.footer {
  padding: 40px 0;
  text-align: center;
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
}

.copyright {
  font-family: "Caveat", cursive;
  font-size: 1.2rem;
  color: #555;
}

/* Languages Section */
.languages-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.language-card {
  border: 2px solid #333;
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.language-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.language-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #222;
}

.language-list {
  list-style: none;
  font-size: 0.9rem;
  color: #555;
}

.language-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.language-list li:last-child {
  border-bottom: none;
}

/* Spotify Now Playing */
.now-playing-section {
  margin-bottom: 40px;
  text-align: center;
}

.now-playing-widget {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.spotify-section {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .column {
    border-right: none;
    border-bottom: 1px solid #333;
  }

  .column:last-child {
    border-bottom: none;
  }

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

@media (max-width: 480px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

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