﻿@charset "UTF-8";

:root {
    --godot-500: #478cbf;
    --godot-800: #1f6599;
    --blue-800: #4E65B5;
    --blue-500: #374881;
    --green-800: #536c31;
    --green-500: #2d3b1b;
    --yellow-800: #fee269;
    --yellow-500: #bf9232;
    --red-800: #f17186;
    --grey-500: #414042;
    --orange-800: #c67a00;
    --orange-500: #a37c66;
    --link-color-smartvillage: #87CEEB; /* Light sky blue */
}

/* Montserrat Bold */
@font-face {
    font-family: "Montserrat";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("/fonts/Montserrat-Bold.woff2") format("woff2"), url("/fonts/Montserrat-Bold.woff") format("woff");
}
/* Montserrat ExtraBold */
@font-face {
    font-family: "Montserrat";
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    src: url("/fonts/Montserrat-ExtraBold.woff2") format("woff2"), url("/fonts/Montserrat-ExtraBold.woff") format("woff");
}

header {
    text-align: center;
}

header img {
    width: clamp(280px, 90%, 400px);
    height: auto;
}

html {
    background: linear-gradient(180deg, var(--blue-800) 0%, #293972 100%);
    color: white;
    scroll-padding-top: 10px;
    scroll-behavior: smooth;
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
}
@media (min-width: 768px) {
    html {
        scroll-padding-top: 30px;
    }
}

footer {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;

    p {
        color: rgba(255, 255, 255, 0.8);
    }

    a {
        color: var(--blue-800);
        filter: brightness(1.3);
        text-decoration: none;
        transition: all 0.3s ease-in-out;
        &:hover {
            color: var(--blue-500);
        }
    }
}

* {
    font-family: "Montserrat", sans-serif;
}

h1,h2,h3,h4 {
    font-weight: 800;
    margin: 0;
}

a {
    /* color: white; */
    text-decoration: underline;
    color: var(--blue-800);
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: var(--blue-500);
}

header {
    position: relative;
    z-index: 1;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

nav a {
    max-width: 200px;
    font-size: 21px;
    padding: 0 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border-radius: 12px;
    box-shadow: 0px 3px 0px var(--blue-500);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
    padding: 1rem 2rem;
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px);
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    scale: 1.05;
}

main {
    max-width: 1024px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: clamp(1.5rem, 5vw, 3rem);
}

main section {
    background: rgb(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-top: 60px;
    color: var(--grey-500);
    margin-bottom: 70px;
    padding: clamp(1.5rem, 5vw, 3rem);
    box-sizing: border-box;
    box-shadow: 3px 4px 1px #00000037;
    backdrop-filter: blur(3px);
    /* Animation */
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

main section.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

main section p {
    line-height: 1.6;
    font-size: clamp(1.2rem, 3.5vw, 1.4rem);
}

main section h2 {
    color: var(--blue-800);
    font-size: clamp(2rem, 5vw, 3rem);
}

main section img {
    border-radius: 10px;
}

img.tickets-decoration {
    position: absolute;
    top: -65px;
    left: -60px;
    width: clamp(200px, 40vw, 500px);
    filter: drop-shadow(-6px -8px 10px #00000057) brightness(1.1);
    z-index: 0;
    pointer-events: auto;
    transition: all 0.3s ease-in-out;
    opacity: 0.9;
}

@media (max-width: 768px) {
    img.tickets-decoration {
        top: -40px;
        left: -30px;
        opacity: 0.7;
        display: none;
    }
}

img.tickets-decoration:hover {
    filter: drop-shadow(-6px -8px 15px #00000077) brightness(1.3);
    transform: scale(1.05);
    animation: wiggle 0.5s ease-in-out;
    opacity: 1;
    cursor: pointer;
}

@keyframes wiggle {
    0% { transform: scale(1.05) rotate(0deg); }
    25% { transform: scale(1.05) rotate(-2deg); }
    50% { transform: scale(1.05) rotate(2deg); }
    75% { transform: scale(1.05) rotate(-1deg); }
    100% { transform: scale(1.05) rotate(0deg); }
}

.button {
    color: white;
    text-decoration: none;
    background: var(--blue-800);
    padding: 13px 14px;
    display: inline-block;
    border-radius: 11px;
    margin-right: 17px;
    margin-bottom: 15px;
    transition: all 0.3s ease-in-out;
}

.button:hover {
    color: white;
    background: var(--blue-500);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.125rem);
    margin-bottom: 30px;
}

.intro .wrapper {
    background: #06060627;
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 6vw, 4rem);
    box-sizing: border-box;
    box-shadow: 0 7px 25px -15px black;
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.intro p {
    text-align: center;
    font-weight: 600;
    margin: 0;
    text-shadow: 2px 3px 0px #00000037;
    letter-spacing: 1px;
    color: rgb(191, 201, 241);
    font-size: clamp(1.25rem, 4vw, 1.875rem);
    line-height: 1.4;
}

.intro p strong {
    color: white;
}

.intro .button {
    display: block;
    margin: 2rem auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    font-size: 1.3rem;
    padding: 0.8rem 1.6rem;
    box-shadow: 0 3px 8px rgba(0,0,0,.2);
}

.intro .button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 12px rgba(0,0,0,.3);
}

.intro a {
    transition: all 0.3s ease-in-out;
}

.intro a:hover {
    filter: brightness(1.2);
}

/* Cycle through link colors: green, yellow, blue */
.intro p:nth-of-type(3n + 1)  a{
    color: var(--green-800);
    filter: brightness(1.8);
}

.intro p:nth-of-type(3n + 2) a {
    color: var(--yellow-800);
}

.intro p a.button {
    color: var(--link-color-smartvillage);
}

/* Sponsors */
h3 {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
}

#sponsors .logos {
    display: grid;
    gap: 30px;
    margin: 30px 0;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
#sponsors .logos div {
    max-width: 190px;
    height: auto;
    display: flex;
    align-items: center;
}
#sponsors .logos div img {
    max-height: 130px;
}

#sponsors .logos .logo {
    background: #ddf9ff;
    padding: 27px;
    border-radius: 13px;
}

