/* ================= GLOBAL STYLES ================= */
* {
  box-sizing: border-box; /* prevents overflow with padding/border */
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  background-color: #f0f0f0;  /* Page background */
}

.container {
  width: 90%;
  margin: 0 auto;
}

/* ================= HEADER ================= */
header {
  position: fixed;             
  top: 0;
  left: 0;
  width: 100%;
  background-color: orange;    
  color: white;                
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;  
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap; /* allows shrinking on small screens */
}

.nav-links {
  list-style: none;           
  display: flex;
  gap: 20px;                  
  flex-wrap: wrap; /* nav wraps on smaller screens */
}

.nav-links a {
  color: white;               
  text-decoration: none;      
  font-weight: bold;
}

/* ================= BANNER ================= */
.banner {
  margin-top: 60px;           
  width: 100%;                /* fluid width */
  height: 200px;              /* fixed height */
  background-image: url('../../final/week4/banner.jpg'); 
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 1px 1px 3px #000;
}

/* ================= MAIN CONTENT ================= */
.main-content {
  display: flex;              
  gap: 50px;                  /* space between columns */
  max-width: 1075px;
  margin: 20px auto;
  flex-wrap: wrap;            /* columns shrink/responsive */
  padding: 20px;
}

/* Left Column */
.left-column {
  width: 55.8%;               /* fluid based on 600px / 1075px */
  background-color: #d0f0c0;  
  padding: 20px;
}

/* Right Column */
.right-column {
  width: 37.2%;               /* fluid based on 400px / 1075px */
}

.right-column a img {
  width: 100%;                /* fluid images */
  height: auto;
  display: block;
  margin-bottom: 20px;
}

/* ================= FOOTER ================= */
footer {
  background-color: #0f172a;  
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer a {
  color: orange;              
  text-decoration: underline; 
}

/* ================= RESPONSIVE MEDIA QUERY ================= */
@media (max-width: 800px) {
  .left-column,
  .right-column {
    width: 100%;  /* stack columns on small screens */
  }
}