@tailwind base;
@tailwind components;
@tailwind utilities;
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    background-color: #000000;
    color: #ffffff;
}

/* Header styles */
header {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FFD700;
}

/* Profile Section */
.profile {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: #ffffff;
}

.profile-content {
  max-width: 1200px;
  margin: 0 auto;
}

.profile-header {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.profile-image {
  flex-shrink: 0;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #FFD700;
  object-fit: cover;
}

.profile-text h1 {
  font-size: 2.5rem;
  color: #FFD700;
  margin-bottom: 1rem;
}

.profile-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Skills Section */
.skills {
  padding: 4rem 2rem;
  background-color: #1a1a1a;
}

.skills h2 {
  color: #FFD700;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.skills-grid {
  max-width: 900px; /* Reduced max-width to keep items closer */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
  grid-template-rows: repeat(2, auto); /* Force 2 rows */
  gap: 2rem;
  justify-content: center;
  justify-items: center;
}

.skill-item {
  background: #000000;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
  width: 100%;
  max-width: 250px; /* Added max-width for consistent sizing */
}

.skill-item:hover {
  transform: translateY(-5px);
}

.skill-item img {
  display: block;
  margin: 0 auto;
  margin-bottom: 1rem;
}

.skill-item h3 {
  color: #ffffff;
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skills-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
      gap: 1.5rem;
  }
  
  .skill-item {
      padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .skills-grid {
      grid-template-columns: 1fr; /* 1 column on very small screens */
  }
}

/*Education Section*/

section h2 {
  color: #FFD700;
  text-align: left;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.education, .experience {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.education-timeline, .experience-timeline {
  margin-top: 1rem;
}

/* Education Item */
.education-item, .experience-item {
  padding: 1.5rem;
  background: #000000;
  color: #FFFFFF;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.education-item .date, .experience-item .date {
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.education, .experience {
  padding-right: 5rem; 
}



.education-item .degree, .experience-item .position {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.education-item .institution, .experience-item .company {
  font-style: italic;
  margin-bottom: 1rem;
}


/* Portfolio Section */
.portfolio {
    padding: 4rem 2rem;
    background-color: #000000;
    color: #ffffff;
  }

  .portfolio h2 {
    color: #FFD700;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
  }

  .carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
  }

  .carousel-inner {
    display: flex;
    width: 1100%; /* 11 slides * 100% */
    transition: transform 0.5s ease-in-out;
  }

  .carousel-item {
    width: 9.0909%; /* 100% / 11 slides */
    position: relative;
  }

  .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  .portfolio-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
  }

  .carousel-item:hover .portfolio-details {
    transform: translateY(0);
  }

  .portfolio-details h3 {
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
  }

  .portfolio-details p {
    color: #ffffff;
    margin: 0;
  }

  /* Navigation Buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #FFD700;
    color: #FFD700;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
  }

  .carousel-btn:hover {
    background-color: #FFD700;
    color: #000000;
  }

  .carousel-btn.prev {
    left: 20px;
  }

  .carousel-btn.next {
    right: 20px;
  }

  /* Navigation Dots */
  .carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
    padding: 10px;
  }

  .carousel-nav label {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .carousel-nav label:hover {
    background-color: rgba(255, 215, 0, 0.8);
  }

  /* Radio buttons (hidden) */
  .carousel input[type="radio"] {
    display: none;
  }

  /* Carousel Navigation Logic for 11 slides */
  #slide1:checked ~ .carousel-inner { transform: translateX(0); }
  #slide2:checked ~ .carousel-inner { transform: translateX(-9.0909%); }
  #slide3:checked ~ .carousel-inner { transform: translateX(-18.1818%); }
  #slide4:checked ~ .carousel-inner { transform: translateX(-27.2727%); }
  #slide5:checked ~ .carousel-inner { transform: translateX(-36.3636%); }
  #slide6:checked ~ .carousel-inner { transform: translateX(-45.4545%); }
  #slide7:checked ~ .carousel-inner { transform: translateX(-54.5454%); }
  #slide8:checked ~ .carousel-inner { transform: translateX(-63.6363%); }
  #slide9:checked ~ .carousel-inner { transform: translateX(-72.7272%); }
  #slide10:checked ~ .carousel-inner { transform: translateX(-81.8181%); }
  #slide11:checked ~ .carousel-inner { transform: translateX(-90.9090%); }

  /* Active dot indicator */
  #slide1:checked ~ .carousel-nav label:nth-child(1),
  #slide2:checked ~ .carousel-nav label:nth-child(2),
  #slide3:checked ~ .carousel-nav label:nth-child(3),
  #slide4:checked ~ .carousel-nav label:nth-child(4),
  #slide5:checked ~ .carousel-nav label:nth-child(5),
  #slide6:checked ~ .carousel-nav label:nth-child(6),
  #slide7:checked ~ .carousel-nav label:nth-child(7),
  #slide8:checked ~ .carousel-nav label:nth-child(8),
  #slide9:checked ~ .carousel-nav label:nth-child(9),
  #slide10:checked ~ .carousel-nav label:nth-child(10),
  #slide11:checked ~ .carousel-nav label:nth-child(11) {
    background-color: #FFD700;
  }

  /* Optional: Add hover effect on images */
  .carousel-item img {
    transition: transform 0.3s ease;
  }

  .carousel-item:hover img {
    transform: scale(1.05);
  }
/* Experience */


.experience h2 {
    color: #FFD700;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    padding: 2rem;
    background: #000000;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.experience-item .date {
    color: #FFD700;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.experience-item .description {
  font-size: 1rem;
  color: #DDDDDD;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-4px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  color: #FFD700;
  font-size: 1.2rem;
}

.contact-text {
  color: #ffffff;
}


.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Banner Section Styles */
.banner {
  padding: 4rem 2rem;
  background-color: #000000;
  color: #ffffff;
}

.banner h2 {
  color: #FFD700;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.banner-scroll {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 20px; /* Space for scrollbar */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Customize scrollbar appearance */
.banner-scroll::-webkit-scrollbar {
  height: 8px;
}

.banner-scroll::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.banner-scroll::-webkit-scrollbar-thumb {
  background: #FFD700;
  border-radius: 4px;
}

.banner-scroll::-webkit-scrollbar-thumb:hover {
  background: #ffd900cc;
}

.banner-images {
  display: inline-flex;
  gap: 20px;
  padding: 10px 5px;
  align-items: center; /* This will center images vertically if they have different heights */
}

.banner-item {
  flex: 0 0 auto;
  width: auto; /* Changed from fixed width */
  max-width: 400px; /* Added max-width instead */
  height: auto; /* Changed from fixed height */
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.banner-item:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
}

.banner-item img {
  display: block;
  max-width: 100%;
  height: auto; /* This maintains aspect ratio */
  object-fit: contain; /* Changed from cover to contain */
}

/* cover Section Styles */
.cover {
  padding: 4rem 2rem;
  background-color: #000000;
  color: #ffffff;
}

.cover h2 {
  color: #FFD700;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.cover-scroll {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 20px; /* Space for scrollbar */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Customize scrollbar appearance */
.cover-scroll::-webkit-scrollbar {
  height: 8px;
}

.cover-scroll::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.cover-scroll::-webkit-scrollbar-thumb {
  background: #FFD700;
  border-radius: 4px;
}

.cover-scroll::-webkit-scrollbar-thumb:hover {
  background: #ffd900cc;
}

.cover-images {
  display: inline-flex;
  gap: 20px;
  padding: 10px 5px;
  align-items: center; /* This will center images vertically if they have different heights */
}

.cover-item {
  flex: 0 0 auto;
  width: auto; /* Changed from fixed width */
  max-width: 400px; /* Added max-width instead */
  height: auto; /* Changed from fixed height */
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cover-item:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
}

.cover-item img {
  display: block;
  max-width: 100%;
  height: auto; /* This maintains aspect ratio */
  object-fit: contain; /* Changed from cover to contain */
}

/* kalender */
.kalender {
  padding: 4rem 2rem;
  background-color: #000000;
  color: #ffffff;
}

.kalender h2 {
  color: #FFD700;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.kalender-scroll {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 20px; /* Space for scrollbar */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Customize scrollbar appearance */
.kalender-scroll::-webkit-scrollbar {
  height: 8px;
}

.kalender-scroll::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.kalender-scroll::-webkit-scrollbar-thumb {
  background: #FFD700;
  border-radius: 4px;
}

.kalender-scroll::-webkit-scrollbar-thumb:hover {
  background: #ffd900cc;
}

.kalender-images {
  display: inline-flex;
  gap: 20px;
  padding: 10px 5px;
  align-items: center; /* This will center images vertically if they have different heights */
}

.kalender-item {
  flex: 0 0 auto;
  width: auto; /* Changed from fixed width */
  max-width: 400px; /* Added max-width instead */
  height: auto; /* Changed from fixed height */
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.kalender-item:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
}

.kalender-item img {
  display: block;
  max-width: 100%;
  height: auto; /* This maintains aspect ratio */
  object-fit: contain; /* Changed from cover to contain */
}

/* Notes */
.notes {
  padding: 4rem 2rem;
  background-color: #000000;
  color: #ffffff;
}

.notes h2 {
  color: #FFD700;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.notes-scroll {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 20px; /* Space for scrollbar */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Customize scrollbar appearance */
.notes-scroll::-webkit-scrollbar {
  height: 8px;
}

.notes-scroll::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.notes-scroll::-webkit-scrollbar-thumb {
  background: #FFD700;
  border-radius: 4px;
}

.notes-scroll::-webkit-scrollbar-thumb:hover {
  background: #ffd900cc;
}

.notes-images {
  display: inline-flex;
  gap: 20px;
  padding: 10px 5px;
  align-items: center; /* This will center images vertically if they have different heights */
}

.notes-item {
  flex: 0 0 auto;
  width: auto; /* Changed from fixed width */
  max-width: 400px; /* Added max-width instead */
  height: auto; /* Changed from fixed height */
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.notes-item:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
}

.notes-item img {
  display: block;
  max-width: 100%;
  height: auto; /* This maintains aspect ratio */
  object-fit: contain; /* Changed from cover to contain */
}

/* Packages */
.package {
  padding: 4rem 2rem;
  background-color: #000000;
  color: #ffffff;
}

.package h2 {
  color: #FFD700;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.package-scroll {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 20px; /* Space for scrollbar */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Customize scrollbar appearance */
.package-scroll::-webkit-scrollbar {
  height: 8px;
}

.package-scroll::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.package-scroll::-webkit-scrollbar-thumb {
  background: #FFD700;
  border-radius: 4px;
}

.package-scroll::-webkit-scrollbar-thumb:hover {
  background: #ffd900cc;
}

.package-images {
  display: inline-flex;
  gap: 20px;
  padding: 10px 5px;
  align-items: center; /* This will center images vertically if they have different heights */
}

.package-item {
  flex: 0 0 auto;
  width: auto; /* Changed from fixed width */
  max-width: 400px; /* Added max-width instead */
  height: auto; /* Changed from fixed height */
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.package-item:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
}

.package-item img {
  display: block;
  max-width: 100%;
  height: auto; /* This maintains aspect ratio */
  object-fit: contain; /* Changed from cover to contain */
}

/* Sosmed */
.sosmed {
  padding: 4rem 2rem;
  background-color: #000000;
  color: #ffffff;
}

.sosmed h2 {
  color: #FFD700;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.sosmed-scroll {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 20px; /* Space for scrollbar */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Customize scrollbar appearance */
.sosmed-scroll::-webkit-scrollbar {
  height: 8px;
}

.sosmed-scroll::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.sosmed-scroll::-webkit-scrollbar-thumb {
  background: #FFD700;
  border-radius: 4px;
}

.sosmed-scroll::-webkit-scrollbar-thumb:hover {
  background: #ffd900cc;
}

.sosmed-images {
  display: inline-flex;
  gap: 20px;
  padding: 10px 5px;
  align-items: center; /* This will center images vertically if they have different heights */
}

.sosmed-item {
  flex: 0 0 auto;
  width: auto; /* Changed from fixed width */
  max-width: 400px; /* Added max-width instead */
  height: auto; /* Changed from fixed height */
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.sosmed-item:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
}

.sosmed-item img {
  display: block;
  max-width: 100%;
  height: auto; /* This maintains aspect ratio */
  object-fit: contain; /* Changed from cover to contain */
}



/* Responsive adjustments  */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }

    .contact-grid {
        grid-template-columns: 1fr;
        
    }

    .contact-item {
        justify-content: center;
    }

    .carousel-container {
        height: 100px;
    }

    .carousel-item img {
        height: 300px;
    }

    .carousel-nav label {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .banner-item {
      max-width: 300px; /* Adjusted for mobile */
    }
  
    .banner {
      padding: 2rem 1rem; /* Slightly reduced padding on mobile */
    } 

    .cover-item {
      max-width: 300px; /* Adjusted for mobile */
    }
  
    .cover {
      padding: 2rem 1rem; /* Slightly reduced padding on mobile */
    }

    .kalender-item {
      max-width: 300px; /* Adjusted for mobile */
    }
  
    .kalender {
      padding: 2rem 1rem; /* Slightly reduced padding on mobile */
    } 

    .notes-item {
      max-width: 300px; /* Adjusted for mobile */
    }
  
    .notes {
      padding: 2rem 1rem; /* Slightly reduced padding on mobile */
    } 

    .package-item {
      max-width: 300px; /* Adjusted for mobile */
    }
  
    .package {
      padding: 2rem 1rem; /* Slightly reduced padding on mobile */
    } 

    .sosmed-item {
      max-width: 300px; /* Adjusted for mobile */
    }
  
    .sosmed {
      padding: 2rem 1rem; /* Slightly reduced padding on mobile */
    } 
}
