@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Gmarket+Sans:wght@300;500;700&display=swap');

:root {
    --primary-color: #8c7b6c; /* 차분하고 고급스러운 옅은 모카 베이지 */
    --primary-hover: #6e5e51;
    --secondary-color: #d1c2b0; /* 화사하고 부드러운 옅은 샌드 베이지 */
    --secondary-hover: #b0a190;
    --bg-light: #f7f5f0; /* 화사하고 따뜻한 옅은 베이지 톤 배경 */
    --bg-white: #ffffff;
    --text-dark: #3a3835; /* 베이지와 잘 어우러지는 소프트 다크브라운 그레이 */
    --text-muted: #807b73;
    --border-color: #e5dec9;
    --font-main: 'Noto Sans KR', sans-serif;
    --font-heading: 'Gmarket Sans', sans-serif;
    --font-base-size: 18px; /* 일반 사이트 대비 폰트 크기 스케일업 */
}

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

body {
    font-family: var(--font-main);
    font-size: var(--font-base-size);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    word-break: keep-all;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* 헤더 & 네비게이션 */
header {
    background-color: var(--bg-white);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.header-top {
    display: none !important;
    background-color: var(--primary-color);
    color: var(--bg-light);
    font-size: 15px;
    padding: 8px 20px;
    justify-content: space-between;
    align-items: center;
}

.header-top .tel-btn {
    font-weight: 700;
    color: #ffeb3b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.logo a {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 26px;
    color: var(--primary-color);
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

.logo span {
    color: var(--secondary-color);
}

/* 네비게이션 메뉴 */
.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 19px;
    padding: 10px 15px;
    display: block;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--primary-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    border: 1px solid var(--border-color);
    z-index: 1010;
}

.dropdown-item a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    color: #444;
}

.dropdown-item a:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color);
    font-weight: 700;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

/* 모바일 메뉴 토글 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* 모바일 네비게이션 활성화 시 */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* 메인 비주얼 배너 */
.visual-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #2b5c43;
}

.slide-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.slide-content h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    word-break: keep-all;
}

.slide-content p {
    font-size: 22px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* 퀵 메뉴 */
.quick-menu {
    max-width: 1200px;
    margin: -50px auto 40px auto;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 20px;
}

.quick-item {
    position: relative;
    background-color: var(--bg-white);
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
    border: 3px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    color: var(--bg-white);
}

.quick-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* 글씨 가독성을 위한 오버레이 */
    z-index: 2;
    transition: background 0.3s ease;
}

.quick-item:hover::before {
    background: rgba(0, 0, 0, 0.3); /* 호버 시 약간 밝아짐 */
}

.quick-item:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.quick-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 0;
    margin-bottom: 0;
    border: none;
}

.quick-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-title {
    position: relative;
    z-index: 3;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--bg-white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.quick-desc {
    position: relative;
    z-index: 3;
    font-size: 14px;
    color: #f0f0f0;
    margin-top: 8px;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* 메인 본문 섹션 */
.section {
    padding: 60px 20px;
}

.section-alt {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 19px;
    color: var(--text-muted);
    margin-top: 15px;
}

/* 핵심 장점 카드 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    position: relative;
    background-color: var(--bg-white);
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    padding: 30px 25px;
    text-align: center;
    border: 3px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
    color: var(--bg-white);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* 가독성 확보용 오버레이 */
    z-index: 2;
    transition: background 0.3s ease;
}

.feature-card:hover::before {
    background: rgba(0, 0, 0, 0.35);
}

.feature-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transform: translateY(-5px) scale(1.02);
    border-color: var(--secondary-color);
}

.feature-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 0;
    margin-bottom: 0;
    border: none;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    position: relative;
    z-index: 3;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--bg-white);
    margin-bottom: 12px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.feature-card p {
    position: relative;
    z-index: 3;
    font-size: 15px;
    color: #e0e0e0;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* 최근 글 & 갤러리 보드 */
.board-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.board-widget {
    background-color: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.board-widget-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.board-widget-title h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-color);
}

