/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #2d2d2d;
  line-height: 1.7;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== COLOR VARIABLES ===== */
:root {
  --gold: #b8952a;
  --gold-light: #d4af37;
  --dark: #1a1a2e;
  --dark-blue: #16213e;
  --charcoal: #333;
  --medium-gray: #666;
  --light-gray: #f7f7f7;
  --white: #fff;
  --section-padding: 100px 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

h2.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  color: var(--medium-gray);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 1.25rem;
  border: none;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  padding: 0.6rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-light);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/IMG_0642.jpg') center center / cover no-repeat;
  filter: brightness(0.35);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.hero-content h1 span {
  color: var(--gold-light);
}

.hero-tagline {
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--gold-light);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(184, 149, 42, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ===== ABOUT ===== */
.about {
  padding: var(--section-padding);
  background: var(--white);
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
}

.about-text h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.about-text .gold-line {
  margin: 0.75rem 0 1.25rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  color: var(--charcoal);
  font-size: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.highlight-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.highlight-item p {
  font-size: 0.85rem;
  color: var(--medium-gray);
  margin-bottom: 0;
}

/* ===== EXPERIENCE ===== */
.experience {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.experience-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light), #e0d5b0);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 2.2rem;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold);
}

.timeline-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(184, 149, 42, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.timeline-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.timeline-item .organization {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.timeline-item p,
.timeline-item li {
  color: var(--medium-gray);
  font-size: 0.93rem;
}

.timeline-item ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.timeline-item li {
  margin-bottom: 0.4rem;
}

/* ===== PHOTO GALLERY STRIP ===== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
}

.photo-strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s, filter 0.5s;
  filter: brightness(0.85);
}

.photo-strip img:hover {
  transform: scale(1.05);
  filter: brightness(1);
}

/* ===== EDUCATION ===== */
.education {
  padding: var(--section-padding);
  background: var(--white);
}

.education-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.edu-card {
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.edu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
}

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

.edu-card .edu-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.edu-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--dark);
}

.edu-card .edu-school {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.edu-card .edu-thesis {
  font-size: 0.85rem;
  color: var(--medium-gray);
  font-style: italic;
  border-top: 1px solid #eee;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

/* ===== PUBLICATIONS ===== */
.publications {
  padding: var(--section-padding);
  background: var(--dark);
  color: var(--white);
}

.publications h2.section-title {
  color: var(--white);
}

.publications .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.publications-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pub-category {
  margin-bottom: 3rem;
}

.pub-category h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pub-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pub-number {
  min-width: 28px;
  height: 28px;
  background: rgba(184, 149, 42, 0.2);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.pub-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

/* ===== SKILLS ===== */
.skills {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.skills-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-bottom-color: var(--gold);
}

.skill-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
  color: var(--white);
}

.skill-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.skill-card ul {
  text-align: left;
}

.skill-card li {
  font-size: 0.88rem;
  color: var(--medium-gray);
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}

.skill-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ===== LANGUAGES ===== */
.languages-bar {
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 0 2rem;
}

.languages-bar h3 {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.lang-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.lang-item {
  text-align: center;
  min-width: 100px;
}

.lang-item .lang-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

.lang-item .lang-level {
  font-size: 0.8rem;
  color: var(--medium-gray);
}

.lang-bar-outer {
  width: 100px;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  margin: 0.4rem auto 0;
  overflow: hidden;
}

.lang-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
}

/* ===== CONTACT / FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer .gold-line {
  margin-bottom: 2rem;
}

.footer-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-info-item .icon {
  width: 42px;
  height: 42px;
  background: rgba(184, 149, 42, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1rem;
}

.footer-info-item a,
.footer-info-item span {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-info-item a:hover {
  color: var(--gold-light);
}

.footer-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s;
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-text h2,
  .about-text .gold-line {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .education-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-strip img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
    letter-spacing: 2px;
  }

  h2.section-title {
    font-size: 1.8rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.98);
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 0;
  }

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

  .nav-links a {
    padding: 0.75rem 2rem;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .footer-info {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-strip img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .footer-buttons {
    flex-direction: column;
    align-items: center;
  }
}
