:root {
    --bg-color: #fcf8f2;
    --grid-line: #a0b0bd;
    --primary: #041645;
    --accent: #a0b0bd;
    --accent-light: #a0b0bd;
    --card-bg: #ffffff;
    --text-main: #0b0b0b;
    --text-muted: #041645;
    --border: #a0b0bd;
    --shadow: 0 8px 24px rgba(92, 64, 51, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

.site-header {
    width: 100%;
    background: #fff;
    border-bottom: 2px dashed var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    position: relative; /* This allows the radio to anchor to the header */
    width: 100%;
}

.banner-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 10px;
}

.banner-img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.radio-toggle-btn {
    position: absolute;
    left: 13px;
    bottom: 18px;
    width: 130px;
    height: auto;
    cursor: pointer;
    z-index: 20;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
}

.radio-toggle-btn:hover {
    transform: scale(1.08);
}

.radio-toggle-btn.paused {
    filter: grayscale(80%) drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
}

.main-nav {
    display: flex;
    justify-content: center;
    padding: 12px 0;
    background: #fdfaf6;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
    background: var(--accent-light);
}

.content-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 60vh;
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-container {
    display: grid;
    gap: 20px;
}

.gallery-container.grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.gallery-item {
    cursor: pointer;
}

.art-frame {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.art-frame:hover {
    transform: translateY(-5px);
}

.art-frame img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
}

.art-overlay {
    margin-top: 10px;
    padding: 5px;
}

.art-overlay h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 2px;
}

.art-overlay p {
    font-size: 13px;
    color: var(--text-muted);
}

.about-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 12px;
    border: 3px solid var(--accent-light);
    object-fit: cover;
    height: 350px;
}

@font-face {
    font-family: 'funkhouse';
    src: url('font/funkhouse.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

.about-text h2 {
    font-family: 'funkhouse';
    font-size: 50px;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 10px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 15px;
}

.carousel-section-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.comm-sheet-img,
.addon-sheet-img {
    width: 100%;
}

.tos-container {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.tos-container h2 {
    font-family: 'funkhouse';
    font-size: 50px;
    letter-spacing: 3px;
    color: var(--primary);
    text-align: center;
}

.tos-container .subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.tos-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tos-item {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.tos-item h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tos-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
    padding-left: 26px;
}

.contact-simple-container {
    background: #fff;
    padding: 50px 30px;
    border-radius: 16px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-simple-container h2 {
    font-family: 'funkhouse';
    font-size: 50px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-subtext, .social-subtext {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.email-link {
    display: inline-block;
    font-size: 18px;
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    margin-bottom: 25px;
    transition: color 0.2s ease;
}

.email-link:hover {
    color: var(--primary);
}

.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.contact-social-links a {
    font-size: 16px;
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-social-links a:hover {
    color: var(--primary);
}

.hidden {
    display: none !important;
}

/* Lightbox Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-content img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    border-radius: 8px;
}

.modal-info {
    margin-top: 15px;
}

.modal-info h3 {
    font-size: 22px;
    color: var(--primary);
    font-family: 'Caveat', cursive;
}

.modal-info p {
    color: var(--text-muted);
    font-size: 14px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    color: var(--primary);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 2px dashed var(--border);
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-badges {
        justify-content: center;
    }
    .gallery-container.columns {
        grid-template-columns: 1fr;
    }
    .gallery-container.masonry {
        column-count: 1;
    }
}