/* 추가 스타일 */

/* 새로운 헤더 스타일 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(15, 15, 30, 0.98) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

/* 로고 스타일 */
.logo {
    flex-shrink: 0;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.logo-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.logo-wrapper img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

/* 메인 네비게이션 */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    margin-left: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-gold);
    transform: translateY(-1px);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link i:first-child {
    font-size: 16px;
    color: var(--primary-gold);
}

.dropdown-icon {
    margin-left: 6px;
    font-size: 10px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* 드롭다운 메뉴 */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 250px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(15, 15, 30, 0.98) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s ease;
    z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 2px;
}

.dropdown-link:hover {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(4px);
}

.dropdown-link i {
    width: 18px;
    text-align: center;
    color: var(--primary-gold);
}

/* 모바일 메뉴 토글 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
    background: var(--primary-gold);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-wrapper {
        padding: 6px 12px;
        gap: 8px;
    }
    
    .logo-wrapper img {
        width: 32px;
        height: 32px;
    }
    
    .logo-text {
        font-size: 18px;
    }
}

/* 보조 네비게이션 스타일 */
.secondary-nav {
    background: var(--darker-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 0;
    font-size: 1rem;
    margin-top: 70px; /* 헤더 높이만큼 margin 추가 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
}

.secondary-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.secondary-menu {
    display: flex;
    list-style: none;
    justify-content: center; /* 중앙 정렬로 변경 */
    gap: 2rem;
}

.secondary-menu a {
    color: var(--text-light); /* 더 밝은 색상으로 변경 */
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    font-weight: 500;
    padding: 0.3rem 0;
}

.secondary-menu a:hover {
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.secondary-menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.secondary-menu a:hover::after {
    width: 100%;
}

/* 메인 콘텐츠 스타일 수정 */
.main-content {
    padding-top: 80px; /* 헤더 높이에 맞게 패딩 조정 */
}

/* 페이지 콘텐츠 스타일 */
.page-banner {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-subtitle {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* 개인정보 처리방침 스타일 */
.policy-container, .terms-container {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.last-updated {
    color: var(--text-gray);
    text-align: right;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.policy-section, .terms-section {
    margin-bottom: 2.5rem;
}

.policy-section h3, .terms-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.policy-list, .terms-list {
    margin-left: 1.5rem;
    margin-top: 1rem;
    color: var(--text-gray);
}

.policy-list li, .terms-list li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--darker-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.terms-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* 문의하기 페이지 스타일 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-methods {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.method-details h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.method-details p {
    color: var(--text-gray);
    margin-bottom: 0.3rem;
}

.contact-form {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--darker-bg);
    color: var(--text-light);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
}

.required {
    color: var(--danger-red);
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.faq-preview {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.faq-preview h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-align: center;
}

.faq-preview p {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.faq-item p {
    color: var(--text-gray);
    text-align: left;
    margin-bottom: 0;
}

.faq-item a {
    color: var(--primary-gold);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* 히어로 섹션 추가 스타일 */
.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    text-align: center;
}

.hero-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 1rem auto;
}

.hero-description {
    margin: 1.5rem 0;
    color: var(--text-gray);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: center;
}

.hero-description p {
    margin-bottom: 1.2rem;
    text-align: center;
    font-size: 1.05rem;
}

.hero-description strong {
    color: var(--primary-gold);
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    width: 100%;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    border-radius: 10px;
    padding: 1rem;
    min-width: 120px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    width: 100%;
}

/* 회사 소개 페이지 스타일 */
.about-us-section .section-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-image {
    text-align: center;
    margin-bottom: 2rem;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

.about-text h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 2rem 0;
    gap: 1rem;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--text-gray);
}

.about-features {
    list-style: none;
    margin-top: 1.5rem;
}

.about-features li {
    margin-bottom: 0.8rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-features i {
    color: var(--primary-gold);
}

/* 추천 사이트 섹션 스타일 */
.section {
    padding: 60px 0;
}

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

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

.section-title {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 40px;
}

.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* 추천 사이트 섹션 배경 */
.recommended-sites {
    background: var(--darker-bg);
}

.site-action-buttons {
    display: flex; 
    gap: 10px; 
    margin-top: 15px;
}

.site-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.site-btn-primary {
    background-color: #2563eb;
    color: white;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
}

.site-btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(37, 99, 235, 0.3);
}

.site-btn-secondary {
    background-color: #f59e0b;
    color: white;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.25);
}

.site-btn-secondary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(245, 158, 11, 0.3);
}

.site-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.site-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-gold);
}

.site-header {
    height: 300px;
    overflow: hidden;
    background-color: #f8f9fa;
    position: relative;
}

.site-header img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-content {
    padding: 1.5rem;
}

.site-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.site-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.site-features i {
    color: var(--success-green);
}

.site-bonus {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.site-name {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.site-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stars {
    color: #ffd700;
    font-size: 1.1rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .secondary-menu {
        justify-content: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .policy-container, .terms-container {
        padding: 1.5rem;
    }
    
    .about-image img {
        max-width: 100%;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
