/* =======================
   Home - Hero
======================= */

.hero-slider {
    margin-top: 18px;
    margin-bottom: 6px;
}

.hero-slider-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: 34px;
    align-items: center;

    min-height: 330px;
    padding: 22px 0 26px;
}

.hero-text {
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    margin: 0 0 12px;
    padding: 5px 10px;

    border-radius: 999px;

    background: #e3f3ff;
    color: #1d7fd3;

    font-size: 11px;
    font-weight: 700;
}

.hero-title {
    margin: 0;

    color: #162642;

    font-size: clamp(32px, 3.5vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.hero-desc {
    margin: 15px 0 0;

    color: #64728a;

    font-size: 14px;
    line-height: 1.7;
}


/* =======================
   Home - Banner
======================= */

.hero-slide-wrapper {
    position: relative;

    min-width: 0;
    height: 320px;

    overflow: hidden;

    border: 1px solid #e1eaf4;
    border-radius: 20px;

    background: #eef7ff;

    box-shadow: 0 8px 24px rgba(17, 73, 132, 0.10);
}

.hero-slides {
    position: relative;

    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: inherit;
    text-decoration: none;

    transition:
            opacity 0.4s ease,
            visibility 0.4s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    padding: 24px;

    background: linear-gradient(
            to top,
            rgba(10, 25, 45, 0.76) 0%,
            rgba(10, 25, 45, 0.26) 48%,
            transparent 75%
    );
}

.hero-banner-label {
    display: inline-flex;

    margin-bottom: 8px;
    padding: 4px 9px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;
}

.hero-banner-title {
    margin: 0;

    max-width: 85%;

    color: #ffffff;

    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;

    word-break: keep-all;
}

.hero-banner-more {
    display: inline-block;

    margin-top: 9px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 12px;
    font-weight: 600;
}


/* =======================
   Home - Empty Banner
======================= */

.hero-empty {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: flex-end;

    padding: 24px;

    background: linear-gradient(
            135deg,
            #e3f3ff,
            #f8fbff
    );
}

.hero-empty-label {
    background: #d5ecff;
    color: #1d7fd3;
}

.hero-empty-content h2 {
    margin: 0;

    color: #162642;

    font-size: 22px;
    font-weight: 800;
}

.hero-empty-content p {
    margin: 8px 0 0;

    color: #64728a;

    font-size: 13px;
}


/* =======================
   Home - Banner Controls
======================= */

.hero-slide-controls {
    position: absolute;

    right: 14px;
    bottom: 14px;

    z-index: 10;

    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-arrow {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(20, 35, 55, 0.5);
    color: #ffffff;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    transition: background 0.15s ease;
}

.hero-arrow:hover {
    background: rgba(20, 35, 55, 0.75);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero-dot {
    width: 6px;
    height: 6px;

    padding: 0;

    border: none;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.55);

    cursor: pointer;

    transition:
            width 0.18s ease,
            background-color 0.18s ease;
}

.hero-dot.active {
    width: 16px;

    background: #ffffff;
}


/* =======================
   Home - Sections
======================= */

.section {
    padding: 32px 0;
}

.section-inner {
    width: 100%;
}

.section-title {
    margin: 0;

    color: #162642;

    font-size: 24px;
    font-weight: 800;
}

.section-sub {
    margin: 5px 0 0;

    color: #7a8799;

    font-size: 13px;
    line-height: 1.6;
}


/* =======================
   Home - Reservation
======================= */

.section-actions {
    padding-top: 30px;
    padding-bottom: 28px;
}

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

    margin-top: 18px;
}

.action-card {
    min-height: 145px;

    display: flex;
    flex-direction: column;

    padding: 21px 23px;

    border: 1px solid #e3ebf4;
    border-radius: 15px;

    background: #ffffff;

    color: #4a5870;

    box-shadow: 0 4px 14px rgba(17, 73, 132, 0.05);

    transition:
            transform 0.15s ease,
            border-color 0.15s ease,
            box-shadow 0.15s ease;
}

.action-card:hover {
    transform: translateY(-2px);

    border-color: #cbddec;

    box-shadow: 0 8px 20px rgba(17, 73, 132, 0.08);
}

.action-card h3 {
    margin: 0;

    color: #162642;

    font-size: 17px;
    font-weight: 800;
}

.action-card > p {
    margin: 7px 0 0;

    color: #6f7c90;

    font-size: 13px;
    line-height: 1.55;
}

.action-link {
    display: inline-block;

    width: fit-content;

    margin-top: auto;
    padding-top: 14px;

    color: #1f8be8;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

a.action-link:hover {
    text-decoration: underline;
}

.action-link-disabled {
    color: #9aa6b6;

    cursor: default;
}

.action-phone {
    margin-top: auto !important;
    padding-top: 12px;
}

.action-phone,
.action-phone-sub {
    margin-bottom: 2px !important;

    color: #586579 !important;

    font-size: 13px !important;
}

.action-phone-sub {
    padding-top: 0;
}

.action-phone a,
.action-phone-sub a {
    color: #1f8be8;

    font-weight: 700;

    text-decoration: none;
}

.action-phone a:hover,
.action-phone-sub a:hover {
    text-decoration: underline;
}


/* =======================
   Home - Recent Boards
======================= */

.section-board {
    padding-top: 26px;
    padding-bottom: 38px;
}

.board-panel {
    padding: 24px 28px 8px;

    border: 1px solid #e1ebf5;
    border-radius: 18px;

    background:
            linear-gradient(
                    135deg,
                    #f8fbff 0%,
                    #ffffff 65%
            );

    box-shadow: 0 5px 18px rgba(17, 73, 132, 0.05);
}


/* =======================
   Board Heading
======================= */

.board-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;

    padding-bottom: 18px;
}

.board-heading-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.board-heading-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 28px;
    padding: 0 10px;

    border-radius: 999px;

    background: #e3f3ff;
    color: #1d7fd3;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.board-heading .section-title {
    font-size: 21px;
}

.board-heading .section-sub {
    margin-top: 3px;
}

.board-more-link {
    flex-shrink: 0;

    color: #1f8be8;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition: color 0.15s ease;
}

.board-more-link:hover {
    color: #146eb7;
}


/* =======================
   Board List
======================= */

.board-preview {
    display: flex;
    flex-direction: column;

    border-top: 1px solid #dce7f2;
}

.board-item {
    display: grid;
    grid-template-columns:
            38px
            minmax(0, 1fr)
            92px
            72px
            18px;

    align-items: center;
    gap: 14px;

    min-height: 58px;
    padding: 0 6px;

    border-bottom: 1px solid #e7edf4;

    color: inherit;
    text-decoration: none;

    transition:
            background 0.15s ease,
            padding 0.15s ease;
}

.board-item:last-child {
    border-bottom: none;
}

.board-item:hover {
    padding-left: 10px;

    background: rgba(235, 246, 255, 0.65);
}

.board-number {
    color: #9abbd8;

    font-size: 12px;
    font-weight: 800;
}

.board-title {
    margin: 0;

    overflow: hidden;

    color: #263951;

    font-size: 14px;
    font-weight: 650;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.board-date,
.board-writer {
    color: #8a96a7;

    font-size: 11px;

    text-align: center;

    white-space: nowrap;
}

.board-writer {
    color: #64748b;
}

.board-arrow {
    color: #aac0d4;

    font-size: 14px;

    transition:
            color 0.15s ease,
            transform 0.15s ease;
}

.board-item:hover .board-arrow {
    color: #1f8be8;

    transform: translateX(2px);
}

.board-preview-empty {
    padding: 32px 16px;

    border-top: 1px solid #dce7f2;

    color: #8a96a7;

    text-align: center;
    font-size: 13px;
}


/* =======================
   Login / Signup
======================= */

.auth-center-wrapper {
    min-height: calc(100vh - 180px);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px 0;

    background: linear-gradient(
            135deg,
            #eaf5ff 0%,
            #f7fbff 100%
    );
}

.simple-auth {
    width: 100%;
    max-width: 360px;

    padding: 30px 26px 34px;

    border: 1px solid rgba(200, 215, 235, 0.5);
    border-radius: 20px;

    background: #ffffff;

    box-shadow: 0 14px 40px rgba(13, 60, 120, 0.15);

    animation: fadeIn 0.4s ease;
}

.simple-auth-title {
    margin-bottom: 22px;

    color: #1a2e55;

    text-align: center;

    font-size: 24px;
    font-weight: 700;
}

.simple-auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.simple-field label {
    display: block;

    margin-bottom: 4px;

    color: #253a5e;

    font-size: 13px;
    font-weight: 600;
}

.simple-field input {
    width: 100%;

    padding: 11px 14px;

    border: 1px solid #cfd8e6;
    border-radius: 12px;

    background: #f9fbff;

    font-size: 14px;

    transition: 0.15s ease;
}

.simple-field input:focus {
    outline: none;

    border-color: #2a9bff;

    background: #ffffff;

    box-shadow: 0 0 0 2px rgba(42, 155, 255, 0.25);
}

.simple-error {
    color: #e53935;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.simple-submit {
    width: 100%;

    margin-top: 6px;
    padding: 12px 0;

    border: none;
    border-radius: 12px;

    background: linear-gradient(
            135deg,
            #3bb4ff,
            #1e8bdf
    );

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(40, 140, 220, 0.35);

    transition: 0.2s ease;
}

.simple-submit:hover {
    transform: translateY(-2px);

    box-shadow: 0 10px 24px rgba(40, 140, 220, 0.45);
}

.simple-auth-footer {
    margin-top: 18px;

    text-align: center;
}

.simple-signup-link {
    color: #1a8ae5;

    font-size: 14px;
    font-weight: 600;

    text-decoration: underline;

    transition: 0.15s ease;
}

.simple-signup-link:hover {
    color: #146bbd;
}


/* =======================
   Responsive
======================= */

@media (max-width: 1000px) {

    .hero-slider-inner {
        grid-template-columns: 1fr;

        min-height: 0;
    }

    .hero-slide-wrapper {
        height: 340px;
    }
}


@media (max-width: 720px) {

    .hero-slider {
        margin-top: 12px;
    }

    .hero-slider-inner {
        gap: 22px;

        padding: 16px 0 20px;
    }

    .hero-title {
        font-size: 31px;
    }

    .hero-desc br {
        display: none;
    }

    .hero-slide-wrapper {
        height: 270px;

        border-radius: 18px;
    }

    .hero-banner-overlay,
    .hero-empty {
        padding: 20px;
    }

    .hero-banner-title {
        max-width: 100%;

        font-size: 19px;
    }

    .section {
        padding: 28px 0;
    }

    .section-title {
        font-size: 22px;
    }


    /* Reservation */

    .action-grid {
        grid-template-columns: 1fr;
    }

    .action-card {
        min-height: 135px;
    }


    /* Board */

    .board-panel {
        padding: 20px 18px 6px;
    }

    .board-heading {
        align-items: flex-start;
    }

    .board-heading-left {
        align-items: flex-start;
    }

    .board-heading-label {
        display: none;
    }

    .board-item {
        grid-template-columns:
                26px
                minmax(0, 1fr)
                82px
                14px;

        gap: 8px;

        min-height: 54px;
    }

    .board-writer {
        display: none;
    }

    .board-number {
        font-size: 11px;
    }

    .board-title {
        font-size: 13px;
    }

    .board-date {
        font-size: 10px;
    }
}


/* =======================
   Animation
======================= */

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}