/* Custom Fonts - Iosevka Etoile */
@font-face {
  font-family: 'Iosevka Etoile';
  src: url('./fonts/IosevkaEtoile-Thin.ttc') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iosevka Etoile';
  src: url('./fonts/IosevkaEtoile-ExtraLight.ttc') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iosevka Etoile';
  src: url('./fonts/IosevkaEtoile-Light.ttc') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iosevka Etoile';
  src: url('./fonts/IosevkaEtoile-Regular.ttc') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iosevka Etoile';
  src: url('./fonts/IosevkaEtoile-Medium.ttc') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iosevka Etoile';
  src: url('./fonts/IosevkaEtoile-SemiBold.ttc') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iosevka Etoile';
  src: url('./fonts/IosevkaEtoile-Bold.ttc') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iosevka Etoile';
  src: url('./fonts/IosevkaEtoile-ExtraBold.ttc') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iosevka Etoile';
  src: url('./fonts/IosevkaEtoile-Heavy.ttc') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Iosevka Etoile', monospace, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fdf5d5;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

/* Main Content */
.main-content {
  margin-top: 60px;
  padding: 20px 0;
}

/* Works Section */
.works-section {
  margin-bottom: 2rem;
}

.works-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
}

.works-subsection {
  margin-bottom: 2rem;
}

.works-subsection h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: bold;
}

.works-subsection h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  font-weight: bold;
}

/* Project Lists */
.project-list {
  margin-bottom: 1rem;
}

.project-item {
  padding: 0.25rem 0;
  color: #333;
}

.project-text {
  margin-bottom: 0.25rem;
}

.project-icons {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
}

.icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.2s ease;
  display: inline-block;
  position: relative;
}

.icon:hover {
  opacity: 1;
}

.banner-section {
  margin-bottom: 2rem;
  padding: 1rem 0;
}

.banner {
  max-width: 100%;
  width: 100%;
  height: auto;
  opacity: 0.75;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.banner-image {
  max-width: 100px;
  width: 25%;
  height: auto;
  border-radius: 8px;
  transition: opacity 0.6s ease;
}

/* Image Preview on Hover */
.image-preview {
  position: fixed;
  z-index: 9999;
  max-width: 40%;
  max-height: 40%;
  padding: 4px;
  pointer-events: none;
  display: none;
}

.image-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* Text Description Popup */
.text-popup {
  position: fixed;
  z-index: 9999;
  max-width: 600px;
  background: #d5ddfd;
  color: #333;
  padding: 16px 24px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  pointer-events: none;
  display: none;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Bio Section */
.bio-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.bio-text {
  flex: 2;
  line-height: 1.6;
}

.bio-image {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Bio */
@media (max-width: 768px) {
  .bio-container {
    flex-direction: column;
    gap: 0rem;
  }
  
  .bio-image {
    order: -1;
  }
  
  .profile-image {
    max-width: 200px;
    margin: 0 auto;
    display: block;
  }
}

/* Works Tabs */
.works-tabs {
  display: flex;
  margin-bottom: 1rem;
}

.tab-button {
  background: lightgray;
  border: none;
  padding: 6px 16px;
  margin: 2px;
  border-radius: 24px;
  font-family: 'Iosevka Etoile', monospace, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.5s ease;
}

.tab-button:hover {
  background-color: #d5ddfd;
}

.tab-button.active {
  background-color: #d5ddfd;
  font-weight: 600;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* PDF Container Wrapper for side-by-side layout */
.pdf-container-wrapper {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.pdf-container {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 3rem;
  overflow: hidden;
  background: #d5ddfd;
}

.pdf-container h3 {
  margin: 0;
  padding: 0.5rem;
  color: black;
  font-size: 1rem;
  font-weight: 600;
}

.pdf-container embed {
  border: none;
  display: block;
}

/* Responsive PDF Layout */
@media (max-width: 768px) {
  .pdf-container-wrapper {
    flex-direction: column;
  }
  
  .pdf-container embed {
    height: 300px;
  }
}

/* Responsive Documents */
@media (max-width: 768px) {
  .documents-list {
    gap: 1.5rem;
  }
  
  .document-item {
    padding: 1rem;
  }
}

