/* style.css */

/* Reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7fa;
  color: #0B2345; /* deep blue text */
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background-color: #A51C1C; /* logo red */
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(165, 28, 28, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-footer {
  background-color: #A51C1C; /* logo red */
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Make sure nav links and logo are adjusted for red bg 
.main-nav a {
  color: #fff;
}

.main-nav a:hover,
.main-nav a.active {
  color: #FF6D00; /* keep orange accent 
}
*/



/*.site-header {
  background-color: #0B2345; /* deep blue 
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(11, 35, 69, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}*/ 

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 50px;
  width: auto;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: #FF6D00; /* orange accent */
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* Hero section */
.hero {
  background: linear-gradient(90deg, #FF6D00 0%, #FFA040 100%);
  color: white;
  padding: 100px 20px 80px;
  text-align: center;
  font-weight: 600;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.15);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  letter-spacing: 1.2px;
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Latest Issue */
.latest-magazine {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(11, 35, 69, 0.12);
  margin-top: -80px; /* overlap hero */
  position: relative;
  z-index: 10;
}

.latest-magazine h2 {
  font-weight: 700;
  color: #0B2345;
  margin-bottom: 30px;
  font-size: 2rem;
  letter-spacing: 0.8px;
  border-bottom: 3px solid #FF6D00;
  display: inline-block;
  padding-bottom: 5px;
}

.magazine-card {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.magazine-card img {
  max-width: 250px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255, 109, 0, 0.35);
  transition: transform 0.3s ease;
}

.magazine-card img:hover {
  transform: scale(1.05);
}

.magazine-info {
  flex: 1;
  min-width: 280px;
}

.magazine-info h3 {
  font-size: 1.75rem;
  color: #0B2345;
  margin-bottom: 12px;
  font-weight: 700;
}

.magazine-info p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #334a68;
}

.btn {
  display: inline-block;
  background-color: #FF6D00;
  color: #fff;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(255, 109, 0, 0.4);
  transition: background-color 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: #e55a00;
  box-shadow: 0 7px 20px rgba(229, 90, 0, 0.6);
  outline: none;
}

/* Archives */
.archives {
  margin-top: 60px;
  padding: 40px 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(11, 35, 69, 0.08);
}

.archives h2 {
  font-weight: 700;
  color: #0B2345;
  margin-bottom: 30px;
  font-size: 2rem;
  letter-spacing: 0.8px;
  border-bottom: 3px solid #FF6D00;
  display: inline-block;
  padding-bottom: 5px;
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 25px;
}

.magazine-grid .magazine-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  padding: 15px;
  text-align: center;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.magazine-grid .magazine-card:hover {
  box-shadow: 0 15px 35px rgba(255, 109, 0, 0.35);
}

.magazine-grid img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.magazine-grid .magazine-card:hover img {
  transform: scale(1.07);
}

.magazine-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #0B2345;
  font-weight: 700;
}

.magazine-grid .btn {
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 25px;
  box-shadow: none;
}

/* Footer 
.site-footer {
  background-color: #0B2345;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
*/
/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #FF6D00;
  color: #fff;
  border: none;
  padding: 14px 18px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: none;
  box-shadow: 0 8px 18px rgba(255, 109, 0, 0.5);
  transition: background-color 0.3s ease;
  z-index: 200;
}

.back-to-top:hover {
  background: #e55a00;
}

/* Responsive Navigation Toggle */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #0B2345;
    padding: 10px 0;
    position: absolute;
    right: 15px;
    top: 65px;
    border-radius: 8px;
    width: 180px;
  }

  .main-nav a {
    margin: 10px 20px;
    font-size: 1.1rem;
  }

  .main-nav.active {
    display: flex;
  }

  .header-content {
    justify-content: space-between;
  }
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-about {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 350px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

