 /* components.css */
/*–––––––––––––––––––––– GLOBAL ––––––––––––––––––––––*/

.btn-glow {
  padding: 0.6rem 1.2rem;
  background: var(--color-accent);
  color: #000;
  border: none;
  border-radius: 5px;
  box-shadow: 0 0 10px var(--color-accent);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-glow:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px var(--color-accent);
}


/*–––––––––––––––––––––– NAVBAR ––––––––––––––––––––––*/

.navbar {
  background: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 0 10px var(--color-accent);
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links li a {
  color: var(--color-accent);
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  text-shadow: 0 0 5px var(--color-accent);
}

/*–––––––––––––––––––––– FOOTER ––––––––––––––––––––––*/

.footer {
  background: #222;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: #aaa;
  border-top: 1px solid #333;
  margin-top: auto;
}

/*–––––––––––––––––––––– SOCIAL LINKS ––––––––––––––––––––––*/

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  padding: 0.5rem 1rem;
  border: 1px solid #333;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
}

.social-link:hover {
  transform: scale(1.05);
}

.social-link.facebook:hover {
  background-color: #1877f2;
  box-shadow: 0 0 10px #1877f2;
}

.social-link.instagram:hover {
  background-color: #e1306c;
  box-shadow: 0 0 10px #e1306c;
}

.social-link.x:hover {
  background-color: #000;
  box-shadow: 0 0 10px #000;
}

.social-link.github:hover {
  background-color: #333;
  box-shadow: 0 0 10px #333;
}

.social-link.linkedin:hover {
  background-color: #0a66c2;
  box-shadow: 0 0 10px #0a66c2;
}


/*–––––––––––––––––––––– TIMELINE (RESUME) ––––––––––––––––––––––*/

.timeline {
  position: relative;
  margin: 3rem auto;
  padding-left: 2rem;
  border-left: 2px solid var(--color-accent);
}

.timeline-item {
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background-color: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  left: -9px;
  top: 5px;
  box-shadow: 0 0 10px var(--color-accent);
}

.timeline-content {
  padding-left: 1rem;
}

.resume-actions {
  text-align: center;
  margin-top: 3rem;
}

/*–––––––––––––––––––––– GALLERY ––––––––––––––––––––––*/

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  margin: 0 auto;
  max-width: 1000px;
  background: #111;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

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

.caption {
  display: none;
}

/* Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.gallery-filters a {
  text-decoration: none;
  color: var(--color-accent);
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: 0.2s;
}

.gallery-filters a:hover,
.gallery-filters a.active {
  background-color: rgba(191, 160, 70, 0.1);
  border-color: var(--color-accent);
}

/*–––––––––––––––––––––– MODAL (GALLERY PREVIEW) ––––––––––––––––––––––*/

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(15, 15, 15, 0.95);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-close {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}

.modal-close:hover {
  color: #ff5e5e;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/*–––––––––––––––––––––– EXTRAS ––––––––––––––––––––––*/

.map-section {
  margin-top: 2rem;
  text-align: center;
}

.map-glow {
  max-width: 80%;
  border-radius: 12px;
  box-shadow: 0 0 30px var(--color-accent);
  transition: transform 0.3s ease;
}

.map-glow:hover {
  transform: scale(1.03);
}

.map-caption {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: #aaa;
  font-style: italic;
}

.driving-image {
  display: block;
  margin: 2rem auto;
  border-radius: 14px;
  box-shadow: 0 0 15px var(--color-accent);
  max-width: 90%;
}

.driver-section {
  text-align: center;
  margin-top: 4rem;
}

/* Quote Box */
.quote-box {
  margin-top: 3rem;
  padding: 1.5rem;
  border-left: 4px solid var(--color-accent);
  background: #111;
  color: #ccc;
  font-style: italic;
  box-shadow: 0 0 12px rgba(191, 160, 70, 0.2);
  border-radius: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.quote-box footer {
  text-align: right;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #999;
}

/* ===== Project Card Link ===== */
.proj-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.proj-link:hover { opacity: 0.7; color: var(--color-accent); }

/* ===== Theme Toggle Button ===== */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-accent);
  font-size: 1rem;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  border-radius: 4px;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}
.theme-toggle:hover { opacity: 0.7; }

/* ===== Hamburger Menu Setup ===== */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
}

.nav-links.show {
  display: flex;
}

/* ===== Responsive (Mobile) ===== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #111;
    width: 100%;
    padding: 1rem;
    border-top: 1px solid #222;
    margin-top: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    padding: 0.5rem 0;
    width: 100%;
    text-align: left;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding-left: 1rem;
  }

  .hero-text h1,
  .section-title {
    font-size: 1.8rem;
  }

  .subtext {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .social-links {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-glow {
    width: 100%;
    text-align: center;
  }

  .quote-box {
    padding: 1rem;
    font-size: 1rem;
  }

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

  .resume-actions a {
    display: block;
    width: 100%;
  }
}
