@import url("style.css");
@import url("target-audiences.css");


.discover-banner{
    position: relative;
    width: 100%;
    height: 75vh;
    background-image: url('../images/discover-banner.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}



/* ----------------      DESKTOP VIEW      ----------------- */
@media (min-width: 720px) {

    

    
    .hero-banner-discover {
        height: 75vh;
    }

    .hero-content-discover {
        padding: 4rem 0 0 8rem;
    }

    .hero-content-discover p:nth-child(2) {

        max-width: 370px;
        margin-bottom: 9rem;
    }

    

}



/* ----------------     1 - TRENDING SECTION STYLES      ----------------- */
.trending-section {
    padding: 2rem 0;
    margin-bottom: 4rem;
}

.trending-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
}

.content-info {
    flex: 1;
    text-align: left;
}

.content-info h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.highlight-text {
    color: var(--pyralume-red);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: 'Raleway', sans-serif;
}

.carousel-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    height: 500px;
}

.carousel-track {
    position: relative;
    height: 400px;
    width: 300px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 180px; /* Reduced height for non-selected slides */
    transition: all 0.5s ease;
    border-radius: 15px;
}

/* Positioning with reduced gaps */
.carousel-slide:nth-child(1) { 
    top: 0;
    transform: scale(0.8); /* Smaller size for non-selected */
}
.carousel-slide:nth-child(2) { 
    top: 110px; /* Reduced gap */
    transform: scale(1.1); /* Larger size for selected */
    z-index: 2; /* Brings middle slide to front */
}
.carousel-slide:nth-child(3) { 
    top: 220px; /* Reduced gap */
    transform: scale(0.8); /* Smaller size for non-selected */
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(216, 26, 67, 0.3);
}

/* Add transition for smooth scaling */
.carousel-slide {
    transition: all 0.5s ease;
}

/* Selected state styling */
.carousel-slide.selected {
    transform: scale(1.1);
    z-index: 2;
}

/* Non-selected state styling */
.carousel-slide:not(.selected) {
    transform: scale(0.8);
    filter: brightness(0.7);
}

.scroll-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    color: var(--white);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    transform: scale(1.2);
}

.scroll-btn svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px var(--pyralume-red));
}


@media (max-width: 768px) {
    .trending-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .content-info {
        text-align: center;
    }
    
    .content-info h3 {
        font-size: 2rem;
    }

    .highlight-text {
        font-size: 1.5rem;
    }
    
    .carousel-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        height: 400px;
    }
}


.carousel-slide.moving-up {
    transform: translateY(-150px);
}

.carousel-slide.moving-down {
    transform: translateY(150px);
}

/*  */

/*  */

/* ----------------    2 - CURATED COLLECTION SECTION STYLES      ----------------- */

/* ----------------      CURATED COLLECTION STYLES      ----------------- */
.curated-section {
    padding: 2rem 0;
   
}

.collection-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
}

.image-wrapper {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    border-radius: 15px;
}

.corner-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: var(--pyralume-red);
    border-radius: 15px;
    z-index: 1;
}

.top-right {
    top: -20px;
    right: -20px;
}

.bottom-left {
    bottom: -20px;
    left: -20px;
}

.collection-info {
    flex: 1;
}

.collection-info h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.collection-text {
    font-size: 1.5rem;
    color: var(--pyralume-red);
    font-family: 'Raleway', sans-serif;
    max-width: 400px;
}

/* Add this to your existing media query section */
@media (max-width: 768px) {
    .collection-container {
        flex-direction: column;
        gap: 2rem;
    }

    .image-wrapper {
        width: 100%;
    }

    .collection-info {
        text-align: center;
    }

    .collection-info h3 {
        font-size: 2rem;
    }

    .collection-text {
        font-size: 1rem;
        margin: 0 auto;
    }

    .corner-decoration {
        width: 70px;
        height: 70px;
    }
}


/*  */

/*  */

/* ----------------      3 - COMMUNITY FEATURES STYLES      ----------------- */
.community-section {
    padding: 2rem 0;
    position: relative;
}

.community-title {
    font-family: 'Archivo', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--yellow);
    line-height: 1.2;
    margin-bottom: 3rem;
}

.features-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-box {
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
}

.feature-image {
    width: 100%;
    height: 250px;
    border-radius: 15px 15px 0 0;
    object-fit: cover;
    display: block;
}

