* {
    margin: 0;
    padding: 0.0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 헤더 */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0.0;
    left: 0.0;
    right: 0.0;
    padding: 15px 0;
    z-index: 2000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
    display: block;
    padding: 10px 0;
}

.nav-menu li a:hover {
    color: #2563eb;
}

/* 드롭다운 메뉴 스타일 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0.0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(-50%) translateY(-10px);
    margin-top: 10px;
    z-index: 1000.0;
}

/* 드롭다운 스크롤바 스타일 */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

.dropdown:hover .dropdown-menu {
    opacity: 1.0;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: background 0.3s, color 0.3s;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f0f8ff;
    color: #2563eb;
}

.header-phone {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: #2563eb;
}

.phone-icon {
    margin-right: 8px;
    font-size: 20px;
}

.phone-number {
    font-weight: bold;
    font-size: 18px;
}

/* 메인 섹션 */
.main-section {
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url("../images/main.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 20px 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.main-subtitle {
    font-size: 22px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.main-title {
    font-size: 52px;
    font-weight: bold;
    color: #000;
    margin-bottom: 40px;
    line-height: 1.3;
}

.main-cta {
    background: #2563eb;
    color: white;
    padding: 18px 45px;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.main-cta:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* 소개 섹션 */
.intro-section {
    background: #f8fafc;
    padding: 80px 0;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #333;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 60px 0;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    height: 200px;
    justify-content: center;
    position: relative;
}

.stat-card.center-stat {
    z-index: 3.0;
    margin-top: 0.0;
}

.stat-card.left-stat {
    z-index: 2.0;
    margin-top: 100px;
}

.stat-card.right-stat {
    z-index: 2.0;
    margin-top: 100px;
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-icon-circle {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    border-radius: 50%;
    padding: 12px;
}

.stat-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stat-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #2563eb;
}

.stat-number small {
    font-size: 18px;
    font-weight: 600;
    color: #2563eb;
}

/* 특징 섹션 */
.features-section {
    background: white;
    padding: 100px 0;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-image {
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.feature-content {
    text-align: left;
}

.feature-item.reverse .feature-content {
    text-align: right;
}

.feature-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

.feature-highlight {
    font-size: 40px;
    font-weight: bold;
    color: #2563eb;
    line-height: 1.3;
}

/* 서비스 분야 섹션 */
.services-section {
    background: #f8fafc;
    padding: 80px 0;
}

.services-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-title {
    text-align: center;
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 50px;
    color: #333;
}

.services-zigzag {
    display: flex;
    flex-direction: column;
    gap: 0.0;
}

.service-row {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.service-row.row-top {
    margin-bottom: -30px;
}

.service-row.row-bottom {
    padding-top: 60px;
}

.service-card-zigzag {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    width: 280px;
}

.service-card-zigzag:hover {
    transform: translateY(-5px);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-name {
    padding: 20px;
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

/* 시공사례 섹션 */
.portfolio-section {
    background: white;
    padding: 80px 0;
}

.portfolio-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-title {
    text-align: center;
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.portfolio-subtitle {
    text-align: center;
    font-size: 24px;
    color: #666;
    margin-bottom: 60px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.portfolio-label {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.portfolio-images {
    margin-bottom: 25px;
    text-align: center;
}

.portfolio-images img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.portfolio-description {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

/* FAQ 섹션 */
.faq-section {
    background: #f8fafc;
    padding: 80px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-title {
    text-align: center;
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 50px;
    color: #333;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: #2563eb;
    color: white;
    padding: 20px 25px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
}

.faq-answer {
    padding: 25px;
    background: white;
}

.faq-answer p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

/* 상담 섹션 */
.consultation-section {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    padding: 100px 20px;
}

.consultation-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.consultation-content {
    margin-bottom: 50px;
}

.consultation-title {
    font-size: 42px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.consultation-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: #2563eb;
}

.consultation-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.consultation-box-title {
    font-size: 26px;
    font-weight: bold;
    color: #000;
    margin-bottom: 30px;
}

.consultation-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-consult {
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-kakao-consult {
    background: #fee500;
    color: #000;
}

.btn-phone-consult {
    background: #34c759;
    color: white;
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 푸터 */
.footer {
    background: #1f2937;
    color: white;
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    font-size: 14px;
    line-height: 1.8;
    color: #9ca3af;
    text-align: center;
}

.footer-content p {
    margin: 5px 0;
}

/* 플로팅 액션 버튼 */
.floating-action-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000.0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 65px;
    height: 65px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-btn .icon {
    font-size: 24px;
    margin-bottom: 3px;
}

.floating-btn .text {
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.floating-btn.green {
    background-color: #34c759;
    color: white;
}

.floating-btn.yellow {
    background-color: #fee500;
    color: #000;
}

/* 햄버거 메뉴 버튼 (기본 숨김) */
.hamburger {
    display: none;
}

/* 반응형 */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header-container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 18px;
    }

    .phone-number {
        font-size: 14px;
    }

    /* 햄버거 메뉴 버튼 */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.0;
        margin-left: 15px;
        z-index: 2001.0;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* 네비게이션 메뉴 숨김 */
    .nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1999.0;
        overflow-y: auto;
    }

    .nav.active {
        left: 0.0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.0;
        padding: 20px 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li a {
        padding: 15px 20px;
        font-size: 14px;
    }

    /* 드롭다운 메뉴 모바일 */
    .dropdown-toggle {
        width: 100%;
        text-align: left;
    }

    .dropdown-menu {
        position: static;
        opacity: 1.0;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0.0;
        padding: 0;
        margin-top: 0.0;
        background: #f8f9fa;
        max-height: 0.0;
        overflow-y: auto;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 400px;
    }

    .dropdown-menu li a {
        padding: 12px 20px 12px 40px;
        font-size: 13px;
    }

    .main-section {
        padding: 120px 20px 60px;
        min-height: 70vh;
    }

    .main-subtitle {
        font-size: 16px;
    }

    .main-title {
        font-size: 28px;
    }

    .main-cta {
        font-size: 16px;
        padding: 14px 30px;
    }

    .intro-title {
        font-size: 26px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 25px;
        padding: 20px 0;
    }

    .stat-card {
        width: 180px;
        height: 180px;
        padding: 30px 20px;
    }

    .stat-card.center-stat,
    .stat-card.left-stat,
    .stat-card.right-stat {
        margin-top: 0.0;
        margin-left: auto;
        margin-right: auto;
    }

    .stat-card:hover {
        transform: translateY(-8px);
    }

    .stat-icon-circle {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .stat-title {
        font-size: 12px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-number small {
        font-size: 16px;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }

    .feature-item.reverse {
        direction: ltr;
    }

    .feature-item.reverse .feature-content {
        text-align: left;
    }

    .feature-title {
        font-size: 22px;
    }

    .feature-highlight {
        font-size: 32px;
    }

    .services-title {
        font-size: 28px;
    }

    .services-zigzag {
        gap: 0.0;
    }

    .service-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .service-row.row-top {
        margin-bottom: 20px;
    }

    .service-row.row-bottom {
        padding-top: 0.0;
    }

    .service-card-zigzag {
        width: 90%;
        max-width: 300px;
    }

    .portfolio-title {
        font-size: 26px;
    }

    .portfolio-subtitle {
        font-size: 18px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faq-title {
        font-size: 26px;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px 20px;
    }

    .faq-answer {
        padding: 20px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .consultation-title {
        font-size: 24px;
    }

    .consultation-subtitle {
        font-size: 20px;
    }

    .consultation-box {
        padding: 30px 20px;
    }

    .consultation-box-title {
        font-size: 20px;
    }

    .btn-consult {
        font-size: 16px;
        padding: 14px 25px;
    }

    .floating-action-buttons {
        bottom: 20px;
        right: 20px;
        flex-direction: row;
        gap: 10px;
    }

    .floating-btn {
        width: 60px;
        height: 60px;
    }

    .floating-btn .icon {
        font-size: 20px;
    }

    .floating-btn .text {
        font-size: 9px;
    }
}

/* 스크롤 스무스 */
html {
    scroll-behavior: smooth;
}