/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
.logo,
.title {
    font-family: var(--font-heading) !important;
    color: var(--text-main);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 800px;
}

.section-badge {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.align-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.mt-huge {
    margin-top: 80px;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.container-md {
    max-width: 1000px;
}

.container-lg {
    max-width: 1200px;
}

.container-full {
    max-width: 1400px;
}

.section {
    padding: var(--section-py) 0;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    visibility: hidden;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
    padding: 16px 0;
    background: rgba(252, 252, 251, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Sub-pages default white header */
body:not(.main-page) .header {
    background: rgba(252, 252, 251, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

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

.logo img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.main-page .header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
    -webkit-filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) brightness(0) invert(1);
}

.main-page .header:not(.scrolled) .nav-link {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    z-index: 101;
}

.main-page .header:not(.scrolled) .mobile-menu-btn {
    color: #fff;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--bg-main);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.close-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.8rem;
    color: var(--text-main);
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.mobile-nav-link {
    font-family: var(--font-heading) !important;
    font-size: 2.5rem;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* background-image: url('../img/main/tip1010002675.jpg'); */
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.05);
    /* For load animation */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin-top: 80px;
    /* Offset for header */
}

.hero .sub-copy {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    opacity: 0.9;
}

.hero .main-copy {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 32px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.hero .desc {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #fff;
    color: var(--text-main);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-main);
    font-weight: 500;
    color: #fff;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--primary);
    animation: scrollDown 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

@media (max-width: 768px) {
    .hero .main-copy {
        font-size: 2.8rem;
    }

    .hero .desc {
        font-size: 1rem;

        br {
            display: none;
        }
    }
}

/* ==========================================================================
   Design Method Section
   ========================================================================== */
.method-timeline {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.method-item {
    background: var(--bg-main);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.method-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.method-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.method-item:hover .method-icon {
    background: var(--primary);
    color: #fff;
}

.method-text h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.method-text p {
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .method-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 48px;
    }

    .method-item {
        padding: 32px;
    }
}

/* ==========================================================================
   Product Types Section
   ========================================================================== */
.subsection-title {
    font-size: 1.6rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    font-weight: 600;
}

.subsection-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary);
    margin: 16px auto 0;
}

/* Sizes */
.size-section {
    margin-top: 80px;
}

.size-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.size-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.4s ease;
}

.size-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
}

.size-visual {
    height: 300px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

.grid-lines {
    width: 150px;
    height: 150px;
    border: 1.5px solid var(--primary);
    position: relative;
}

.grid-lines::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(181, 168, 152, 0.5);
}

.grid-lines.large {
    width: 220px;
    height: 220px;
}

.size-visual span {
    position: absolute;
    font-family: var(--font-heading) !important;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.size-info {
    padding: 40px;
}

.size-info h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.size-info p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .size-cards {
        grid-template-columns: 1fr;
    }

    .size-visual {
        height: 240px;
    }

    .size-info {
        padding: 24px;
    }
}

/* Colors */
.color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.color-item {
    text-align: center;
}

.color-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 24px;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.color-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    scale: 1.3;
}

.color-item:hover .color-img {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.color-item h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.color-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .color-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
}

@media (max-width: 480px) {
    .color-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-masonry {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    height: 600px;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: #e0e0e0;
}

.gallery-item.item-large {
    height: 100%;
}

.gallery-col .gallery-item {
    height: calc(50% - 12px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 32px;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-text {
    color: #fff;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay-text {
    transform: translateY(0);
}

.overlay-text h4 {
    font-size: 1.3rem;
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-weight: 500;
}

.overlay-text span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
        height: auto;
    }

    .gallery-item.item-large {
        height: 400px;
    }

    .gallery-col .gallery-item {
        height: 300px;
    }
}

/* ==========================================================================
   Events Slider Section
   ========================================================================== */
.slider-wrapper {
    margin-top: 60px;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 100%;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.slide-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.slide-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    max-width: 900px;
}

.slide-content h3 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: var(--radius-full);
}

.slider-btn {
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.slider-btn:hover {
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .slide {
        padding: 40px 24px;
        height: 400px;
    }

    .slide-content h3 {
        font-size: 1.8rem;
    }

    .slider-controls {
        bottom: 24px;
        right: 50%;
        transform: translateX(50%);
    }
}

/* ==========================================================================
   Inquiry Form Section
   ========================================================================== */
.inquiry-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.inquiry-info .title {
    font-size: 3.2rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.inquiry-info .desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.contact-item h5 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item p {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
}

.glass-form-panel {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border);
}

.glass-form-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.required {
    color: #E74C3C;
}

.input-group input[type="text"],
.input-group input[type="tel"] {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(181, 168, 152, 0.1);
}

.checkbox-group-wrap {
    margin-top: 8px;
}

.checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
}

.custom-checkbox input:checked~.checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
}

.custom-checkbox input:checked~.checkmark::after {
    display: block;
}

.btn-submit {
    margin-top: 16px;
    width: 100%;
    padding: 20px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: var(--primary-hover);
}

