/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

html,
body {
  height: 100%;
  font-size: 15px;
  width: 100%;
  color: #333;
  background-color: #D3D3D3;
}

/* Hero Section - Music Themed Background */
.hero {
  background: url("images/background.jpg") no-repeat center center/cover; /* Replace with your own image URL */
  background-color: rgba(
    0,
    0,
    0,
    0.6
  ); /* Fallback color with slight transparency for text readability */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
  height: 50vh;
  min-height: 300px;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 10px;
}

.highlight {
  color: #0cc2c0; /* Change to your desired color */
  font-weight: 100;
  vertical-align: top;
  
}

.version{
  margin-top: 5px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero .btn-primary {
  background-color: #097e9a;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.15rem;
  transition: background-color 0.3s, transform 0.2s;
  margin-top: auto;
  box-shadow: 0 0px 30px white;
}

.hero .btn-primary:hover {
  background-color: #0cc2c0;
  cursor: pointer;
  transform: scale(1.05);
}

.hero .btn-primary:focus {
  outline: 3px solid #0cc2c0;
  outline-offset: 5px;
}

/* Features Section */
.features {
  padding: 100px 20px;
  background-color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  
  margin-top: -50px;
}

.features h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  color: #333;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Feature Items Container */
.feature-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.feature-item {
  padding: 25px;
  background: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 350px;
}

.feature-item i {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #097e9a;
  transition: color 0.3s;
}

.feature-item h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
}

.feature-item p {
  font-size: 1.125rem;
  color: #666;
  margin-top: 10px;
  line-height: 1.5;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  background-color: #097e9a;
  color: white;
}

.feature-item:hover i {
  color: white;
}

.feature-item:hover h3 {
  color: white;
}

.feature-item:hover p {
  color: white;
}

/* Hover Effect for Feature Items */
.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background-color: #097e9a;
}

/* CTA Section */
.cta {
  background-color: #ff7f50;
  padding: 40px 20px;
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.btn-secondary {
  background-color: #333;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.btn-secondary:hover {
  background-color: #444;
}

/* Footer */
footer {
  background-color: #001d25;
  color: white;
  padding: 20px 0;
  text-align: center;
}

footer p {
  font-size: 0.875rem;
  margin-bottom: 10px;
}

.social-links {
  margin-top: 10px;
}

.social-icon {
  font-size: 1.5rem;
  margin: 0 10px;
  color: white;
  transition: color 0.3s;
}

.social-icon:hover {
  color: #ff7f50;
}

/* Media Queries */

/* For screens smaller than 1024px */
@media (max-width: 1024px) {
  .hero {
    height: 40vh;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .feature-items {
    grid-template-columns: 1fr 1fr;
  }
}

/* For screens smaller than 768px */
@media (max-width: 768px) {
  .hero {
    height: 35vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .feature-items {
    grid-template-columns: 1fr;
  }
}

/* For screens smaller than 480px */
@media (max-width: 480px) {
  .hero {
    height: 30vh;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.875rem;
  }

  .feature-items {
    grid-template-columns: 1fr;
  }
}

/* GitHub Preview Section */
.github-preview {
  background-color: #f1f1f1;
  padding: 20px 20px;
  text-align: center;
}

.github-preview h2 {
  font-size: 2.2rem; /* Smaller font size */
  margin-bottom: 40px;
  color: #001d25;
}

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

.repo-details {
  flex: 1;
  max-width: 60%;
  padding: 20px;
  text-align: left;
}

.repo-details h3 {
  font-size: 1.8rem; /* Slightly smaller */
  margin-bottom: 20px;
  color: #001d25;
}

.repo-details p {
  font-size: 1.125rem; /* Slightly smaller text */
  color: #666;
  margin-bottom: 10px;
}

.repo-details a {
  margin-top: 20px;
  display: inline-block;
  font-size: 1rem;
  padding: 12px 30px;
  background-color: #2a2a2a;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.repo-details a:hover {
  background-color: #097e9a;
}

/* Repo Avatar */
.repo-stats {
  flex: 3;
  overflow: hidden;
  max-width: 30%;
  width: 100%;
  height: auto;
  text-align: center;
}

.repo-stats img {
  width: 150px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Last commit message and details */
#repo-last-commit {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #001d25;
}

#repo-last-commit .commit-message {
  display: block;
  font-weight: bold;
  color: #097e9a;
  margin-bottom: 5px;
}

#repo-last-commit-details {
  font-size: 1rem;
  color: #555;
  margin-top: 5px;
}

#repo-last-commit-details .commit-author {
  color: #001d25;
  font-weight: bold;
}

#repo-last-commit-details .commit-date {
  color: #777;
  font-style: italic;
}

#repo-description {
  display: none;
}

/* Carousel Container */
.carousel-container {
  margin: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  transition: all 0.5s ease; /* Smooth transition when resizing */
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel-wrapper img {
  width: 100%; /* Image width now fills the container */
  height: auto; /* Maintain the aspect ratio */
  object-fit: contain; /* Make sure the image fits inside the container without cropping */
}

/* Carousel Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 30px;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.carousel-indicators button {
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-indicators button.active {
  background-color: #333;
}

/* Media Query: Center and adjust width for larger screens */
@media (min-width: 800px) {
  .carousel-container {
      width: 800px; /* Fixed width of 800px for larger screens */
  }
}


