/* Conference landing page - page specific styling */

@import url('https://cdn.jsdelivr.net/npm/@fontsource/cal-sans/index.css');

:root {
    --conf-purple: #4B0082;
    --conf-purple-light: #6F339B;
    --conf-green: #39FF14;
    --conf-white: #ffffff;
    --conf-font: 'Cal Sans', 'Montserrat', sans-serif;
}

body {
    background-color: var(--conf-purple);
}

.main {
    background-color: var(--conf-purple);
}

.conf-skip-link {
    background-color: var(--conf-green);
    color: var(--conf-purple);
    font-family: var(--conf-font);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
}

.conf-header {
    background-color: var(--conf-purple);
    padding: 0;
    position: relative;
    z-index: 1;
}

.navbar ul {
    padding: 10px !important;
}

.navbar .back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--conf-green);
    font-family: var(--conf-font);
    font-weight: 600;
}

.navbar .back-link::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg);
}

.navbar a {
    color: #ffffff;
    padding: 0 5px;
    position: relative;
    z-index: 6;
}

.navbar a:hover,
.navbar a:focus {
    box-shadow: 0 0 0 3px #ffffff;
}

/* this page uses the event's own logo instead of the site logo */
.navbar .logo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.conf h1, .conf h2, .conf h3, .conf h4, .conf h5, .conf h6 {
    color: var(--conf-green);
}

.conf p {
    color: var(--conf-white);
}

.conf-body-link {
    color: var(--conf-white);
}

.conf-body-link:hover, .conf-body-link:focus {
    box-shadow: 0 0 0 3px #ffffff;
    
}

/* shared banner treatment for hero + register CTA + partners */
.conf-hero,
.conf-register,
.conf-partners {
    position: relative;
    overflow: hidden;
    background-color: var(--conf-purple);
    color: #ffffff;
    z-index: 0;
}

/* overrides*/
.conf .section-padding {
    padding: 0;
}

.conf .box {
    margin: 0 10px;
}

.conf .padding-bottom-60 {
    padding-bottom: 60px;
}

.conf-about p {
    font-size: 20px;
}

.conf-about-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

/* end overrides*/

/*.conf-hero::before,
.conf-register::before,
.conf-partners::before {
    content: "";
    position: absolute;
    top: -12%;
    right: -2%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background-color: var(--conf-purple-light);
    z-index: 0;
}*/

/*.conf-hero::after,
.conf-partners::after {
    content: "";
    position: absolute;
    bottom: -0;
    right: 3%;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background-color: var(--conf-purple-light);
    z-index: 0;
}*/

/*.conf-register::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -50px;
    width: 320px;
    height: 320px;
    transform: translateY(-50%);
    border: 18px dotted var(--conf-green);
    border-radius: 50%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(57, 230, 57, 0.55));
    z-index: 0;
}*/

.conf-hero .container,
.conf-register .container,
.conf-partners .container {
    position: relative;
    z-index: 1;
}

.conf-hero {
    padding: 90px 0 30px 0;
    top: -60px;
}

.conf-hero-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px 40px;
}

.conf-hero-title {
    position: relative;
    flex: 2 1 380px;
}

.conf-hero h1 {
    max-width: 480px !important;
}

.conf-hero-image {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 8px;
}

.conf-hero-details {
    position: relative;
    z-index: 1;
    flex: 1 1 220px;
    font-family: var(--conf-font);
    font-weight: 600;
}

.conf-hero-details p {
    max-width: none;
}

.conf-hero-date {
    font-size: 1.3rem;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.conf-hero-city {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--conf-green) !important;
    margin-bottom: 18px;
    text-transform: uppercase;
    line-height: 2.2rem;
}

.conf-hero-theme {
    font-size: 1.2rem;
    margin-bottom: 26px;
}

.conf-hero-partner {
    font-size: 2rem;
    line-height: 2rem;
}

.conf-accent {
    color: var(--conf-green);
    display: block;
}

.conf-hero-action {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 40px;
}

.conf-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--conf-green);
    color: var(--conf-purple);
    font-family: var(--conf-font);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 34px;
    border-radius: 30px;
    border: 3px solid var(--conf-green);
    text-decoration: none;
}

.conf-cta-button .external-icon {
    display: inline-flex;
}

.conf-cta-button:hover,
.conf-cta-button:focus {
    background-color: #ffffff;
    color: var(--conf-purple);
    border-color: #ffffff;
    box-shadow: 0 0 0 3px var(--conf-green);
    outline: none;
}

