:root {
  /* Dimensions for 8x4 ft aspect ratio (2:1) */
  --banner-aspect-ratio: 2 / 1;
  
  /* Brand Colors - ICAR (Indian Council of Agricultural Research) typically uses green/gold/white */
  --color-primary: #006837; /* Deep Green */
  --color-secondary: #f15a24; /* Saffron/Orange accent */
  --color-accent: #fbb03b; /* Gold/Yellow */
  --color-text-light: #ffffff;
  --color-text-dark: #222222;
  --color-bg-paper: #f9f9f9;

  /* Typography */
  --font-display: 'Georgia', serif;
  --font-sans: 'system-ui', -apple-system, sans-serif;
  
  /* Spacing */
  --space-unit: 1rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
}

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

body {
  font-family: var(--font-sans);
  background-color: #333;
  color: var(--color-text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  overflow-x: hidden;
}

.banner-container {
  width: 100%;
  max-width: 1600px; /* Large scale for 8ft feel */
  aspect-ratio: var(--banner-aspect-ratio);
  background-color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  border: 10px solid white;
}

/* Background Design Elements */
.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, #fff 0%, #f0f7f0 100%);
}

.banner-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: var(--color-primary);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.05;
}

.banner-accent-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  z-index: 2;
}

/* Layout Content */
.banner-content {
  position: relative;
  z-index: 10;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
}

.banner-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.logo-subtext {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-title-group {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 2rem;
}

.celebration-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.ordinal {
  font-size: 0.6em;
  vertical-align: super;
}

.foundation-day-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--color-secondary);
  line-height: 1;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

.organization-name {
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  border-top: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  display: inline-block;
  padding: 0.5rem 2rem;
  margin: 1rem auto;
}

.theme-text {
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.8rem);
  color: #555;
  margin-top: 1rem;
}

.banner-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 2rem;
}

.info-item {
  text-align: left;
}

.info-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.info-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.info-item.right {
  text-align: right;
}

/* Decorative elements */
.decorative-circle {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.1;
  top: -200px;
  left: -100px;
  z-index: 1;
}

.placeholder-logo {
  width: 120px;
  height: 120px;
  background-color: #eee;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #999;
}

/* Presentation UI */
.dimensions-badge {
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 0.9rem;
}

.controls {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Full Screen Preview Specifics */
.fullscreen-mode {
  background-color: #000;
  padding: 0;
  margin: 0;
  display: block;
  min-height: auto;
}

.fullscreen-mode .banner-container {
  max-width: 100vw;
  border: none;
  box-shadow: none;
  margin: 0;
}

.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid white;
}
