/* TomCircle Custom Styles */

/* Webfont Declaration */
@font-face {
    font-family: 'ABC Diatype Mono';
    src: url('../fonts/ABCDiatypeMono-Light.woff2') format('woff2'),
         url('../fonts/ABCDiatypeMono-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'ABC Diatype Mono', monospace;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: #000;
    /*background-image: url('../img/bg_paper.jpg');*/
    background-color: #fdf8ee;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Reset all headings to same size */
h1, h2, h3, h4, h5, h6 {
    font-size: 1rem !important;
    font-weight: 300;
    color: #000;
    margin-bottom: 2rem;
}

h1 {text-transform: uppercase;}

h2 {text-decoration: underline;
    text-underline-offset: .2rem;
    text-transform: uppercase;
    letter-spacing: .05rem;}

/* Reset paragraphs and text elements */
p, span, div, li, ul, ol, label, input, button, textarea, select {
    font-size: 1rem !important;
}

/* Reset Bootstrap lead class and other text utilities */
.lead, .small, small, .text-muted {
    font-size: 1rem !important;
}

/* Reset links */
a {
    color: #000;
    text-decoration: none;
    font-size: 1rem !important;
}

a:hover {
    color: #000;
}
/* Container */
.container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.site-header {
    padding: 0;
    position: relative;
    z-index: 102;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 102;
}

.logo a {
    position: relative;
    display: inline-block;
    font-size: 1rem;
}

.logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 320px;
}

.logo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
}

.underline {
    text-decoration: underline;
    text-underline-offset: .2rem
}

/* Keep logo text visible when overlay is active */
body:has(.menu-overlay.active) .logo-text {
    color: #fff !important;
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-size: 1rem !important;
    position: relative;
    padding-bottom: 0.5rem;
}

.main-nav a.active {
    background-image: url('../img/underline.svg');
    background-position: bottom center;
    background-repeat: repeat-x;
    background-size: auto 8px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-right: 1.5rem;
}

.social-icons a {
    font-size: 1rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icons i {
    font-size: 1rem !important;
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem 0;
    padding-bottom: 6rem;
}

main .container {
    padding-bottom: 1rem;
}

p {margin-bottom: 3rem;}

.content ul li {list-style: none;}

.content a {
    text-decoration: underline;
    text-underline-offset: .2rem;

}

.content img {
    max-height: 70vh;
}

.shows {
    margin-bottom: 3rem;
}

.extra-info {
    max-width: 600px;
    margin: 0 auto;
}

/* Bandsintown Widget Overrides */
.bit-widget-initializer,
.bit-widget-initializer * {
    font-family: 'ABC Diatype Mono', monospace !important;
    font-weight: 300 !important;
}

.bit-widget-initializer .bit-top-track-button,
.bit-widget-initializer .bit-button {
    border-radius: 3px !important;
    text-transform: uppercase !important;
    letter-spacing: .05rem !important;
    padding-top: .6rem !important;
    padding-bottom: .6rem !important;
}

/* Footer */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2rem;
    background-color: transparent;
    z-index: 51;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-link a {margin-left: 1.5em;}

.mobile-break {
    display: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Inner Circle Password Form */
.password-form {
    padding: 2rem 0;
}

.password-form h1 {
    margin-bottom: 1rem;
}

.password-form p {
    margin-bottom: 2rem;
}

.error-message {
    padding: 1rem;
    margin-bottom: 1rem;
    color: #ff5400;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    font-family: 'ABC Diatype Mono', monospace;
    font-size: 1rem !important;
    font-weight: 300;
    border: 1px solid #000;
    background: transparent;
    color: #000;
    border-radius: 5px;
    max-width: 250px;
}

.form-input:focus {
    outline: none;
    border: 2px solid #000;
}

.submit-button {
    padding: 0.75rem 2rem;
    font-family: 'ABC Diatype Mono', monospace;
    font-size: 1rem !important;
    font-weight: 300;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 3px;
    width: 250px;
    max-width: 250px;
}

.submit-button:hover {
    background: #333;
}


.logout-link {
    text-decoration: underline;
}

/* Drawing Canvas */
#drawingCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 103;
}

body.draw-mode {
    cursor: crosshair;
}

body.draw-mode * {
    cursor: crosshair !important;
}

/* Prevent image dragging in draw mode */
body.draw-mode img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Make text selection transparent in draw mode */
body.draw-mode ::selection {
    background: transparent;
    color: inherit;
}

body.draw-mode ::-moz-selection {
    background: transparent;
    color: inherit;
}

/* Draw Mode Hint */
.draw-hint {
    width: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    z-index: 104;
    pointer-events: none;
    opacity: 0;
    text-align: center;
    transition: opacity 0.3s ease;
    background-color: #000;
    border-radius: 5px;
    padding: 1rem 1.5rem;
    color: #faf7ec;
    
}

body.draw-mode .draw-hint {
    opacity: 1;
}

body.draw-mode.drawing .draw-hint {
    opacity: 0;
}

/* Burger Menu */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102;
}

