/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;
    --secondary-color: #1a1a1a;
    --accent-color: #f5f5f5;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --dark-gray: #666;
    --gold-gradient: linear-gradient(135deg, #d4af37, #ffd700);
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    transition: padding 0.4s ease-in-out;
}

.navbar.scrolled .nav-container {
    padding: 1rem 2rem;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 1px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* 히어로 섹션 */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

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

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

.slide.active {
    opacity: 1;
}

.hero-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-align-right .hero-content-wrapper {
    justify-content: flex-end;
}

.slide-align-left .hero-content-wrapper {
    justify-content: flex-start;
}

.slide-align-right .hero-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 40%;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.slide-align-left .hero-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 40%;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 0 8%;
}

.slide-align-right .hero-content {
    text-align: right;
    width: 60%;
}

.slide-align-left .hero-content {
    text-align: left;
    width: 60%;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    display: flex;
    justify-content: center;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gold-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

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

.btn-secondary:hover {
    background: white;
    color: var(--text-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.hero-images {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.hero-image-item {
    width: 150px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 환영 섹션 */
.welcome-section {
    position: relative;
    padding: 5rem 0;
    background: var(--light-gray);
}

.welcome-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}

.welcome-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
}

.welcome-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.welcome-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.welcome-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 통계 섹션 */
.stats-section {
    padding: 5rem 0;
    background: var(--secondary-color);
    color: white;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* 섹션 제목 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
}

/* 이유 섹션 */
.why-choose-section {
    padding: 5rem 0;
    background: white;
}

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

.reason-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-10px);
}

.reason-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.reason-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* 서비스 섹션 */
.services-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.service-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* 변호사 섹션 */
.lawyers-section {
    padding: 5rem 0;
    background: white;
}

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

.lawyer-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.lawyer-image {
    width: 200px;
    height: 250px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

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

.lawyer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.lawyer-position {
    font-weight: bold;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.lawyer-specialty {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* 사례 섹션 */
.cases-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.case-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.case-before, .case-process, .case-after {
    margin-bottom: 1rem;
}

.case-before img, .case-process img, .case-after img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.case-before h4, .case-process h4, .case-after h4 {
    text-align: center;
    color: var(--primary-color);
}

.case-description h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 후기 섹션 */
.reviews-section {
    padding: 5rem 0;
    background: var(--secondary-color);
    overflow: hidden; /* 슬라이더가 넘치는 것을 방지 */
}

.reviews-section .section-title {
    color: white;
}

.reviews-scroller {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

.reviews-track {
    display: flex;
    width: fit-content;
    animation: scroll 40s linear infinite;
}

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

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.review-item {
    flex-shrink: 0;
    width: 400px;
    margin: 0 20px;
    padding: 2.5rem;
    background: #2a2a2a;
    border-radius: 15px;
    border: 1px solid #444;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.review-item::before {
    content: '\201C'; /* 큰따옴표 */
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.review-text {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.review-author {
    text-align: right;
}

.review-author h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-author span {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* 패키지 섹션 */
.packages-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.package-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.package-item:hover {
    transform: translateY(-10px);
}

.package-item.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.package-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.package-content {
    padding: 2rem;
    text-align: center;
}

.package-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.package-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.package-features li:last-child {
    border-bottom: none;
}

/* FAQ 섹션 */
.faq-section {
    padding: 5rem 0;
    background: white;
}

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

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.faq-answer p {
    padding: 0 1rem 1.5rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* 답변 길이에 따라 조절 */
    padding-bottom: 1.5rem;
}

/* 자격증 섹션 */
.credentials-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.credential-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.credential-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.credential-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 스토리 섹션 */
.story-section {
    padding: 5rem 0;
    background: var(--secondary-color);
    color: white;
}

.story-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    max-width: 1400PX;
    margin: 0 auto;
}

.story-item:nth-child(even) {
    flex-direction: row-reverse;
}

.story-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.story-content {
    flex: 1;
}

.story-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.story-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* 연락처 섹션 */
.contact-section {
    padding: 5rem 0;
    background: white;
}

.contact-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.step-item:hover .step-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.step-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    width: 100%;
    resize: vertical;
    margin-bottom: 1rem;
}

.form-button-wrapper {
    text-align: center;
    margin-top: 1rem;
}

/* 플로팅 버튼 */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.floating-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 10px;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.floating-item:hover {
    background: var(--light-gray);
}

.floating-item i {
    color: var(--primary-color);
}

/* 푸터 */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.footer-section ul {
    list-style: none;
}

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

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

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    opacity: 0.8;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 20px;
    }

    section {
        padding: 3rem 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        justify-content: center;
        background-color: white;
        width: 80%;
        height: 100vh;
        text-align: center;
        transition: 0.4s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reasons-grid,
    .services-grid,
    .lawyers-grid,
    .cases-grid,
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .story-item {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
    }

    .story-item:nth-child(even) {
        flex-direction: column !important;
    }

    .contact-steps {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .step-item {
        flex-basis: 33.33%;
        margin-bottom: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .slide-align-right .hero-content-wrapper::before {
        left: 10%;
        clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
    }

    .slide-align-left .hero-content-wrapper::before {
        right: 10%;
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    }

    .slide-align-right .hero-content,
    .slide-align-left .hero-content {
        width: 80%;
        padding: 0 10%;
        text-align: center;
    }

    .slide-align-right .hero-content-wrapper,
    .slide-align-left .hero-content-wrapper {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    section {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

    .review-item {
        width: 300px;
        padding: 2rem;
        margin: 0 15px;
    }

    .floating-contact {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .contact-steps {
        gap: 1rem;
    }

    .step-item {
        flex-basis: 45%;
    }

    .faq-question {
        font-size: 1rem;
    }
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* 스크롤바 커스터마이징 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}

/* 로딩 애니메이션 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 호버 효과 강화 */
.service-item:hover,
.reason-item:hover,
.lawyer-item:hover,
.credential-item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* 골드 글로우 효과 */
.gold-glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* 패럴랙스 효과를 위한 추가 스타일 */
.parallax-container {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 1px;
}

.parallax-element {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.parallax-back {
    transform: translateZ(-1px) scale(2);
}

.parallax-base {
    transform: translateZ(0);
}
