/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Courier Prime', monospace;
  background: #ffecb5;
  color: #541a1a;
  height: 100vh;
}

/* Grid layout for 2 columns */ 
.grid-container {
  display: grid;
  grid-template-columns: 240px 1fr; /* Sidebar narrow, content wide */
  min-height: 100vh;
}

/* Sidebar styles */
.sidebar {
  background: #ffecb5;
  padding: 20px;
  border-right: 2px dashed #5c1b2f;
  height: 100vh;
  overflow-y: auto;
}

.logo {
  font-family: 'Courier Prime', monospace;
  font-size: 24px;
  color: #5c1b2f;
  line-height: 1.2;
  margin-bottom: 30px;
}

.logo-bottom {
  font-family: 'Courier Prime', monospace;
  font-size: 28px;
  font-weight: bold;
}

.section-title {
  font-style: italic;
  color: #5c1b2f;
  margin-top: 20px;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar a {
  color: #5c1b2f;
  text-decoration: none;
  display: block;
  margin: 5px 0;
}

.sidebar a:hover {
  text-decoration: underline;
}

/* Main content area */
.main-content {
  padding: 40px 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.tagline {
  background: #FFD65C;
  padding: 8px 16px;
  display: inline-block;
  margin-bottom: 30px;
}

.section-heading {
  font-family: 'Courier Prime', monospace;
  font-size: 18px;
  color: #5c1b2f;
  margin-bottom: 20px;
  border-bottom: 2px dashed #5c1b2f;
  padding-bottom: 5px;
  text-align: center;
}

.filters {
  background: #FFD65C;
  border: 1px dashed #5c1b2f;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  box-shadow: 5px 5px 0 #FFE28A;
  margin-bottom: 30px;
}

.filters button {
  padding: 6px 12px;
  background: #FFEDB8;
  border: 1px solid #5c1b2f;
  font-family: 'Courier Prime', monospace;
  cursor: pointer;
}

.filters button:hover {
  background: #FFF9E6
;
}

/* Gallery styling */
.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

.gallery img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 3px 3px 0 #00000022;
}

.modal-content {
  text-align: center;
  color: white;
  max-width: 90vw;
}

.modal-content p {
  margin-top: 10px;
  font-size: 16px;
  font-family: 'Courier Prime', monospace;
  color: #ffecb5;
}

/* 🔽 Responsive layout for phones */
@media (max-width: 768px) {
  .grid-container {
    display: flex;
    flex-direction: column;
  }

  .sidebar {
    order: 1;
    width: 100%;
    padding: 15px;
  }

  .main-content {
    order: 2;
    width: 100%;
    padding: 15px;
  }

  .filters {
    flex-direction: column;
    align-items: flex-start;
  }

  .filters button {
    width: 100%;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }

  .modal img {
    max-width: 95vw;
    max-height: 80vh;
  }

  .modal-close {
    font-size: 24px;
    top: 15px;
    right: 20px;
  }

  .logo {
    text-align: center;
    font-size: 20px;
  }

  .section-heading {
    font-size: 20px;
  }
}