.board-widget-title .more-btn {
    font-size: 15px;
    color: var(--secondary-color);
    font-weight: 700;
}

.board-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 17px;
}

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

.board-list a {
    color: var(--text-dark);
    max-width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-list a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.board-list .date {
    color: #999;
    font-size: 15px;
}

/* 하단 롤링 슬라이드 공통 */
.rolling-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.rolling-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.slider-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll-left 30s linear infinite;
    gap: 30px;
}

.slider-track:hover {
    animation-play-state: paused;
}

.slide-item {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

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

.slide-item:hover img {
    transform: scale(1.08);
}

.slide-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: var(--bg-white);
    font-size: 15px;
    text-align: center;
    padding: 8px 5px;
}

/* 유관기관 로고 슬라이드 */
.logo-track {
    display: flex;
    width: max-content;
    animation: scroll-left 40s linear infinite;
    gap: 50px;
    align-items: center;
}

.logo-item {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.logo-item img {
    height: 100%;
    max-width: 180px;
    object-fit: contain;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* 푸터 */
footer {
    background: linear-gradient(to right, #4e4842 0%, #635950 50%, #766a5e 100%); /* 좌에서 우로 부드럽게 흐르는 고급 브라운 모카 그라데이션 */
    color: #f5f2eb;
    padding: 50px 20px 40px 20px;
    border-top: 5px solid var(--primary-color);
    font-size: 16px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.footer-logos img {
    max-width: 220px;
    height: auto;
    background: #ffffff;
    padding: 10px;
    border-radius: 6px;
    opacity: 0.9;
}

.footer-info h2 {
    font-family: var(--font-heading);
    color: var(--bg-white);
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    color: #b0b0b0;
    line-height: 1.8;
}

.footer-info strong {
    color: var(--bg-white);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: #b0b0b0;
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    color: #888;
    font-size: 15px;
}

/* 서브페이지 템플릿 레이아웃 */
.sub-banner {
    position: relative;
    background-image: url('../images/bg_nature_meadow.png');
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    text-align: center;
    padding: 90px 20px;
    z-index: 1;
}

.sub-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 자연 풍경 이미지와 아름답게 결합되는 좌에서 우로 흐르는 고급 샌드베이지 그라데이션 필터 적용 */
    background: linear-gradient(to right, rgba(140, 123, 108, 0.8) 0%, rgba(140, 123, 108, 0.5) 50%, rgba(209, 194, 176, 0.75) 100%);
    z-index: -1;
}

.sub-banner h1 {
    font-family: var(--font-heading);
    font-size: 38px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.sub-banner p {
    font-size: 18px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.sub-layout {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 0 20px;
}

.aside-menu {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    height: fit-content;
}

.aside-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.aside-list li {
    margin-bottom: 10px;
}

.aside-list a {
    display: block;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 17px;
    color: var(--text-dark);
}

.aside-list a:hover, .aside-list li.active a {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-weight: 500;
}

.sub-content {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.content-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* 상담신청 폼 스타일 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-light);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

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

/* 절차 단계 카드 */
.step-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.step-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
}

.step-number {
    width: 35px;
    height: 35px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px auto;
}

.step-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* 게시판 테이블 디자인 */
.board-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.board-table th, .board-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.board-table th {
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
}

.board-table td.title {
    text-align: left;
}

.board-table tr:hover td {
    background-color: rgba(43, 92, 67, 0.03);
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 4px;
    font-weight: 700;
}

.badge-notice {
    background-color: #ffebee;
    color: #c62828;
}

/* 반응형 미디어 쿼리 */
@media (max-width: 1024px) {
    .sub-layout {
        grid-template-columns: 1fr;
    }
    .aside-menu {
        display: none; /* 태블릿/모바일에서는 서브 메뉴를 별도 아코디언이나 모바일 메뉴로 대처 */
    }
    .quick-menu {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -30px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .board-grid {
        grid-template-columns: 1fr;
    }
    .step-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 17px; /* 모바일에서도 일반 사이트보다 큰 가독성 유지 */
    }
    .header-main {
        padding: 10px 15px;
    }
    .logo a {
        font-size: 22px;
    }
    .logo img {
        height: 35px;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 10px 0;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-item {
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: var(--bg-light);
        padding: 5px 0 5px 20px;
        display: block; /* 모바일에서는 하위 메뉴 상시 노출 */
    }
    .menu-toggle {
        display: flex;
    }
    .visual-banner {
        height: 350px;
    }
    .slide-content h2 {
        font-size: 28px;
    }
    .slide-content p {
        font-size: 16px;
    }
    .quick-menu {
        grid-template-columns: 1fr;
        margin-top: 20px;
        padding: 0 15px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* 카드 아래에서 위로 올라오는 스크롤 리빌 효과 스타일 */
.reveal-ready {
    opacity: 0;
    transform: translateY(60px); /* 60px 아래로 배치 */
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform, opacity;
}

.reveal-active {
    opacity: 1;
    transform: translateY(0); /* 원래 자리로 복원 */
}

/* 우측 고정 플로팅 퀵메뉴 스타일 */
.floating-quick-menu {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px; /* 원형 사이즈 축소 (90px -> 70px) */
    height: 70px;
    background: linear-gradient(135deg, #ffffff 0%, #f4eee1 100%); /* 고급스러운 연한 베이지 그라데이션 */
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    color: var(--text-dark);
    font-family: var(--font-heading); /* 홈페이지 고유 타이틀 서체(Gmarket Sans)로 통일하여 매칭 */
    font-size: 12px; /* 폰트 너비에 따른 최적 스케일 */
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 6px;
    cursor: pointer;
}

.floating-item.talk {
    background: linear-gradient(135deg, #ffeb3b 0%, #fbc02d 100%); /* 카톡 어울리는 고급 옐로우 그라데이션 */
    border-color: #fbc02d;
    color: #2b2500;
}

.floating-item:hover {
    transform: scale(1.1) translateX(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.18);
    background: linear-gradient(135deg, var(--primary-color) 0%, #a18e7d 100%);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.floating-item.talk:hover {
    background: linear-gradient(135deg, #fbc02d 0%, #f57f17 100%);
    color: #ffffff;
    border-color: #f57f17;
}

/* 모바일 해상도 대응: 하단에 가로 바 형태로 고정 고착화 */
@media (max-width: 768px) {
    .floating-quick-menu {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 0;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -4px 10px rgba(0,0,0,0.08);
        background-color: var(--bg-white);
    }
    
    .floating-item {
        flex: 1;
        width: auto;
        height: 60px;
        border-radius: 0;
        border: none;
        border-right: 1px solid #f0f0f0;
    .floating-item {
        flex: 1;
        width: auto;
        height: 60px;
        border-radius: 0;
        border: none;
        border-right: 1px solid #f0f0f0;
        box-shadow: none;
        font-size: 14px;
        padding: 5px;
    }
    
    .floating-item:last-child {
        border-right: none;
    }
    
    .floating-item:hover {
        transform: none;
        background-color: var(--bg-light);
        color: var(--text-dark);
    }
    
    /* 하단 퀵바 확보로 인한 푸터 바닥 마진 추가 */
    body {
        padding-bottom: 60px;
    }
}

/* 관리자 대시보드 탑 바 스타일 */
.admin-dashboard-bar {
    background-color: #2b2a28;
    color: #eae7e0;
    padding: 6px 15px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
    font-family: var(--font-heading);
    z-index: 10000;
    position: relative;
}

.admin-logout-btn {
    background: transparent;
    color: #c5b9ac;
    border: none;
    padding: 0;
    font-size: 12px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
    margin-left: 5px;
}

.admin-logout-btn:hover {
    color: #fff;
}

/* 관리자 모달 스타일 */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

.admin-modal-content {
    background-color: var(--bg-white);
    padding: 35px 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    border: 2px solid var(--border-color);
}

.admin-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.admin-modal-close:hover {
    color: var(--text-dark);
}

.admin-link-btn:hover {
    color: var(--secondary-color) !important;
}