/* highlight boxes */
.conf-highlights .box {
    background-color: #ffffff;
    text-align: center;
    border-top: 5px solid var(--conf-green);
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.conf-highlights h3 {
    color: var(--conf-purple);
}

.conf-highlights .box p {
    color: #333333;
}

/* schedule */
.conf-schedule-list {
    max-width: 800px;
}

.conf-schedule-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--conf-green);
}

.conf-schedule-item:first-child {
    padding-top: 0;
}

.conf-schedule-time {
    flex: 0 0 140px;
    font-family: var(--conf-font);
    font-weight: 600;
    color: var(--conf-white);
}

.conf-schedule-details h3 {
    margin-top: 0;
    color: var(--conf-white);
}

/* speakers */
.speaker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.speaker-card {
    background-color: #ffffff;
    border-radius: 5px;
    border-bottom: 4px solid var(--conf-green);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 25px;
    text-align: center;
}

.speaker-photo {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    object-fit: cover;
}

.speaker-card h3 {
    margin-top: 0;
    color: var(--conf-purple);
}

.speaker-card h4 {
    color: var(--conf-purple);
    line-height: 1.8rem;
}

.speaker-talk-title {
    margin-top: 30px;
    color: var(--conf-purple);
}

.speaker-card p {
    text-align: center;
    color: #333333;
}

.speaker-role {
    display: block;
    font-weight: bold;
    color: var(--conf-purple);
    margin-bottom: 10px;
}

/* venue */
.conf-venue {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.conf-venue-details {
    flex: 1 1 280px;
}

.conf-venue-details h3 {
    color: var(--conf-white);
    margin-top: 0;
}

.conf-venue-details a {
    color: var(--conf-green);
}

.conf-venue-details a:hover, .conf-venue-details a:focus {
    box-shadow: 0 0 0 3px #ffffff;
    padding: 0 5px;
}

.conf-venue-map {
    flex: 1 1 280px;
}

.conf-venue-map img {
    border-radius: 5px;
    border-bottom: 6px solid var(--conf-green);
    width: 80%;
}

.conf-venue-map iframe {
    width: 100%;
    min-height: 300px;
    border: 0;
    border-radius: 5px;
}

/* register banner */
.conf-register {
    text-align: center;
}

.conf-register h2 {
    font-family: var(--conf-font);
    font-weight: 700;
    max-width: 100%;
}

.conf-register p {
    margin: 0 auto 20px;
}

/* partners */
.conf-partners {
    text-align: left;
}

.conf-partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    list-style: none;
    margin-top: 20px;
    background-color: var(--conf-white);
    border-radius: 10px;
    padding: 50px 0;
}

.conf-partners-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
}

.conf-partners-list img {
    display: block;
    height: 60px;
    width: auto;
    max-width: 180px;
}

.conf-footer {
    background-color: var(--conf-purple);
}

.conf-footer h2, .conf-footer h3 {
    color: var(--conf-green);
}

.conf-footer a {
    color: var(--conf-white);
}
/* section dividers on this page pick up the accent colour */
.section-divider {
    background-color: var(--conf-green) !important;
}

@media(max-width: 768px) {

    .nav-toggle {
        position: relative;
        z-index: 6;
        background-color: var(--conf-green);
        border: 3px solid var(--conf-green);
    }
    
    .conf-hero {
        padding: 60px 0;
        top: 0;
    }

    .conf-hero-title {
        flex: 2 1 340px;
    }

    .conf-highlights .box,
    .boxes.conf-highlights .container {
        display: block;
    }

    .conf-highlights .box:nth-child(1), .conf-highlights .box:nth-child(2) {
        margin-bottom: 20px;
    }

    /*overrides for mobile layout*/
    .conf .boxes .container {
        text-align:left;
    }

    .conf .box {
        margin: 0;
    }
    /*end overrides for mobile layout*/

    .speaker-grid {
        grid-template-columns: 1fr;
    }

    .conf-schedule-item {
        flex-direction: column;
        gap: 5px;
    }

    .conf-schedule-time {
        flex-basis: auto;
    }

    /*.conf-hero::before,
    .conf-hero::after,
    .conf-register::before,
    .conf-register::after {
        display: none;
    }*/

    .conf-hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .conf-hero h1 {
        max-width: 100% !important;
    }

    .conf-hero-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .conf-hero-details {
        text-align: center;
    }

    .conf-venue-map img {
    width: 100%;
}
}
