/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: none;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.logo .logo-color {
    display: none;
}

.logo .logo-white {
    display: block;
}

.header.scrolled .logo .logo-color {
    display: block;
}

.header.scrolled .logo .logo-white {
    display: none;
}

.main-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav .nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.header.scrolled .main-nav .nav-menu li a {
    color: #333;
}

.main-nav .nav-menu li a:hover {
    color: #3a7bdd;
}

.main-nav .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3a7bdd;
    transition: width 0.3s ease;
}

.main-nav .nav-menu li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.header.scrolled .mobile-menu-toggle span {
    background: #333;
}

.mobile-menu-toggle strong {
    font-size: 12px;
    margin-top: 5px;
    color: #333;
    transition: color 0.3s ease;
}

.header.scrolled .mobile-menu-toggle strong {
    color: #333;
}

/* LayerSlider Hero Section */
.avia-layerslider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.ls-wp-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ls-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.ls-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ls-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 3;
    pointer-events: none;
}

.ls-l {
    position: absolute;
    z-index: 10;
}

.ls-media-layer {
    z-index: 2;
}

.ls-media-layer video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ls-text-layer {
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-family: 'Noto Sans KR', sans-serif;
}

.ls-button-layer {
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    background: transparent;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.ls-button-layer:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ls-button-layer i {
    color: #fff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    40% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
    60% {
        transform: translate(-50%, -50%) translateY(-5px);
    }
}

/* Responsive adjustments for LayerSlider */
@media (max-width: 768px) {
    .ls-text-layer {
        white-space: normal;
        max-width: 90%;
    }
    
    .ls-text-layer[style*="font-size:25px"] {
        font-size: 20px !important;
    }
    
    .ls-text-layer[style*="font-size:40px"] {
        font-size: 28px !important;
        line-height: 1.4 !important;
    }
    
    .ls-text-layer[style*="font-size:18px"] {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .ls-text-layer[style*="font-size:25px"] {
        font-size: 18px !important;
    }
    
    .ls-text-layer[style*="font-size:40px"] {
        font-size: 24px !important;
    }
    
    .ls-text-layer[style*="font-size:18px"] {
        font-size: 14px !important;
    }
}

/* Business Section */
.business-section {
    padding: 100px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 40px;
    font-weight: bold;
    color: #282524;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 24px;
    color: #666;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: #3a7bdd;
    margin: 0 auto;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.business-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.business-item:nth-child(1) { animation-delay: 0.1s; }
.business-item:nth-child(2) { animation-delay: 0.2s; }
.business-item:nth-child(3) { animation-delay: 0.3s; }
.business-item:nth-child(4) { animation-delay: 0.4s; }
.business-item:nth-child(5) { animation-delay: 0.5s; }

.business-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.business-item h4 {
    font-size: 19px;
    font-weight: bold;
    color: #282524;
    margin-bottom: 20px;
}

.business-divider {
    width: 30px;
    height: 1px;
    background: #ddd;
    margin: 0 auto 15px;
}

.business-subtitle {
    font-size: 14px;
    color: #282524;
    margin-bottom: 25px;
}

.business-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #3a7bdd;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.business-btn:hover {
    background: #2a5bb3;
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
}

.feature-item h4 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.feature-item p {
    font-size: 19px;
    color: #000;
    line-height: 1.6;
    letter-spacing: -1px;
}

/* Members Section */
.members-section {
    position: relative;
    padding: 120px 0;
    background-image: url('images/gradient-2.png'), linear-gradient(135deg, #2c3e50 0%, #3a7bdd 100%);
    background-size: cover, cover;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    color: white;
}

.members-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.members-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    align-items: center;
}

.members-text h2 {
    font-size: 45px;
    font-weight: bold;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.members-text p {
    font-size: 19px;
    line-height: 1.6;
    letter-spacing: -1px;
    margin-bottom: 40px;
}

.members-divider {
    width: 80px;
    height: 3px;
    background: white;
    margin-bottom: 40px;
}

.btn-more {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background: white;
    color: #3a7bdd;
}

.members-profiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.profile-item {
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-item:hover {
    transform: translateY(-10px);
}

.profile-image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.profile-image img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.profile-item:hover .profile-image img {
    transform: scale(1.05);
}

.profile-info h4 {
    font-size: 21px;
    font-weight: bold;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.profile-field {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.profile-areas {
    font-size: 15px;
    letter-spacing: -1px;
    opacity: 0.9;
}

/* Cases Section */
.cases-section {
    padding: 100px 0;
    background-image: url('images/gradient-2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    position: relative;
}

.cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.3);
    z-index: 1;
}

.cases-section .container {
    position: relative;
    z-index: 2;
}

.section-description {
    font-size: 19px;
    color: #282524;
    line-height: 1.6;
    text-align: center;
    letter-spacing: -1px;
    margin-top: 20px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 80px 0 60px;
}

.case-item {
    background: white;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.case-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.case-item::after {
    content: '자세히 보기 →';
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 12px;
    color: #3a7bdd;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-item:hover::after {
    opacity: 1;
}

.case-result {
    display: inline-block;
    font-size: 17px;
    font-weight: bold;
    color: #3a7bdd;
    text-decoration: underline;
    margin-bottom: 15px;
}

.case-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    color: #333;
    border: none;
    padding: 0;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.case-description {
    font-size: 14px;
    letter-spacing: -0.5px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.case-lawyers {
    display: flex;
    gap: 5px;
    margin-top: auto;
}

.case-lawyers img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.cases-more {
    text-align: center;
}

.btn-cases {
    display: inline-block;
    padding: 15px 40px;
    background: #3a7bdd;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-cases:hover {
    background: #2a5bb3;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #3a7bdd 100%);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    font-size: 35px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.contact-item p {
    font-size: 19px;
    line-height: 1.6;
    letter-spacing: -1px;
    margin-bottom: 40px;
}

.btn-contact,
.btn-office {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact:hover,
.btn-office:hover {
    background: white;
    color: #3a7bdd;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #e0e0e0;
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
}

.footer-logo img {
    width: 180px;
    height: auto;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
    /* 로고를 흰색으로 변환 */
}

.footer-info {
    margin-bottom: 30px;
}

.footer-info p {
    font-size: 13px;
    letter-spacing: -0.5px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3a7bdd;
}

.office-info h4 {
    font-size: 13px;
    letter-spacing: -1px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
}

.office-info h4:first-child {
    margin-top: 0;
}

.office-info p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-label {
    font-size: 17px;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.contact-phone {
    font-size: 35px;
    color: #3a7bdd;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-hours-label {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-hours {
    font-size: 14px;
    line-height: 1.6;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3a7bdd;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #2a5bb3;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Mobile Menu Styles */
.main-nav .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 20px;
    z-index: 1000;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Loading Animation */
body:not(.loaded) {
    overflow: hidden;
}

body:not(.loaded)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form Error Styles */
.error {
    border-color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.1) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .business-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .business-item:nth-child(4),
    .business-item:nth-child(5) {
        grid-column: span 1;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .members-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .members-profiles {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .main-nav .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .members-profiles {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .contact-item h3 {
        font-size: 28px;
    }
    
    .members-text h2 {
        font-size: 36px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .case-item {
        padding: 20px;
    }
    
    .members-text h2 {
        font-size: 30px;
    }
    
    .contact-item h3 {
        font-size: 24px;
        line-height: 1.4;
    }
    
    .contact-item p {
        font-size: 16px;
    }
    
    .business-item {
        padding: 30px 15px;
    }
    
    .feature-item {
        padding: 30px 15px;
    }
    
    .feature-item p {
        font-size: 16px;
    }
    
    .profile-info h4 {
        font-size: 18px;
    }
    
    .profile-field {
        font-size: 14px;
    }
    
    .profile-areas {
        font-size: 13px;
    }
    
    .case-title {
        font-size: 15px;
        height: 42px;
        line-height: 1.4;
    }
    
    .case-description {
        font-size: 13px;
        height: 42px;
        line-height: 1.6;
    }
    
    .footer-info p {
        font-size: 12px;
    }
    
    .office-info p {
        font-size: 11px;
    }
    
    .contact-phone {
        font-size: 28px;
    }
    
    .contact-hours {
        font-size: 12px;
    }
}

/* Floating Banner Styles */
.floating-banner {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: right 0.4s ease;
}

.floating-banner.panel-open {
    right: 500px;
}

.floating-btn {
    background: #000000;
    color: #FFD700;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
    min-width: 80px;
    width: 80px;
    height: 70px;
    border: 2px solid #FFD700;
    text-align: center;
}

.floating-btn:hover {
    background: #333333;
    transform: translateX(-5px);
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.4);
    color: #FFFF00;
}

/* 텔레그램 버튼만 파란색으로 */
.floating-btn#kakaoConsultBtn {
    color: #0088cc;
    border-color: #0088cc;
}

.floating-btn#kakaoConsultBtn:hover {
    color: #00aaff;
}

.floating-btn i {
    font-size: 24px;
}

.floating-btn span {
    white-space: nowrap;
}

/* Slide Panel Styles */
.slide-panel {
    position: fixed;
    top: 50%;
    right: -500px;
    transform: translateY(-50%);
    width: 480px;
    max-height: 85vh;
    background: #000000;
    z-index: 10000;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 12px 0 0 12px;
    border: 2px solid #FFD700;
    overflow: hidden;
}

/* 텔레그램 패널만 파란색 테두리 */
.slide-panel#kakaoConsultPanel {
    border-color: #0088cc;
}

.slide-panel.active {
    right: 0;
}

.panel-header {
    background: #FFD700;
    color: #000000;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #FFD700;
}

/* 텔레그램 패널 헤더만 파란색 */
.slide-panel#kakaoConsultPanel .panel-header {
    background: #0088cc;
    color: #FFFFFF;
    border-bottom-color: #0088cc;
}

.panel-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.panel-close {
    background: none;
    border: none;
    color: #000000;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    font-weight: bold;
}

.panel-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* 텔레그램 패널의 닫기 버튼만 흰색 */
.slide-panel#kakaoConsultPanel .panel-close {
    color: #FFFFFF;
}

.slide-panel#kakaoConsultPanel .panel-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.panel-content {
    padding: 25px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
}

.panel-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.phone-number {
    text-align: center;
    background: #333333;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #FFD700;
    color: #FFFFFF;
}

.phone-number strong {
    font-size: 20px;
    color: #FFD700;
    font-weight: 700;
}

/* Form Styles */
.consult-form,
.cost-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consult-form input,
.consult-form textarea,
.cost-form input,
.cost-form textarea {
    padding: 12px 15px;
    border: 2px solid #FFD700;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #FFFFFF;
    color: #000000;
}

.consult-form input:focus,
.consult-form textarea:focus,
.cost-form input:focus,
.cost-form textarea:focus {
    outline: none;
    border-color: #FFFF00;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* 텔레그램 패널의 입력 필드만 파란색 */
.slide-panel#kakaoConsultPanel input,
.slide-panel#kakaoConsultPanel textarea {
    border-color: #0088cc;
}

.slide-panel#kakaoConsultPanel input:focus,
.slide-panel#kakaoConsultPanel textarea:focus {
    border-color: #00aaff;
    box-shadow: 0 0 5px rgba(0, 136, 204, 0.3);
}

.service-selection {
    margin-bottom: 15px;
}

.service-selection h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #FFD700;
}

.service-selection p {
    font-size: 12px;
    color: #CCCCCC;
    margin-bottom: 10px;
}

.service-selection label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
}

.service-selection input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.privacy-check {
    font-size: 12px;
    color: #CCCCCC;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.privacy-check input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
}

.privacy-check a {
    color: #FFD700;
    text-decoration: none;
}

.privacy-check a:hover {
    text-decoration: underline;
    color: #FFFF00;
}

.submit-btn {
    background: #FFD700;
    color: #000000;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #FFD700;
}

.submit-btn:hover {
    background: #FFFF00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Consult Hours */
.consult-hours {
    background: #333333;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #FFD700;
}

.consult-hours h4,
.consult-hours h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFD700;
}

.consult-hours ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.consult-hours li {
    font-size: 14px;
    margin-bottom: 5px;
    color: #FFFFFF;
}

.consult-hours p {
    font-size: 12px;
    color: #CCCCCC;
    margin: 0;
}

/* Telegram Button */
.telegram-btn {
    display: block;
    background: #0088cc;
    color: #FFFFFF;
    text-decoration: none;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: 20px;
    border: 2px solid #0088cc;
}

.telegram-btn:hover {
    background: #006699;
    border-color: #006699;
}

/* Phone Info */
.phone-info {
    text-align: center;
}

.phone-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFD700;
}

.main-phone {
    font-size: 28px;
    font-weight: 700;
    color: #FFD700;
    margin: 20px 0;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFD700;
    color: #000000;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    border: 2px solid #FFD700;
}

.call-btn:hover {
    background: #FFFF00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Panel Overlay */
.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        background: #000000;
        border-top: 2px solid #FFD700;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 12px 0;
        gap: 0;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .floating-banner.panel-open {
        bottom: 0;
        transform: none;
    }
    
    .floating-btn {
        padding: 12px 8px;
        font-size: 12px;
        min-width: auto;
        width: auto;
        height: auto;
        flex: 1;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    
    .floating-btn:hover {
        background: rgba(255, 215, 0, 0.1);
        transform: none;
        box-shadow: none;
    }
    
    .floating-btn i {
        font-size: 26px;
        margin-bottom: 4px;
    }
    
    .slide-panel {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.8);
        width: 95%;
        max-width: 450px;
        max-height: 85vh;
        right: auto;
        border-radius: 12px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        background: #000000;
        border: 2px solid #FFD700;
    }
    
    /* 모바일에서도 텔레그램 패널만 파란색 */
    .slide-panel#kakaoConsultPanel {
        border-color: #0088cc;
    }
    
    .slide-panel.active {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        visibility: visible;
        right: auto;
    }
    
    .panel-content {
        padding: 20px;
        max-height: calc(85vh - 80px);
    }
    
    .main-phone {
        font-size: 24px;
    }
    
    /* Add padding to body to prevent content from being hidden behind bottom nav */
    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .floating-btn {
        padding: 10px 6px;
        font-size: 11px;
        width: auto;
        height: auto;
        min-width: auto;
    }
    
    .floating-btn i {
        font-size: 24px;
        margin-bottom: 3px;
    }
    
    .floating-banner {
        padding: 10px 0;
    }
    
    /* Adjust body padding for smaller screens */
    body {
        padding-bottom: 75px;
    }
}

/* Under Construction Page Styles */
.under-construction-section {
    padding: 150px 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.construction-content {
    max-width: 600px;
    margin: 0 auto;
}

.construction-icon {
    margin-bottom: 30px;
}

.construction-icon i {
    font-size: 80px;
    color: #FFD700;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.construction-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.construction-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.construction-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-contact-alt,
.btn-home {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact-alt {
    background: #3a7bdd;
    color: white;
    border: 2px solid #3a7bdd;
}

.btn-contact-alt:hover {
    background: #2a5bb3;
    transform: translateY(-2px);
}

.btn-home {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn-home:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* Mobile responsive for construction page */
@media (max-width: 768px) {
    .under-construction-section {
        padding: 100px 0;
    }
    
    .construction-icon i {
        font-size: 60px;
    }
    
    .construction-title {
        font-size: 36px;
    }
    
    .construction-description {
        font-size: 16px;
    }
    
    .construction-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-contact-alt,
    .btn-home {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .construction-title {
        font-size: 28px;
    }
    
    .construction-icon i {
        font-size: 50px;
    }
}