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

:root {
    --primary-color: #3498db;
    --primary-hover: #2980b9;
    --text-color: #2c3e50;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 6px 16px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --naver-color: #03C75A;
    --naver-hover: #02B351;
    --kakao-color: #FEE500;
    --kakao-hover: #FDD835;
}

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

/* 헤더 스타일 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    margin: 0 auto;
    background: white;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: 60px;
}

.logo img {
    height: 100%;
    width: auto;
}

.logo a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo a:hover {
    color: inherit;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    gap: 2.5rem;
    flex: 1;
    margin: 0 16rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: #1a1a1a;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #333;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active::after {
    width: 100%;
}

/* 햄버거 메뉴 스타일 */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 메인 콘텐츠 스타일 */
main {
    margin-top: 80px;
}

section {
    padding: 4rem 2rem;
}

h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 600;
}

/* 히어로 섹션 */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-image {
        content: url('../images/hero-mobile.png');
    }
}

/* 서비스 섹션 */
.services {
    padding: 4rem 2rem;
    background: #fff;
}

.services h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.swiper {
    width: 100%;
    padding: 2rem 0;
    overflow: visible;
}

.swiper-slide {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: auto;
    min-height: 12rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.swiper-slide h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.swiper-slide p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Swiper 페이지네이션 */
.swiper-pagination {
    position: relative;
    margin-top: 2.5rem;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #e0e0e0;
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* 정보 섹션 */
.info-section {
    background: var(--bg-light);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

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

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 연락처 섹션 */
.contact-section {
    background: var(--bg-light);
}

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

.map-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-details,
.map-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-details {
    justify-content: space-between;
}

.map-container {
    min-height: 400px;
    padding: 0;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.contact-details h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* 연락처 정보 내 전화번호 링크 스타일 */
.contact-details p a[href^="tel:"] {
    color: var(--text-light); /* 기본 텍스트 색상과 동일하게 */
    text-decoration: none; /* 밑줄 제거 */
    transition: color var(--transition); /* 색상 변경 시 부드러운 전환 */
}

.contact-details p a[href^="tel:"]:hover {
    color: var(--primary-color); /* 호버 시 기본 링크 색상 */
    text-decoration: underline; /* 호버 시 밑줄 표시 */
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-buttons a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    white-space: nowrap;
    font-weight: 500;
    margin: 0;
}

.map-button {
    background: var(--naver-color);
    color: white;
}

.kakao-button {
    background: var(--kakao-color);
    color: #000000;
}

.map-button:hover {
    background: var(--naver-hover);
    color: white;
}

.kakao-button:hover {
    background: var(--kakao-hover);
    color: #000000;
}

.contact-buttons i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.qr-code {
    margin-top: 2rem;
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.qr-code img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.qr-code h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.qr-code p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .map-info {
        gap: 2rem;
    }
    .map-container,
    .contact-info {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 1.5rem;
    }

    .services {
        padding: 3rem 1.5rem;
    }

    .swiper-slide {
        padding: 2rem 1.5rem;
    }

    .swiper-slide h3 {
        font-size: 1.2rem;
    }

    .swiper-slide p {
        font-size: 0.9rem;
    }

    .map-info {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-button {
        padding: 1rem 1.5rem;
    }

    nav {
        padding: 1rem;
        margin: 0;
        width: 100%;
    }

    .logo {
        font-size: 1.5rem;
        flex: none;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }

    .nav-links a {
        font-size: 18px;
        padding: 0.5rem 1rem;
        display: block;
    }

    .nav-links a:hover {
        background-color: rgba(52, 152, 219, 0.1);
    }

    /* 햄버거 메뉴 활성화 시 애니메이션 */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }

    .info-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .swiper-pagination {
        margin-top: 2rem;
    }

    .swiper-pagination-bullet-active {
        width: 24px;
    }

    .contact-section {
        padding: 3rem 1.5rem;
    }

    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2rem 1rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .services {
        padding: 2rem 1rem;
    }

    .services h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .swiper-slide {
        padding: 1.5rem 1rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .contact-section {
        padding: 2.5rem 1rem;
    }

    .map-container,
    .contact-info {
        padding: 1.5rem;
    }
} 