/* 1. ABOUT ME PAGE */

.about-wrapper {
  display: flex;
  align-items: center;  /* vertically aligns image + text */
  gap: 100px; /* space between image and text */
}

.me-img {
  display: block;
  margin: 0 auto;
}

.about-text p {
  line-height: 1.6;
  max-width: 1000px;
  hyphens: auto;
}

.projects {
  margin-top: 80px;
}

.projects h2 {
  font-size: 2rem;
  margin-bottom: 32px;
}

/* 1.1 PROJECT DROPDOWN */
.project {
  background: #ffffff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* TITLE BAR */
.project summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 700;

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

/* Remove default arrow */
.project summary::-webkit-details-marker {
  display: none;
}

/* Custom arrow */
.project summary::after {
  content: "▼";
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  color: #2f6df6;
}

/* Rotate arrow when open */
.project[open] summary::after {
  transform: rotate(180deg);
}

/* CONTENT */
.project-content {
  padding: 0 24px 24px;
  animation: fadeIn 0.3s ease;
}

.project-content p {
  max-width: 900px;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* 1.1 FINAL PROJECT SECTION */

.final-project {
  margin-top: 40px;
}

.final-project-inner {
  background-color: #fdfdfd;
  border-radius: 28px;
  padding: 32px 32px;
  position: relative;
  min-height: 220px;
}

.final-project h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0;
}

.coming-soon {
  position: absolute;
  bottom: 24px;
  right: 32px;
  font-size: clamp(1.4rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #2f6df6;
  letter-spacing: 0.1em;
}

/* 1.2 JOURNEY SECTION */

.journey {
  width: 100%;
  margin-top: 60px;
}

.journey-inner {
  max-width: 1707px;
  margin: 0 auto;
}

.journey h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
/* IMAGES */

.project-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.project-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* TAGS */
.project-tags span {
  display: inline-block;
  background: #f1f1f1;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-right: 8px;
}

/* 2.1 WEEK 01 GLOSSARY */

.glossary {
  margin-top: 3rem;
}

.glossary ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.glossary li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.glossary code {
  background-color: #f2f2f2;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.95em;
}

/* 2.2 WEEK O1 IMAGE PLACEHOLDER */

.img-placeholder {
  width: 100%;
  min-height: 180px;
  border: 2px dashed #ccc;
  margin: 20px 0;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* FILE BUTTONS ROW */
/* opcional: mismo tamaño */
.files-row .cta-btn {
  text-align: center;
  min-width: 140px;
}

/* Tables*/
/* Container for the whole content */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  background-color: #fff;      /* White background for the container */
  border-radius: 15px;         /* Rounded edges */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

/* Headings */
h1, h3 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

/* Tab panels */
.tab-panel {
  background-color: #fff;      /* Background for each tab */
  padding: 15px;
  border-radius: 15px;         /* Rounded edges match container */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Table styling */
table {
  width: 100%;
  border-collapse: separate;   /* Needed for border-radius */
  border-spacing: 0;           /* Remove spacing between cells */
  background-color: #fff;      /* Table background */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 15px;         /* Rounded table edges */
  overflow: hidden;            /* Ensures content respects border-radius */
}

/* Table header and cells */
th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
}

/* Rounded corners for table specifically */
th:first-child {
  border-top-left-radius: 15px;
}
th:last-child {
  border-top-right-radius: 15px;
}
tr:last-child td:first-child {
  border-bottom-left-radius: 15px;
}
tr:last-child td:last-child {
  border-bottom-right-radius: 15px;
}

/* Hover effect for rows */
tr:hover {
  background-color: #f5f5f5;
}

