/**
 * CSS Variables (Color Scheme)
 */
:root {
  --primary: #74c8ee;
  --primary-dark: #2b4e76;
  --text-light: #f8f8f8;
  --text-muted: #cfd2da;
  --bg-dark: rgba(0, 0, 0, 0.7);
  --bg-darker: rgba(0, 0, 0, 0.4);
  --border-radius: 8px;
}
/* === MANROPE FONT FIX === */
body, h1, h2, h3, h4, h5, h6, 
#header h1, .tagline, .main-menu a {
  font-family: 'Manrope', -apple-system, sans-serif !important;
}

h1 { font-weight: 800; }
h2 { font-weight: 700; }
#header h1 { font-weight: 700; }
.tagline { font-weight: 400; }

/**
 * Base Reset & Typography
 */
html {
  font-size: 62.5%; /* 1rem = 10px */
  background: url(background.jpg) center/cover no-repeat fixed;
  font-display: swap;
}

body {
  font-size: 1.8rem;
  line-height: 1.8;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 380;
  color: var(--text-light);
  max-width: min(800px, 90%);
  margin: 3rem auto;
  padding: 0 2rem;
  background: var(--bg-dark);
  backdrop-filter: blur(8px);
  border-radius: var(--border-radius);
}

/**
 * Layout Structure
 */
#container {
  padding: 2rem 0;
}

.inner {
  padding: 0 2rem;
}

/**
 * Header Styles
 */
#header {
  text-align: center;
  padding-top: 2rem;
  margin-bottom: 2rem;
}

#header img {
  border-radius: 50%;
  border: 3px solid var(--primary);
  margin-bottom: 1.5rem;
}

.tagline {
  font-weight: 300;
  opacity: 0.8;
  margin: -0.5rem 0 2rem 0;
  font-size: 1.8rem;
}

/**
 * Navigation Menu
 */
.main-menu {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0;
  list-style: none;
  margin: 2rem 0;
}

.main-menu a {
  font-size: 1.8rem;
  color: var(--text-muted);
  text-decoration: none;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.main-menu a:hover,
.main-menu a.active {
  color: var(--text-light);
  border-bottom-color: var(--primary);
}

/**
 * Content Regions
 */
.content-region {
  padding: 2rem;
  margin-bottom: 3rem;
  background: var(--bg-darker);
  border-radius: var(--border-radius);
}

/**
 * Typography
 */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  color: var(--text-light);
}

h1 { font-size: 3.6rem; }
h2 { font-size: 3.0rem; margin-bottom: 2rem; }
h3 { font-size: 2.4rem; }
h4 { font-size: 2.0rem; }

p {
  margin: 0 0 2rem 0; 
  font-size: 1.7rem;
  line-height: 1.6; 
}

strong {
  font-weight: 800;
  color: var(--primary); /* Your orange color */
}

/**
 * Links & Buttons
 */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text-light);
}

.button {
  display: inline-block;
  padding: 0.5rem 0.5rem;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.806);
  border-radius: 1px;
  margin: 0 auto;  
  transition: all 0.2s ease;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5px 0.5px rgba(0,0,0,0.2);
}

.button.outline {
  background: transparent;
  border: 0.5px solid var(--primary);
  color: var(--primary);
}

/**
 * Social Links
 */
/* Fix Connect page button spacing */
.social-links {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 1rem; /* Consistent spacing between buttons */
  justify-content: center; /* Center buttons */
  margin: 2rem 0;
  max-width: 100%; /* Prevent overflow */
}

.social-links a {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping */
  flex: 1; /* Equal width */
  min-width: fit-content; /* Don't shrink below content */
  text-align: center;
  margin: 0; /* Remove any default margins */
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .social-links {
    gap: 0.75rem;
    padding: 0 1rem; /* Add side padding */
  }
  
  .social-links a {
    padding: 0.7rem 1rem;
    font-size: 1.4rem;
    flex: 0 0 calc(50% - 0.5rem); /* 2 buttons per row */
  }
}

/**
 * Footer
 */
footer {
  text-align: center;       /* Horizontal centering */
  padding: 2rem 1rem;       /* Responsive padding */
  margin-top: 3rem;         /* Space above footer */
  width: 100%;             /* Full width */
  box-sizing: border-box;  /* Include padding in width */
}

footer p {
  margin: 0 auto;          /* Center paragraph block */
  max-width: 800px;        /* Match your content width */
  font-size: 1.4rem;       /* Adjust as needed */
  color: var(--text-muted); /* Use your color variable */
}

footer a {
  color: var(--primary);   /* Style email link */
  text-decoration: none;   /* Remove underline */
  transition: color 0.2s;  /* Smooth hover effect */
}

footer a:hover {
  color: var(--text-light); /* Hover state */
}

/**
 * Responsive Adjustments
 */
@media (max-width: 768px) {
  body {
    margin: 1rem auto;
    padding: 0 1.5rem;
  }

  .social-links {
    gap: 1rem;
    padding: 0;
    width: 100%;
  }
  
  .social-links a {
    flex: 0 0 calc(100% - 2rem);
    margin: 0 1rem;
    padding: 1rem;
  }


  .main-menu {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  h1 { font-size: 3.0rem; }
  h2 { font-size: 2.6rem; }
  
  #header img {
    width: 100px;
    height: 100px;
  }

  footer {
    padding: 1.5rem 0.5rem;
  }
  footer p {
    font-size: 1.2rem; /* Slightly smaller text */
  }
}

/**
 * Utility Classes
 */
.hide { display: none; }
.show { display: block; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 1rem; }
.mb-2 { margin-bottom: 2rem; }