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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding: 1em;
  background-color: #f9f9f9;
}

/* Header Section */
.header-container {
  position: relative;
  padding: 2em 1em;
  text-align: center;
  background-color: #fff;
}

.header-logo {
  position: absolute;
  top: 0.1em;
  left: 0;
  width: 200px;
  height: auto;
  
}

.header-titles {
  margin-top: 1em;
}

.header-titles h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.header-titles h2 {
  font-size: 1.2rem;
  color: #666;
  margin-top: 0.5em;
}

.header-titles h3 {
  font-size: 10rem;
  color: #666;
  margin-top: 0.5em;
}

img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  display: block;
  margin: 0 auto 5em;
}

/* Category Section */
.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.2em 0;
}

.category img {
  width: 90%;
  max-width: 600px;
  height: 400px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.category img:hover {
  transform: scale(1.02);
}

.category-title {
  font-size: 4rem;
  margin: 0.8em 0;
  color: #222;
}

/* Gallery Images */
.gallery-image {
  width: 90%;
  max-width: 600px;
  margin: 1em auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.02);
}

.zoomed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.zoomed img {
  width: 90%;
  max-width: 800px;
  height: auto;
}

/* Theme Grid */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
  padding: 3em;
  text-align: center;
}

.theme-box {
  background-color: #ac5353;
  padding: 1em;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.theme-box:hover {
  transform: scale(1.05);
  background-color: #562a2a;
  color: white;
}

/* Footer */
footer {
  background-color: #000;
  color: white;
  display: flex;
  justify-content: center;
  padding: 2em 1em;
  margin-top: 2em;
  width: 100%;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 350px;
  padding: 0 1em;
}

.footer-content p {
  margin: 0.01em 0;
  display: flex;
  align-items: inline;
  font-size: 1rem;
  line-height: 1.5em;
  
}

.footer-content .icon {
  width: 1.2em;
  height: 0.8em;
  margin-right: 0.6em;
  object-fit: contain;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-logo {
    width: 100px;
    position: relative;
    margin: 0 auto;
  }

  .header-titles h1 {
    font-size: 2rem;
    margin-top: 0.5em;
  }

  .header-titles h2 {
    font-size: 1rem;
  }

  .category-title {
    font-size: 2rem;
  }

  footer {
    padding: 1.5em 1em;
  }

  .footer-content {
    max-width: 100%;
    padding: 0;
  }

  .footer-content p {
    font-size: 0.95rem;
    flex-wrap: inline;
  }

  .footer-content .icon {
    margin-right: 0.6em;
  }
}

@media (max-width: 480px) {
  .header-titles h1 {
    font-size: 1.5rem;
  }

  .category-title {
    font-size: 1.5rem;
  }

  .footer-content p {
    font-size: 0.8rem;
  }
}
