:root {
  --accent: #7c3aed;
  --accent-dark: #5b21b6;
  --ink: #1a1a1a;
  --paper: #fafaf9;
}

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background-color: var(--paper);
  color: var(--ink);
}

.lead strong {
  font-weight: 700;
}

/* navbar */

.navbar {
  border-bottom: 1px solid #e6e6e3;
  background-color: rgba(250, 250, 249, 0.95) !important;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.5px;
}


.navbar-brand .accent {
  color: var(--accent);
}

.nav-link {
  font-weight: 500;
  color: #555 !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

/*footer*/
footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 40px 0 30px;
  margin-top: 60px;
}

footer a:hover {
  color: var(--accent);
}

footer a {
  color: #ccc;
  text-decoration: none;
  margin: 0 8px;
}

footer .social-icons {
  font-size: 22px;
  margin-bottom: 16px;
}
/* Buttons */
.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-outline-dark:hover {
  background-color: var(--ink);
}

/* home */
.home {
  padding: 40px 0 60px;
  background-color: rgba(250, 250, 249, 0.95) ;

}

.home-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  margin-bottom: 12px;
}

.home-subtitle {
  font-size: clamp(18px, 2.5vw, 28px);
  color: #555;
  margin-bottom: 24px;
}

.home-eyebrow{
  font-family: 'Courier New';
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
/* section */
.section {
  padding: 70px 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.section-subtitle {
  color: #666;
  margin-bottom: 40px;
}
 /* project cards */
 .project-card {
  background-color: #fff;
  border: 1px solid #e6e6e3;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.project-card .tags {
  font-family: 'Courier New';
  font-size: 12px;
  color: #777;
}

.project-card h5 {
  font-weight: 600;
  margin-bottom: 6px;
}

.project-card .card-body {
  padding: 20px;
}

.project-thumb {
  aspect-ratio: 16 / 10;
  background-color: #ede9fe;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--accent);
}

.project-thumb.thumb-2 { background-color: #fef3c7; color: #b45309; }
.project-thumb.thumb-3 { background-color: #cffafe; color: #0e7490; }
.project-thumb.thumb-4 { background-color: #fce7f3; color: #be185d; }
.project-thumb.thumb-5 { background-color: #d1fae5; color: #047857; }
.project-thumb.thumb-6 { background-color: #e0e7ff; color: #4338ca; }


/* timeline */
.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid #e6e6e3;
  margin-top: 30px;
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--accent);
}

.timeline-item.current::before {
  background-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.timeline-year {
  font-family: 'Courier New', monospace;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item h5 {
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

/* skills */
.skill-card {
  background-color: #fff;
  border: 1px solid #e6e6e3;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.skill-card .icon {
  font-size: 80px;
  margin-bottom: 16px;
  display: block;
}

.skill-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.skill-card .skill-name {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}

.skill-card .skill-level {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #888;
}

.icon-html { color: #e34f26; }
.icon-css { color: #1572b6; }
.icon-bootstrap { color: #7c3aed; }
.icon-react { color: #61dafb; }
.icon-github { color: #181717; }


/* about */
.about-photo {
  border-radius: 12px;
  overflow: hidden;
  
}
.about-photo img{
    width: 100%;
    object-fit: cover;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.info-list li {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list .label {
  font-family: 'Courier New';
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  width: 100px;
  flex-shrink: 0;
  
}

.info-list .value {
  font-weight: 500;
}

/*  Carousel (projects page)  */
.carousel-inner {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6e6e3;
}

.carousel-item {
  height: 400px;
  text-align: center;
  padding: 120px 40px;
}

.carousel-slide-1 { background-color: #ede9fe; color: var(--accent);}
.carousel-slide-2 { background-color: #fef3c7; color: #b45309; }
.carousel-slide-3 { background-color: #cffafe; color: #0e7490; }

.carousel-item h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.carousel-item .tags {
  font-family: 'Courier New';
  font-size: 14px;
  opacity: 0.9;
}

/* contact */
.contact-card {
  background-color: #fff;
  border: 1px solid #e6e6e3;
  border-radius: 12px;
  padding: 32px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #f3e8ff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item .label {
  font-family: 'Courier New';
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-item .value {
  font-weight: 500;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.2);
}


@media (max-width: 767px) {
  .home { padding: 50px 0 30px; }
  .section { padding: 50px 0; }
  .carousel-item { height: 300px; padding: 30px 20px; }
  .skill-card { padding: 24px 16px; }
  .skill-card .icon { font-size: 64px; }
}
