/* --------------------- */
/* Global / Body Reset    */
/* --------------------- */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;   /* hide horizontal scroll */
  overflow-y: auto;     /* body handles vertical scrolling */
  background-color: #121212;
  box-sizing: border-box;
}

/* --------------------- */
/* Navbar Styles          */
/* --------------------- */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 80px;                          
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: black;
  z-index: 100;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-left: 30px;
}

.navbar a, .dropdown-btn {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.navbar a:hover, .dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
  text-align: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0,0,0,0.85);
  min-width: 450px;
  z-index: 101;
  border-radius: 4px;
  overflow: hidden;
  flex-direction: column;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: white;
  text-decoration: none;
  text-align: left;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dropdown:hover .dropdown-content {
  display: flex;
}

/* Social buttons */
.social-buttons {
  margin-left: auto;  
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 25px;
}

.linkedin-btn, .github-btn, .email-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.linkedin-btn img, .github-btn img, .email-btn img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.linkedin-btn:hover img, .github-btn:hover img, .email-btn:hover img {
  transform: scale(1.1);
  opacity: 1;
}

/* --------------------- */
/* Main Content / Page Styling */
/* --------------------- */

/* --------------------- */
/* Main Content / Page Styling */
/* --------------------- */
.page {
  font-family: 'Roboto', 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #f5f5f5;
  width: 100%;
  min-width: 320px;
  padding-top: 10px;       /* space for navbar */
  height: auto;            
  overflow: visible;       
  box-sizing: border-box;
}

/* --------------------- */
/* Section Styling        */
/* --------------------- */
section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  padding: 20px 100px;      /* top / side padding */
  flex-wrap: wrap;
  scroll-margin-top: 100px;
  box-sizing: border-box;
}

.section-text {
  flex: 1 1 0;
  min-width: 0;
}

.section-text h2 {
  font-size: 1.5rem;       /* default header size */
  margin-top: 0;
  margin-bottom: 0.5em;
  color: #ffcc00;
}

.section-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

section.prompt {
  display: flex;
  flex-direction: column;   /* 👈 forces image underneath text */
  gap: 30px;
}

/* --------------------- */
/* Individual Header Sizes (adjustable) */
/* --------------------- */
.prompt h2 {
  font-size: 2rem;
}

.situation h2 {
  font-size: 1.5rem;
}

.general h2 {
  font-size: 1.5rem;
}

.decision1 h2 {
  font-size: 1.5rem;
}

.decision2 h2 {
  font-size: 1.5rem;
}

.decision3 h2 {
  font-size: 1.5rem;
}

.decision4 h2 {
  font-size: 1.5rem;
}

/* --------------------- */
/* Image Styling / Adjustable Sizes */
/* --------------------- */
.gamelog{
  flex-shrink: 0;
  width: 100%;               /* default full width, can be overridden */
  max-width: 1000px;           /* adjustable max width */
  margin-top: 10px;
  position: relative;
}

.gamelog img{
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.gamelog img:hover{
  transform: scale(1.03);
}

/* --------------------- */
/* Section backgrounds - alternating dark/light grey */
/* --------------------- */
.prompt {
  background-color: #1a1a1a;  /* dark grey */
}

.situation {
  background-color: #222222;  /* slightly lighter grey */
}

.general {
  background-color: #1a1a1a;  /* dark grey */
}

.decision1 {
  background-color: #222222;  /* slightly lighter grey */
}

.decision2 {
  background-color: #1a1a1a;  /* dark grey */
}

.decision3 {
  background-color: #222222;  /* slightly lighter grey */
}

.decision4 {
  background-color: #1a1a1a;  /* dark grey */
}

.decision5 {
  background-color: #222222;  /* slightly lighter grey */
}

.decision6 {
  background-color: #1a1a1a;  /* dark grey */
}

/* --------------------- */
/* Responsive Adjustments */
/* --------------------- */
@media (max-width: 992px) {
  section {
    flex-direction: column;
    text-align: center;
  }

  .PitchesChartPic,
  .heatmappic,
  .movementprofilepic {
    max-width: 100%;
    margin-top: 20px;
  }
}
