/* Root Colors */
:root {
  --light-purple: #d7abe6;
  --medium-purple: #c38ed5;
  --lavender: #f9edfd;
  --dark-purple: #9878b7;
  --pastel-purple: #b69ccf;
}

/* General Styles */
body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: var(--lavender);
  color: var(--dark-purple);
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  background-color: var(--medium-purple);
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.navbar ul li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-family: "Roboto Condensed", sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  transition: color 0.3s, transform 0.2s;
}

.navbar ul li a:hover {
  color: var(--lavender);
  transform: scale(1.1);
}

/* Hero Section */
header.hero-section {
  position: relative;
  background: url("images/bg-1.jpg") no-repeat center center/cover;
  height: 100vh;
  width: 100%;
  margin-top: 60px; /* Adjusted for fixed navbar */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  overflow: hidden;
}

header.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #49464699; /* Lighten the background */
  z-index: 1;
}

header.hero-section .text-container {
  text-align: center;
  padding: 20px;
  z-index: 2; /* Ensure text appears above the overlay */
}

header.hero-section .animated-text {
  font-family: "Roboto Slab", serif;
  font-size: 3rem;
  margin: 0 0 20px;
  display: inline-block;
  opacity: 0;
  animation: typing 4s steps(30) 1s forwards, fadeIn 1s 5s forwards;
}

header.hero-section p {
  font-size: 1.25rem;
  margin: 20px 0;
  font-family: "Roboto", sans-serif;
  display: inline-block;
  opacity: 0;
  animation: typing 4s steps(30) 1s forwards, fadeIn 1s 5s forwards;
}

header.hero-section .btn-main {
  background: var(--medium-purple);
  font-family: "Roboto", sans-serif;
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
}

header.hero-section .btn-main:hover {
  background: var(--light-purple);
  transform: scale(1.05);
}

/* Content Sections */
.content-section {
  padding: 50px 20px;
  text-align: center;
  font-family: "Roboto Condensed", sans-serif;
}

.content-section h2 {
  color: var(--medium-purple);
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
}

.content-section p {
  margin: 20px 0;
  font-family: "Roboto", sans-serif;
}

.btn-secondary {
  padding: 10px 20px;
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
  background: var(--pastel-purple);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background: var(--light-purple);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  border: 3px solid var(--pastel-purple);
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: var(--dark-purple);
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}

/*About*/

/*About-early life*/
/* Banner Styles */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--lavender);
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.banner-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  width: 100%;
}

.text-content {
  flex: 1;
  opacity: 0;
  animation: fadeIn 2s forwards;
}

.text-content h2 {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--medium-purple);
  background: linear-gradient(
    to right,
    var(--dark-purple),
    var(--medium-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInText 2s forwards;
}

.text-content p {
  font-family: "Roboto", sans-serif;
  color: var(--dark-purple);
  font-size: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  animation: fadeInText 3s forwards;
}

.image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 2s forwards 1s;
}

.image-content img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.image-content img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Animation for early life */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Career*/
/* Career Section Styles */
.career-section {
  padding: 40px 20px;
  text-align: center;
}

