
/* GENERAL */

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

body {
    font-family: Arial, sans-serif;
    background-color: #f5f6f8;
    color: #171b24;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

/* HEADER */

.header {
    width: 100%;
    height: 90px;
    padding: 0 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background-color: #080d14;
    color: white;
}

.logo {
    width: 200px;
    height: 70px;
}

.logo img {
    width: 200px;
    height: 70px;
    object-fit: contain;
    filter: invert(1);
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 17px;
}

.nav a {
    color: white;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.nav a:hover {
    color: #ff0033;
}

#nav-events {
    color: #ff0033;
    border-bottom: 2px solid #ff0033;
    padding-bottom: 12px;
}

#live-btn {
    padding: 12px 20px;
    background-color: #ed0032;
    color: white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

/* HERO */

.hero {
    height: 275px;
    padding: 55px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    background-image: linear-gradient(90deg, rgba(5,9,15,0.8), rgba(5,9,15,0.3)), url("img/7.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-text {
    border-left: 4px solid #ff0033;
    padding-left: 22px;
    max-width: 570px;
}

.hero h1 {
    font-size: 62px;
    line-height: 1.1;
    font-weight: 800;
}

.hero p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 12px;
}

.breadcrumb {
    font-size: 15px;
    white-space: nowrap;
}

#breadcrumb-events {
    color: #ff0033;
}

/* TITLES */

.title {
    position: relative;
    border-left: 2px solid #ff0033;
    padding-left: 14px;
    margin-bottom: 30px;
}

.title > span {
    color: #ff0033;
    font-size: 13px;
    font-weight: 700;
}

.title h2 {
    font-size: 32px;
    margin-top: 9px;
    line-height: 1.15;
}

.title p {
    font-size: 14px;
    color: #4d515b;
    max-width: 420px;
    margin-top: 9px;
    line-height: 1.5;
}

.title > a {
    position: absolute;
    right: 0;
    top: 25px;
    color: #ff0033;
    font-size: 14px;
    font-weight: 700;
}

/* HIGHLIGHTS */

.highlights {
    padding: 55px 5% 65px;
    background-color: #f5f8fa;
}

.highlight-cards {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 25px;
}

.highlight-card {
    position: relative;
    overflow: hidden;
    background-color: white;
    border-radius: 9px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.highlight-card > img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block;
}

.highlight-card .highlight-info {
    padding: 14px 18px;
    min-height: 100px;
}

.highlight-info > span {
    position: absolute;
    top: 13px;
    left: 13px;
    color: white;
    background-color: #ff0033;
    border-radius: 5px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 700;
}

.highlight-info h3 {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 10px;
}

.highlight-info p {
    font-size: 12px;
    color: #777;
}

.first-card > img {
    height: 265px;
}

.first-card .highlight-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 18px;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,0.92));
}

.first-card .highlight-info h3 {
    font-size: 19px;
}

.first-card .highlight-info p {
    color: white;
}

.first-card .highlight-info > span {
    top: -25px;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 23px;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd0d4;
}

.dots span:first-child {
    background-color: #ff0033;
}

/* FIND EVENTS */

.find-events {
    padding: 55px 5% 65px;
    background-color: #f8fafb;
}

.find-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.find-header .title {
    width: 40%;
}

.filters {
    width: 53%;
}

.filters > input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    background-color: white;
}

.filter-options {
    display: flex;
    gap: 10px;
}

.filter-options input,
.filter-options select {
    width: 25%;
    height: 45px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
}

#filter-btn {
    width: 25%;
    background-color: #ff0033;
    color: white;
    border-radius: 6px;
    font-weight: 700;
}

/* EVENT CARDS */

.event-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.event-card {
    position: relative;
    overflow: hidden;
    background-color: white;
    border-radius: 9px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.event-card > img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    display: block;
}

.event-info {
    padding: 17px 13px;
}

.event-info > span {
    position: absolute;
    top: 13px;
    left: 13px;
    color: white;
    background-color: #ff0033;
    border-radius: 5px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 700;
}

.event-details {
    display: flex;
    gap: 13px;
}

.event-date {
    width: 54px;
    flex-shrink: 0;
    border-right: 1px solid #ddd;
    padding-right: 12px;
}

