/* 접근성 - Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

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

/* 접근성 개선: 포커스 인디케이터 */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to main content 링크 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* 성능 최적화 */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* GPU 가속 최적화 */
.btn,
.floating-btn,
.scroll-top,
.nav-toggle,
.case-item,
.service-card {
    will-change: transform;
    transform: translateZ(0);
}

/* 모션을 줄이고 싶어하는 사용자를 위한 설정 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* AOS 완전 비활성화 */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* 모든 섹션이 기본적으로 보이도록 강제 설정 */
.trust-points,
.why-us,
.services,
.process,
.cases,
.faq,
.service-area,
.cta {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.trust-item,
.service-card,
.process-step,
.case-item,
.faq-item,
.why-text,
.why-image,
.area-text,
.area-image {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* 이미지 최적화 */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

/* 이미지 성능 최적화 */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* WebP 지원 브라우저를 위한 최적화 */
@supports (background-image: url('image.webp')) {
    .service-image img,
    .case-item img,
    .why-image img,
    .area-image img {
        image-rendering: auto;
    }
}

:root {
    /* 로고 백그라운드 기반 깔끔한 컬러 팔레트 */
    --primary-white: #FFFFFF;        /* 로고 백그라운드와 동일한 순백색 */
    --soft-white: #FEFEFE;           /* 극미한 따뜻함이 있는 화이트 */
    --cream-white: #FDFDFD;          /* 크림 느낌의 화이트 */
    --pearl-white: #FBFBFB;          /* 진주빛 화이트 */
    
    /* 로고에서 추출한 브랜드 색상들 */
    --brand-blue: #3B82C4;           /* 로고 유니폼 파란색 */
    --brand-blue-dark: #2563EB;      /* 로고 진한 파란색 */
    --brand-blue-light: #60A5FA;     /* 밝은 파란색 */
    --brand-blue-soft: #EFF6FF;      /* 매우 연한 파란색 */
    --brand-orange: #E55A42;         /* 로고 도구 주황색 */
    --brand-orange-light: #F97316;   /* 밝은 주황색 */
    --brand-orange-soft: #FFF7ED;    /* 매우 연한 주황색 */
    --brand-yellow: #F59E0B;         /* 로고 장갑 노란색 */
    --brand-yellow-light: #FCD34D;   /* 밝은 노란색 */
    --brand-yellow-soft: #FFFBEB;    /* 매우 연한 노란색 */
    
    /* 중성 색상 - 화이트 베이스에 맞춘 미묘한 톤 */
    --text-primary: #1F2937;         /* 주요 텍스트 */
    --text-secondary: #6B7280;       /* 보조 텍스트 */
    --text-muted: #9CA3AF;           /* 희미한 텍스트 */
    --border-light: #F3F4F6;         /* 매우 연한 보더 */
    --border-soft: #E5E7EB;          /* 연한 보더 */
    
    /* 기존 변수명 호환성을 위한 매핑 */
    --primary-color: var(--brand-blue);
    --primary-dark: var(--brand-blue-dark);
    --secondary-color: var(--brand-blue-light);
    --accent-color: var(--brand-blue);
    --text-dark: var(--text-primary);
    --text-light: var(--text-secondary);
    --text-white: #ffffff;
    --bg-dark: #1F2937;
    --bg-dark-secondary: #374151;
    --bg-light: var(--brand-blue-soft);
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --border-dark: #333333;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(59, 130, 196, 0.3);
    
    /* 화이트 베이스 그라데이션 */
    --gradient-white: linear-gradient(135deg, var(--primary-white) 0%, var(--pearl-white) 100%);
    --gradient-blue-soft: linear-gradient(135deg, var(--primary-white) 0%, var(--brand-blue-soft) 100%);
    --gradient-orange-soft: linear-gradient(135deg, var(--primary-white) 0%, var(--brand-orange-soft) 100%);
    --gradient-yellow-soft: linear-gradient(135deg, var(--primary-white) 0%, var(--brand-yellow-soft) 100%);
    --gradient-brand: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    
    /* 기존 호환성 */
    --gradient-primary: var(--gradient-brand);
    --gradient-secondary: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-yellow-light) 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

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

/* 유틸리티 클래스 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 40px rgba(255, 107, 71, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn.large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* 헤더 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 0.5rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.contact-btn {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-link.contact-btn:hover {
    background: var(--primary-dark);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* 히어로 섹션 */
.hero {
    min-height: 100vh;
    background: var(--gradient-blue-soft);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('fig/service-vehicle-3.jpeg') center/cover;
    opacity: 0.15;
    filter: contrast(1.2) brightness(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 107, 71, 0.1) 0%, var(--bg-dark) 70%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: var(--primary-white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 32px;
    box-shadow: 0 4px 15px rgba(59, 130, 196, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes glow-pulse {
    0% { box-shadow: var(--shadow-glow); }
    100% { box-shadow: 0 0 40px rgba(59, 130, 196, 0.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title .highlight {
    color: var(--brand-blue);
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    font-size: 1.1rem;
    padding: 16px 32px;
}

.btn-large {
    font-size: 2rem;
    padding: 24px 48px;
    font-weight: 900;
    min-width: 320px;
    background: transparent !important;
    border: 3px solid var(--brand-blue);
    color: #000000;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-clip: text;
    box-shadow: 0 6px 20px rgba(59, 130, 196, 0.3);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

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

.feature-item i {
    font-size: 1.5rem;
    color: var(--brand-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 신뢰 포인트 섹션 */
.trust-points {
    padding: 100px 0;
    background: var(--bg-dark-secondary);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 50px 30px;
    background: var(--bg-dark);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition-slow);
    border: 1px solid var(--border-dark);
    position: relative;
    overflow: hidden;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.trust-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-glow), 0 30px 60px rgba(0, 0, 0, 0.4);
}

.trust-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: var(--shadow-glow);
}

.trust-icon i {
    font-size: 2.2rem;
    color: white;
}

.trust-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-white);
}

.trust-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* 왜 베리굿하수구인가 섹션 */
.why-us {
    padding: 100px 0;
    background: var(--bg-light);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

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

.why-image {
    position: relative;
    height: 400px;
}

.why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* 서비스 섹션 */
.services {
    padding: 100px 0;
    background: var(--bg-dark-secondary);
}

.services .section-header h2 {
    color: var(--text-white);
}

.services .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

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

.service-card {
    background: var(--bg-dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition-slow);
    border: 1px solid var(--border-dark);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-glow), 0 30px 60px rgba(0, 0, 0, 0.4);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 10px;
}

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

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-white);
}

.service-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-content ul {
    list-style: none;
}

.service-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #b0b0b0;
}

.service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

/* 작업 과정 섹션 */
.process {
    padding: 100px 0;
    background: white;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition);
}

.process-step:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: white;
    color: var(--primary-color);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-icon {
    opacity: 0.7;
}

.step-icon i {
    font-size: 2rem;
}

/* 시공사례 섹션 */
.cases {
    padding: 100px 0;
    background: var(--bg-light);
}

.cases-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.case-item {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.case-item:hover {
    transform: scale(1.05);
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(0);
    transition: var(--transition);
}

.case-item:hover .case-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.case-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* FAQ 섹션 */
.faq {
    padding: 100px 0;
    background: white;
}

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

.faq-item {
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    transition: var(--transition);
}

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

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    transition: var(--transition);
}

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

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 24px 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* 서비스 지역 섹션 */
.service-area {
    padding: 100px 0;
    background: var(--bg-light);
}

.area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.area-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.area-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.area-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.area-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.area-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.area-image {
    height: 400px;
}

.area-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* CTA 섹션 */
.cta {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.9;
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 푸터 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 8px;
    color: #d1d5db;
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

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

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

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

.floating-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.kakao-btn {
    background: var(--gradient-accent);
    color: var(--text-dark);
}

.floating-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 50px rgba(255, 107, 71, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.floating-btn i {
    font-size: 1.5rem;
}

/* 스크롤 탑 버튼 */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* AOS 애니메이션 */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* 반응형 디자인 */

/* 대형 데스크톱 (1440px 이상) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 중형 데스크톱 (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* 소형 데스크톱 및 랩톱 (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .container {
        max-width: 1000px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cases-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 태블릿 가로 및 소형 랩톱 (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 750px;
        padding: 0 25px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .area-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .cases-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero-buttons {
        gap: 15px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* 모바일 세로 및 소형 태블릿 (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* 모바일 디바이스 (최대 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }
    
    /* 네비게이션 */
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-brand h1 {
        font-size: 1.3rem;
    }
    
    .nav-brand .logo {
        height: 35px;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        border-top: 1px solid var(--border-dark);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 30px 20px;
        gap: 25px;
    }
    
    .nav-link {
        color: var(--text-white);
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-dark);
        width: 100%;
        text-align: center;
    }
    
    .nav-link.contact-btn {
        background: var(--gradient-primary);
        border-radius: 25px;
        margin-top: 10px;
        border: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle span {
        background: var(--primary-color);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* 히어로 섹션 */
    .hero {
        min-height: 90vh;
        padding: 120px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
        line-height: 1.5;
    }
    
    .hero-badge {
        padding: 10px 20px;
        font-size: 0.85rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 50px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .feature-item {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* 섹션 공통 */
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* 신뢰 포인트 */
    .trust-points {
        padding: 60px 0;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-item {
        padding: 35px 20px;
    }
    
    .trust-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .trust-icon i {
        font-size: 1.8rem;
    }
    
    /* 서비스 */
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 25px 20px;
    }
    
    /* 프로세스 */
    .process {
        padding: 60px 0;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .process-step {
        padding: 25px 15px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    /* 시공사례 */
    .cases {
        padding: 60px 0;
    }
    
    .cases-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .case-item {
        height: 250px;
    }
    
    /* FAQ */
    .faq {
        padding: 60px 0;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    /* CTA */
    .cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* 푸터 */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    /* 플로팅 버튼 */
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
    }
    
    .floating-btn i {
        font-size: 1.3rem;
    }
    
    /* 버튼 */
    .btn {
        padding: 14px 24px;
        font-size: 14px;
        border-radius: 25px;
    }
    
    .btn.large {
        padding: 16px 28px;
        font-size: 16px;
    }
}

/* 초소형 모바일 (최대 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    /* 네비게이션 */
    .nav-brand h1 {
        font-size: 1.2rem;
    }
    
    .nav-brand .logo {
        height: 30px;
    }
    
    /* 히어로 */
    .hero {
        min-height: 85vh;
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
        line-height: 1.4;
    }
    
    .hero-badge {
        padding: 8px 16px;
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons .btn {
        max-width: 260px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* 섹션 */
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    /* 왜 베리굿하수구인가 섹션 */
    .why-image {
        display: none;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        text-align: center;
        max-width: 100%;
    }
    
    .why-text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* 서비스 지역 섹션 */
    .area-image {
        display: none;
    }
    
    .area-content {
        grid-template-columns: 1fr;
        text-align: center;
        max-width: 100%;
    }
    
    .area-text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .trust-points,
    .services,
    .process,
    .cases,
    .faq,
    .cta {
        padding: 50px 0;
    }
    
    /* 신뢰 포인트 */
    .trust-item {
        padding: 30px 15px;
    }
    
    .trust-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .trust-icon i {
        font-size: 1.6rem;
    }
    
    .trust-item h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    /* 서비스 카드 */
    .service-content {
        padding: 20px 15px;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    /* 프로세스 */
    .process-step {
        padding: 20px 12px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    /* 시공사례 */
    .case-item {
        height: 220px;
    }
    
    .case-overlay h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .case-overlay p {
        font-size: 0.85rem;
    }
    
    /* FAQ */
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-buttons .btn {
        max-width: 260px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* 푸터 */
    .footer {
        padding: 35px 0 12px;
    }
    
    .footer-content {
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    /* 푸터 정렬 개선 */
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    /* 플로팅 버튼 */
    .floating-actions {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-btn i {
        font-size: 1.2rem;
    }
    
    /* 버튼 */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 25px;
        min-height: 44px; /* 터치 친화적 최소 크기 */
    }
    
    .btn.large {
        padding: 14px 24px;
        font-size: 15px;
        min-height: 48px;
    }
}

/* 고해상도 디스플레이 최적화 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background {
        background-size: cover;
        background-position: center;
    }
    
    .service-image img,
    .case-item img,
    .why-image img,
    .area-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 터치 기기 최적화 */
@media (hover: none) and (pointer: coarse) {
    /* 터치 기기에서 호버 효과 제거 */
    .btn:hover,
    .trust-item:hover,
    .service-card:hover,
    .process-step:hover,
    .case-item:hover,
    .floating-btn:hover {
        transform: none;
    }
    
    /* 터치 기기에서 활성 상태 */
    .btn:active {
        transform: scale(0.98);
    }
    
    .trust-item:active,
    .service-card:active {
        transform: scale(0.99);
    }
    
    /* 터치 영역 확대 */
    .nav-link,
    .btn,
    .floating-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .faq-question {
        min-height: 48px;
    }
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: var(--bg-dark-secondary);
        --text-dark: var(--text-white);
    }
}

/* 모션 감소 선호 사용자 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-badge {
        animation: none;
    }
}

/* 유튜브 섹션 스타일 */
.youtube-section {
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.youtube-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.youtube-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition-slow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 1;
    transform: translateY(0);
}

.youtube-item.hidden {
    display: none;
}

.youtube-more-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 196, 0.3);
}

.youtube-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 196, 0.4);
}

.youtube-more-btn.hidden {
    display: none;
}

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

.youtube-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.youtube-item iframe {
    width: 100%;
    height: 315px;
    border: none;
    border-radius: 15px;
    margin-bottom: 15px;
    background: #000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.youtube-item iframe.loaded {
    opacity: 1;
}

/* 지연 로딩 플레이스홀더 */
.youtube-item iframe.lazy-iframe:not([src]) {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    position: relative;
}

.youtube-item iframe.lazy-iframe:not([src])::before {
    content: "▶ 동영상 로딩 중...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.youtube-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 8px;
}

.youtube-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.4;
}

/* 반응형 - 유튜브 섹션 */
@media (max-width: 767px) {
    .youtube-section {
        padding: 20px 0;
        margin-top: 30px;
    }
    
    .youtube-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .youtube-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .youtube-item {
        padding: 15px;
    }
    
    .youtube-item iframe {
        height: 250px;
    }
    
    .youtube-title {
        font-size: 1rem;
    }
    
    .youtube-desc {
        font-size: 0.85rem;
    }
    
    .youtube-more-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .youtube-item iframe {
        height: 200px;
    }
    
    .youtube-title {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .youtube-desc {
        font-size: 0.8rem;
    }
    
    .youtube-more-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

/* 인쇄 스타일 */
@media print {
    .header,
    .floating-actions,
    .scroll-top,
    .nav-toggle,
    .youtube-section {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 20px 0;
    }
    
    .section-header h2 {
        color: var(--text-dark) !important;
    }
    
    .trust-item,
    .service-card {
        break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}