/* 폰트 설정 */
@font-face {
    font-family: 'HakgyoansimPuzzleTTF-Outline';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimPuzzleTTF-Outline.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansBold';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansLight';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* 기본 스타일 */
:root {
    --primary-color: #1A73E8;
    --primary-light: #4285F4;
    --primary-dark: #0D47A1;
    --secondary-color: #42A5F5;
    --accent-color: #FF9800;
    --accent-light: #FFB74D;
    --text-color: #212121;
    --text-light: #424242;
    --text-lighter: #757575;
    --light-bg: #F5F8FA;
    --white: #FFFFFF;
    --dark-overlay: rgba(0, 0, 0, 0.7);
    --light-overlay: rgba(255, 255, 255, 0.95);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    --gradient-blend: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --error-color: #F44336;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'GmarketSansMedium', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    font-weight: normal;
    opacity: 0;
    transition: opacity 0.8s ease;
}

body.loaded {
    opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'GmarketSansBold', 'Noto Sans KR', sans-serif;
    font-weight: bold;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

section:nth-child(odd) {
    background-color: var(--light-bg);
}

section:nth-child(even) {
    background-color: var(--white);
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 헤더 스타일 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

header.scrolled {
    background: var(--light-overlay);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    backdrop-filter: blur(15px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 5px 0;
    text-decoration: none;
    font-family: 'HakgyoansimPuzzleTTF-Outline', sans-serif;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    transform-style: preserve-3d;
    perspective: 500px;
}

.logo::before {
    content: 'KSTADIUM';
    position: absolute;
    top: 5px;
    left: 0;
    color: rgba(255, 255, 255, 0.3);
    text-shadow: none;
    transform: translateZ(-10px);
    z-index: -1;
}

.logo::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: translateX(-100%);
    transition: var(--transition);
}

.logo:hover {
    transform: rotateX(5deg) rotateY(10deg);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.logo:hover::after {
    transform: translateX(0);
}

header.scrolled .logo {
    color: var(--primary-dark);
    text-shadow: none;
}

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

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    color: #2196F3;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--white);
    margin: 6px 0;
    border-radius: 3px;
    transition: var(--transition);
}

header.scrolled .hamburger span {
    background: var(--text-color);
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: var(--white);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding-top: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.close-button {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--light-bg);
    transition: var(--transition);
}

.close-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.close-button span {
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

.close-button span:first-child {
    transform: rotate(45deg);
}

.close-button span:last-child {
    transform: rotate(-45deg);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    width: 100%;
    margin-top: 20px;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 20px;
    transition: var(--transition);
    display: block;
    padding: 15px 20px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
}

.mobile-menu a:hover {
    color: var(--primary-color);
    background-color: rgba(46, 125, 50, 0.05);
    transform: translateX(0);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(3px);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 히어로 섹션 */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-light);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease, transform 8s ease;
    transform: scale(1.1);
    z-index: 1;
    filter: brightness(1.1) contrast(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
    z-index: 2;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 3;
    max-width: 800px;
    padding: 30px;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
    animation: fadeInUp 1s ease 0.2s both;
    color: #ffffff;
    font-weight: 800;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.hero-content h2 {
    font-size: 28px;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 40px;
    opacity: 1;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.4);
    letter-spacing: -0.3px;
    line-height: 1.5;
    animation: fadeInUp 1s ease 0.4s both;
    color: #ffffff;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'GmarketSansLight', sans-serif;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease 0.6s both;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.cta-button {
    display: inline-block;
    padding: 16px 36px;
    background: var(--gradient-accent);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    animation: fadeInUp 1s ease 0.8s both;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blend);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.4);
}

.cta-button:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

/* 섹션 공통 스타일 */
.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
    color: var(--primary-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-lighter);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 회사 소개 */
#about {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(46, 125, 50, 0.05);
    z-index: 0;
}

#about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(255, 193, 7, 0.07);
    z-index: 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 70px;
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    min-height: auto;
    max-width: 550px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
}

.about-content:hover .about-image {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.2), transparent);
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-image .image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 450px;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-light);
    position: relative;
}

.about-image .image-placeholder::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 2px dashed var(--secondary-color);
    opacity: 0.5;
    z-index: 0;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-text p {
    font-size: 22px;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 30px;
}

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

/* 서비스 */
#services {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.08), transparent);
    border-radius: 0 0 0 100%;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-light);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    opacity: 0.05;
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    height: 200px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-dark);
    transition: color 0.3s ease;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card:hover h3::after {
    width: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
}

.service-card p {
    font-size: 16px;
    color: var(--text-light);
    margin-top: auto;
}

.service-image .placeholder-text {
    color: var(--text-light);
    font-size: 16px;
    text-align: center;
    padding: 20px;
}

/* 시공 사례 */
#projects {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

#projects::before {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.05);
    z-index: 0;
}

