:root {
    --black-dark: #231f20;
    --black-light: #333333;
    --gray: #454545;
    --white: #ffffff;
    --accent: #f6b026;
    --accent-hover: #f37f1b;
}

body {
    font-family: 'Kanit', sans-serif;
    font-weight: 100;
    background: var(--black-dark);
    color: var(--white);
}

p {
    line-height: 1.6;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

a, a:hover {
    color: var(--white);
    text-decoration: none; 
}

/* animated underline shared by text links across the site */
.navbar-nav .nav-link span,
.press-side a span,
.project-side a span,
.release-links a span,
.radio .radio-link span,
.event-item a span,
.contact .emails a {
    padding-bottom: 3px;
    background-image: linear-gradient(var(--accent) 0 0);
    background-position: 0% 100%;
    background-size: 0% 1px;
    background-repeat: no-repeat;
    transition: background-size 0.3s, background-position 0s 0.3s;
}

.navbar-nav .nav-link:hover span,
.navbar-nav .nav-link.active span,
.press-side a:hover span,
.project-side a:hover span,
.release-links a:hover span,
.radio .radio-link:hover span,
.event-item a:hover span,
.contact .emails a:hover {
    background-position: 100% 100%;
    background-size: 100% 1px;
}

h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.form-control,
.form-control:focus {
    font-family: inherit;
    color: var(--white);
    background: var(--black-dark);
    border: 1px solid var(--gray);
    border-radius: 8px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    outline: none;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    border-color: var(--accent);
}

.btn-accent {
    font-family: inherit;
    font-weight: 400;
    color: var(--black-dark);
    background: var(--accent);
    border: 0;
    border-radius: 8px;
    padding: 8px 20px;
    transition: background 0.3s ease;
}

.btn-accent:hover,
.btn-accent:focus-visible {
    color: var(--black-dark);
    background: var(--accent-hover);
}

#pre-animation {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 10;
    background: var(--black-light);
    text-align: center;
    vertical-align: middle;
    transition: visibility 0.5s ease, opacity 0.5s ease;
}

#pre-animation.active {
    visibility: visible;
    opacity: 1;
    transition: none;
}

#pre-animation img {
    max-width: 300px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#main-content {
    background: var(--black-light);
    padding: 120px 60px 30px 60px;
}

/* navbar */

.navbar {
    background: rgba(35, 31, 32, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 15px 60px;
}

.navbar-nav .nav-link {
    font-size: 16px;
    color: var(--white);
    padding: 8px 20px !important;
}

.navbar-nav .nav-link.active {
    font-weight: 400;
}

.navbar-brand {
    min-height: 60px;
}

.navbar-brand img {
    width: auto;
    max-height: 50px;
}

/* footer */

.footer {
    background: var(--black-light);
    padding: 0 120px 30px;
    text-align: center;
}

.footer-connect {
    font-size: 20px;
    margin-bottom: 20px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links {
    padding-left: 0;
    list-style: none;
}

.social-links li {
    display: inline-block;
    margin: 0 8px;
}

.social-links li i {
    font-size: 30px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover i {
    color: var(--accent);
    transform: translateY(-2px);
}

.copyright {
    font-size: 12px;
    margin: 30px 0;
}

/* home page */

.home-img {
    display: inline-block;
    width: 40%;
    vertical-align: top;
    border-radius: 15px;
}

.bio {
    display: inline-block;
    width: 59%;
    padding-left: 30px;
}

.bio h1 {
    margin-bottom: 10px;
}

.home-section {
    margin-top: 30px;
}

.press-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    align-items: start;
    margin-bottom: 30px;
}

.press-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.press-side {
    font-size: 18px;
}

.press-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 5px;
}

.press-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin-bottom: 10px;
}

.press-side a span {
    margin-left: 9px;
}

/* music page */

.releases {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    transition: visibility 0.5s ease, opacity 0.5s ease;
}

.home-section .releases {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.releases.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s ease, opacity 0s ease;
}

.releases .release {
    padding: 15px;
    background: var(--black-dark);
    border-radius: 10px;
    visibility: visible;
    opacity: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.releases .release:hover,
.event-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.releases .release .release-name {
    font-size: 18px;
    font-weight: 400;
    margin: 5px 0;
}

.releases .release img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.releases .release .release-links {
    margin-bottom: 0;
    margin-top: 8px;
    padding-left: 0;
    list-style-type: none;
}

.releases .release .release-links li {
    font-size: 14px;
    margin-bottom: 5px;
}

.releases .release .release-links i {
    width: 22px;
    text-align: center;
}

.releases .release .release-links span {
    margin-left: 3px;
}

.music-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.music-filter button {
    font-family: inherit;
    font-weight: inherit;
    color: var(--white);
    background: transparent;
    font-size: 16px;
    padding: 4px 18px;
    border-radius: 999px;
    border: solid 1px var(--white);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.music-filter button:hover {
    border-color: var(--accent);
}

.music-filter button.active {
    font-weight: 400;
    color: var(--black-dark);
    background: var(--accent);
    border-color: var(--accent);
}

/* project page */

.project-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 25px;
    align-items: start;
    margin-bottom: 50px;
}

.project-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-side {
    font-size: 18px;
}

.project-title {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 5px;
}

.project-desc {
    margin-bottom: 10px;
}

.project-side a span {
    margin-left: 9px;
}

/* radio page */

.radio-img {
    max-width: 500px;
    border-radius: 15px;
    vertical-align: top;
}

.radio {
    display: inline-block;
    width: calc(100% - 505px);
    padding-left: 30px;
}

.radio .embed {
    margin-bottom: 30px;
}

.radio .radio-link {
    display: block;
    margin: 10px 0;
    font-size: 22px;
}

.radio .radio-link i {
    width: 30px;
    text-align: center;
}

.radio .radio-link span {
    margin-left: 10px;
    font-weight: 400;
}

.mixes {
    margin-top: 30px;
}

.mix-item {
    margin-bottom: 30px;
}

.mix-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 5px;
}

