/* 기본 설정 - Pantone 349C & Process Yellow */
:root {
    --pantone-349c: #00B140;
    /* Pantone 349C - 선명한 초록 */
    --process-yellow: #FFE600;
    /* Pantone Process Yellow - 밝은 노란색 */
    --dark-green: #008C32;
    /* 어두운 초록 (강조용) */
    --light-green: #E8F8ED;
    /* 연한 초록 배경 */
    --black: #1A1A1A;
    /* 진한 검정 */
    --white: #FFFFFF;
    /* 순백색 */
    --gray-light: #F5F5F5;
    /* 연한 회색 */
    --gray-medium: #CCCCCC;
    /* 중간 회색 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
}

section {
    margin: 0;
    padding: 0;
}

/* 커스텀 스크롤바 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--pantone-349c);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

/* 랜딩 히어로 섹션 - 로고 중앙 배치 */
.landing-hero {
    position: relative;
    left: 0;
    right: 0;
    height: 110vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

.landing-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease forwards;
    z-index: 5;
    width: 100%;
    height: 100%;
    max-width: none;
    position: absolute;
    top: 0;
    left: 0;
}

.landing-logo img {
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 테두리를 따라 그려지는 화살표 애니메이션 */
.border-arrow-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.arrow-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    filter: drop-shadow(2px 4px 1px rgba(0, 0, 0, 0.15));
    /* 종이 일러스트 느낌의 그림자 효과 */
}

/* 1. 왼쪽 라인 (0~0.6초) - 속도 3배 빠르게 */
.path-left {
    animation: drawSegment 0.6s linear forwards;
}

/* 2. 상단 라인 (0.6~1.2초) */
.path-top {
    animation: drawSegment 0.6s linear 0.6s forwards;
}

/* 3. 오른쪽 라인 (1.2~1.8초) */
.path-right {
    animation: drawSegment 0.6s linear 1.2s forwards;
}

.chevron-indicator {
    opacity: 0;
    /* 1.8초에 라인 완성 후 0.1초 뒤에 반짝! */
    animation: flashChevron 0.6s ease-out 1.9s forwards;
    filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, 0.2));
    transform-origin: 98.7% 97%;
    /* 화살표 중심 기준 */
}

/* 화살표 한번만 반짝! (팝업 효과) */
@keyframes flashChevron {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
        /* 확 커졌다가 */
    }

    100% {
        opacity: 1;
        transform: scale(1);
        /* 제자리 */
    }
}

/* 경로 그리기 애니메이션 (공통) */
@keyframes drawSegment {
    0% {
        stroke-dashoffset: 100;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

/* 화살표 천천히 점등 애니메이션 */
@keyframes fadeInChevron {

    0%,
    74% {
        opacity: 0;
    }

    75% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* 고정 네비게이션 (스크롤 시 상단 고정) */
.main-nav {
    position: sticky;
    top: 0;
    margin-top: -120px;
    /* 랜딩 섹션 하단에 겹치게 배치 */
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    padding: 0.75rem 5%;
    background: var(--pantone-349c);
    box-shadow: 0 4px 20px rgba(255, 230, 0, 0.3);
    transition: all 0.3s ease;

    /* 등장 애니메이션 초기값 */
    opacity: 0;
    transform: translateY(150%);
    animation: slideUpNav 1s cubic-bezier(0.23, 1, 0.32, 1) 2.0s forwards;
}

/* 메뉴바 등장을 위한 키프레임 */
@keyframes slideUpNav {
    0% {
        opacity: 0;
        transform: translateY(150%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    font-family: 'super-size', sans-serif;
    position: relative;
    transition: all 0.3s;
    padding: 17px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--process-yellow), var(--white));
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--process-yellow);
}

.main-nav a:hover::after {
    width: 100%;
}

/* 햄버거 메뉴 */
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 5%;
    z-index: 1001;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--pantone-349c);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* CTA 버튼 - 팬톤 컬러 강조 */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--pantone-349c), var(--dark-green));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.2rem;
    transition: all 0.3s;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards, pulse 2s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(0, 177, 64, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 230, 0, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 177, 64, 0.6);
}