.projects-description {
    text-align: center;
    font-size: 22px;
    margin-bottom: 60px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.4s ease;
    height: 400px;
}

.project-item:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
}

/* 비포/애프터 이미지 슬라이더 */
.before-after-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
    cursor: ew-resize;
}

/* 슬라이더 핸들에만 touch-action: none 적용 */
.before-after-slider .slider-handle,
.before-after-slider .slider-button {
    touch-action: none;
}

.before-after-slider .before-image,
.before-after-slider .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    will-change: clip-path;
}

.before-after-slider .before-image {
    z-index: 1;
    clip-path: polygon(0 0, var(--slider-position, 50%) 0, var(--slider-position, 50%) 100%, 0 100%);
}

.before-after-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.3) 100%);
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
}

.before-after-slider .after-image {
    z-index: 0;
}

.before-after-slider .slider-handle {
    position: absolute;
    top: 0;
    left: var(--slider-position, 50%);
    width: 4px;
    height: 100%;
    background-color: var(--white);
    z-index: 3;
    cursor: ew-resize;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.before-after-slider .slider-button {
    position: absolute;
    top: 50%;
    left: var(--slider-position, 50%);
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid var(--primary-color);
    z-index: 4;
    cursor: ew-resize;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.before-after-slider .slider-button::before,
.before-after-slider .slider-button::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 2px;
    background-color: var(--primary-color);
}

.before-after-slider .slider-button::before {
    transform: translateX(-5px) rotate(-45deg);
}

.before-after-slider .slider-button::after {
    transform: translateX(-5px) rotate(45deg);
}

.before-after-slider .slider-button span::before,
.before-after-slider .slider-button span::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 2px;
    background-color: var(--primary-color);
}

.before-after-slider .slider-button span::before {
    transform: translateX(5px) rotate(45deg);
}

.before-after-slider .slider-button span::after {
    transform: translateX(5px) rotate(-45deg);
}

.before-after-slider .label {
    position: absolute;
    bottom: 25px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 15px;
    z-index: 5;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.before-after-slider .before-label {
    left: 25px;
}

.before-after-slider .after-label {
    right: 25px;
}

.before-after-slider.active .slider-button {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    background-color: var(--primary-light);
    border-color: var(--white);
}

.before-after-slider.active .slider-handle {
    width: 5px;
    background-color: var(--primary-color);
}

.before-after-slider.active .before-label,
.before-after-slider.active .after-label {
    transform: translateY(-5px);
}

/* 슬라이더 애니메이션 - 사용자에게 드래그 힌트 주기 */
@keyframes sliderHint {
    0% { left: 50%; }
    25% { left: 45%; }
    50% { left: 55%; }
    75% { left: 45%; }
    100% { left: 50%; }
}

/* 페이지 로드 시 슬라이더 힌트 애니메이션 */
.slider-animation {
    animation: sliderHint 1.5s ease-in-out;
}

/* 슬라이더 호버 효과 */
.before-after-slider:hover .slider-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.before-after-slider:hover .slider-handle {
    background-color: var(--primary-light);
}

/* 문의하기 */
#contact {
    background: linear-gradient(135deg, #f8f9fb, #edf1f7);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    z-index: 0;
}

#contact::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.08);
    z-index: 0;
}

.contact-description {
    text-align: center;
    font-size: 22px;
    margin-bottom: 50px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px 35px;
    background: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: transparent;
}

.contact-item i {
    font-size: 28px;
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-item:hover i {
    transform: scale(1.2);
    color: var(--primary-light);
}

.contact-item a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 19px;
    transition: var(--transition);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    margin-top: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
    z-index: 2;
}

.contact-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%2334495e" fill-opacity="0.02"%3E%3Cpath d="M0 0h20L0 20z" /%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.3;
    z-index: -1;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    transition: transform 0.3s ease;
}

.form-group:focus-within {
    transform: translateY(-2px);
}

.form-group:focus-within::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(1);
    opacity: 0.5;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-family: 'GmarketSansMedium', sans-serif;
    font-size: 16px;
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    background-color: #f9f9f9;
    position: relative;
    z-index: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    background-color: var(--white);
    transform: translateY(-1px);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* 버튼 펄스 효과 */
@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(26, 115, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
    }
}

.submit-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'GmarketSansMedium', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0 auto;
    display: block;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: buttonPulse 2s infinite;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blend);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
    transform: translateX(-100%);
    opacity: 0;
}

.submit-button:hover::before {
    transform: translateX(0);
    opacity: 1;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
}

.submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
}

/* 푸터 */
footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--accent-color);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

.footer-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--accent-color);
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.footer-info:hover h3::after {
    width: 100%;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 3px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

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

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blend);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.footer-social a i {
    position: relative;
    z-index: 1;
}

