/* OVERALL */
* {
    font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 
::-webkit-scrollbar {
    display: none;
} */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow: auto;
    scroll-behavior: smooth;
}

body {
    margin: auto;
    color: #F6F5F2;
}

/* nav bar */
.event-hero {
    height: fit-content;
    position: relative;
    top: 16px;
}

/* calendar */
.calendar {
    min-width: 360px;
    background-color: #464646;
    color: white;
    font-family: sans-serif;
    border-radius: 12px;
    padding: 16px;
    box-sizing: border-box;
    height: fit-content;
}

.calendar-header {
    text-align: center;
    font-size: 14px;
    padding-bottom: 16px;
    display: flex;
    justify-content: space-between;
}

.calendar-header .arrow {
    cursor: pointer;
    margin: 0 10px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    padding-bottom: 10px;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 13px;
    line-height: 48px;
    position: relative;
}

.calendar-dates div {
    position: relative;
}

/* Image container */
.has-image {
    position: relative;
}

.has-image img {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 20px;
    object-fit: cover;
}

.calendar-image-wrapper {
    display: flex;
    gap: 160px;
    padding: 20px;
    justify-content: space-around;
}

/*  Image Banner*/
.image-section {
    flex: 1;
    max-width: fit-content;
    overflow: hidden;
    border-radius: 10px;
    height: 332px;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 54% center;
    border-radius: 10px;
}

.image-section img {
    transition: opacity 0.3s ease-in-out;
}

/* hashtag */
.hashtag-dropdown select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #3C3C43;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.hashtag-dropdown {
    position: relative;
    display: inline-block;
    padding-left: 93px;
}

/*  Events card */

.card h3 {
    color: black;
    font-weight: 500;
}

.card p {
    font-size: 14px;
    color: #666666;
}

.image-placeholder {
    display: flex;
    justify-content: center;
}

.card-footer {
    display: flex;
    justify-content: space-around;
    font-size: 16px;
    color: #666;
    align-items: center;
    flex-wrap: wrap;
}

.card-footer .dot {
    height: 8px;
    width: 8px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}

/* Image in card */
.event-img {
    border-radius: 4px;
    width: 90%;
    height: 100%;
    object-position: center top;
    display: block;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* height: 100%; */
    width: 25%;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
}


.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


.image-placeholder {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin: 15px 0;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* event detail */
.event-detail {
    padding: 20px 20px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: space-around;

}

.event-detail h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #1e293b;
}

.event-meta {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 25px;
}

.event-cover img {
    width: 85%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
}

.event-body p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #374151;
}

.event-right-detail {
    max-width: 50%;
}

/* other events */
.other-events-section {
    padding: 20px;
    background-color: #fefefe;
    border: 1px solid #eee;
    border-radius: 12px;
    height: fit-content;
}

.other-events-section h3 {
    font-size: 20px;
    color: #c1272d;
    margin-bottom: 20px;
}

.other-events-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    display: flex;
    gap: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-3px);
}

.event-card-content {
    padding: 10px;
}

.event-card-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #222;
}

.event-card-content .event-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.event-card-content .event-desc {
    font-size: 14px;
    color: #555;
}

/* gird image in event detail */
.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0px;
}


.grid-item {
    overflow: hidden;
    border-radius: 8px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.item1 {
    grid-column: span 2;
    grid-row: span 2;
}

.item2 {
    grid-column: span 2;
    grid-row: span 1;
}

.item3 {
    grid-column: span 1;
    grid-row: span 1;
}

.item4 {
    grid-column: span 1;
    grid-row: span 1;
}

.item5 {
    grid-column: span 2;
    grid-row: span 1;
}

.grid-item img:hover {
    transform: scale(1.03);
}

/* Lightmodal  */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-modal img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}


/* back arrow */
.fa-chevron-left.event-detail {
    color: black;
    font-size: 20px;
    padding: 0px;
}