* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Druk';
  src: url('../fonts/Druk-Bold-Trial.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* HEAVY */

@font-face {
  font-family: 'Druk';
  src: url('../fonts/Druk-Heavy-Trial.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #ffffff;
  --accent-color: #ff6b6b;
  --pink: rgb(255, 0, 153);
  --light-bg: #f8f8f8;
  --text-dark: #1a1a1a;
  --text-light: #666666;
}

body {
  font-family: 'Druk', 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--secondary-color);
  line-height: 1.6;
}

/* NAVIGATION */
nav {
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  padding: 30px 50px;
  background-color: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  text-transform: lowercase;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

nav a:hover {
  color: var(--accent-color);
}


/* ========================= 
   HERO SECTION
   ========================= */

.hero {
  padding: 80px 50px;
  background-color: var(--primary-light);
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 900;
  text-transform: lowercase;
  margin-bottom: 50px;
  color: var(--text-dark);
  letter-spacing: -1px;
}

/* Profile Image */
.profile-container {
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
}

.profile-image {
  width: 360px;
  height: 480px;
  object-fit: cover;
  border: 8px solid var(--accent-red);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Bio Section */
.bio-section {
  max-width: 650px;
}

.bio-text {
  font-family: 'Inter';
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 25px;
  text-align: left;
}

.bio-text:last-child {
  margin-bottom: 0;
}

/* ========================= 
   PROJECTS SECTION
   ========================= */

.projects-section {
  padding: 100px 50px;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.projects-header {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--border-color);
}

.projects-title {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-dark);
}

.projects-grid {
  margin: 0 auto;
  display:flex;
  flex-direction: row;
  gap: 40px;
}

/* Project Card */
.project-card {
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card:hover .project-image {
  opacity: 0.85;
}

.project-image-wrapper {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: var(--primary-light);
  border: 1px solid #ddd;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.project-name {
  font-size: 20px;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}


/* ========================= 
   RESPONSIVE DESIGN
   ========================= */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }

  .projects-title {
    font-size: 40px;
  }

  .footer-title {
    font-size: 40px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 20px 30px;
  }

  .nav-links {
    gap: 30px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .hero {
    padding: 60px 30px;
  }

  .hero-title {
    font-size: 40px;
    margin-bottom: 30px;
  }

  .profile-image {
    width: 220px;
    height: 280px;
  }

  .bio-section {
    max-width: 100%;
  }

  .bio-text {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .projects-section {
    padding: 60px 30px;
  }

  .projects-title {
    font-size: 32px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

}

@media (max-width: 480px) {
  .navbar {
    padding: 15px 20px;
  }

  .nav-links {
    gap: 20px;
    font-size: 12px;
  }

  .hero-title {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .profile-image {
    width: 180px;
    height: 240px;
    border-width: 6px;
  }

  .projects-title,
  .footer-title {
    font-size: 24px;
  }

  .footer-info p,
  .footer-links a {
    font-size: 14px;
  }
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 20px 20px;
  text-align: center;
}

.footer-content {
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  flex-direction: row;
  gap: 330px;
}

.footer-title {
  font-size: 230px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.footer-title:hover {
  color: var(--pink);
}

.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contact a {
  font-size: 60px;
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent-color);
}

.footer-credit {
  font-size: 60px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}