/* Pulse 애니메이션 */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(0, 177, 64, 0.4);
    }

    50% {
        box-shadow: 0 12px 35px rgba(0, 177, 64, 0.6);
    }
}

/* 섹션 공통 스타일 */
section {
    padding: 100px 10%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 3.5rem;
    color: var(--pantone-349c);
    position: relative;
    font-weight: 900;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--process-yellow), var(--pantone-349c));
    margin: 15px auto;
    border-radius: 5px;
}

/* 회사소개 & 통계 */
#about {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-green) 100%);
    padding: 120px 0;
    /* 가로 패딩 제거하여 배경 가득 채움 */
    width: 100%;
    max-width: none;
    /* 공통 섹션의 1400px 제한 해제 */
}

.about-container {
    max-width: 1200px;
    /* 기존보다 너비 확장 */
    margin: 0 auto;
    padding: 0 5%;
    /* 컨테이너 내부에 패딩 추가 */
}

.about-subtitle {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    text-align: center;
    color: var(--dark-green);
    margin-bottom: 60px;
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(30px);
}

.about-subtitle.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.about-story {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.story-paragraph {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 2;
    text-align: justify;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    color: var(--black);
}

.story-paragraph.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 문단별 애니메이션 지연 시간 */
.story-paragraph.animate:nth-child(1) {
    animation-delay: 0.2s;
}

.story-paragraph.animate:nth-child(2) {
    animation-delay: 0.4s;
}

.story-paragraph.animate:nth-child(3) {
    animation-delay: 0.6s;
}

.story-paragraph.animate:nth-child(4) {
    animation-delay: 0.8s;
}

.story-paragraph.animate:nth-child(5) {
    animation-delay: 1.0s;
}

.highlight {
    color: var(--pantone-349c);
    font-weight: 900;
    position: relative;
    display: inline-block;
    padding: 0 5px;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--process-yellow);
    opacity: 0.4;
    z-index: -1;
}

#about .about-question {
    font-size: clamp(1.4rem, 3.5vw, 2.4rem);
    font-weight: 900;
    text-align: center;
    margin: 100px auto;
    padding: 60px 40px;
    background: var(--white);
    border-radius: 20px;
    /* 라운딩 사각형 */
    border: 4px solid var(--pantone-349c);
    line-height: 1.6;
    box-shadow: 0 15px 40px rgba(0, 177, 64, 0.15);
    opacity: 0;
    transform: translateY(30px);
    max-width: 900px;
}

.about-question.animate {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1.2s;
    /* 스크립트에서 제어하거나 여기서 설정 */
}

.question-line {
    display: block;
    margin: 15px 0;
    color: var(--dark-green);
    font-weight: 900;
    /* 폰트 굵게 */
}

.question-line:first-child {
    color: var(--pantone-349c);
    font-size: 0.9em;
    opacity: 0.8;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.stats-container.animate {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1.5s;
}

.stat-item {
    background: var(--white);
    padding: 30px 40px;
    border-radius: 20px;
    border: 2px solid var(--gray-medium);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 177, 64, 0.25);
    border-color: var(--dark-green);
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--pantone-349c);
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 177, 64, 0.1);
}

.stat-item p {
    color: var(--black);
    margin-top: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* 주요 거래처 섹션 */
.clients-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 4px solid var(--pantone-349c);
}

.clients-section h3 {
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 40px;
}

/* 캐러셀 컨테이너 */
.carousel-container {
    position: relative;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    padding: 0 100px;
    /* 화살표 및 페이딩 공간 확보 */
}

.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 50;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
}