.footer-social a:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-social a:hover::before {
    opacity: 1;
}

/* 블로그 아이콘 특별 스타일 */
.footer-social a:last-child {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.footer-social a:last-child:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 16px;
    width: 20px;
}

/* 애니메이션 클래스 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-child(odd) .animate-on-scroll {
    transform: translateX(-40px);
}

section:nth-child(even) .animate-on-scroll {
    transform: translateX(40px);
}

section:nth-child(odd) .animate-on-scroll.visible,
section:nth-child(even) .animate-on-scroll.visible {
    transform: translateX(0);
}

.service-card.animate-on-scroll,
.project-item.animate-on-scroll,
.contact-item.animate-on-scroll {
    transition-delay: calc(var(--delay, 0) * 0.15s);
}

/* 각 서비스 카드에 지연 시간 부여 */
.services-grid .service-card:nth-child(1) { --delay: 1; }
.services-grid .service-card:nth-child(2) { --delay: 2; }
.services-grid .service-card:nth-child(3) { --delay: 3; }
.services-grid .service-card:nth-child(4) { --delay: 4; }
.services-grid .service-card:nth-child(5) { --delay: 5; }
.services-grid .service-card:nth-child(6) { --delay: 6; }

/* 각 프로젝트 아이템에 지연 시간 부여 */
.projects-grid .project-item:nth-child(1) { --delay: 1; }
.projects-grid .project-item:nth-child(2) { --delay: 2; }
.projects-grid .project-item:nth-child(3) { --delay: 3; }
.projects-grid .project-item:nth-child(4) { --delay: 4; }

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 70px;
    }
    
    .hero-content h2 {
        font-size: 38px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .about-content {
        padding: 40px;
    }
    
    .about-image {
        min-height: auto;
        max-width: 500px;
    }
    
    .about-image .image-placeholder {
        min-height: 400px;
    }
}

@media (max-width: 1024px) {
    section {
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 60px;
    }
    
    .hero-content h2 {
        font-size: 34px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 60px;
    }
    
    .about-image {
        min-height: auto;
    }
    
    .about-image .image-placeholder {
        min-height: 400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .cta-button {
        padding: 16px 38px;
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 50px;
    }
    
    .section-title::after {
        bottom: -15px;
        width: 60px;
    }

    .about-content {
        flex-direction: column;
        padding: 30px;
        gap: 40px;
    }
    
    .about-text h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .about-text p {
        font-size: 18px;
    }
    
    .about-image {
        min-height: auto;
        max-width: 100%;
        width: 100%;
        transform: none !important;
    }

    .about-image .image-placeholder {
        min-height: 300px;
    }
    
    /* Mobile menu improvements */
    .mobile-menu {
        width: 100%;
        padding: 80px 0;
    }
    
    .mobile-menu li {
        margin: 15px 0;
    }
    
    .mobile-menu a {
        font-size: 20px;
        padding: 15px 20px;
    }
    
    /* Projects grid for mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-item {
        height: 300px;
    }
    
    /* Contact items */
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .before-after-slider .label {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .feature-item {
        gap: 10px;
    }
    
    .feature-item i {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-info {
        grid-column: span 1;
    }
}

/* Add small mobile devices handling */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .cta-button {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .project-item {
        height: 250px;
    }
    
    .about-image {
        min-height: auto;
    }
    
    .about-image .image-placeholder {
        min-height: 220px;
    }
    
    .before-after-slider .slider-button {
        width: 36px;
        height: 36px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .about-text h3 {
        font-size: 24px;
    }
    
    .feature-item span {
        font-size: 14px;
    }
    
    .form-header h3 {
        font-size: 20px;
    }
    
    .footer-social {
        margin-top: 15px;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
    }
}

/* 히어로 indicator dots */
.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 5;
    padding: 12px 25px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.slider-dot::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.slider-dot.active {
    background-color: var(--white);
    transform: scale(1.3);
    box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.7);
    border-color: var(--white);
}

.slider-dot.active::after {
    border-color: var(--accent-color);
    animation: pulse 2s infinite;
}

/* 플로팅 버튼 */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.floating-button.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.1s * var(--btn-index, 1));
}

.scroll-top-button {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    transition-delay: 0ms;
}

.blog-button {
    background: linear-gradient(135deg, #1565C0, #42A5F5);
    text-decoration: none;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.3);
    transform-style: preserve-3d;
    perspective: 400px;
}

.blog-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blend);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: 50%;
}

.blog-button i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.blog-button:hover::before {
    opacity: 1;
}

.blog-button:hover i {
    transform: translateZ(10px);
}

.blog-button:hover {
    transform: translateY(-5px) rotate(15deg) rotateX(10deg);
    box-shadow: 0 15px 30px rgba(21, 101, 192, 0.5);
}

