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

/* BASE */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f5f0e6;
}

/* HEADER */
header {
  background: #E32131;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
 padding: 6px 40px;
}

.logo {
  height: 70px; 
  object-fit: contain;
}
header h1 {
  font-family: 'Playfair Display', serif;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
}

nav a:hover {
  opacity: 0.7;
}

/* CART ICON */
.cart {
  margin-left: 20px;
  font-size: 18px;
}

/* HERO */
.hero {
  position: relative;
  height: 420px; /* desktop */
  background-image: url('images/onlypans_homepage_banner.jpg');
  background-repeat: no-repeat;
  background-position: right center; /* focus on right side */
  background-size: cover; /* fills container */
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(227, 33, 49, 0.75);
  z-index: 1;
}

.hero-content {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
  max-width: 300px;
}


.hero-content {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
  max-width: 300px;
}

.hero-content h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 12px;
}

.hero-content p {
  margin-bottom: 16px;
}

.hero-content button {
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  background: #E32131;
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    height: 40vh;
  }

  .hero-content {
    right: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: calc(100% - 40px);
  }

  .hero-content h2 {
    font-size: 18px;
  }

  .hero-content p {
    font-size: 12px;
  }

  .hero-content button {
    padding: 10px 20px;
    font-size: 12px;
  }
}

/* SECTIONS */
.section {
  padding: 50px 60px;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  color: #E32131;
  margin-bottom: 20px;
}

