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

#work h2,
#about h2,
#skills h2,
#contact h2 {
  font-size: 2rem;
  font-variation-settings: "wght" 700;
  margin-bottom: 20px;
}

body {
  font-family: "ohno-softie-variable", sans-serif;
  font-variation-settings: "wght" 400;
  color: #1D1D25;
  background-color: #f8f8f8;
  margin: 0 auto;
  overflow-x: hidden;
}

.nav {
  background: #1D1D25;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 160px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 60px;
}

.logo-icon::before {
  content: '';
  width: 25px;
  height: 25px;
  background: #1D1D25;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 12px;
}

.logo-icon::after {
  content: '';
  width: 15px;
  height: 20px;
  background: #F4ABC4;
  border-radius: 0 0 15px 15px;
  position: absolute;
  top: 35px;
  left: 22px;
}

.logo-text {
  font-size: 28px;
  font-weight: 800;
  color: #F4ABC4;
  text-transform: lowercase;
  letter-spacing: -1px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: #1D1D25;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.nav-container {
  display: flex;
  align-items: center;
}

.nav-pills {
  background: #F4ABC4;
  border-radius: 50px;
  margin: 40px;
  padding: 8px;
  display: flex;
}

.nav-pill {
  padding: 12px 24px;
  border-radius: 50px;
  background: transparent;
  border: none;
  font-family: "ohno-softie-variable", sans-serif;
  font-variation-settings: "wght" 700;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: #1D1D25;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-pill:hover,
.nav-pill.active {
  background: #F4ABC4;
  transform: translateY(-2px);
}

.contact-button {
  background: #F4ABC4;
  border-radius: 50px;
  min-width: 140px;
  text-decoration: none;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  font-family: "ohno-softie-variable", sans-serif;
  font-variation-settings: "wght" 700;
  font-weight: 700;
  font-size: 16px;
  color: #1D1D25;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-button:hover {
  background: #e89db8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#hero {
  background-color: #F4ABC4;
  padding: 80px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  align-items: center;
  width: 80%;
}

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

.star {
  width: 30vw;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  letter-spacing: 5px;
  word-spacing: 2px;
}

.hero-text h1 {
  font-size: 5rem;
  font-variation-settings: "wght" 700;
  margin-bottom: 40px;
}

.hero-text button {
  font-family: "ohno-softie-variable", sans-serif;
  background-color: #1D1D25;
  color: #F4ABC4;
  border: none;
  border-radius: 969px;
  padding: 16px 40px;
  font-variation-settings: "wght" 700;
  font-size: 20px;
  letter-spacing: 1.26px;
  cursor: pointer;
}

.hero-content img {
  flex-shrink: 0;
  max-width: 500px;
  height: auto;
}

/* Work Section */
.work-section {
  background: rgba(255, 255, 255, 0.1);
  padding: 80px 40px;
  backdrop-filter: blur(10px);
}

.work-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #2d2d2d;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.work-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #2d2d2d;
  margin-bottom: 60px;
  font-weight: 600;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.work-item {
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.work-item img {
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.work-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.work-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8b2d4;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* About Section */
.about-section {
  background-color: #F4ABC4;
  padding: 80px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  width: 60%;
  margin: 20px auto;
  padding: 20px;
}

.about-icon {
  width: 50%;
}

.profile-photo {
  width: 70%;
  margin-right: 3rem;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-text {
  font-family: "Segoe UI", sans-serif;
  color: #1D1D25;
}

.about-text h2 {
  font-family: "ohno-softie-variable", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #1D1D25;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.about-text p {
  font-family: "ohno-softie-variable", sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #1D1D25;
  margin-bottom: 20px;
  font-weight: 500;
}

.cv-btn {
  background: #1D1D25;
  color: #f8b2d4;
  border: none;
  padding: 18px 80px;
  border-radius: 50px;
  font-family: "ohno-softie-variable", sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 20px;
}

.cv-btn:hover {
  background: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Skills Section */
.skills-section {
  padding: 50px;
  background-color: #fff0f6;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: "ohno-softie-variable", sans-serif;
}

.skills-title {
  text-align: center;
  font-size: 2.5rem;
  color: #1D1D25;
  font-weight: 600;
  margin-bottom: 30px;
}

.skills-icons {
  display: grid;
  width: 80%;
  margin-top: 50px;
  justify-self: center;
  grid-template-columns: 1fr 1fr 1fr;
}

.skill-icon {
  padding: 20px;
  margin: 10px;
  text-align: center;
}

.skill-icon:hover {
  transform: translateY(-5px);
}

.icon-shape {
  font-size: 3rem;
  margin-bottom: 10px;
}

.skill-icon h3 {
  font-size: 1.25rem;
  font-size: 1.2rem;
  color: #2d2d2d;
  font-weight: 600;
  margin-bottom: 10px;
}

.skill-icon p {
  font-size: 0.95rem;
  color: #555;
}

/* Skill Bars */
.skills-bars {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 50%;
  justify-self: center;
}

.skill-bar {
  margin: 10px;
  width: 90%;
}

.skill-info {
  display: flex;
  align-items: center;
}

.skill-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #ff69b4;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}


.skill-progress {
  flex: 1;
  background: #ff69b4;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #1D1D25;
  border-radius: 6px 0 0 6px;
  transition: width 0.4s ease-in-out;
}



/* Contact Section */
.contact-section {
  padding: 80px 40px;
  background-color: #F4ABC4;
  background-image: url("../assets/image/Background_Contact_Me2x.png");
  background-repeat: repeat;
  background-size: contain;
  background-position: center;
}

.contact-content {
  position: relative;
  z-index: 2;
  width: 60%;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #2d2d2d;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.contact-image-div {
  margin-left: 10%;
}

.contact-image {
  width: 50%;
}

.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
}

.contact-star {
  font-size: 8rem;
  color: #1D1D25;
}

.contact-info {
  text-align: left;
}

.name {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1D1D25;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.title {
  font-size: 1.3rem;
  color: #1D1D25;
  margin-bottom: 30px;
  font-weight: 600;
}

.contact-details p {
  font-size: 1.2rem;
  color: #1D1D25;
  margin-bottom: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.contact-details a {
  color: #1D1D25;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #1D1D25;
}

.social-links {
  display: flex;
  margin-top: 20px;
  gap: 15px;
}

.social-btn {
  width: 50px;
  height: 50px;
  background: #2d2d2d;
  color: #f8b2d4;
  border-radius: 25%;
  display: flex;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

.social-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Ensures the image scales nicely inside */
}

.social-btn:hover {
  background: #1D1D25;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #1D1D25;
  padding: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.back-to-top {
  background: #f8b2d4;
  color: #1D1D25;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
}

.back-to-top:hover {
  background: #e89db8;
  transform: translateY(-2px);
}

.footer-nav ul {
  display: flex;
  list-style: none;
}

.footer-nav a {
  color: #f8b2d4;
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  color: #e89db8;
}

/* Visually hidden class for accessibility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    padding: 15px 20px;
    flex-direction: column;
  }

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

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .figure-body {
    width: 150px;
    height: 200px;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-placeholder {
    width: 200px;
    height: 200px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: column;
  }
}

@media (max-width: 1100px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text {
    padding-top: 50px;
  }

  .profile-photo {
    margin: 0 auto;
  }

  .skills-bars,
  .skills-icons {
    grid-template-columns: 1fr;
  }

  .contact-image-div {
    display: none;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }

  .star-div {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }
}