.call-button {
    background: linear-gradient(135deg, #D32F2F, #F44336);
    text-decoration: none;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    width: 50px;
    min-width: 50px;
    padding: 0;
    overflow: visible;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
}

.call-text {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: linear-gradient(135deg, #D32F2F, #F44336);
    padding: 10px 20px 10px 15px;
    border-radius: 30px 0 0 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: -1;
    pointer-events: none;
    width: 0;
    overflow: hidden;
}

.call-button:hover .call-text,
.call-button:focus .call-text {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    width: auto;
    z-index: -1;
}

.floating-button i {
    position: relative;
    z-index: 1;
}

/* 애니메이션 효과 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.floating-button.pulse {
    animation: pulse 1s infinite;
}

.floating-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s;
    border-radius: 50%;
}

.floating-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.floating-button:hover::before {
    transform: scale(1.5);
    opacity: 1;
}

.call-button:hover,
.call-button:focus {
    border-radius: 50%;
}

/* 회사 소개 섹션 기능 아이템 */
.about-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.feature-item span {
    font-size: 16px;
    color: var(--text-color);
}

/* 문의 폼 컨테이너 */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* 폼 헤더 */
.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.form-header p {
    font-size: 16px;
    color: var(--text-lighter);
}

/* 푸터 소셜 아이콘 */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blend);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.footer-social a i {
    position: relative;
    z-index: 1;
}

.footer-social a:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-social a:hover::before {
    opacity: 1;
}

/* 블로그 아이콘 특별 스타일 */
.footer-social a:last-child {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.footer-social a:last-child:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

/* 푸터 컬럼 제목 */
.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

/* 푸터 링크 스타일 업데이트 */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 3px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

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

/* 푸터 연락처 */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 16px;
    width: 20px;
}

/* 푸터 컨텐츠 구조 업데이트 */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

/* 버튼 내 아이콘 */
.cta-button i,
.submit-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover i,
.submit-button:hover i {
    transform: translateX(5px);
}

/* 미디어 쿼리 업데이트 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .feature-item {
        gap: 10px;
    }
    
    .feature-item i {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-info {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .about-text h3 {
        font-size: 24px;
    }
    
    .feature-item span {
        font-size: 14px;
    }
    
    .form-header h3 {
        font-size: 20px;
    }
    
    .footer-social {
        margin-top: 15px;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
    }
}

/* 알림 메시지 스타일 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    padding: 16px;
    border-radius: var(--border-radius-md);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-content i {
    font-size: 20px;
}

.notification-content p {
    font-size: 14px;
    margin: 0;
}

.notification.success {
    border-left: 4px solid var(--primary-color);
}

.notification.success i {
    color: var(--primary-color);
}

.notification.error {
    border-left: 4px solid #f44336;
}

.notification.error i {
    color: #f44336;
}

/* 서비스 카드 호버 효과 */
.service-card.hovered {
    transform: translateY(-15px) scale(1.03);
    z-index: 5;
}

.service-card.dimmed {
    opacity: 0.7;
    filter: grayscale(20%);
    transform: scale(0.98);
}

/* 애니메이션 지연 클래스 */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* 푸터 소셜 아이콘 애니메이션 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.footer-social a:hover i {
    animation: bounce 0.5s ease infinite;
}

/* 페이지 전체 스크롤바 스타일 개선 */
::-webkit-scrollbar {
    width: 12px;
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    border: 3px solid #f5f5f5;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.blog-link-text {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-link-text a {
    color: var(--accent-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 3px;
}

.blog-link-text a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.blog-link-text a:hover {
    color: var(--white);
}

.blog-link-text a:hover::after {
    width: 100%;
}

/* 고급 스크롤 애니메이션 */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.17, 0.67, 0.45, 0.99);
    }
    
    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* 좌우 애니메이션 */
    .animate-left {
        transform: translateX(-40px);
    }
    
    .animate-right {
        transform: translateX(40px);
    }
    
    .animate-left.visible,
    .animate-right.visible {
        transform: translateX(0);
    }
    
    /* 스케일 애니메이션 */
    .animate-scale {
        transform: scale(0.8);
    }
    
    .animate-scale.visible {
        transform: scale(1);
    }
}

/* 고해상도 화면 대응 */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content h1 {
        font-size: 72px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 44px;
    }
}

@keyframes heroGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-light));
    background-size: 200% 200%;
    animation: heroGradient 5s ease infinite;
    z-index: 10;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* 메뉴 설명 텍스트 */
.menu-description {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.menu-description::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(255, 255, 255, 0.95);
}

.nav-menu li:hover .menu-description {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

/* 메뉴 아이콘 */
.menu-icon {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    transition: transform 0.3s ease;
}

.nav-menu a:hover .menu-icon {
    transform: translateY(-3px);
}

.footer-business-info {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    font-family: 'GmarketSansLight', sans-serif;
}

.footer-business-info a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-business-info a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}