#sponsors .logo .image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: auto;
    height: 88px;
    margin: 0 auto;
}

#sponsors .logos.gold .image {
    height: 60px;
}

#sponsors .logos.silver .image {
    height: 40px;
}

/* Speakers */
#speakers .speakers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

#speakers .speaker p strong {
    font-weight: 800;
}
#speakers .speaker p {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}
#speakers .sponsored {
    color: #59b8ff;
}
#speakers .workshop {
    color: #ff9f59;
}
#speakers .legend {
    padding: 21px;
    padding-left: 0;
    border-radius: 18px;
    font-size: 13px;
    display: inline-block;
    margin-top: -20px;
}
#speakers .legend span {
    display: inline-block;
    margin-right: 20px;
}

#speakers .speaker {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 15px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
#speakers .speaker .image {
    width: 50px;
    height: 50px;
    background-image: url(https://godotengine.org/assets/images/authors/default_avatar.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 19px;
    opacity: 0.3;
    box-shadow: 0 5px 15px -9px #000000f7;
}

summary {
    margin: 10px 43px;
    cursor: pointer;
}

hr {
    margin: 20px 0 30px;
    border: 0;
    height: 1px;
    background: #e3e3e3;
}

#credits {
    text-align: center;
}

#credits h3 {
    margin-bottom: 2rem;
    margin-top: 4rem;
}

#credits .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    justify-content: center;
}

#credits .team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--blue-800);
    transition: all 0.3s ease-in-out;
    min-width: 180px;
    flex: 1 0 180px;
}

@media (max-width: 768px) {
    #credits .team-grid {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    #credits .team-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    #credits .team-image {
        width: clamp(200px, 60vw, 280px);
        height: clamp(200px, 60vw, 280px);
    }

    #credits .team-member > span:not(.team-title) {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    #credits .team-title {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }
}

#credits .team-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    background-color: white;
}

#credits .team-member:hover {
    color: var(--blue-500);
}

#credits .team-member:hover .team-image {
    transform: scale(1.1);
}

#credits .team-member > span:not(.team-title) {
    font-weight: 800;
    font-size: 1.2rem;
}