/* 캠러셀 화살표 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: var(--pantone-349c);
    border: 3px solid var(--dark-green);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 177, 64, 0.4);
    color: var(--white);
}

.carousel-arrow:hover {
    background: var(--dark-green);
    border-color: var(--pantone-349c);
    color: var(--white);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 30px rgba(0, 177, 64, 0.5);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-left {
    left: 20px;
}

.carousel-arrow-right {
    right: 20px;
}

/* --- 시공사례 전용 캐러셀 화살표 커스텀 (세로 긴 삼각형) --- */
#portfolio .carousel-arrow {
    background: var(--pantone-349c);
    border: none;
    width: 30px;
    /* 슬림한 폭 */
    height: 200px;
    /* 사진의 약 절반 높이 */
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.8;
}

#portfolio .carousel-arrow:hover {
    background: var(--dark-green);
    opacity: 1;
    transform: translateY(-50%) scaleX(1.2);
}

#portfolio .carousel-arrow-left {
    left: 10px;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

#portfolio .carousel-arrow-right {
    right: 10px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.carousel-track.no-transition {
    transition: none;
}

/* 주요 거래처 캐러셀 */
.clients-grid {
    display: flex;
    gap: 30px;
}

.client-logo {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    border: 3px solid var(--pantone-349c);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    min-width: 220px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-weight: 900;
    font-size: 19px;
    color: var(--black);
    box-shadow: 0 5px 20px rgba(0, 177, 64, 0.15);
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--dark-green);
    background: linear-gradient(135deg, var(--light-green), var(--white));
    color: var(--pantone-349c);
    box-shadow: 0 15px 40px rgba(0, 177, 64, 0.3);
}

/* 포트폴리오 섹션 */
#portfolio {
    background: var(--gray-light);
    color: var(--black);
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

#portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(0, 177, 64, 0.08) 2px, transparent 2px);
    background-size: 25px 25px;
    pointer-events: none;
    opacity: 0.6;
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.tab-button {
    padding: 12px 45px;
    border: 3px solid var(--pantone-349c);
    background: var(--white);
    color: var(--pantone-349c);
    cursor: pointer;
    font-weight: 900;
    margin: 0 10px;
    border-radius: 12px;
    /* 라운딩 사각형 */
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 177, 64, 0.1);
    white-space: nowrap;
    /* 줄바꿈 방지 */
}

.tab-button:hover {
    background: var(--light-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 177, 64, 0.2);
}

.tab-button.active {
    background: var(--pantone-349c);
    color: var(--white);
    border-color: var(--dark-green);
    box-shadow: 0 5px 25px rgba(0, 177, 64, 0.3);
}

#portfolio .section-title,
#portfolio .portfolio-tabs {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
}

.carousel-container[data-carousel^="portfolio"] {
    padding: 0 5%;
}

.portfolio-grid {
    display: flex;
    gap: 30px;
}

.portfolio-item {
    background: var(--white);
    aspect-ratio: 3/4;
    min-width: 300px;
    flex-shrink: 0;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    transition: 0.3s;
    border: 3px solid var(--pantone-349c);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 177, 64, 0.15);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 177, 64, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover {
    border-color: var(--dark-green);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 177, 64, 0.3);
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h3 {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 900;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-info p {
    color: var(--light-green);
    font-weight: 700;
    font-size: 16px;
}

.tab-content.active {
    display: block;
}

/* 포트폴리오 팝업 모달 스타일 */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    /* 기본적으로 숨김 */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    background: transparent;
    /* 흰색 창 제거 */
    border-radius: 0;
    overflow-y: auto;
    z-index: 2001;
    padding: 60px 20px 20px;
    /* 닫기 버튼 공간 확보 */
    box-shadow: none;
    /* 그림자 제거 */
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: fixed;
    /* 컨텐츠 박스가 아닌 화면에 고정 */
    top: 20px;
    right: 20px;
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--black);
    z-index: 2005;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: var(--pantone-349c);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-body h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    color: var(--white);
    /* 어두운 배경 대비 흰색 */
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--process-yellow);
    display: inline-block;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    /* 더 크게 노출 */
    gap: 30px;
    padding-bottom: 40px;
}

