:root{
    --dark-color: #0E0004;
    --light-color: #FFFBFC;
    --secondary-dark-color: #6B0F1A;
    --accent-color: #31081F;

}

@font-face {
    font-family: 'main-font';
    src: url(fonts/BaseNeueTrial-Regular.ttf);
}
@font-face {
    font-family: 'title-font';
    src: url(fonts/BaseNeueTrial-Bold.ttf);
}






* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.6;
  color: var(--light-color);
  font-family: 'main-font';
  background: var(--dark-color);
  background-image: url(../img/textures/low-contrast-linen.png);
}

h1, h2, h3, h4 {
  font-family: 'title-font';
}

a:hover {
    color: var(--secondary-dark-color);
    text-decoration: underline;
}




/* ===== Header ===== */
header {
  text-align: center;
  padding: 40px 20px 20px;
  background-color: var(--dark-color);
  background-image: url(../img/textures/basketball.png);
  border-bottom: 1px solid #f0f0f0;
}

header h1 {
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}





nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

nav a {
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 4px;
}






/* Navigation base styles */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    position: relative; /* Important for dropdown positioning */
}

nav ul li a {
    text-decoration: none;
    color: inherit;
    padding: 10px 15px;
    display: block;
}






/* ===== Sections General ===== */
section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

section h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  font-weight: 600;
    
}

section p {
  margin-bottom: 14px;
}


button {
  font-family: 'main-font';
}

/* ===== Footer ===== */
footer {
  background-color: var(--dark-color);
  background-image: url(../img/textures/basketball.png);
  padding: 20px 24px;
  text-align: center;
  border-top: 1px solid #eee;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

footer p {
  margin-bottom: 0;
}

#footer-nav ul {
  justify-content: center;
  gap: 20px;
  display: flex;
}

#footer-nav a {
  color: var(--light-color);
  text-decoration: none;
}

#footer-nav a:hover {
  text-decoration: underline;
}

footer a {
  color: var(--light-color);
}

footer a:hover {
  text-decoration: underline;
}