/* =========================================
   PERSONAL PORTFOLIO WEBSITE - STYLE.CSS
   Student: Gilbert Abdon
========================================= */

/* =========================================
   TYPOGRAPHY & GENERAL STYLES
========================================= */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  letter-spacing: 0.5px;
  margin: 0;
  background-color: #f7f7f7;
  color: #333333;
}

h1 {
  font-size: 42px;
  color: #ff6b6b; /* Accent Color */
  margin-bottom: 10px;
  transition: 0.3s;
}

h1:hover {
  letter-spacing: 1px;
}

h2 {
  font-size: 28px;
  color: skyblue; /* Accent Color */
  margin-bottom: 15px;
  transition: 0.3s;
}

h2:hover {
  transform: translateX(5px);
}

h3 {
  font-size: 20px;
  color: #1577ff; /* Dominant Color */
  margin-bottom: 10px;
}

p {
  font-size: 16px;
}

/* =========================================
   COLOR SCHEME
   Dominant: #1e2a38
   Secondary: #f7f7f7
   Accent: #ff6b6b
========================================= */

/* =========================================
   HEADER / HERO SECTION
========================================= */
.hero {
  background: linear-gradient(135deg, #1e2a38, skyblue);
  color: #ffffff;
  padding: 50px 20px;
  width: 100%;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.profile-pic {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #1577ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.hero-text {
  text-align: center;
  max-width: 600px;
}

.subtitle {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
}

.tagline {
  font-size: 16px;
  font-style: italic;
  color: skyblue;
}

/* =========================================
   MAIN LAYOUT
========================================= */
.main-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 25px 20px;
}

/* =========================================
   CARD DESIGN
========================================= */
.card {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* =========================================
   FLEXBOX TWO-COLUMN LAYOUT
========================================= */
.flex-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.skills-section {
  width: 40%;
}

.education-section {
  width: 60%;
}

/* =========================================
   SKILLS LIST (REQUIRED BY RUBRIC)
========================================= */
.skills-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

.skills-list li {
  background-color: #eeeeee;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  transition: 0.3s;
}

.skills-list li:hover {
  background-color: skyblue;
  color: skyblue;
  padding-left: 15px;
}

/* =========================================
   FUNCTIONAL SKILLS WITH DEFINITIONS
========================================= */
.skills-note {
  font-size: 14px;
  color: skyblue;
  font-style: italic;
  margin-bottom: 15px;
}

.skill-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 12px 15px;
  transition: 0.3s;
  cursor: pointer;
}

.skill-item:hover {
  background-color: skyblue;
  transform: translateX(5px);
}

.skill-item summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  outline: none;
}

.skill-item summary::-webkit-details-marker {
  display: none;
}

.skill-item summary::after {
  content: " +";
  float: right;
  font-weight: bold;
  color: skyblue;
}

.skill-item[open] summary::after {
  content: " -";
}

.skill-item p {
  margin-top: 12px;
  background-color: #ffffff;
  padding: 12px;
  border-radius: 8px;
  color: #333333;
}

/* =========================================
   EDUCATION & HOBBIES
========================================= */
.info-block {
  margin-bottom: 20px;
}

.hobby-list {
  padding-left: 20px;
}

.hobby-list li {
  margin-bottom: 8px;
}

.quote-box {
  background-color: #fdf5f5;
  border-left: 5px solid skyblue;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  font-style: italic;
  transition: 0.3s;
}

.quote-box:hover {
  background-color: skyblue;
}

/* =========================================
   CONTACT SECTION
========================================= */
.contact-section p {
  margin-bottom: 10px;
}

.contact-section:hover {
  border-left: 6px solid skyblue;
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background-color: #1e2a38;
  color: skyblue;
  text-align: center;
  padding: 18px;
  margin-top: 20px;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media screen and (max-width: 768px) {
  .flex-wrapper {
    flex-direction: column;
  }

  .skills-section,
  .education-section {
    width: 100%;
  }

  .hero-container {
    flex-direction: column;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }
}