.modal-gallery img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    /* 이미지 크기 확장 */
    object-fit: contain;
    /* 잘림 없이 노출 (사용자 선호에 따라 변경 가능하나 일단 크게) */
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-gallery img:hover {
    transform: scale(1.03);
    border-color: var(--pantone-349c);
}

/* 추가적인 포트폴리오 카드 스타일 보정 */
.portfolio-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.portfolio-info {
    z-index: 5;
}

/* 문의하기 섹션 */
#contact {
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: 900;
    color: var(--pantone-349c);
}

.info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    font-size: 28px;
    color: var(--process-yellow);
    filter: drop-shadow(0 2px 4px rgba(255, 230, 0, 0.3));
}

.info-item strong {
    font-weight: 900;
    color: var(--black);
}

.contact-form {
    background: linear-gradient(135deg, var(--white), var(--light-green));
    padding: 45px;
    border-radius: 25px;
    box-shadow: 0 10px 35px rgba(0, 177, 64, 0.15);
    border: 3px solid var(--pantone-349c);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 900;
    color: var(--pantone-349c);
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--gray-medium);
    border-radius: 10px;
    margin-top: 8px;
    margin-bottom: 15px;
    background: var(--white);
    color: var(--black);
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pantone-349c);
    box-shadow: 0 0 0 4px rgba(0, 177, 64, 0.15);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--pantone-349c), var(--dark-green));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 900;
    cursor: pointer;
    font-size: 19px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 177, 64, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--pantone-349c));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 177, 64, 0.5);
}

/* 하단 */
footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 40px;
    border-top: 3px solid var(--pantone-349c);
}

footer p {
    color: var(--light-green);
    font-size: 14px;
    font-weight: 700;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

/* 반응형 */
@media (max-width: 768px) {
    .landing-logo img {
        max-width: 90%;
        max-height: 50vh;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 80px 30px;
        gap: 30px;
        transition: right 0.3s ease;
        border-left: 2px solid var(--pantone-349c);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .main-nav a {
        font-size: 24px;
    }

    .main-nav.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 80px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-tabs {
        flex-direction: column;
        gap: 15px;
    }

    .tab-button {
        width: 100%;
    }

    .stats-container {
        gap: 40px;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* --- 구글 폼 이동 버튼 (모든 기기 공통) --- */
.contact-action {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.action-box {
    text-align: center;
    background: rgba(0, 177, 64, 0.05);
    /* 브랜드 컬러 배경 5% */
    padding: 60px 40px;
    border-radius: 30px;
    color: var(--black);
    border: 2px dashed var(--pantone-349c);
    width: 100%;
}

.action-box h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 900;
    color: var(--pantone-349c);
}

.action-box p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #444;
    line-height: 1.6;
}

.google-form-btn {
    display: inline-block;
    background: var(--pantone-349c);
    color: var(--white);
    padding: 22px 60px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 177, 64, 0.3);
}

.google-form-btn:hover {
    background: var(--dark-green);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 177, 64, 0.5);
}

/* --- 시공사례 전용 캐러셀 화살표 커스텀 (세로 긴 초록색 삼각형) --- */
#portfolio .carousel-arrow {
    background: var(--pantone-349c);
    border: none;
    width: 50px;
    /* 슬림한 폭 */
    height: 200px;
    /* 사진의 약 절반 높이 */
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.8;
    z-index: 60;
    /* 페이딩보다 위 */
}

#portfolio .carousel-arrow:hover {
    background: var(--dark-green);
    opacity: 1;
    transform: translateY(-50%) scaleX(1.1);
}

#portfolio .carousel-arrow::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
}

#portfolio .carousel-arrow-left {
    left: 0;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

#portfolio .carousel-arrow-right {
    right: 0;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}