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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  /* background-image: url('../images/CasiouOneLandingPage2by1.png'); */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
}

header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: 700;
}

header .tagline {
  font-size: 1.2em;
  opacity: 0.9;
  margin-bottom: 20px;
}

header .social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

header a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border: 1px solid white;
  border-radius: 5px;
  transition: all 0.3s;
  font-size: 0.9em;
}

header a:hover {
  background: white;
  color: #667eea;
}

nav {
  background: #2d2d2d;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

nav li {
  padding: 15px 20px;
  border-right: 1px solid #444;
}

nav li:last-child {
  border-right: none;
}

nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #667eea;
}

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

section {
  padding: 60px 20px;
  background: #2d2d2d;
  margin: 20px 0;
  border-radius: 8px;
}

section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #e0e0e0;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

section h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #667eea;
  margin: 10px auto 0;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: #3a3a3a;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #667eea;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.card h3 {
  color: #667eea;
  margin-bottom: 10px;
}

.card .date {
  color: #999;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.card p {
  color: #b0b0b0;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid #555;
  background: #2d2d2d;
  color: #e0e0e0;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  font-size: 0.95em;
}

.filter-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.filter-btn.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

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

.skill-card {
  background: #3a3a3a;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #555;
  transition: all 0.3s;
  opacity: 1;
  transform: scale(1);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: #667eea;
}

.skill-card.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.8);
}

.skill-icon {
  font-size: 3em;
  margin-bottom: 15px;
}

.skill-card h3 {
  color: #e0e0e0;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.skill-card p {
  color: #b0b0b0;
  font-size: 0.95em;
  line-height: 1.6;
}

.project-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #3a3a3a;
  border-radius: 8px;
}

/* Accordion Styles */
.accordion-item {
  margin: 20px 0;
  background: #2d2d2d;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  background: #667eea;
  color: white;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #5a6fd8;
}

.accordion-header h2 {
  margin: 0;
  font-size: 1.5em;
  text-align: left;
}

.accordion-header h2:after {
  display: none;
}

.accordion-icon {
  font-size: 1.2em;
  transition: transform 0.3s;
}

.accordion-content {
  display: none;
  padding: 0;
}

.accordion-content section {
  margin: 0;
  border-radius: 0;
}

.project-content {
  flex: 1;
}

.project-content h3 {
  color: #667eea;
  margin-bottom: 10px;
}

.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tag {
  background: #667eea;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85em;
}

footer {
  background: #1a1a1a;
  color: #e0e0e0;
  text-align: center;
  padding: 15px 20px;
  margin-top: 10px;
}

footer a {
  color: #667eea;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  header h1 {
    font-size: 1.8em;
  }

  header .social-links {
    gap: 10px;
  }

  nav ul {
    flex-direction: column;
  }

  nav li {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 10px 20px;
  }

  .skill-bar {
    width: 150px;
  }

  .project-item {
    flex-direction: column;
  }
}
