/* General Styles */
html, body {
  overflow-x: hidden; /* Stops horizontal scrolling */
}

body {
  background-color: #000; /* Black background */
  color: #fff;
  font-family: Arial, sans-serif;
}

/* Navbar */
.navbar {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 15px 0;
}

.navbar .nav-link {
  color: #fff !important;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #1db954 !important;
}

/* Hero Section */

.hero {
  position: relative;
  min-height: 100vh;  /* Full viewport height */
  padding: 75px 0 10px 0;
  align-items: center; 
  background-color: #111;
  overflow: hidden; /* Prevents accidental overflow */
}

.hero img {
  max-height: 90vh; /* Prevents the image from being taller than screen */
  width: 80%;
  object-fit: cover; /* Keeps proportions */
  object-position: top;
}


.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.5); /* Dusty black overlay */
  z-index: 1;
}

.hero .content {
  position: relative;
  z-index: 2;
  /* padding: 20px; */
}

.hero .content h1 {
  font-weight: 700;
  font-size: 3rem;
}

.btn-custom {
  background-color: #1db954; /* Green button */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: #17a74a;
}



/* ===== About Section (reworked) ===== */
.about-section {
  padding: 72px 0;
  background-color: #000; /* keep page background consistent */
}

/* Card wrapper to visually group image + text (like inspo) */
.about-card {
  background: #111;
  border-radius: 1rem;
  padding: 2rem;
}

/* Keep photo and text the same height */
.about-photo { /* acts like a frame */
  min-height: 360px;        /* gives the image a solid presence on desktop */
}

/* Utility for cover fit (Bootstrap 5.3 has this, but we add it to be safe) */
.object-fit-cover { object-fit: cover; }


.info-list p {
  margin: 5px 0;
}



/* Projects Section */
.projects-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a, #000000);
  color: #fff;
  font-family: 'Poppins', sans-serif; /* clean, modern font */
}

.projects-section h2 {
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 1px;
  margin-bottom: 50px;
}

.projects-section .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-section .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.projects-section .card img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.projects-section .card:hover img {
  transform: scale(1.05);
}

.projects-section .card-body {
  background-color: #121212;
  color: #eaeaea;
  font-size: 0.95rem;
  line-height: 1.6;
}

.projects-section .card-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.projects-section .btn-primary {
  background-color: #0d6efd;
  border: none;
  font-size: 0.85rem;
  padding: 6px 12px;
}

.projects-section .btn-outline-secondary {
  color: #ccc;
  border-color: #444;
  font-size: 0.85rem;
  padding: 6px 12px;
}

.projects-section .btn-outline-secondary:hover {
  background-color: #444;
  color: #fff;
}





@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero img {
    max-height: 50vh; /* Prevents mobile hero from being too long */
  }

   .about .card {
    flex-direction: column;
    text-align: center;
  }

  .about .content {
    padding-left: 0;
    margin-top: 20px;
  }
}

