/* ===================== COLORS ===================== */
:root {
  --blue: #2196F3;
  --green: #809848;
  --dark: #2E2F2F;
  --light: #ffffff;
}

/* ===================== GLOBAL ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f6f6f6;
  color: var(--dark);
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--dark);
  padding: 0.8rem 0;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-content {
  width: 90%;
  margin: auto;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.3rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
}

.nav-links a {
  color: white;
  transition: .2s;
}

.nav-links a:hover {
  color: var(--blue);
}

/* ===================== HERO ===================== */
.hero {
  padding: 160px 20px 120px;
  text-align: center;
  background: var(--blue);
  color: white;
}

.hero-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--light);
  margin-bottom: 1rem;
}

.hero-role {
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
}

.hero-btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  background: var(--dark);
  color: white;
  border-radius: 8px;
  transition: .2s;
}

.hero-btn:hover {
  background: #000;
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 100px 20px;
}

.section.white { background: var(--light); color: var(--dark); }
.section.green { background: var(--green); color: white; }
.section.blue  { background: var(--blue); color: white; }
.section.dark  { background: var(--dark); color: white; }

.section-inner {
  max-width: 900px;
  margin: auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ===================== LISTS ===================== */
.list {
  list-style: none;
}

.list li {
  padding: 0.5rem 0;
  display: flex;
  gap: 12px;
  font-size: 1.1rem;
}

/* Skill logos */
.skill-logo {
  width: 72px;
  height: 72px;
  filter: invert(1); /* makes SVGs white on green/blue backgrounds */
}


/* ===================== CONTACT BUTTON ===================== */
.contact-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  margin-top: 1.5rem;
  transition: .2s;
}

.contact-btn:hover {
  background: #0d6ec2;
}

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ===================== LOGO SLIDER ===================== */

.logo-slider {
  height: 110px;
  margin-top: 40px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  width: calc(200px * 12); /* #logos * width */
  animation: scroll 25s linear infinite;
}

.slide {
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  width: 70px;
  height: 70px;
  filter: invert(1); /* White logos on green/blue sections */
  opacity: 0.9;
  transition: 0.2s;
}

.slide img:hover {
  transform: scale(1.15);
  opacity: 1;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-200px * 6)); }
}
