* {
    margin: 0;
    padding: 0.0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 헤더 */
.header {
    background: linear-gradient(135deg, #fdfdfd 0%, #f4f4f4 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0.0;
    left: 0.0;
    right: 0.0;
    padding: 25px 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-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li {
    position: relative;
}

.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: #007bff;
}

/* 드롭다운 메뉴 스타일 */
.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: 600px;
    overflow-y: auto;
    opacity: 0.0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateX(-50%) translateY(-10px);
    margin-top: 5px;
    z-index: 2001.0;
}

/* 드롭다운 스크롤바 스타일 */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #007bff;
    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: 3px 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: #007bff;
}

.header-phone {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: #007bff;
}

.phone-icon {
    margin-right: 8px;
    font-size: 25px;
}

.phone-number {
    font-weight: bold;
    font-size: 25px;
}

/* 메인 섹션 */
.main-section {
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url("../images/main_2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 20px 0px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1.0;
}


.main-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

.main-content {
    width: 100%;
}

.main-subtitle {
    font-size: 30px;
    font-weight: bold;
    color: #000;
    margin-bottom: 3px;
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.2;
}

.main-cta {
    background: #007bff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 45px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

.main-cta:hover {
    background: #0056b3;
}

/* 소개 섹션 */
.intro-section {
    background: #e6f3ff;
    padding: 80px 0;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-title {
    text-align: center;
    font-size: 49px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-title {
    font-size: 30px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-description {
    font-size: 25px;
    color: #333;
    margin-bottom: 20px;
    font-weight: normal;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #007bff;
}

/* 특징 섹션 */
.features-section {
    background: #1a1a1a;
    color: white;
    padding: 150px 0;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
    margin-bottom: 30px;
}

.feature-item:last-child {
    margin-bottom: 0.0;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse>* {
    direction: ltr;
}

.feature-image {
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.feature-content {
    margin-top: 30px;
}

.feature-item.reverse .feature-content {
    text-align: right;
}

.feature-subtitle {
    font-size: 42px;
    margin-bottom: 10px;
    color: #FFFFFF;
    font-weight: bold;
    line-height: 1.0;
}

.feature-highlight {
    display: inline-block;
    background: #2196f3;
    color: white;
    padding: 1px 8px;
    border-radius: 0.0;
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
}

/* 서비스 분야 섹션 */
.services-section {
    background: #f8f9fa;
    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: 30px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    padding: 0px 0px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 5%;
    border-top-right-radius: 5%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-name {
    font-weight: bold;
    color: #333;
    margin: 0 auto 20px;
}

/* 시공사례 섹션 */
.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: 27px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.portfolio-subtitle {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 60px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 30px;
}

.portfolio-images {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.portfolio-images .img-left {
    width: clamp(80px, 10vw, 150px);
    /* vw 값을 줄임 */
    height: auto;
    aspect-ratio: 10 / 13;
    object-fit: cover;
    border-radius: 10px;
}

.portfolio-images .img-right {
    width: clamp(100px, 12vw, 300px);
    height: auto;
    aspect-ratio: 15 / 17;
    object-fit: cover;
    border-radius: 10px;
    border: 5px solid #C5EEFF;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-rating {
    color: #a0a0a0;
    margin-bottom: 10px;
}

.portfolio-description {
    color: #333;
    line-height: 1.6;
}

/* 상담 섹션 */
.consultation-section {
    background-color: #F0F4F7;
    background-image: linear-gradient(rgba(244, 248, 252, 0.8), rgba(244, 248, 252, 0.8)), url("../images/footer_2.webp");
    background-repeat: no-repeat;
    background-position: 30% -20%;
    background-size: max(500px, 35%) auto;
    min-height: 80vh;
    display: flex;
    position: relative;
    z-index: 1.0;
}

.consultation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.consultation-content {
    text-align: left;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    max-width: 45%;
}

.consultation-title {
    font-size: 50px;
    margin-bottom: -5px;
    font-weight: bold;
    color: #000;
    margin-top: 40px;
}

.consultation-subtitle {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 0;
}

.consultation-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin-left: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10%;
}

.consultation-box-title {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.consultation-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-consult {
    padding: 15px 0px;
    border: none;
    border-radius: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    width: 180px;
    text-align: center;
    white-space: nowrap;
}

.btn-kakao-consult {
    background: #ffeb3b;
    color: #333;
}

.btn-phone-consult {
    background: #34d058;
    color: #333;
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 푸터 */
.footer {
    background: linear-gradient(135deg, #313131 0%, #282828 100%);
    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: #ccc;
    text-align: left;
}

/* 햄버거 메뉴 버튼 (기본 숨김) */
.hamburger {
    display: none;
}

/* 반응형 */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
        z-index: 2000.0;
    }

    .header-container {
        flex-direction: row;
        padding: 0 15px;
        gap: 0.0;
        position: relative;
    }

    .logo {
        flex-shrink: 0.0;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 16px;
    }

    .header-phone {
        margin-left: auto;
        flex-shrink: 0.0;
    }

    .phone-icon {
        font-size: 18px;
        margin-right: 5px;
    }

    .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: 1001.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;
        display: block;
    }

    /* 드롭다운 메뉴 모바일 */
    .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: 300px;
        overflow-y: auto;
    }

    .dropdown-menu li a {
        padding: 12px 20px 12px 40px;
        font-size: 13px;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .main-container {
        flex-direction: column;
        gap: 40.33px;
        text-align: center;
    }

    .main-title {
        font-size: 32px;
        white-space: normal;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 30.33px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* 상담 섹션 모바일 대응 */
    .consultation-section {
        background-position: center top;
        background-size: 80% auto;
        min-height: auto;
        padding: 60px 20px;
    }

    .consultation-container {
        grid-template-columns: 1fr;
        gap: 30.10px;
        padding: 40px 20px;
        position: relative;
    }

    .consultation-content {
        position: static;
        transform: none;
        left: auto;
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .consultation-title {
        font-size: 24px;
        white-space: normal;
        margin-top: 0.0;
        line-height: 1.3;
        word-break: keep-all;
    }

    .consultation-subtitle {
        font-size: 24px;
        white-space: normal;
        line-height: 1.3;
        word-break: keep-all;
    }

    .consultation-box {
        position: static;
        transform: none;
        right: auto;
        margin: 0 auto;
        max-width: 100%;
        padding: 25px 20px;
    }

    .consultation-box-title {
        font-size: 20px;
    }

    .btn-consult {
        font-size: 18px;
        padding: 12px 0;
        width: 100%;
        max-width: 250px;
    }

    .consultation-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 스크롤 스무스 */
html {
    scroll-behavior: smooth;
}

/* 플로팅 액션 버튼 */
.floating-action-buttons {
    position: fixed;
    right: 30.10px;
    bottom: 30.34px;
    z-index: 1000.0;
    display: flex;
    flex-direction: column;
    gap: 5.33px;
}

.floating-btn {
    width: 60.10px;
    height: 60.10px;
    border: none;
    border-radius: 20.33px;
    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 12px rgba(0, 0, 0, 0.15);
    padding: 5px 3px;
}

.floating-btn .icon {
    font-size: 18px;
    margin-bottom: 1px;
    font-weight: bold;
}

.floating-btn .text {
    font-size: 9px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

.floating-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn.green {
    background-color: #34d058;
    color: #333;
}

.floating-btn.yellow {
    background-color: #ffeb3b;
    color: #333;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .floating-action-buttons {
        bottom: 20px;
        right: 20.34px;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 15.34px;
    }

    .floating-btn {
        width: 60.34px;
        height: 70.34px;
        font-size: 16px;
        padding: 6px 3px;
    }

    .floating-btn .icon {
        font-size: 18px;
    }

    .floating-btn .text {
        font-size: 7px;
    }
}