:root {
  --main-color: #00b894;
}

/* Body & Fonts */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

/* Cursor blink */
.cursor {
  display: inline;
  width: 1ch;
  animation: blink 0.7s infinite;
  color: #333;
}
@keyframes blink { 
  0%,50% { opacity: 1; } 
  51%,100% { opacity: 0; } 
}

/* Header */
header {
  background-color: var(--main-color);
  color: white;
  text-align: center;
  padding: 30px 20px;
}
header .tagline { 
  font-size: 18px; 
  margin: 10px 0; 
}

/* Intro Overlay */
#introOverlay {
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  text-align: center;
  cursor: pointer;
  z-index: 1000;
}
#introText { max-width: 600px; white-space: pre-line; }

/* Intro Button */
.introBtn {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 18px;
  border: none;
  border-radius: 6px;
  background: var(--main-color);
  color: white;
  cursor: pointer;
}
.introBtn:hover { background: #009974; }

/* Sections */
section { 
  padding: 50px 20px; 
  border-bottom: 1px solid #ddd; 
  max-width: 1000px; 
  margin: auto; 
}
h2 { color: var(--main-color); margin-bottom: 15px; }

/* Skills */
.skills-container { display: flex; flex-direction: column; gap: 20px; }
.skill h3 { margin: 0 0 5px; color: var(--main-color); }
.skill-bar { background: #eee; border-radius: 20px; overflow: hidden; }
.skill-progress {
  background: var(--main-color);
  color: white;
  text-align: right;
  padding: 5px;
  border-radius: 20px;
  width: 0;
  transition: width 1.5s ease-in-out;
}

/* Navigation Menu */
#mainNav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 2000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#mainNav .menu { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
#mainNav .menu li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}
#mainNav .menu li a.active,
#mainNav .menu li a:hover { background: var(--main-color); color: #fff; }
.menu-toggle { display: none; cursor: pointer; font-size: 24px; color: #333; }
@media (max-width: 768px) {
  #mainNav .menu {
    position: absolute;
    top: 60px;
    right: 20px;
    flex-direction: column;
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    display: none;
  }
  #mainNav .menu.show { display: flex; }
  .menu-toggle { display: block; }
}
/* Portfolio Groups (Click to Open) */
.portfolio-group {
  margin-bottom: 25px;
}

.group-title {
  cursor: pointer;
  background: var(--main-color);
  color: white;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 18px;
  transition: background 0.3s;
}

.group-title:hover {
  background: #009974;
}

.group-content {
  display: none;
  margin-top: 15px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.group-content.open {
  display: grid;
}

.portfolio-item img,
.group-content video {
  width: 100%;
  border-radius: 8px;
}


