@charset "utf-8";
/* CSS Document */

/*homepage css:*/
.hero {
    background-image: url("../cover.png");
    background-color: rgba(0, 0, 0, 0.5); /* The black tint layer */
    background-blend-mode: multiply; /* Blends the color and image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* allows the background image to stay fixed while scrolling */
    background-color: rgba(0, 0, 0, 0.5); /* The black tint layer */
    background-blend-mode: multiply; /* Blends the color and image */
    height: 50vh;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: 2.4rem;      /* Smaller text on mobile */
  }
  .hero {
    background-position: center top; /* Show more of the image's top */
    background-size: 200% auto;        /* Prevents zooming/cropping */
    background-repeat: no-repeat;
    height: 50vh;
    padding: 0 6px;
  }
  .top-bar
    {
        padding: 0 8px;
    }
}


/* Part of the following is from the about section (global css):*/
:root {
    --primary-color: #5e4d9e;
    --dark-color: #2c1b2d;
    --light-color: #955b68;
    --white-color: #ffffff;
    --header-font: 'Playfair Display', serif;
    --body-font: 'Playfair Display', serif;
    --font-weight: 400;
    margin: 0 auto;
    padding: 0 0px;
}

/* body styles */
body {
    font-family: var(--body-font);
    background-color: var(--white-color);
    margin: 0;
    color: var(--dark-color);
    line-height: 1.6;
}

/* heading styles */
h1, h2, h3 {
    font-family: var(--header-font);
    font-weight: 700;
    margin: 10px 0 0 0; /* maybe this could be changed elsewhere? */
}

h1 {
    font-size: 5.2rem;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
}
h3 {
    font-size: 1.2rem;
    font-weight: 400;
    font-weight: bold;
}

p{
    font-size: 1.1rem;
    font-weight: 500;
}

.upcoming {
    background-color: var(--light-color);
    text-align: center;
    padding: 0px 30px 12px 30px;
    display: flex;
    align-items: center;    /* vertical centering */
    justify-content: center; /* horizontal centering */
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 0;
}

.slider{
    background-color: var(--white-color);
    display: flex;
    max-width: 100vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 50px;
    box-sizing: border-box;
    gap: 10px;
    padding: 10px 5vw;
}
.compformat {
    padding: 20px 5vw;
}
.slider img {
    height: 285px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Optional: hide scrollbar for a cleaner look */
.slider::-webkit-scrollbar {
    display: none;
}
/* animating fade-in title */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out forwards;
}

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