/* ================================================
   CUSTOM PORTFOLIO STYLES
   Inspired by Hannah Yan's design
   ================================================ */

/* ================================================
   1. BASE STYLES & VARIABLES
   ================================================ */
:root {
  --primary-color: #ffd203;
  --secondary-color: #2596be;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --bg-gray: #ecf0f1;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: #c63d31;
}

/* ================================================
   2. TOP BANNER - REMOVED
   ================================================ */

/* ================================================
   3. HEADER & NAVIGATION
   ================================================ */
.header_area {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: transparent;
  box-shadow: none;
  transition: all 0.4s ease;
}

.header_area.scrolled {
  background-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.navbar {
  padding: 0.5rem 0;
}

.navbar-brand .logo-image {
  height: 45px;
  width: auto;
  transition: var(--transition);
}

.navbar-brand .logo-white {
  display: none;
  height: 45px;
  width: auto;
}

.header_area.scrolled .navbar-brand .logo-image {
  display: none;
}

.header_area.scrolled .navbar-brand .logo-white {
  display: block;
}

.navbar-brand:hover .logo-image,
.navbar-brand:hover .logo-white {
  opacity: 0.8;
}

.navbar-nav {
  margin-left: auto;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 1rem;
  padding: 0.5rem 0 !important;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}


/* ================================================
   4. SECTIONS
   ================================================ */
.section_gap {
  padding: 120px 0;
}

.main-title {
  margin-bottom: 3rem;
}

.main-title h1 {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
  gap: 0.75rem;
}

.divider-line {
  width: 60px;
  height: 2px;
  background-color: var(--primary-color);
}

.divider-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.main-title h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.main-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.gray-bg {
  background-color: var(--bg-light);
}

/* ================================================
   5. PORTFOLIO / PROJECTS SECTION
   ================================================ */
.portfolio_area {
  padding-top: 100px;
  background-color: var(--white);
}

.projects_inner {
  margin-top: 2rem;
}

.projects_item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  background-color: var(--white);
  transition: var(--transition);
  cursor: pointer;
}

.projects_item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(228, 84, 71, 0.2);
}

.projects_item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.projects_item:hover img {
  filter: brightness(0.7);
  transform: scale(1.05);
}

.projects_text {
  padding: 2rem;
  background-color: var(--white);
}

.projects_text h4 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.projects_item:hover .projects_text h4 {
  color: var(--primary-color);
}

.projects_text p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.projects_text p:first-of-type {
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.projects_text .project-desc {
  color: var(--text-dark);
  line-height: 1.6;
  margin-top: 1rem;
}

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-link:hover {
  color: inherit;
  text-decoration: none;
}

/* ================================================
   6. ABOUT SECTION
   ================================================ */
.about_area {
  background-color: var(--bg-light);
}

.profile-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.profile-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 210, 3, 0.3);
}

.about-content h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.title-divider-left {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  gap: 0.75rem;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.skills-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 2rem 0;
}

.skills-list li {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text-dark);
  border-bottom: 1px solid #ddd;
}

.skills-list li:last-child {
  border-bottom: none;
}

.skills-list strong {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--text-dark);
  font-size: 1.25rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(228, 84, 71, 0.3);
}

/* ================================================
   7. CONTACT SECTION
   ================================================ */
.contact_area {
  background-color: var(--white);
}

.contact-info {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  font-size: 1.1rem;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-light);
}

.contact-item a {
  color: var(--text-dark);
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary-color);
}

/* ================================================
   8. FOOTER
   ================================================ */
.footer_area {
  background-color: var(--text-dark);
  padding: 2rem 0;
  margin-top: 0;
}

.footer_area p {
  color: var(--white);
  margin: 0;
  font-size: 0.95rem;
}

/* ================================================
   9. RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 991px) {
  .navbar-nav {
    margin-top: 1rem;
  }

  .nav-link {
    margin: 0.5rem 0;
  }

  .main-title h1 {
    font-size: 2.5rem;
  }

  .section_gap {
    padding: 80px 0;
  }

  .projects_item img {
    height: 250px;
  }
}

@media (max-width: 767px) {
  .main-title h1 {
    font-size: 2rem;
  }

  .main-title h2 {
    font-size: 1.5rem;
  }

  .section_gap {
    padding: 60px 0;
  }

  .projects_text {
    padding: 1.5rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .social-icon {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 575px) {
  .main-title h1 {
    font-size: 1.75rem;
  }

  .projects_item img {
    height: 200px;
  }

  .contact-item {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ================================================
   10. SMOOTH ANIMATIONS
   ================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.projects_item,
.about-content,
.contact-info {
  animation: fadeIn 0.6s ease-out;
}

/* ================================================
   11. UTILITY CLASSES
   ================================================ */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}
