/* Global Base */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #121417; /* Very dark charcoal */
  color: #d1d5db; /* Light gray text */
  line-height: 1.6;
  scroll-behavior: smooth;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 960px;
}

/* Header */
header {
  background: #1f2937; /* Dark slate */
  color: #d97706; /* Burnt orange */
  font-style: normal;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 1.5px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
  padding: 1rem 0.5rem;
}

/* Navbar */
.navbar {
  background: #1e293b; /* Navy charcoal */
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.1);
  font-weight: 600;
}

.nav-link {
  color: #d1d5db; /* Light gray */
  padding: 0.6rem 1rem;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  background-color: #d97706; /* Burnt orange */
  color: #1e293b;
  font-weight: 700;
}

.nav-link.active {
  background-color: #d97706;
  color: #1e293b !important;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.7);
}

/* Sections */
section {
  padding: 4rem 2rem;
  background: #1f2937; /* Dark slate */
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.15);
  margin-bottom: 3rem;
  transition: box-shadow 0.3s ease;
}

section:hover {
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.3);
}

/* Headings */
h2 {
  font-weight: 800;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: #d97706;
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 5px rgba(217, 119, 6, 0.6);
}

h3 {
  font-weight: 700;
  font-size: 1.7rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #e4e4e7;
}

/* Paragraphs and Leads */
p.lead {
  font-size: 1.2rem;
  color: #d1d5db;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

/* Links */
a {
  color: #d97706;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #b45309;
  text-decoration: underline;
}

/* Buttons */
.btn-outline-primary {
  border-radius: 8px;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-color: #d97706;
  color: #d97706;
  background-color: transparent;
  box-shadow: 0 2px 5px rgba(217, 119, 6, 0.25);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #d97706;
  color: #1f2937;
  border-color: #d97706;
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.6);
}

/* Cards */
.card {
  border-radius: 16px;
  border: none;
  background-color: #273449;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.1);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  color: #d1d5db;
}

.card:hover {
  box-shadow: 0 20px 50px rgba(217, 119, 6, 0.3);
  transform: translateY(-7px);
}

.card-title {
  font-weight: 700;
  color: #d97706;
}

/* Footer */
footer {
  background: #1e293b;
  color: #d97706;
  font-size: 0.95rem;
  letter-spacing: 0.07em;
  padding: 1.8rem 0;
  margin-top: 5rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  h2 {
    font-size: 2.2rem;
  }
  section {
    padding: 3rem 1.2rem;
  }
}

/* Home Section: full viewport with dark + burnt orange vibe */
body > main > section#home {
  padding-top: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1f2937 0%, #78350f 100%);
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(217, 119, 6, 0.35);
  color: #d97706;
}

body > main > section#home h2 {
  font-size: 3.4rem;
  font-weight: 900;
  margin-bottom: 1.3rem;
  text-shadow: 0 3px 12px rgba(217, 119, 6, 0.8);
}

body > main > section#home p {
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0;
  color: #f59e0b;
  text-shadow: 0 2px 8px rgba(217, 119, 6, 0.7);
}

/* Blockquote */
blockquote {
  font-size: 1.4rem;
  border-left: 5px solid #d97706;
  padding-left: 1.2rem;
  color: #e4e4e7;
  margin: 0 auto;
  max-width: 720px;
  font-style: italic;
  background: rgba(217, 119, 6, 0.1);
  border-radius: 10px;
}

blockquote footer {
  font-style: normal;
  font-weight: 700;
  color: #fbbf24;
  margin-top: 0.7rem;
}

/* Smooth collapse animation tweaks */
.collapse {
  transition: max-height 0.35s ease, opacity 0.35s ease;
  overflow: hidden;
}

/* Image link in cards */
.card-body a.d-block {
  font-weight: 700;
  color: #d97706;
  margin-top: 0.6rem;
  display: inline-block;
  transition: color 0.3s ease;
}

.card-body a.d-block:hover {
  color: #fbbf24;
  text-decoration: underline;
}

/* Projects Section */

/* Gallery container for multiple projects */
.project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Individual project cards */
.project-card {
  flex: 1 1 320px;
  max-width: 350px;
  background: #273449;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #d1d5db;
}

/* Headings, paragraphs and links inside project cards */
.project-card h3,
.project-card p,
.project-card a {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* Slider inside project card */
.project-card .slider {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 1rem;
  position: relative;
}

/* Slides images */
.slides img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease;
  user-select: none;
}

.slides img.active-slide {
  opacity: 1;
  position: relative;
}

/* Slider buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(217, 119, 6, 0.8);
  border: none;
  color: #121417;
  font-size: 2.2rem;
  padding: 0 12px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  transition: background 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background: #d97706;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}
