/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 네비게이션 */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-image {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: contain;
}

.nav-logo h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* 히어로 섹션 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.4;
    word-wrap: break-word;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
    word-wrap: break-word;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: center;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: #ffd700;
    color: #333;
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

/* 스토어 버튼 스타일 */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.store-btn i {
    font-size: 1.2rem;
}

.store-btn:hover {
    text-decoration: none;
}

.video-container {
    position: relative;
    width: 120%;
    height: 0;
    padding-bottom: 67.5%; /* 56.25% * 1.2 */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-left: -10%; /* 중앙 정렬을 위해 왼쪽으로 이동 */
}

.video-container:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: 3px solid rgba(255,255,255,0.2);
}

/* 섹션 공통 스타일 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

/* 서비스 소개 섹션 */
.service-intro {
    padding: 80px 0;
    background: white;
}

.service-grid {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0.5rem;
}

.service-card {
    min-width: 250px;
    max-width: 270px;
    flex-shrink: 0;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(102, 126, 234, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-button:hover {
    background: rgba(102, 126, 234, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-button:disabled {
    background: rgba(102, 126, 234, 0.3);
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}



.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    cursor: pointer;
}

.service-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.passport-icon {
    width: 110px;
    height: 198px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.passport-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #333;
    line-height: 1.3;
}

.service-card p {
    color: #666;
    line-height: 1.4;
    font-size: 0.9rem;
    word-wrap: break-word;
    hyphens: auto;
}

/* 인증 스탬프 카운트 스타일 */
.stamp-count {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stamp-count::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.stamp-count:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.stamp-count:hover::before {
    left: 100%;
}

/* 이용방법 섹션 */
.how-to {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.how-to-grid {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.how-to-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.how-to-item {
    min-width: 400px;
    max-width: 400px;
    flex-shrink: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.how-to-slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(102, 126, 234, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.how-to-slider-button:hover {
    background: rgba(102, 126, 234, 1);
    transform: translateY(-50%) scale(1.1);
}

.how-to-slider-button:disabled {
    background: rgba(102, 126, 234, 0.3);
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.how-to-slider-button.prev {
    left: 10px;
}

.how-to-slider-button.next {
    right: 10px;
}

.how-to-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.how-to-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.how-to-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.how-to-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.how-to-item:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    background: rgba(255,255,255,0.9);
    color: #667eea;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.how-to-content {
    padding: 2rem;
}

.how-to-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.how-to-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.how-to-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.feature-tag:hover {
    transform: scale(1.05);
}

/* 특징 섹션 */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-item:hover::before {
    width: 8px;
}

.feature-icon {
    font-size: 2.5rem;
    color: #667eea;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.feature-content p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* FAQ 섹션 */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* 문의하기 섹션 */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: #667eea;
    font-size: 1.2rem;
    width: 20px;
}

/* 다운로드 섹션 및 버튼 스타일 */
.download-section {
    margin-top: 15px;
    margin-left: 40px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.download-btn i {
    font-size: 1.1rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* 모든트랙 버튼 스타일 */
.everytrack-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* 관련 사이트 제목 스타일 */
.footer-section h4 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.everytrack-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.everytrack-btn i {
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 민원접수 페이지 스타일 */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.complaint-table-section {
    padding: 60px 0;
    background: white;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.complaint-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.complaint-table th,
.complaint-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.complaint-table th {
    background: #667eea;
    color: white;
    font-weight: 600;
}

.complaint-table tr:hover {
    background: #f8f9fa;
}

.complaint-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.complaint-link:hover {
    text-decoration: underline;
}

.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status.completed {
    background: #d4edda;
    color: #155724;
}

.status.processing {
    background: #fff3cd;
    color: #856404;
}

.status.pending {
    background: #f8d7da;
    color: #721c24;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-decoration: none;
    color: #667eea;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.complaint-form-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 폼 입력창 가로 확대 */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group small {
    color: #666;
    font-size: 0.9rem;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.complaint-guide {
    padding: 60px 0;
    background: white;
}

.complaint-guide h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guide-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f8f9fa;
}

.guide-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.guide-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.guide-item p {
    color: #666;
    line-height: 1.6;
}

/* 탭 인터페이스 스타일 */
.tab-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.tab-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    flex: 1;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-button.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffd700;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffd700;
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 탭 내부 섹션 스타일 조정 */
.tab-content .complaint-table-section,
.tab-content .complaint-form-section {
    padding: 0;
    background: none;
    box-shadow: none;
}

.tab-content .section-title {
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
    font-size: 1.8rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #667eea;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .logo-image {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* 모바일에서 영상 크기 조정 */
    .video-container {
        width: 100%;
        padding-bottom: 56.25%;
        margin-left: 0;
    }
    
    /* 모바일에서 서비스 이용방법 조정 */
    .how-to-grid {
        padding: 0 40px;
    }
    
    .how-to-item {
        min-width: 300px;
        max-width: 300px;
    }
    
    .how-to-slider-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .how-to-content {
        padding: 1.5rem;
    }
    
    .how-to-content h3 {
        font-size: 1.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-grid,
    .steps-container,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .complaint-table {
        font-size: 0.9rem;
    }
    
    .complaint-table th,
    .complaint-table td {
        padding: 10px;
    }
    
    .logo-image {
        width: 25px;
        height: 25px;
        margin-right: 6px;
    }
    
    .nav-logo h2 {
        font-size: 1rem;
    }
} 

/* 반응형 탭 디자인 */
@media (max-width: 768px) {
    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .tab-content .section-title {
        font-size: 1.5rem;
    }
    
    /* 모바일 폼 입력창 최적화 */
    .form-container {
        max-width: 100%;
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        min-height: 50px;
        padding: 14px 18px;
        font-size: 16px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        box-sizing: border-box;
    }
    
    .form-group textarea {
        min-height: 140px;
        resize: vertical;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        font-weight: 600;
        display: block;
    }
    
    .form-group small {
        font-size: 0.85rem;
        margin-top: 0.5rem;
        display: block;
        line-height: 1.4;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .form-buttons button {
        width: 100%;
        padding: 16px 24px;
        font-size: 1.1rem;
        font-weight: 600;
        min-height: 54px;
    }
    
    /* 모바일 카드 형태 테이블 */
    .complaint-table {
        display: none; /* 데스크톱 테이블 숨김 */
    }
    
    .complaint-table thead {
        display: none; /* 테이블 헤더 숨김 */
    }
    
    /* 카드 컨테이너 */
    .mobile-cards-container {
        display: block;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    /* 개별 카드 */
    .complaint-card {
        background: white;
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border: 1px solid #e9ecef;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .complaint-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    /* 카드 헤더 */
    .card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        padding-bottom: 0.8rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .card-number {
        background: #667eea;
        color: white;
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .card-status {
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
    }
    
    .card-status.completed {
        background: #d4edda;
        color: #155724;
    }
    
    .card-status.processing {
        background: #fff3cd;
        color: #856404;
    }
    
    .card-status.pending {
        background: #f8d7da;
        color: #721c24;
    }
    
    /* 카드 제목 */
    .card-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }
    
    .card-title a {
        color: #667eea;
        text-decoration: none;
    }
    
    .card-title a:hover {
        text-decoration: underline;
    }
    
    /* 카드 정보 */
    .card-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .card-info-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.9rem;
    }
    
    .card-info-label {
        color: #666;
        font-weight: 500;
        min-width: 60px;
    }
    
    .card-info-value {
        color: #333;
        font-weight: 400;
        text-align: right;
        flex: 1;
    }
    
    /* 카드 푸터 */
    .card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.8rem;
        border-top: 1px solid #f0f0f0;
        font-size: 0.85rem;
        color: #666;
    }
    
    .card-date {
        display: flex;
        gap: 1rem;
    }
    
    .date-item {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }
    
    .date-item i {
        font-size: 0.8rem;
        color: #999;
    }
    
    /* 모바일 카드 상세내역 */
    .card-detail {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #f0f0f0;
    }
    
    .card-detail .detail-section {
        margin-bottom: 1rem;
    }
    
    .card-detail .detail-section:last-child {
        margin-bottom: 0;
    }
    
    .card-detail .detail-section h4 {
        color: #667eea;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .card-detail .detail-section p {
        line-height: 1.5;
        color: #333;
        margin: 0;
        font-size: 0.9rem;
    }
    
    /* 확장된 카드 스타일 */
    .complaint-card.expanded {
        background: #f8f9fa;
        border-color: #667eea;
    }
}

/* 데스크톱에서는 카드 숨김 */
@media (min-width: 769px) {
    .mobile-cards-container {
        display: none;
    }
}

/* 그림으로 보기 버튼 스타일 */
.how-to-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.how-to-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #333;
    font-weight: 600;
}

.view-picture-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.view-picture-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.view-picture-btn i {
    font-size: 0.8rem;
}

/* 그림 모달 스타일 */
.picture-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .how-to-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .view-picture-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

/* 작은 모바일 화면 추가 최적화 */
@media (max-width: 480px) {
    .form-container {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 54px;
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .form-group textarea {
        min-height: 160px;
    }
    
    .form-group label {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .form-group small {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .form-buttons button {
        padding: 18px 24px;
        font-size: 1.2rem;
        min-height: 58px;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
} 