.form-notice {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .inquiry-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .inquiry-info .title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .glass-form-panel {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-brand .logo {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 8px;
    display: inline-block;
}

.brand-slogan {
    color: #fff;
    font-family: var(--font-heading) !important;
    font-size: 1.1rem;
}

.footer-links-wrap {
    display: flex;
    gap: 80px;
}

.link-col h4 {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.link-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.link-col a:hover {
    color: #fff;
}

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

.company-info {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links-wrap {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }
}

/* Process Grid & Arrows */
.process-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 1024px) {
    .process-grid {
        flex-direction: row;
        gap: 24px;
    }

    .process-grid>.step-card {
        flex: 1;
    }
}

.step-card {
    position: relative;
    padding: 32px 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.step-arrow {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Default (Mobile): Arrow points down, positioned at bottom center */
.step-card:not(:last-child) .step-arrow {
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
}

.step-card:not(:last-child) .step-arrow i {
    transform: rotate(90deg);
}

/* Desktop: Arrow points right, positioned at right center */
@media (min-width: 1024px) {
    .step-card:not(:last-child) .step-arrow {
        bottom: auto;
        top: 50%;
        left: auto;
        right: -28px;
        transform: translateY(-50%);
    }

    .step-card:not(:last-child) .step-arrow i {
        transform: rotate(0deg);
    }
}
/* Mobile Alignment Fixes */

/* Color Collection */
.color-collection {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    margin-top: 60px;
}
.color-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.color-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.color-divider {
    height: 1px;
    width: 100%;
    background: var(--border);
    border-radius: 2px;
}
@media (min-width: 1024px) {
    .color-collection {
        flex-direction: row;
        justify-content: center;
    }
    .color-divider {
        width: 1px;
        height: auto;
    }
}

/* Thickness Visual Refinement */
.thickness-visual-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}
@media (min-width: 768px) {
    .thickness-visual-wrap {
        flex-direction: row;
        justify-content: center;
        align-items: flex-end;
        gap: 80px;
    }
}

/* Nationwide Map Refinement */
.map-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.map-text {
    width: 100%;
}
.map-image {
    width: 100%;
    text-align: center;
}
@media (min-width: 768px) {
    .map-layout {
        flex-direction: row;
        justify-content: space-between;
        gap: 60px;
    }
    .map-text {
        flex: 1;
        min-width: 300px;
        max-width: 450px;
    }
    .map-image {
        flex: 1;
        min-width: 300px;
    }
}


/* Sound Proof Header Fixes */
.sound-proof-header {
    position: relative;
    padding: 60px 20px 20px;
    margin: 0;
}

/* Default Mobile: Colors readable against the light background */
.sp-badge { color: var(--primary); background: transparent; border: 1px solid var(--primary); }
.sp-title { color: var(--text-main); }
.sp-subtitle { color: var(--text-muted); }

/* Desktop: Overlap on Image, Colors changed to white */
@media (min-width: 1024px) {
    .sound-proof-header {
        position: absolute;
        top: clamp(40px, 6vw, 80px);
        left: 0;
        width: 100%;
        z-index: 10;
        padding: 0;
    }
    .sound-proof-header .sp-badge { color: #fff; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); }
    .sound-proof-header .sp-title { color: #fff; }
    .sound-proof-header .sp-subtitle { color: rgba(255,255,255,0.85); }
}

/* ==========================================================================
   Form Action Buttons (Write Skin)
   ========================================================================== */
.form-action-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.btn-form-cancel,
.btn-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    font-family: var(--font-body) !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    min-width: 120px;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none !important;
    line-height: 1.5;
}

.btn-form-cancel {
    background: #fff !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border) !important;
}

.btn-form-cancel:hover {
    background: #f8fafc !important;
    color: var(--text-main) !important;
    border-color: #cbd5e1 !important;
}

.btn-form-submit {
    background: var(--primary) !important;
    color: #fff !important;
    border: 1px solid var(--primary) !important;
}

.btn-form-submit:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    box-shadow: 0 4px 12px rgba(37, 73, 151, 0.2) !important;
}

/* ==========================================================================
   Notice Board List (Mockup Styles)
   ========================================================================== */
.notice-list {
    margin-top: 40px;
}
.notice-board {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}
.notice-board th, .notice-board td {
    padding: 20px 10px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}
.notice-board th {
    font-weight: 600;
    color: var(--text-main);
    border-top: 2px solid var(--text-main);
    background: transparent;
}
.notice-board td {
    color: var(--text-muted);
}
.notice-board .notice-title {
    text-align: left;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.3s ease;
    padding-left: 20px;
}
.notice-board .notice-title a {
    display: block;
    width: 100%;
    height: 100%;
}
.notice-board tr:hover .notice-title a {
    color: var(--primary);
}
.notice-board tr:hover {
    background: #f8fafc;
}

/* ==========================================================================
   Notice Board List Responsive Layout
   ========================================================================== */
@media (max-width: 768px) {
    .notice-board th, .notice-board td {
        padding: 16px 8px;
        font-size: 0.95rem;
    }
    .notice-board .col-num {
        display: none; /* 태블릿/모바일에서 번호 열 숨김 */
    }
    .notice-board .col-title {
        width: 75% !important;
    }
    .notice-board .col-date {
        width: 25% !important;
        font-size: 0.85rem;
    }
    .notice-board .notice-title {
        padding-left: 8px;
    }
}

@media (max-width: 480px) {
    .notice-board th, .notice-board td {
        padding: 14px 4px;
        font-size: 0.9rem;
    }
    .notice-board .col-date {
        font-size: 0.75rem;
        width: 20% !important;
    }
    .notice-board .col-title {
        width: 80% !important;
    }
    .notice-board .notice-title {
        padding-left: 4px;
    }
    /* 모바일 버튼 간격 조정 */
    .btn_bo_user {
        flex-wrap: wrap;
        gap: 5px;
    }
}
