/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  background-image: url("images/background.jpg"); /* Replace with your background */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* static background */
  scroll-behavior: smooth;
}

/* Header */
header {
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  width: 90px;
  height: 60px;
  margin-right: 15px;
}

.text-group {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-family: "Times New Roman", serif;
  font-weight: bold;
  font-size: 24px;
  color: #22319e;
  -webkit-text-stroke: 1px #fff; /* Chrome/Safari/Edge */
  text-stroke: 1px #fff;         /* harmless fallback */
}

.tagline {
  font-family: "Pristina", cursive;
  font-size: 16px; /* ~30% of logo size */
  color: #f5d533;
  margin-left: 24px; /* shift tagline right */
}

/* Embossed Navigation Buttons */
nav a.nav-btn {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  background: linear-gradient(145deg, #223d96, #3c3ab4);
  box-shadow: 3px 3px 6px #ffffff, -3px -3px 6px #2a48b3;
  transition: all 0.3s ease;
}

nav a.nav-btn:hover {
  background: linear-gradient(145deg, #1b3178, #3d2aba);
  box-shadow: inset 2px 2px 4px #16285f, inset -2px -2px 4px #2a48b3;
  color: #FBBF24;
}

/* Mobile-first responsive header/nav */
.nav-toggle {
  background: none;
  border: none;
  font-size: 24px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.main-nav {
  display: none; /* shown via JS on small screens */
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, opacity 200ms ease;
  opacity: 0;
}

/* Make nav buttons full-width on small screens */
nav a.nav-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
}

.main-nav.open {
  display: flex;
  max-height: 480px; /* large enough for nav items */
  opacity: 1;
}

/* Fluid images */
.logo-image {
  max-width: 90px;
  width: 18vw;
  height: auto;
}

/* Sections */
section {
  min-height: 100vh;
  padding: 56px 16px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9); /* more opaque on small screens */
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);    /* subtle shadow for paper */
  border-radius: 12px;
  margin: 20px 16px;
}

section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1E3A8A;
}

/* Poster */
.poster-placeholder {
  margin-top: 20px;
}

.poster {
  max-width: 400px;
  width: 100%;
  border: 2px solid #1E3A8A;
  border-radius: 8px;
}

/* Desktop / larger screens */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex !important; flex-direction: row; gap: 12px; align-items: center; width: auto; margin: 0; max-height: none; opacity: 1; overflow: visible; }
  nav a.nav-btn { display: inline-block; width: auto; padding: 8px 16px; }
  header { padding: 15px 40px; }
  .logo-image { width: 90px; height: 60px; }
  section { margin: 40px auto; max-width: 900px; padding: 80px 40px; background-color: rgba(255,255,255,0.7); }
}

/* Disable fixed background on narrow screens for better performance */
@media (max-width: 767px) {
  body { background-attachment: scroll; }
}