.burger-menu img {
    width: 48px !important;
    height: auto !important;
    min-width: 48px;
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 200;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.menu-overlay.active {
    display: flex;
}

.close-menu {
    position: absolute;
    top: 1.8rem;
    right: 1.3rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 201;
    padding: 0;
}

.close-menu img {
    width: 48px !important;
    height: auto !important;
    min-width: 48px;
    display: block;
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.overlay-nav a {
    font-size: 1rem !important;
    color: #faf7ec;
}

.overlay-social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.overlay-social-icons a {
    font-size: 1rem !important;
    color: #faf7ec;
}

.overlay-social-icons i {
    font-size: 1rem !important;
    text-stroke: 1px #faf7ec;
}

::selection {
    background-color: transparent;
    color: #000;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%) scale(1.02);
    pointer-events: none;
}

/* Hide YouTube title and controls by cropping edges */
.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

/* Make home content more visible over video */
.home-content {
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Video Embed */
.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video Slider */
.video-slider-container {
    position: relative;
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 3rem;
}

.video-slider {
    width: 100%;
    overflow: hidden;
}

.video-slider .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-slider .video-title {
    margin-top: 1rem;
    text-align: center;
}

.video-slider-container .swiper-button-prev,
.video-slider-container .swiper-button-next {
    color: #015ea4;
    width: 30px;
    height: 30px;
}

.video-slider-container .swiper-button-prev::after,
.video-slider-container .swiper-button-next::after {
    font-size: 1.25rem;
    font-weight: 100;
}

.video-slider-container .swiper-button-prev {
    left: 0;
}

.video-slider-container .swiper-button-next {
    right: 0;
}

/* Image Slider */
.image-slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
}

.image-slider {
    width: 100%;
    overflow: hidden;
}

.image-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.image-slider .swiper-slide img {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    width: auto;
    object-fit: contain;
}

.image-slider-container .swiper-button-prev,
.image-slider-container .swiper-button-next {
    color: #015ea4;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.image-slider-container .swiper-button-prev::after,
.image-slider-container .swiper-button-next::after {
    font-size: 1.25rem;
    font-weight: 100;
}

.image-slider-container .swiper-button-prev {
    left: 0;
}

.image-slider-container .swiper-button-next {
    right: 0;
}

.slider-headline {
    text-decoration: none;
    text-transform: none;
}

/* Responsive */
@media (max-width: 1000px) {
    body {
        font-size: 1.125rem;
    }

    h1, h2, h3, h4, h5, h6,
    p, span, div, li, ul, ol, label, input, button, textarea, select,
    a,
    .lead, .small, small, .text-muted,
    .main-nav a,
    .social-icons a,
    .social-icons i,
    .form-input,
    .submit-button,
    .close-menu,
    .overlay-nav a,
    .overlay-social-icons a,
    .overlay-social-icons i {
        font-size: 1.125rem !important;
    }

   

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        justify-content: flex-start;
        margin-left: 1rem;
        margin-top: -1rem;
    }

    .logo-img {
        max-width: 280px;
    }

    .burger-menu {
        display: flex;
        margin-right: 1rem;
    }

    .main-nav,
    .social-icons {
        display: none;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-content .copyright {
        text-align: left;
    }

    .footer-content .footer-link {
        text-align: right;
    }

    .footer-link a {margin-left: .5em;}


    .site-footer {
        position: relative;
    }

    .site-footer .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .mobile-break {
        display: block;
    }

    /* Mobile header adjustments */
    .site-header .container {
        padding-left: 0;
        padding-right: 1.5rem;
    }
}
