/* Christmas Makers Fair Hero Section */
.christmas-makers-hero {
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8% !important;
  margin: 0;
}

.hero-container {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: stretch;
  min-height: 60vh;
}

.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  overflow: hidden;
}

/* Craft Image Placeholder */
.craft-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 60vh;
  background-image: url(../../imgs/main1.jpeg);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.craft-hands {
  position: relative;
  width: 80%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.craft-pattern {
  position: absolute;
  border-radius: 8px;
  opacity: 0.9;
}

.red-pattern {
  width: 60%;
  height: 40%;
  background: repeating-linear-gradient(
    45deg,
    #d2342c,
    #d2342c 10px,
    #ffffff 10px,
    #ffffff 20px,
    #d2342c 20px,
    #d2342c 30px,
    #ffffff 30px,
    #ffffff 40px
  );
  transform: rotate(-15deg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.white-pattern {
  width: 50%;
  height: 35%;
  background: repeating-linear-gradient(
    -45deg,
    #ffffff,
    #ffffff 8px,
    #d2342c 8px,
    #d2342c 16px,
    #ffffff 16px,
    #ffffff 24px,
    #d2342c 24px,
    #d2342c 32px
  );
  transform: rotate(10deg) translateX(20px) translateY(-10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Add subtle animations */
.craft-pattern {
  transition: transform 0.3s ease;
}

.craft-hands:hover .red-pattern {
  transform: rotate(-15deg) scale(1.02);
}

.craft-hands:hover .white-pattern {
  transform: rotate(10deg) translateX(20px) translateY(-10px) scale(1.02);
}

/* Enhance the golden background */
.hero-content {
  background: linear-gradient(
    135deg,
    #d4af37 0%,
    #f4d03f 25%,
    #f1c40f 50%,
    #f4d03f 75%,
    #d4af37 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 60px;
  color: #2c3e50;
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(212, 175, 55, 0.1);
  pointer-events: none;
}

.hero-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.1;
  margin: 0 0 20px 0;
  color: #2c3e50;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.hero-date {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: normal;
  margin: 0 0 40px 0;
  color: #34495e;
  position: relative;
  z-index: 1;
}

.hero-description {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
  color: #2c3e50;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    min-height: 50vh;
  }

  .craft-image-placeholder {
    min-height: 50vh;
  }

  .hero-content {
    padding: 60px 40px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-date {
    font-size: 1.6rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    min-height: auto;
  }

  .hero-image {
    min-height: 40vh;
  }

  .craft-image-placeholder {
    min-height: 40vh;
  }

  .hero-content {
    padding: 40px 30px;
    text-align: center;
    align-items: center;
  }

  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero-date {
    font-size: 1.4rem;
    text-align: center;
  }

  .hero-description {
    font-size: 1rem;
    text-align: center;
    max-width: 100%;
  }

  /* Three Cards Section - Tablet */
  .three-cards-section {
    padding: 60px 0;
  }

  .cards-container {
    gap: 25px;
    padding: 0 15px;
  }

  .card-header h3 {
    font-size: 1.3rem;
  }

  .card-image {
    height: 180px;
  }

  .card-content {
    padding: 20px;
  }

  .card-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 30px 20px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-date {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Three Cards Section - Mobile */
  .three-cards-section {
    padding: 40px 0;
  }

  .cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .card-header {
    padding: 15px 20px;
  }

  .card-header h3 {
    font-size: 1.2rem;
  }

  .card-image {
    height: 160px;
  }

  .card-content {
    padding: 18px;
  }

  .card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Main Content Container */
.main-content {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Ensure no gaps or margins */
.main-content .christmas-makers-hero {
  margin: 0;
  padding: 0;
}

/* Add subtle shadow and depth */
.hero-container {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.hero-container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Typography enhancements */
.hero-title {
  letter-spacing: -0.02em;
  text-rendering: optimizeLegibility;
}

.hero-date {
  letter-spacing: 0.01em;
}

.hero-description {
  text-rendering: optimizeLegibility;
  font-weight: 400;
}

/* Three Cards Section */
.three-cards-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  margin: 0;
}

.cards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
  padding: 20px 25px;
  text-align: left;
  margin-bottom: 0;
}

.card-header h3 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
  margin: 0;
  letter-spacing: -0.01em;
}

.card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.info-card:hover .card-image-placeholder {
  transform: scale(1.05);
}

/* Specific card images */
.visit-image {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(../../imgs/main2-1.jpeg);
  background-size: cover;
  background-position: center;
}

.workshops-image {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(../../imgs/main2-2.jpeg);
  background-size: cover;
  background-position: center;
}

.shop-image {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(../../imgs/main2-3.jpeg);
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 25px;
  background: white;
}

.card-content p {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  text-align: left;
}
