/* Basic Reset/Setup (optional, but good practice) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    background: #2c3e50;
    padding-top: 60px;
    margin: 0;
    font-family: 'Lato', sans-serif;
}

/* Full-width background */
.background {
  width: 100%;
  min-height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* Centered content box */
.content {
  max-width: 1200px;
  width: 100%;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Hero Section */
.hero {
  height: 80vh;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 20px;
  overflow: visible;
}

.hero-logo {
  max-width: 400px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.5rem;
  opacity: 0.8;
}

.scroll-indicator {
  position: absolute;
  bottom: 180px;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s infinite;
  z-index: 10; /* Ensure it's on top */
  pointer-events: none; /* So it's not clickable */
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* Hide header initially */
#main-header {
  background-color: #2c3e50;
  color: white;
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

/* Show header after scroll */
#main-header.visible {
  transform: translateY(0);
}

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


#logo-link {
    display: flex; /* If you have text next to the logo */
    align-items: center;
    text-decoration: none; /* Removes underline from link */
}

#header-logo {
    height: 80px; /* Adjust logo height as needed */
    width: auto; /* Maintain aspect ratio */
    margin-right: 10px; /* Space between logo and potential text/nav */
}

.logo-text { /* Style for optional text next to logo */
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: white;
}

#main-nav a.active {
  font-weight: bold;
  color: #f1c40f;
  border-bottom: 2px solid #f1c40f;
}

#main-nav ul {
    list-style: none; /* Removes bullet points */
    margin: 0;
    padding: 0;
    display: flex; /* Aligns nav items in a row */
}

#main-nav ul li {
    margin-left: 25px; /* Space between navigation items */
}

#main-nav ul li a {
    font-family: 'Lato', sans-serif;
    font-size: 1rem; /* Button text size */
    color: white;
    text-decoration: none;
    padding: 10px 15px; /* Makes it look more like a button */
    border-radius: 4px; /* Rounded corners for buttons */
    transition: background-color 0.3s ease, color 0.3s ease;
}

#main-nav ul li a:hover,
#main-nav ul li a.active { /* Style for hover and active link */
    background-color: #f39c12; /* An accent color, e.g., gold/orange for Roman theme */
    color: #2c3e50; /* Dark text on hover */
}


/* Language Switcher Styling - to fit the header */
#main-nav .language-switcher-container {
    display: flex; /* Align form content if needed, though select might be enough */
    align-items: center; /* Vertically align select within the li */
    height: 100%; /* Ensure it takes up the li's height for alignment */
}

#main-nav .language-form {
    display: inline-block;
}

#main-nav .select-wrapper {
    position: relative;
    display: inline-block;
}

#main-nav .language-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background-color: transparent; /* Make it blend with nav item initially */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle white border */
    border-radius: 4px;   /* Match nav link border-radius */
    padding: 8px 8px 8px 12px;
    font-family: 'Lato', sans-serif; /* Match nav font */
    font-size: 0.9rem; /* Slightly smaller or same as nav links (1rem) */
    line-height: 1.4;
    color: white; /* White text */
    cursor: pointer;
    min-width: 80px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* Styling for the options */
#main-nav .language-select option {
    padding: 10px;
    background-color: white; /* Light background for dropdown */
    color: #2c3e50; /* Dark text for options */
    font-family: 'Lato', sans-serif;
}

/* Hover state for the select - can mimic nav link hover */
#main-nav .language-select:hover,
#main-nav .language-select:focus {
    border-color: #f39c12; /* Accent color */
    outline: 0;
}

#main-nav ul li a:hover,
#main-nav ul li a.active { /* Style for hover AND active link */
    background-color: #f39c12; /* An accent color */
    color: #2c3e50; /* Dark text on hover/active */
}

/* Section Base Style */
section {
  scroll-margin-top: 80px;
  padding: 60px 20px;
  min-height: 300px;
  text-align: center;
}

#about-section img,
#features-section img,
#api-section img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

/* Flex Layouts */
.flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.flex-item {
  max-width: 300px;
  text-align: center;
}

/* Button */
#predictCoinButton {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

/* Code Style */
code {
  font-size: 0.9em;
}