/* SLIDER */
.slider {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.slider img {
  flex: 0 0 auto;
  width: 300px;
  height: 350px;
  object-fit: cover;
  scroll-snap-align: start;
  border-radius: 8px;
}

.slider::-webkit-scrollbar {
  display: none;
}
.hero-content h2,
.hero-content p,
.hero-content button {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.hero-content h2 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.35s; }
.hero-content button { animation-delay: 0.5s; }

.slider img,
.gallery-item,
.news-item,
.news-strip img {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: fadeUpScale 0.8s ease forwards;
}

.slider img:nth-child(1),
.gallery-item:nth-child(1),
.news-item:nth-child(1) { animation-delay: 0.1s; }
.slider img:nth-child(2),
.gallery-item:nth-child(2),
.news-item:nth-child(2) { animation-delay: 0.2s; }
.slider img:nth-child(3),
.gallery-item:nth-child(3),
.news-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeUpScale {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.slider img:hover,
.gallery-item img:hover,
.news-item img:hover,
.news-strip img:hover {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* FAQ SECTION */
.faq-section {
  padding: 40px 20px;
  text-align: center;
}

.faq-title {
  font-family: 'Playfair Display', serif;
  color: #E32131;
  margin-bottom: 20px;
}

/* Tabs */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-weight: bold;
  margin-bottom: 30px;
}

.faq-tabs span {
  cursor: pointer;
  padding-bottom: 5px;
}

.faq-tabs .active {
  border-bottom: 2px solid #E32131;
}

/* Content */
.faq-content {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: left;
}

.faq-content h2 {
  color: #E32131;
  margin-bottom: 15px;
}

.faq-item {
  margin-bottom: 28px;
}

.faq-item h3 {
  font-size: 15px;
  letter-spacing: 0.5px;
}
.faq-item h3:hover {
  color: #E32131;
  cursor: pointer;
}

.faq-item p,
.faq-item li {
  font-size: 13px;
  line-height: 1.5;
}

/* Ordered list spacing */
.faq-item ol {
  padding-left: 20px;
}


.gallery-section {
  font-family: 'Playfair Display', serif;
  background-color: #E32131;
  padding: 40px 20px;
  text-align: center;
}

.gallery-section h2 {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

/* IMAGES */
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover; 
  border-radius: 6px;
}


/* ABOUT */
.about {
  background-color: #f5f5f5;
  padding: 60px;
}

.about .title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  color: #E32131;
  font-size: 32px;
  margin-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.about p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.about h3 {
  font-family: 'Playfair Display', serif;
  color: #E32131;
  font-size: 16px;
  margin-bottom: 10px;
}

/* IMAGES */
.about .main-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.brand-img {
  width: 100%;
  margin-top: 15px;
  border-radius: 8px;
}

/* TEAM */
.team {
  margin-top: 80px;
  text-align: center;
}

/* AUDREY */
.team-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.team-main img {
  width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.team-main h3 {
  font-family: 'Playfair Display', serif;
  color: #E32131;
  font-size: 20px;
  margin-bottom: 10px;
}

.team-main p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* GRID BELOW */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-grid div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-grid img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.team-grid h4 {
  font-family: 'Playfair Display', serif;
  color: #E32131;
  margin-bottom: 5px;
}

.team-grid p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}
.advocacy {
  background: black;
  color: white;
  text-align: center;
  padding: 60px 30px;
  margin-top: 60px;
}

.advocacy h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 15px;
}

.advocacy p {
  font-size: 12px;
  max-width: 500px;
  margin: auto;
}

.advocacy-poster {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.advocacy-poster img {
  width: 240px;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: 10px;
}
.about-grid > div,
.team-main,
.team-grid div,
.advocacy-content,
.advocacy-poster {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

/* STAGGER TIMING */
.about-grid > div:nth-child(1) {
  animation-delay: 0.1s;
}

.about-grid > div:nth-child(2) {
  animation-delay: 0.2s;
}

/* TEAM MAIN (AUDREY) */
.team-main {
  animation-delay: 0.3s;
}

/* TEAM GRID */
.team-grid div:nth-child(1) {
  animation-delay: 0.35s;
}

.team-grid div:nth-child(2) {
  animation-delay: 0.45s;
}

.team-grid div:nth-child(3) {
  animation-delay: 0.55s;
}

/* ADVOCACY */
.advocacy-poster {
  animation-delay: 0.65s;
}

.advocacy-content {
  animation-delay: 0.75s;
}


@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gallery-section {
  background-color: #f5f0e6;
  padding: 80px 20px; 
}


.gallery-highlight {
  background-color: #E32131;
  padding: 120px 60px;
  max-width: 1000px;
  margin: 0 auto; 
  border-radius: 4px; 
}

/* TITLE */
.gallery-title {
  color: white;
  text-align: center;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 40px;
}
.gallery-banner {
  width: 100%;
  background-color: #f5f0e6; 
  padding: 0 0 40px; 
}

/* IMAGE */
.gallery-banner img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* ITEM */
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* CAPTION */
.gallery-caption {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
  letter-spacing: 1px;

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* FADE UP */
.gallery-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

/* STAGGER */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HOVER ZOOM */
.gallery-item img {
  transition: transform 0.4s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}
/* SECTION */
.reviews-section {
  background-color: #f5f0e6;
  padding: 100px 20px;
}

/* CONTAINER */
.reviews-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.review-blob {
  background-color: #E32131;
  color: white;
  width: 320px;
  height: 200px;
  border-radius: 50% / 40%; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  padding: 30px;
  text-align: center;

  /* animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.review-blob:nth-child(1) { animation-delay: 0.2s; }
.review-blob:nth-child(2) { animation-delay: 0.4s; }

/* TEXT */
.review-text {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  margin-bottom: 10px;
}

.review-author {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.8;
}

.review-blob:hover {
  transform: translateY(10px) scale(1.03);
  transition: all 0.3s ease;
}

.advocacy p {
  font-size: 12px;
  max-width: 500px;
  margin: auto;
}
/* NEWS SECTION */
.news {
  font-family: 'Playfair Display', serif;
  background-color: #f5f0e6;
  padding: 60px 20px;
}

/* TITLES */
.news-title {
  text-align: center;
  font-size: 40px;
  color: #d63c2f;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

/* GRID (POSTERS) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CAPTION */
.news-caption {
  color: #E32131;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;

  text-align: center;


  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s ease;
}
.news-item:hover .news-caption {
  opacity: 1;
  transform: translateY(0);
}

/* RED SECTION */
.news-highlight-section {
  background-color: #E32131;
  width: 100%;
  padding: 140px 60px;
  box-sizing: border-box;
}


/* PHOTO STRIP (INSIDE RED SECTION) */
.news-strip {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-strip img {
  width: 100%;
  height: auto;
  display: block;
}
.news-overlay {
  color: white;
}
/* FADE UP ANIMATION */
.news-item,
.news-block,
.news-strip img {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HOVER ZOOM */
.news-item img,
.news-strip img {
  transition: transform 0.4s ease;
}

.news-item img:hover,
.news-strip img:hover {
  transform: scale(1.05);
}

/* PRESS FEATURE */
.press-feature {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.press-feature img {
  width: 100%;
  margin-bottom: 20px;
}

/* QUOTE */
.press-quote {
  color: #d63c2f;
  font-size: 18px;
  font-weight: bold;
}
.calendar-section {
  margin-top: 40px;
  text-align: center;
}

.calendar {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
}

.calendar th,
.calendar td {
  border: 1px solid #d63c2f; 
  padding: 12px;
  text-align: center;
}

.calendar th {
  background-color: #d63c2f; 
  color: white;
}

.calendar td {
  background-color: #f5f0e6; 
}

.calendar td:hover {
  background-color: #E32131; 
  color: white;
  cursor: pointer;
}
@media (max-width: 768px) {
  .news {
    padding: 40px 15px;
  }

  .news-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .news-item img {
    height: auto;
  }

  .news-caption {
    font-size: 12px;
    margin-top: 8px;
  }

  .news-highlight-section {
    padding: 80px 20px;
  }
  

  .news-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-strip img {
    width: 100%;
    height: auto;
  }

  .press-feature {
    max-width: 100%;
  }

  .press-quote {
    font-size: 16px;
  }

  .calendar {
    width: 100%;
    font-size: 12px;
  }

  .calendar th,
  .calendar td {
    padding: 8px;
  }
}
/* CONTACT */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px 20px;
  flex-wrap: wrap;
}

.info-box {
  background-color: #E32131;
  color: white;
  padding: 20px;
  width: 260px;
  border-radius: 8px;
  text-align: left;
}
.available {
  background-color: #E32131;
  color: white;
  text-align: center;
  padding: 12px;
  margin: 20px;
  border-radius: 20px;
  font-size: 14px;
}
.find-us {
  background-color: #E32131;
  padding: 40px 20px;
  text-align: center;
}

.find-us h2 {
  color: white;
  margin-bottom: 30px;
}

.branches {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.branch {
  background: white;
  padding: 15px;
  border-radius: 10px;
  width: 300px;
}

.branch iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 8px;
}

.branch p {
  margin-top: 10px;
  color: #E32131;
  font-weight: bold;
}
.join-us {
  text-align: center;
  padding: 40px 20px;
}

.join-us h2 {
  color: #E32131;
}

.join-us form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.join-us input,
.join-us textarea {
  width: 300px;
  padding: 10px;
  border: none;
  background-color: #ccc;
  border-radius: 5px;
}

.join-us textarea {
  height: 80px;
}

.join-us button {
  background-color: #E32131;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
}


/* FOOTER */

footer {
  background: #E32131;
  color: white;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LINKS */

.footer-left a,
.footer-right a {
  color: white;
  text-decoration: none;
}

.footer-left a:hover,
.footer-right a:hover {
  opacity: 0.7;
}

.footer-left a {
  font-size: 14px;
}

/* 3-COLUMN LAYOUT */

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
}

/* CENTER (LOGO) */

.footer-center {
  text-align: center;
  font-family: 'Playfair Display', serif;
}

.footer-logo {
  height: 100px;
  object-fit: contain;
}

/* RIGHT SIDE */

.footer-right {
  text-align: right;
}

.footer-right a {
  font-size: 20px;
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
}

/* EXTRA TEXT */

.footer-address {
  display: block;
  font-size: 0.7rem;
  margin-top: 8px;
  line-height: 1.3;
}

.footer-credit {
  display: block;
  font-size: 0.6rem;
  margin-top: 4px;
  opacity: 0.8;
}

/* MOBILE */

@media (max-width: 768px) {
  
  header {
    flex-direction: column;
    align-items: center;
    padding: 8px 20px;
  }

  .logo {
    height: 70px; 
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
  }

  nav a {
    margin: 4px 8px;
    font-size: 12px;
  }

  .cart {
    margin-left: 0;
    text-align: left;
    margin-top: 10px;
  }

  .hero {
    height: 200px; 
    background-position: right center; 
    background-size: cover; 
  }

  .hero-content {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    max-width: calc(100% - 40px);
    text-align: right; 
  }

  .hero-content h2 {
    font-size: 16px;
  }

  .hero-content p {
    font-size: 12px;
  }

  .hero-content button {
    padding: 10px 20px;
    font-size: 12px;
  }


  .section {
    padding: 30px 20px;
  }

  .slider img {
    width: 220px;
    height: 260px;
  }

.about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about {
    padding: 40px 20px;
  }

  /* TEAM */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team-main p {
    padding: 0 10px;
  }

  /* ADVOCACY */
  .advocacy {
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
  }

  .advocacy-content {
    text-align: center;
  }

  .advocacy-poster img {
    width: 200px;
    max-height: 320px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .footer-left,
  .footer-right,
  .footer-center {
    position: static;
    transform: none;
    text-align: center;
    align-items: center;
  }
}