#credits .team-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--green-800);
    filter: brightness(1.5);
    margin-top: -4px;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

#credits .team-title.staff {
    color: var(--orange-800);
    filter: brightness(1.2);
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

#credits .team-member:hover .team-title {
    opacity: 1;
}

#credits a {
    text-decoration: none;
    color: inherit;
    font-weight: 800;
    transition: all 0.3s ease-in-out;
    text-decoration: underline;
}

#credits a:hover {
    color: var(--red-800);
    transform: scale(1.05);
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    background: rgba(38, 48, 95, 0.95);
    padding: 0.35rem 0;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(3px);
}

.cookie-consent.visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent .wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    flex-wrap: wrap;
}

.cookie-consent p {
    margin: 0;
    flex: 1 1 300px;
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(13px, 3vw, 14px);
    line-height: 1.3;
}

.cookie-consent .buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-consent button {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    padding: clamp(0.4rem, 2vw, 0.5rem) clamp(0.8rem, 3vw, 1rem);
    border: none;
    border-radius: 11px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: clamp(13px, 3vw, 14px);
    opacity: 0.5;
    text-decoration: none;
    display: inline-block;
    margin: 0;
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.cookie-consent button:hover {
    opacity: 1;
    background: #478cbf40;
    scale: 1.05;
}

.cookie-consent .accept {
    background: var(--blue-800);
}

.cookie-consent .accept:hover {
    background: var(--blue-500);
}

.cookie-consent .decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent .decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 0.7rem 0;
    }
    .cookie-consent p,
    .cookie-consent button {
        font-size: clamp(16px, 4vw, 18px);
    }
}

span.logo-text {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 3px 0px var(--blue-500);
}

header a {
    text-decoration: none;
    color: white;
}

/* Gallery Carousel Styles */
.gallery-carousel {
    margin: 60px 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 3px 4px 1px #00000037;
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 300%; /* Triple width for 3 slides */
}

.carousel-slide {
    width: 33.333%; /* Each slide takes one-third of the track width */
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: #333;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: #333;
}

.carousel-slide.active .image-wrapper img {
    animation: continuousZoom 20s linear infinite;
}

@keyframes continuousZoom {
    0% {
        transform: scale(1);
    }
    to {
        transform: scale(1.25);
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 24px;
    z-index: 100;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 25px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.gallery-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-btn.prev {
    left: 1rem;
}

@media (max-width: 768px) {
    .carousel-btn {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
        line-height: 0;
    }
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-left-color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -20px;
    margin-top: -20px;
    z-index: 10;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#directions h4 {
    color: var(--blue-800);
}

#directions .directions-dropdown {
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: #f9f9f9;
}

#directions .directions-dropdown summary {
    padding: 1rem;
    cursor: pointer;
    outline: none;
    list-style: none; /* Hide the default marker */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
    font-weight: 800;
    color: var(--blue-800);
    font-size: clamp(1.2rem, 3.5vw, 1.4rem);
}

#directions .directions-dropdown summary:hover {
    background-color: #f1f1f1;
}

#directions .directions-dropdown summary::-webkit-details-marker {
    display: none; /* Hide the default marker in Chrome/Safari */
}

#directions .directions-dropdown summary::after {
    content: '▼';
    font-size: 1rem;
    color: var(--blue-800);
    transition: transform 0.2s;
}

#directions .directions-dropdown[open] summary::after {
    transform: rotate(180deg);
}

#directions .directions-dropdown > div,
#directions .directions-dropdown > p {
    padding: 0 1rem 1rem;
}

#news p {
    margin: 1rem 1rem 1rem 0;
    font-size: clamp(0.8rem, 1rem, 1.4rem);
    line-height: 1.6;
}

#pricing-table th {
    text-align: left;
    font-weight: bolder;
    font-size: clamp(1rem, 1.5rem, 2rem);
}

#pricing-table td {
    min-width: 10vw;
}


.social-icons a {
    margin: 0 1rem;
    display: inline-block;
    opacity: 0.8;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.social-icons a:hover {
    scale: 1.1;
    opacity: 1;
}

.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}