* {
    margin: 0;
    padding: 0;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f4ee;
}

main {
    padding: 2rem 0rem 2rem;
}

section {
    max-width: 500px;
    margin: 0 auto;
    padding: 0rem 1rem;
}

.indent {
    padding: 0rem 1rem 4rem;
}

#header .image-frame {
    width: 50%;
    margin: 0 auto;
    border-radius: 20px;
    padding: 4px;
    background-color: #c9ad9f;
}

#header img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.insta-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin: 1rem auto 1rem;
    text-decoration: none;
    color: black;
    font-size: 24px;
    font-weight: 500;
}

.insta-link .icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.about
{
    background-color: #dfd1c8;
    padding: 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.menu-button{
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-color: #dfd1c8;
    padding: 5px;
    margin: 0px 2rem 1rem;
}

.menu-button a{
    position: absolute;
    inset: 0;
}

.menu-button h2{
    text-align: center;
}

.button-form
{
    background-color: #c9ad9f;
    margin: 24px 2rem 4rem;
}

.gallery {
    background-color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    transition: bottom 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-overlay h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

#logo {
    display: flex;
    justify-content: center;
}

#logo img {
    width: 150px;
    height: auto;
    object-fit: contain;
    display: block;
}

.schedule{
    margin: 0 auto;
    background: #dfd1c8;
    padding: 20px;
    border-radius: 20px;
}

.schedule h1{
    margin-bottom: 1rem;
    margin: 0.1rem;
    font-size: 2rem;
}

.schedule a{
    text-decoration: none;
}

.schedule-item{
    color: #333;
}

.schedule-item-border{
    border-bottom: 2px solid #c9ad9f;
    margin-bottom: 1rem;
}

.schedule-item h1{
    font-size: 24px;
    margin: 0px;
}

.schedule-item .active:hover{
    color: #7e7e7e;
}

.schedule-item p{
    margin: 0.0rem;
}

.schedule-item li{
    margin-left: 1rem;
}

.faq-container {
    margin: 0 auto;
    background: #dfd1c8;
    padding: 20px;
    border-radius: 20px;
}

.faq-container h2{
    margin-bottom: 1rem;
}

