/* ===========================
    Global Styles & Variables
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
  
  --color-primary: #e67e22; 
  --color-secondary: #00bcd4; 
  --color-background: #2c3e50; 
  --color-text-alt: #6f7276; 
  --color-white: #ffffff; 
}

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

body {
  background-color: var(--color-background);
  font-family: 'Roboto', sans-serif;
  color: var(--color-primary);
  padding-top: 120px; 
}


html {
  scroll-padding-top: 120px;
}


h1, h2 {
  color: var(--color-primary);
  text-align: center;
  margin: 1rem auto;
  width: 90%;
  max-width: 800px;
}

p {
  color: var(--color-primary);
  text-align: center;
  margin: 0 auto 2rem auto;
  width: 90%;
  max-width: 800px;
  padding: 1rem 1rem;
  line-height: 1.6;
}


a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-secondary);
}


ul {
  list-style: none;
}


.navbar-container {
  background-color: var(--color-background);
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; 
  border-bottom: 2px solid var(--color-primary);
}

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

.navbar-logo {
  height: 100px; 
  width: auto;
}

.navbar-links ul {
  display: flex;
  gap: 1.5rem;
}

.navbar a, .navbar strong {
  font-weight: 700;
  padding: 0.5rem 0;
  display: block;
}

.main-banner {
  display: block;
  margin: 0 auto 2rem auto;
  max-width: 100%;
  width: 800px;
  height: auto;
}


main {
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}


.featured-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 20px;
  justify-items: center;
  align-items: start;
  padding: 20px;
  width: 90%;
  max-width: 1000px;
  margin: 2rem auto;
}

.featured-content-grid figure {
  text-align: center;
  margin: 0;
}

.featured-content-grid img {
  height: 180px;
  width: 180px;
  object-fit: contain;
  border: 3px solid var(--color-primary);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.featured-content-grid img:hover {
  transform: scale(1.05);
  border-color: var(--color-secondary);
}

figcaption {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-alt);
  padding-top: 0.5rem;
}


.links-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 500px;
  margin: 1rem auto 2rem auto;
}

.links-list li {
  padding: 0.75rem 0;
  width: 100%;
  border: 2px solid var(--color-primary); 
  border-radius: 8px; 
  margin-bottom: 15px; 
  transition: transform 0.2s ease; 
}

.links-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.links-list i {
  margin-right: 0.75rem;
  min-width: 20px;
  text-align: center;
}

/* ===========================
    Footer
=========================== */
.site-footer {
  background-color: var(--color-background);
  padding: 40px 20px;
  border-top: 2px solid var(--color-primary);
  display: flex; /* Flexbox for layout */
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; 
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex-basis: 30%; 
  padding: 10px;
  min-width: 200px; 
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1; 
}

.footer-logo {
  height: 100px;
  width: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

.footer-left-contact, .footer-right-nav {
  text-align: left;
}

.footer-right-nav {
  text-align: right;
}

.footer-right-nav ul {
  list-style: none;
}

.footer-right-nav a {
  font-weight: 400;
  padding: 3px 0;
  display: block;
}

.footer-copyright {
  color: var(--color-text-alt);
  font-size: 0.8rem;
  margin-top: 10px;
  width: 100%; 
  text-align: center;
  padding-top: 15px;
  border-bottom: 1px solid var(--color-primary);
}

/* ===========================
    Responsive Design (Mobile First)
=========================== */


@media (min-width: 768px) {
  .navbar {
    padding: 10px 40px;
  }
}


@media (max-width: 767px) {

  
  body {
    padding-top: 110px; 
  }

  
  html {
    scroll-padding-top: 110px; 
  }

  
  .navbar-logo {
    height: 50px;
  }

  
  .navbar {
    flex-direction: column;
    padding: 10px 20px;
  }

  .navbar-links ul {
    gap: 0.5rem;
    padding-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  
  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-section {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  
  .footer-left-contact {
    text-align: left;
  }

  .footer-right-nav {
    text-align: center;
  }

  .footer-right-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}