/* =========================================================
   BASE STYLES
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Inter:wght@400;600&display=swap');

:root {
  --yellow: #ffcb05;
  --dark: #000;
  --gray: #111;
  --paper: #f7f6f3; /* soft comic paper tone */
  --light: #ffffff;
  --text-dark: #111;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--paper);
  color: var(--text-dark);
  line-height: 1.6;
}

/* =========================================================
   HEADER / NAVBAR
========================================================= */
.header {
  background: var(--dark);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-family: 'Bangers', cursive;
  font-size: 1.8rem;
  color: #fff;
}
.logo span {
  color: var(--yellow);
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-menu a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--yellow);
}

/* MOBILE MENU */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--gray);
    flex-direction: column;
    width: 100%;
    text-align: center;
    display: none;
    padding: 1rem 0;
  }

  #menu-toggle:checked + .menu-icon + .nav-menu {
    display: flex;
  }
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #fff, #eae7dc);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)),
    url("assets/images/comic-hero-bg.webp") center/cover no-repeat;
  opacity: 1;
  z-index: 0;
  background-attachment: fixed; /* subtle parallax effect */
}



.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-family: 'Bangers', cursive;
  color: var(--yellow);
  font-size: 4rem;
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 1rem;
}

.hero p {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
}

.btn {
  background: var(--yellow);
  color: #000;
  font-weight: 700;
  padding: 1rem 2.8rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(255, 203, 5, 0.3);
  transition: all 0.3s ease;
}
.btn:hover {
  background: #ffd633;
  transform: scale(1.07);
  box-shadow: 0 0 35px rgba(255, 203, 5, 0.6);
}

/* =========================================================
   FEATURES SECTION
========================================================= */
.features {
  background: var(--paper);
  color: #111;
  padding: 5rem 1rem;
  text-align: center;
}

.section-title {
  font-family: 'Bangers', cursive;
  font-size: 2.4rem;
  color: #000;
  margin-bottom: 2rem;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.info-card {
  background: #fff;
  border: 2px solid var(--yellow);
  border-radius: 10px;
  padding: 2rem 1rem;
  width: 300px;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255, 203, 5, 0.3);
}

/* =========================================================
   FEATURED PRODUCTS (Homepage)
========================================================= */
.featured {
  background: #fff;
  padding: 5rem 1rem;
  text-align: center;
}

.featured .section-title {
  font-family: 'Bangers', cursive;
  color: var(--yellow);
  font-size: 2.6rem;
  text-shadow: 1px 1px 0 #000;
  margin-bottom: 3rem;
}

.featured .product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.comic-card {
  background: #fff;
  border: 2px solid var(--yellow);
  border-radius: 10px;
  padding: 1.5rem;
  width: 300px;
  transition: all 0.3s ease;
}

.comic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(255, 203, 5, 0.4);
}

.comic-card img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid var(--yellow);
  margin-bottom: 1rem;
}

.comic-card h3 {
  font-family: 'Bangers', cursive;
  color: var(--yellow);
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.btn-small {
  background: var(--yellow);
  color: #000;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-small:hover {
  background: #ffd633;
  transform: scale(1.05);
}

/* =========================================================
   SMALL HERO (for internal pages)
========================================================= */
.small-hero {
  height: 35vh;
  background: linear-gradient(135deg, #fafafa, #f0f0f0);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.small-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/comic-bags-bg.jpg") center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.small-hero .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.small-hero h1 {
  font-family: 'Bangers', cursive;
  color: var(--yellow);
  font-size: 3rem;
  text-shadow: 1px 1px 0 #000;
  margin-bottom: 1rem;
}

.small-hero p {
  font-size: 1.2rem;
  color: #333;
}

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-section {
  background: var(--paper);
  color: #111;
  padding: 5rem 1rem;
  text-align: center;
}

.contact-card {
  background: #fff;
  border: 2px solid var(--yellow);
  border-radius: 14px;
  padding: 3rem 2rem 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
}

.contact-card h2 {
  font-family: 'Bangers', cursive;
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.contact-details a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.contact-note {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px dashed #ccc;
  font-style: italic;
  color: #444;
  font-size: 1rem;
}

/* =========================================================
   SHOP PAGE (Light Comic Style)
========================================================= */
.shop-section {
  background: #f5f5f5;
  color: #111;
  text-align: center;
  padding: 6rem 1rem 8rem;
}

.shop-heading {
  font-family: 'Bangers', cursive;
  color: var(--yellow);
  font-size: 2.8rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 #000;
}

/* --- Category Buttons --- */
.category-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 3rem;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--yellow);
  color: #111;
  transform: translateY(-3px);
  box-shadow: 0 0 14px rgba(255, 203, 5, 0.5);
}

/* --- Product Grid (side-by-side layout) --- */
.shop-section .product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  padding: 0 1rem;
}