.faq-item {
    border-bottom: 1px solid #c9ad9f;
    padding: 10px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question button{
    color: #333;
}

.faq-question span{
    color: #333;
}

.faq-answer {
    display: none;
    padding: 10px;
    font-size: 16px;
    color: #333;
}

.faq-answer p{
    color: #333;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

.arrow {
    transition: transform 0.3s;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group .form-input {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    border: 1px solid #000000;
    border-radius: 20px;
    padding: 10px;
    outline-color: #000000;
    outline-offset: 0.3rem;
    background-color: #f9f4ee;
    transition: background-color 0.3s ease;
    text-align: left;
}

.form-group .input-impact:focus{
    background-color: #dfd1c8;
}

.form-group .input-impact:hover{
    background-color: #dfd1c8;
}

.form-group .form-textarea {
    height: 150px;
    min-height: 60px;
    resize: vertical;
}

.file-upload-wrapper {
    position: relative;
    border: 1.5px dashed #000;
    border-radius: 20px;
}

.form-group .file-upload{
    height: 100px;
    cursor: pointer;
    opacity: 0;
}

.file-upload::-webkit-file-upload-button {
    display: none;
}

.file-upload::file-selector-button {
    display: none;
}

.plus-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    color: #000;
    z-index: 1;
    pointer-events: none;
}

.file-list {
    margin-top: 10px;
    list-style: none;
    padding: 0;
    font-size: 14px;
    color: #333;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.file-preview {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.file-list li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-list li span {
    font-size: 12px;
    color: #666;
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-list li {
    margin-bottom: 1rem;
}

.location-option {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #c9ad9f;
    border: none;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.location-option:hover {
    background-color: #dfd1c8;
}

#location-button {
    cursor: pointer;
}

.form-group input[type=radio] {
    padding: 0.8em;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #000000;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-group input[type=radio]:checked {
    background-color: #c9ad9f;
    border-color: #c9ad9f;
    position: relative;
}

.form-group input[type="radio"]:checked::after {
    content: '✔';
    color: #f9f4ee;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-block div{
    margin-top: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

.form-group .radio-note{
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.form-group input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #000000;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-group input[type="checkbox"]:checked {
    background-color: #c9ad9f;
    border-color: #c9ad9f;
    position: relative;
}

.form-group input[type="checkbox"]:checked::after {
    content: '✔';
    color: #f9f4ee;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-group a {
    color: #333;
    font-weight: 700;
    text-decoration: none;
}

.form-group a:hover {
    text-decoration: underline;
}

.form-submit {
    display: inline-block;
    padding: 1.4rem 2rem;
    background-color: #c9ad9f;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.form-submit:hover {
    background-color: #dfd1c8;
}

.form-submit h1{
    text-align: center;
    font-size: 2em;
    color: #333;
}

.page-header {
    position: sticky;
    top: 0;
    background-color: #f9f4ee;
    border-bottom: 2px solid #c9ad9f;
    padding: 1rem 0;
    z-index: 1000;
}

.header-inner {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.back-button {
    position: absolute;
    left: 1rem;
    background-color: #c9ad9f;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 12px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-button:hover {
    background-color: #dfd1c8;
    transform: scale(1.05);
}

.page-title {
    margin: 0;
    font-size: 20px;
    color: #333;
    text-align: center;
}

@media (max-width: 600px) {
    .page-title {
        font-size: 18px;
    }

    .back-button {
        font-size: 14px;
        padding: 6px 12px;
        left: 1rem;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #f9f4ee;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: auto;
    max-width: 600px;
    border-radius: 20px;
    text-align: center;
}

.modal-content .close {
    color: #333;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal-content .close:hover,
.modal-content .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content .checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    /* display: block; */
    stroke-width: 2;
    stroke-miterlimit: 10;
    display: inline-block;
    stroke: #999;
    animation: scaleUp 0.3s ease-in-out;
}

.modal-content .modal-body {
    text-align: center;
}

.modal-content .modal-body h1{
    margin-bottom: 20px;
    font-size: 1.25em;
}

.modal-content .modal-body p{
    font-size: 0.75em;
}

.modal-content .checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke: #c9ad9f;
    animation: drawCircle 0.6s ease-in-out forwards;
}

.modal-content .checkmark__check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #333;
    animation: drawCheck 0.4s 0.6s ease-in-out forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.designs {
    background-color: var(--light-color);
}

.designs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.designs-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1;
}

.designs-item {
    position: relative;
}

.non-repeatable::after {
    content: "non-repeatable";
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #c9ad9f;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    pointer-events: none;
    font-family: sans-serif;
}

.designs-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.designs-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    transition: bottom 0.3s ease;
}

.designs-item:hover img {
    transform: scale(1.1);
}

.designs-item:hover .designs-overlay {
    bottom: 0;
}

.designs-overlay h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.designs-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .designs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

#design-detail {
    background-color: #dfd1c8;
    border-radius: 20px;
    padding: 1.5rem;
}

.design-image-frame {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.design-image-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.design-image-frame.non-repeatable::after {
    content: "non-repeatable";
    position: absolute;
    right: 12px;
    bottom: 12px;

    background: #c9ad9f;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;

    padding: 6px 10px;
    border-radius: 6px;
    pointer-events: none;
}

.design-info {
    background-color: #f9f4ee;
    border-radius: 20px;
    padding: 1.5rem;
}

.design-option {
    margin-bottom: 1.5rem;
}

.design-option h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
    white-space: nowrap;
}

.design-option p {
    font-size: 1rem;
    margin: 0;
    color: #555;
}

.small-note {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: center;
}

.design-form-submit {
    display: block;
    text-align: center;
    background-color: #c9ad9f;
    border-radius: 20px;
    padding: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.design-form-submit:hover {
    background-color: #dfd1c8;
}

.design-form-submit h1 {
    font-size: 1.5rem;
    color: #333;
}

.tab-container {
    background-color: #dfd1c8;
    border-radius: 20px;
    padding: 1.5rem;
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 10px;
}

.tab-button {
    flex: 1;
    padding: 10px;
    background-color: #c9ad9f;
    border: none;
    border-radius: 12px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tab-button:hover {
    background-color: #dfd1c8;
}

.tab-button.active {
    background-color: #b89787;
    color: #fff;
}

.tab-content {
    display: none;
    background-color: #f9f4ee;
    border-radius: 20px;
    padding: 1.5rem;
    color: #333;
}

.tab-content.active {
    display: block;
}

.tab-content h2, h3 {
    margin-top: 1rem;
    color: #333;
}

.tab-content ul, .tab-content ol {
    margin-left: 1.2rem;
    margin-bottom: 1rem;
}

.tab-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.social-container {
    background: #dfd1c8;
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-card {
    background-color: #f9f4ee;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, background-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.social-card:hover {
    transform: translateY(-5px);
    background-color: #ffffff;
}

.social-card h2 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.social-card p {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.social-card a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #c9ad9f;
    border-radius: 12px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.social-card a:hover {
    background-color: #dfd1c8;
}

.social-card .icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    fill: #333;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-card:hover .icon {
    opacity: 1;
}

.deposit-option {
    overflow: hidden;
}

.deposit-heading {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(0.7rem, 3.5vw, 1.1rem) !important;
    color: #333 !important;
    margin: 0 !important;
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background-color: #f0e8e3;
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

.location-pin {
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 1px;
}

.location-date {
    color: #888;
    font-size: 0.85rem;
}

.design-preview-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #dfd1c8;
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.design-preview-banner .design-preview-img-wrap {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
}

.design-preview-banner .design-preview-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.design-preview-banner .design-preview-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.design-preview-banner .design-preview-label {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
}

.design-preview-banner .design-preview-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.design-preview-banner .design-preview-deposit {
    font-size: 0.8rem;
    color: #555;
    margin: 0;
}

.year-tabs-wrapper {
    position: relative;
    margin-bottom: 1.2rem;
}

.year-tabs-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.year-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.year-scroll-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to right, #dfd1c8 60%, transparent);
    border: none;
    cursor: pointer;
    padding: 6px 12px 6px 4px;
    font-size: 1.2rem;
    color: #333;
    z-index: 2;
    border-radius: 10px 0 0 10px;
}

.year-scroll-btn.right {
    right: 0;
    background: linear-gradient(to left, #dfd1c8 60%, transparent);
    border-radius: 0 10px 10px 0;
    padding: 6px 4px 6px 12px;
}

.year-scroll-btn.left { left: 0; }

.year-scroll-btn.visible { display: block; }

.year-tab {
    flex-shrink: 0;
    padding: 10px 20px;
    background-color: #c9ad9f;
    border: none;
    border-radius: 14px;
    color: #333;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    letter-spacing: 0.04em;
}

.year-tab:hover { background-color: #b89787; color: #fff; }

.year-tab.active { background-color: #333; color: #f9f4ee; }

.year-panel { display: none; }
.year-panel.active { display: block; }

.event-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 2px 8px;
    margin-bottom: 6px;
}

.label-upcoming  { background: #c9ad9f; color: #fff; }
.label-home      { background: #333;    color: #f9f4ee; }
.label-past      { background: #e0d5cf; color: #666; }
.label-convention{ background: #8a7060; color: #fff; }

.design-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.design-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1.5px solid currentColor;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    color: inherit;
    transition: opacity 0.2s;
}

.design-nav-btn:hover {
    opacity: 0.6;
}

.design-nav-btn.disabled {
    opacity: 0.2;
    pointer-events: none;
    min-width: 80px;
}