.event-date strong {
    display: block;
    color: #ff0033;
    font-size: 25px;
}

.event-date span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-top: 3px;
}

.event-details h3 {
    font-size: 14px;
    line-height: 1.6;
    min-height: 50px;
}

.event-details p {
    color: #888;
    font-size: 12px;
    margin-top: 10px;
}

.event-details a {
    display: inline-block;
    color: #ff0033;
    font-size: 13px;
    font-weight: 700;
    margin-top: 10px;
}

/* UPCOMING EVENTS */

.upcoming {
    padding: 60px 5%;
    background: linear-gradient(110deg, #07121d 65%, #66001a);
    color: white;
    display: flex;
    justify-content: space-between;
    gap: 55px;
}

.upcoming-left {
    width: 65%;
}

.upcoming .title h2 {
    color: white;
}

.upcoming .title p {
    color: white;
}

.upcoming-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 35px;
}

.upcoming-cards li {
    border: 1px solid #c20035;
    border-radius: 9px;
    padding: 22px;
    min-height: 170px;
}

.upcoming-cards h3 {
    font-size: 26px;
}

.upcoming-cards p {
    font-size: 14px;
    margin-top: 6px;
}

.upcoming-cards h4 {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 12px;
}

.upcoming-cards span {
    font-size: 12px;
    display: block;
    margin-top: 12px;
}

#upcoming-link {
    display: inline-block;
    margin-top: 22px;
    color: #ff0033;
}

/* SIMPLE CALENDAR */

.calendar {
    width: 32%;
    border: 1px solid #e00037;
    border-radius: 10px;
    padding: 24px;
}

.calendar h3 {
    font-size: 20px;
}

.calendar h4 {
    text-align: center;
    font-size: 16px;
    margin: 20px 0;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    margin-top: 20px;
}

.days span {
    padding: 9px 2px;
    font-size: 12px;
}

.days .active-day {
    background-color: #ff0033;
    color: white;
    border-radius: 50%;
}

/* PAST EVENTS */

.past-events {
    padding: 55px 5% 65px;
    background-color: #f5f8fa;
}

.past-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.past-cards li {
    position: relative;
}

.past-cards img {
    display: block;
    width: 100%;
    height: 135px;
    object-fit: cover;
    border-radius: 7px;
}

.past-cards span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: translate(-50%, -50%);
}

/* JOIN */

.join {
    padding: 45px 5%;
    background: linear-gradient(100deg, #090f18 60%, #890020);
    color: white;
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.join-text {
    width: 35%;
}

.join-text > span {
    font-size: 13px;
}

.join-text h2 {
    font-size: 30px;
    margin-top: 8px;
}

.join-text p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
}

.join-benefits {
    display: flex;
    gap: 25px;
    justify-content: space-between;
    width: 50%;
    text-align: center;
}

.join-benefits li {
    width: 25%;
}

.join-benefits span {
    font-size: 28px;
}

.join-benefits p {
    font-size: 12px;
    font-weight: 700;
    margin-top: 8px;
}

#register-btn {
    display: block;
    background-color: #ff0033;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    margin: 0 auto;
    font-size: 14px;
    font-weight: 700;
}

/* FOOTER */

.footer {
    background-color: #080d14;
    color: white;
    padding: 55px 5%;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.3fr 1fr 0.65fr;
    gap: 30px;
}

.footer-logo img {
    width: 100%;
    max-width: 245px;
    height: 95px;
    object-fit: contain;
    filter: invert(1);
}

.footer-logo p {
    font-size: 13px;
    color: #ff0033;
    margin-top: 14px;
}

.footer h3 {
    font-size: 17px;
    margin-bottom: 24px;
}

.footer-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 18px;
}

.footer-links a,
.footer-contact p,
.footer-social a {
    font-size: 13px;
    line-height: 1.7;
    color: #eee;
}

.footer-contact p {
    margin-bottom: 13px;
}

.footer-map img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 7px;
}

.footer-social ul {
    display: flex;
    gap: 9px;
}

.footer-social a {
    display: flex;
    width: 32px;
    height: 32px;
    border: 1px solid #66707a;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}
