/* ===========================
   GLOBAL THEME
=========================== */
:root {
  --bg-main: #181a1f;         /* soft dark background */
  --bg-card: #22252b;         /* cards / sections */
  --bg-header: #1d2026;       /* header */
  --text-main: #e6e6e6;       /* primary text */
  --text-muted: #b0b0b0;      /* secondary text */
  --accent: #ff9900;          /* Amazon-like orange */
  --accent-hover: #ffb84d;    /* hover for accent */
  --border: #2f333b;          /* subtle borders */
}

/* ===========================
   BASE
=========================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

/* ===========================
   LINKS
=========================== */
a {
  text-decoration: none;
  color: var(--accent);
}

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

/* ===========================
   HEADER
=========================== */
header {
  position: sticky;
  top: 0;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 50;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: auto;
  padding: 0 1rem;
}

nav a {
  margin-left: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

/* ===========================
   SECTIONS & ANIMATION
=========================== */
.section {
  padding: 4rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.section.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 0 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* ===========================
   INTRO
=========================== */
.intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ===========================
   INTRO GRID
=========================== */
.intro-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.intro-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--accent);
}

.intro-text {
  flex: 1;
}

/* ===========================
   SOCIAL ICONS
=========================== */
.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.social-links img {
  width: 36px;
  height: 36px;
  filter: brightness(0.9);
  transition: transform 0.3s, filter 0.3s;
}

.social-links img:hover {
  filter: brightness(1.1);
  transform: scale(1.15);
}

/* ===========================
   CARDS
=========================== */
.card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.8rem;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.location {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* ===========================
   PROJECT LINKS
=========================== */
.project-card a {
  font-weight: 600;
  color: var(--accent);
}

/* ===========================
   SKILLS GRID
=========================== */
.skills-grid {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* Hard skills */
.skill-hard {
  background: #2a2e36;
  color: var(--text-main);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--accent);
  transition: transform 0.2s, background 0.2s;
}

.skill-hard:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Soft skills */
.skill-soft {
  background: #2a2e36;
  color: var(--text-main);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border: 1px solid #555;
  transition: transform 0.2s, background 0.2s;
}

.skill-soft:hover {
  background: #444;
  transform: translateY(-2px);
}

/* ===========================
   CERTIFICATIONS
=========================== */
.cert-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cert-link {
  background: #2a2e36;
  color: var(--text-main);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

.cert-link:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

/* ===========================
   RESUME BUTTON
=========================== */
.resume-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;          /* text stays white */
  font-weight: 600;
  transition: transform 0.3s, background 0.3s;
}

.resume-btn:hover {
  background: var(--accent-hover);
  color: #fff;           /* text remains white on hover */
  transform: translateY(-2px);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .intro-grid {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}


.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.travel-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.travel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.travel-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 0.8rem;
    object-fit: cover;
}

.travel-card h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.travel-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===========================
   LIGHTBOX
=========================== */
.lightbox {
    display: none; /* hidden by default */
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
}

.lightbox-img {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--accent);
}