.career-title {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  color: var(--medium-purple);
  margin-bottom: 20px;
  background: linear-gradient(
    to right,
    var(--dark-purple),
    var(--medium-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Career Grid Styles */
.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.career-item {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.career-item h3 {
  font-family: "Roboto Slab", serif;
  font-size: 1.5rem;
  color: var(--medium-purple);
  background: linear-gradient(
    to right,
    var(--dark-purple),
    var(--medium-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.career-item p {
  font-family: "Roboto", sans-serif;
  color: var(--dark-purple);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  animation: fadeInText 3s forwards;
}

/* Animation Keyframes */
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* IU PERSONAL LIFE*/
/* Banner Styles */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--lavender);
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.banner-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  width: 100%;
}

.text-content {
  flex: 1;
  opacity: 0;
  animation: fadeIn 2s forwards;
}

.text-content h2 {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--medium-purple);
  background: linear-gradient(
    to right,
    var(--dark-purple),
    var(--medium-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInText 2s forwards;
}

.text-content p {
  font-family: "Roboto", sans-serif;
  color: var(--dark-purple);
  font-size: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  animation: fadeInText 3s forwards;
}

.image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 2s forwards 1s;
}

.image-content img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.image-content img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Awards*/
/* Awards Section Styles */
.awards-section {
  padding: 40px 20px;
  text-align: center;
}

.awards-title {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  color: var(--medium-purple);
  margin-bottom: 20px;
  background: linear-gradient(
    to right,
    var(--dark-purple),
    var(--medium-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Awards Grid Styles */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.awards-item {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.awards-item h3 {
  font-family: "Roboto Slab", serif;
  font-size: 1.5rem;
  color: var(--medium-purple);
  background: linear-gradient(
    to right,
    var(--dark-purple),
    var(--medium-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.awards-item h4 {
  font-family: "Roboto", sans-serif;
  font-size: 1.25rem;
  color: var(--dark-purple);
  margin-bottom: 5px;
}

.awards-item ul {
  list-style-type: none;
  padding: 0;
  text-align: left;
}

.awards-item ul li {
  margin-bottom: 5px;
  font-family: "Roboto", sans-serif;
  color: var(--dark-purple);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  animation: fadeInText 3s forwards;
}

/* Animation Keyframes */
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Social Media accounts*/
/* Follow Section Styles */
.follow-section {
  padding: 40px 20px;
  text-align: center;
}

.follow-title {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  color: var(--medium-purple);
  margin-bottom: 20px;
  background: linear-gradient(
    to right,
    var(--dark-purple),
    var(--medium-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Social Icons Styles */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  font-size: 2rem;
  color: var(--dark-purple);
  transition: transform 0.2s, color 0.2s;
}

.social-icon:hover {
  transform: scale(1.2);
  color: var(--medium-purple);
}

/* Animations */
@keyframes typing {
  from {
    width: 0;
    opacity: 1;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*Gallery*/
/* Gallery Banner Styles */
.gallery-banner {
  position: relative;
  background: url("images/banner-g.jpg") no-repeat center center/cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
}

.gallery-banner h1 {
  position: relative;
  font-family: "Roboto Slab", serif;
  font-size: 3rem;
  margin: 0;
}

/* Gallery Section Styles */
.gallery-section {
  padding: 40px 20px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.2s;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

/*Music section*/
/* Music Banner Styles */
.music-banner {
  position: relative;
  background: url("images/iubanner.jpg") no-repeat center center/cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.music-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.music-banner h1 {
  position: relative;
  font-family: "Roboto Slab", serif;
  font-size: 3rem;
  margin: 0;
}

/* Albums Grid Styles */
.content-section {
  padding: 40px 20px;
  text-align: center;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.album-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.album-item img {
  width: 100%;
  height: auto;
  display: block;
}

.album-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 10px;
}

.album-info h3 {
  margin: 0;
  font-size: 1.2rem;
}

.play-button {
  color: white;
  font-size: 1.5rem;
  transition: color 0.2s;
}

.play-button:hover {
  color: #ffcc00;
}

/*about for music awards*/

/* Awards Section Styles */
.awards-section {
  padding: 40px 20px;
  text-align: center;
}

.awards-title {
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  color: var(--medium-purple);
  margin-bottom: 20px;
  background: linear-gradient(
    to right,
    var(--dark-purple),
    var(--medium-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Awards Grid Styles */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.awards-item {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.awards-item h3 {
  font-family: "Roboto Slab", serif;
  font-size: 1.5rem;
  color: var(--medium-purple);
  background: linear-gradient(
    to right,
    var(--dark-purple),
    var(--medium-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.awards-item ul {
  list-style-type: none;
  padding: 0;
}

/* drama/movies*/

.content {
  text-align: center;
  padding: 20px;
}

.movie-drama-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
}

.item {
  display: flex;
  flex-direction: column;
  background-color: var(--lavender);
  border: 2px solid var(--dark-purple);
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 200px;
}

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

.item .text {
  text-align: left;
}

.item .image {
  text-align: right;
}

.item img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.item h2 {
  font-family: "Roboto Slab", serif;
  color: var(--medium-purple);
  margin-bottom: 10px;
}

.item p {
  color: var(--dark-purple);
  margin-bottom: 10px;
}
