/* Custom Color scheme using the new palette variables for CSS-only elements */
:root {
  --color-primary: #13262f;
  /* jet-black */
  --color-accent: #73683b;
  /* olive-bark */
  --color-text: #e9e6ff;
  /* lavender */
  --color-secondary-bg: #b0a084;
  /* khaki-beige */
  --color-secondary-text: #583e23;
  /* deep-walnut */
}

.header-logo {
    font-family: 'Space Grotesk', sans-serif;
}

body {
  /* Set font-family to Poppins */
  font-family: "Poppins", sans-serif;
  background-color: var(--color-primary);
  color: var(--color-text);
  scroll-behavior: smooth;
}

.icon-hover-white img {
    transition: filter 0.2s ease; 
}

.icon-hover-white:hover img {
    filter: brightness(0) invert(1);
}

/* Styling for the floating header (using variable for background) */
.floating-nav {
  background-color: rgba(19, 38, 47, 0.95);
  /* Semi-transparent jet-black */
  backdrop-filter: blur(5px);
  z-index: 1000;
}

/* Style for the accent line and titles */
.accent-line {
  display: block;
  height: 4px;
  width: 80px;
  background-color: var(--color-accent);
  /* olive-bark - Default for dark BG */
  margin-bottom: 1rem;
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  /* default/mobile */
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-accent);
  /* olive-bark - Default for dark BG */
}

/* Adjusted font size for larger screens using Tailwind utility in CSS */
@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* Consistent styling for talks/articles list */
.content-year {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--color-accent);
  /* olive-bark */
}

.content-list li {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  border-left: 3px solid var(--color-accent);
  /* olive-bark */
  padding-left: 1rem;
}

.footer-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Custom border for the profile picture */
.profile-border {
  border: 8px solid var(--color-accent);
  /* olive-bark */
  box-shadow: 0 0 0 4px var(--color-primary);
  /* jet-black */
}

/* Hero Section Styles */
.hero-section {
  min-height: 85vh;
  max-height: 400%;
  display: flex;
  align-items: center;
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.95;
}

.hero-description {
  font-family: "Poppins", sans-serif;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 550px;
}

.hero-decorative-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    rgba(115, 104, 59, 0.3) 100%
  );
  border-radius: 16px;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.hero-image {
  border-radius: 16px; /* ou 16px si tu veux un arrondi plus premium */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-image-container {
    max-width: 400px;
  }
}

/* Theme Utilities */
.theme-light {
  background-color: #ffffff;
  color: var(--color-primary);
}

.theme-light .content-year {
  color: var(--color-primary);
}

.theme-light .text-t-text-light {
  color: var(--color-primary);
}

.theme-light .text-t-text-light\/70 {
  color: rgba(19, 38, 47, 0.7);
}

.theme-light .text-t-text-light\/80 {
  color: rgba(19, 38, 47, 0.8);
}

.theme-light .text-t-text-light\/90 {
  color: rgba(19, 38, 47, 0.9);
}

.theme-light .text-t-text-dark {
  color: var(--color-secondary-bg);
}

/* Profile Section Styles (Adapted for Light Theme) */
.profile-card {
  background: #ffffff;
  border: 1px solid rgba(115, 104, 59, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(115, 104, 59, 0.15);
  border-color: var(--color-accent);
}

.expertise-tag {
  background: #f8f9fa;
  border: 1px solid rgba(19, 38, 47, 0.1);
  color: var(--color-primary);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.expertise-tag:hover {
  border-color: var(--color-accent);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.badge {
  display: inline-block;
  background: rgba(115, 104, 59, 0.1);
  border: 1px solid rgba(115, 104, 59, 0.2);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.badge:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.profile-section {
  scroll-margin-top: 100px;
}