.product-card {
  background: #fff;
  border: 3px solid var(--yellow);
  border-radius: 12px;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255, 203, 5, 0.35);
}

.product-card p {
  font-family: 'Bangers', cursive;
  color: #000;
  font-size: 1.3rem;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--dark);
  border-top: 3px solid var(--yellow);
  color: #ccc;
  text-align: center;
  padding: 1.5rem;
}

.footer a {
  color: var(--yellow);
  margin: 0 0.3rem;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 1rem;
  }

  .shop-section {
    padding: 4rem 1rem 6rem;
  }

  .shop-heading {
    font-size: 2.2rem;
  }

  .shop-section .product-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 80%;
    height: auto;
  }
}
/* =========================================================
   PRODUCT PAGE – COMIC STYLE (Matching Site)
========================================================= */

.product-section {
  background: var(--paper);
  padding: 6rem 1rem;
}

.product-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--light);
  border: 3px solid var(--yellow);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem;
  box-shadow: 0 4px 25px rgba(255, 203, 5, 0.15);
}

/* === IMAGE AREA === */
.product-image {
  flex: 1 1 400px;
  text-align: center;
}

.product-image img {
  width: 100%;
  max-width: 420px;
  border: 3px solid var(--yellow);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(255, 203, 5, 0.35);
}

/* === PRODUCT INFO === */
.product-info {
  flex: 1 1 400px;
  text-align: left;
}

.product-info h1 {
  font-family: 'Bangers', cursive;
  font-size: 2.4rem;
  color: var(--yellow);
  text-shadow: 1px 1px 0 #000;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.product-info p {
  font-family: 'Inter', sans-serif;
  color: #111;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.product-info .price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000;
  margin: 1.5rem 0;
}

.product-info .btn {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255, 203, 5, 0.3);
  transition: all 0.3s ease;
}

.product-info .btn:hover {
  background: #ffd633;
  transform: scale(1.07);
  box-shadow: 0 0 35px rgba(255, 203, 5, 0.6);
}

/* === DESCRIPTION === */
.product-description {
  max-width: 900px;
  margin: 4rem auto 0;
  background: var(--light);
  border: 2px solid var(--yellow);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
  color: #222;
}

.product-description h2 {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  color: var(--yellow);
  text-shadow: 1px 1px 0 #000;
  margin-bottom: 1rem;
}

.product-description p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.product-description a {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: none;
}

.product-description a:hover {
  text-decoration: underline;
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */
@media (max-width: 768px) {
  .product-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .product-info {
    text-align: center;
  }

  .product-info h1 {
    font-size: 2rem;
  }

  .product-info .price {
    margin: 1rem 0;
  }

  .product-info .btn {
    display: block;
    margin: 1.5rem auto;
  }

  .product-description {
    padding: 1.8rem;
  }
}

/* =========================================================
   PRODUCT GRID – IMAGE + TITLE + PRICE + BUTTON
========================================================= */
.comic-card {
  background: #fff;
  border: 3px solid var(--yellow);
  border-radius: 12px;
  width: 300px;
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(255,203,5,0.35);
}

.comic-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--yellow);
  margin-bottom: 1rem;
}

.comic-card h3 {
  font-family: 'Bangers', cursive;
  color: var(--yellow);
  text-shadow: 1px 1px 0 #000;
  font-size: 1.4rem;
  margin: 0.5rem 0;
}

.comic-card .price {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #000;
  margin-bottom: 1rem;
}

.comic-card .btn-small {
  background: var(--yellow);
  color: #000;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255,203,5,0.3);
}

.comic-card .btn-small:hover {
  background: #ffd633;
  transform: scale(1.07);
  box-shadow: 0 0 30px rgba(255,203,5,0.6);
}

/* Responsive grid auto-fit */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}
/* =========================================================
   PRODUCT PAGE – IMAGE WITH DESCRIPTION UNDER + INFO RIGHT
========================================================= */
.product-left {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 0; /* remove extra spacing between image and description */
}

.product-image img {
  margin-bottom: 0; /* kill default image margin */
  display: block;
}

.product-description {
  margin-top: -0.1rem; /* visually seamless under image */
  border: none;
  border-radius: 0;
  background: transparent;
  padding-top: 0.2rem;
  box-shadow: none;
  line-height: 1.8;
  color: #222;
}

/* Make sure layout stays 2-column on desktop */
.product-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

/* Stack on mobile */
@media (max-width: 768px) {
  .product-wrapper {
    flex-direction: column;
  }
  .product-info {
    text-align: center;
  }
}
/* === Image Gallery === */
.image-gallery {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.image-gallery img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid var(--yellow);
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-gallery img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(255, 203, 5, 0.4);
}