.mix-date {
    font-size: 18px;
    margin-bottom: 10px;
}

.mix-date i {
    margin-right: 7px;
}

.mix-item .embed {
    margin-top: 20px;
}

/* videos page */

.videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.video-item {
    padding: 15px;
    background: var(--black-dark);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.video-item .embed {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}

.video-item .embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-facade {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
}

.video-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 22px;
    color: var(--black-dark);
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: background 0.3s ease, transform 0.3s ease;
}

.video-play i {
    margin-left: 4px;
}

.video-facade:hover img {
    opacity: 1;
    transform: scale(1.03);
}

.video-facade:hover .video-play {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.08);
}

.video-info {
    padding-top: 12px;
}

.video-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 5px;
}

.video-desc {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* events page */

.event-group {
    margin-bottom: 30px;
}

.event-group h2 {
    margin-bottom: 15px;
}

.events {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.event-item {
    padding: 15px;
    background: var(--black-dark);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item .event-name {
    font-size: 18px;
    font-weight: 400;
    margin: 5px 0;
}

.event-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.event-item a {
    display: inline-block;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 5px;
}

.event-item a i {
    width: 22px;
    text-align: center;
}

.event-item a span {
    margin-left: 3px;
}

/* contact page */

.contact {
    display: inline-block;
    width: calc(100% - 475px);
    vertical-align: top;
}

.contact-img {
    max-width: 400px;
}

.contact .emails {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact .emails a {
    font-weight: 400;
}

.street-form {
    margin-top: 30px;
    text-align: center;
}

.street-form div {
    font-size: 20px;
}

.street-form a {
    font-weight: 400;
    text-decoration: underline;
}

.street-form img {
    margin-top: 20px;
    max-width: 500px;
}

.subscribe {
    margin-top: 30px;
}

.subscribe .text {
    font-size: 20px;
    margin-bottom: 20px;
}

.subscribe form .mb-3 {
    max-width: 300px;
}

@media (max-width: 1199px) {
    h1 {
        font-size: 36px;
    }

    .home-img {
        width: 50%;
    }

    .bio {
        width: 49%;
        padding-left: 20px;
    }

    .press-side {
        font-size: 16px;
    }

    .project-item {
        grid-template-columns: 300px 1fr;
    }

    .radio-img {
        max-width: 400px;
    }

    .radio {
        width: calc(100% - 405px);
    }

    .contact-img {
        max-width: 300px;
    }

    .contact {
        width: calc(100% - 305px);
    }
}

@media (max-width: 991px) {
    .videos {
        grid-template-columns: 1fr;
    }
    .home-section .releases {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .navbar-brand {
        min-height: 50px;
    }

    .navbar-brand img {
        max-height: 40px;
    }

    #main-content {
        padding-top: 110px;
    }
}

@media (max-width: 767px) {
    .navbar {
        padding: 15px;
    }

    #main-content {
        padding: 110px 15px 30px 15px;
    }

    h1 {
        font-size: 28px;
    }

    .press-title,
    .mix-title,
    .video-title,
    .project-title,
    .subscribe .text,
    .street-form div {
        font-size: 18px;
    }

    .bio p,
    .press-desc,
    .press-item a,
    .radio p,
    .mix-desc,
    .video-desc,
    .project-desc,
    .project-side a {
        font-size: 15px;
    }

    .navbar-nav .nav-link {
        padding: 8px 10px !important;
    }

    .footer {
        padding: 0 15px 40px;
    }

    .footer-connect {
        font-size: 18px;
        padding-top: 30px;
    }

    .social-links li {
        margin: 0 4px;
    }

    .social-links li:first-child{
        margin-left: 0;
    }

    .social-links li:last-child {
        margin-right: 0;
    }

    .social-links li i {
        font-size: 24px;
    }

    .home-img, 
    .bio {
        display: block;
        width: 100%;
    }

    .bio {
        padding-left: 0;
        margin-top: 30px;
    }

    .press-item,
    .project-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .releases,
    .events {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .releases .release,
    .event-item {
        padding: 10px;
    }

    .releases .release .release-name,
    .event-item .event-name {
        font-size: 15px;
    }

    .release-detail,
    .event-date {
        font-size: 13px;
    }

    .releases .release .release-links li,
    .event-item a {
        font-size: 12px;
    }

    .releases .release .release-links i,
    .event-item a i {
        width: 16px;
    }

    .music-filter {
        gap: 8px;
        margin-bottom: 20px;
    }

    .music-filter button {
        font-size: 14px;
        padding: 4px 14px;
    }

    .radio-img {
        display: block;
        width: 100%;
        margin: 0 auto 15px;
    }

    .radio {
        display: block;
        width: 100%;
        padding-left: 0;
    }

    .radio .radio-link {
        font-size: 16px;
    }

    .radio .radio-link i {
        width: 20px;
    }

    .mix-date {
        font-size: 16px;
    }

    .video-item {
        padding: 10px;
    }

    .video-play {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }

    .event-group h2 {
        font-size: 20px;
    }

    .project-item {
        margin-bottom: 30px;
    }

    .contact {
        display: block;
        width: 100%;
    }

    .contact-img {
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    .contact .emails {
        font-size: 20px;
    }

    .street-form img {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .releases .release,
    .event-item,
    .video-item,
    .video-facade img,
    .social-links li i {
        transition: none;
    }

    .releases .release:hover,
    .event-item:hover,
    .video-item:hover,
    .video-facade:hover img,
    .social-links a:hover i {
        transform: none;
    }
}