.feature-text {
    background-color: rgba(32, 32, 32, 0.95);
    padding: 1.5rem;
    border-radius: 0 0 15px 15px;
}

.feature-text h4 {
    font-family: 'Archivo', sans-serif;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.8;
}

.community-footer {
    text-align: center;
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    
    line-height: 1.4;
}

.closer-heading {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Archivo', sans-serif;
    text-shadow: 0 0 10px var(--yellow), 0 0 30px var(--yellow);
    font-size: 2rem;
    position: relative;
    margin:4rem 0;
}



@media (min-width: 768px) {
    .features-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        gap: 2rem;
        position: relative;
    }

    .left-top {
        grid-column: 1;
        grid-row: 1;
        justify-self: end;
    }

    .right-top {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
    }

    .center-bottom {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        max-width: 400px;
    }

    .community-footer {
        grid-column: 1 / -1;
        grid-row: 3;
        font-size: 1.2rem;
    }

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

    .feature-text h4 {
        font-size: 1.5rem;
    }

    .feature-text p {
        font-size: 1rem;
    }

    
}


/* ----------------      4 - JOIN COMMUNITY SECTION STYLES      ----------------- */
.join-community-section {
    
    padding: 4rem 0;
    text-align: center;
    margin-top: 4rem;
    /* z-index: -2; */
    position: relative;
}

.join-community-section p{
    z-index: 3;
    position: relative;
}

.join-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.join-community-section .wave-element{
    bottom: 17rem;
}

.join-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px var(--pyralume-red),
                 0 0 20px var(--pyralume-red),
                 0 0 30px var(--pyralume-red);
}

/* Desktop styles */
@media (min-width: 720px) {
    .join-community-section {
        padding: 6rem 0;
    }

    .join-subtitle {
        font-size: 1.5rem;
    }

    .join-title {
        font-size: 3.5rem;
    }
}






/* ----------------      5 - SHARED EXPERIENCES STYLES      ----------------- */
.shared-experiences {
    padding: 4rem 0;
}

.experience-container {
    margin-top: 4rem;
}

.experience-story {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.story-content {
    flex: 1;
}

.story-content h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.story-content p {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--white);
}

.story-image {
    flex: 1;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(216, 26, 67, 0.3);
}

@media (min-width: 720px) {
    .experience-story {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .experience-story.reverse {
        flex-direction: row-reverse;
    }

    .story-content h3 {
        font-size: 2rem;
    }

    .story-content p {
        font-size: 1.1rem;
    }

    .story-image {
        max-width: 500px;
    }
}





/* ----------------    6-  COMMUNITY EVENTS STYLES      ----------------- */
.community-events {
    padding: 4rem 0;
}

.events-slider {
    overflow: hidden;
    margin: 3rem -1rem;
}

.events-container {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}

.events-container:active {
    cursor: grabbing;
}

.events-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}



.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    font-family: 'Archivo', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.event-content p {
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--white);
}




.events-slider {
    overflow: hidden;
    margin: 3rem 0;
    padding: 1rem;
}

.events-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    padding: 1rem;
}

.events-container.active {
    cursor: grabbing;
}

.events-container::-webkit-scrollbar {
    display: none;
}

.event-card {
    min-width: 300px;
    max-width: 350px; 
    height: 400px; 
    background-color: var(--pyralume-red);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--pyralume-red);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center; /* Centers the image content */
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-content {
    padding: 1.5rem;
    flex-grow: 1;
    overflow-y: noscroll;
}






@media (min-width: 720px) {
    .event-card {
        min-width: 350px;
        max-width: 400px;
        height: 450px;
    
    }

    .event-content h3 {
        font-size: 1.8rem;
    }

    .event-content p {
        font-size: 1rem;
    }
    
    .events-container {
        padding: 2rem;
        gap: 3rem;
    }
}


/* Interactive map */
.interactive-map img{
    padding: 4rem;
}

.interactive-map{
    text-align: center;
}

.map-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  .map-column {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
  }
  
  .map-column p {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #d81a43;
    padding: 5px 0;
  }
  
  .map-column span:nth-child(2) {
    color: #d81a43;
  }
/* ----------------    END OF DISCOVER PAGE      ----------------- */
/* ----------------    END OF DISCOVER PAGE      ----------------- */
/* ----------------    END OF DISCOVER PAGE      ----------------- */
/* ----------------    END OF DISCOVER PAGE      ----------------- */
/* ----------------    END OF DISCOVER PAGE      ----------------- */