/* Reset and Base Styles - Complete Full Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 페이지 전환 애니메이션 */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4af8c 0%, #4a90a4 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.page-transition-overlay.active {
    opacity: 1;
    visibility: visible;
}

.page-transition-content {
    text-align: center;
    color: white;
}

/* 로고 컨테이너 스타일은 하단의 최적화된 버전 사용 */

.page-transition-text {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.page-transition-subtitle {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* 페이지 로드 페이드인 */
body {
    animation: pageLoadFadeIn 0.5s ease-out;
}

@keyframes pageLoadFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    /* Base font size for desktop */
    font-size: 16px;
}

/* Responsive font scaling for different devices */
@media screen and (max-width: 480px) {
    html {
        font-size: 14px; /* Ultra small devices */
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    html {
        font-size: 15px; /* Small tablets */
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    html {
        font-size: 16px; /* Tablets */
    }
}

@media screen and (min-width: 1025px) {
    html {
        font-size: 16px; /* Desktop */
    }
}

/* Device-specific optimizations */
@media screen and (max-width: 375px) {
    html {
        font-size: 13px; /* iPhone SE and smaller */
    }
}

@media screen and (min-width: 376px) and (max-width: 414px) {
    html {
        font-size: 14px; /* iPhone standard sizes */
    }
}

@media screen and (min-width: 415px) and (max-width: 480px) {
    html {
        font-size: 14.5px; /* iPhone Plus sizes */
    }
}

body {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
    line-height: 1.65;
    color: #1a1a1a;
    background-color: transparent;
    font-weight: 400;
    letter-spacing: -0.4px;
    overflow-x: hidden;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 모든 요소에 한국어 지원 폰트 강제 적용 - 더욱 강력하게 */
/* 안전한 폰트 적용 - Font Awesome 아이콘 보호 */
html, body {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
}

/* 텍스트 요소들에만 폰트 적용 */
h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, textarea, select, label {
    font-family: inherit;
}

/* Font Awesome 아이콘 폰트 보호 */
.fa, .fas, .far, .fal, .fad, .fab, [class^="fa-"], [class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
}

/* 네비게이션 요소들의 모든 폰트 관련 속성 초기화 후 재설정 */
.nav-menu a,
.nav-item a,
.navbar a,
.nav-link,
.estimate-nav,
.consultation-nav {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-weight: 400 !important;
    font-stretch: normal !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-synthesis: none !important;
    -webkit-font-feature-settings: normal !important;
    font-feature-settings: normal !important;
    text-rendering: optimizeLegibility !important;
}

/* 네비게이션 요소들에 특별히 강력한 폰트 적용 - 인라인 스타일까지 오버라이드 */
.navbar *, 
.nav-menu *, 
.nav-link, 
.estimate-nav, 
.consultation-nav,
a[href*="estimate"],
a[href*="consultation"],
.nav-item a,
.navbar a,
a[data-route],
a[href="/"],
a[href="/portfolio"],
a[href="/workplace"],
a[href="/estimate.html"],
a[href="/consultation.html"] {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-synthesis: none !important;
}

/* 모든 네비게이션 링크에 대한 절대적 폰트 강제 적용 - 인라인 스타일까지 */
.nav-menu a[style*="color"],
.nav-item a[style],
.navbar a[style],
a.nav-link[style],
a[data-route="home"],
a[data-route="portfolio"],
a[data-route="workplace"],
a[href="/estimate.html"],
a[href="/consultation.html"] {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-synthesis: none !important;
}

/* CSS Specificity를 최대한 높여서 모든 네비게이션 폰트 통일 */
html body .navbar .nav-menu .nav-item .nav-link,
html body .navbar .nav-menu .nav-item a,
html body .navbar .nav-menu .nav-item a.nav-link,
html body .navbar .nav-menu .nav-item a.estimate-nav,
html body .navbar .nav-menu .nav-item a.consultation-nav,
html body .navbar .nav-menu .nav-item a[data-route],
html body .navbar .nav-menu .nav-item a[href],
html body .navbar .nav-menu .nav-item a[style] {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-synthesis: none !important;
    -webkit-text-stroke: unset !important;
    text-stroke: unset !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

/* 극도로 높은 우선순위로 모든 폰트 강제 적용 */
html body div.nav-container ul.nav-menu li.nav-item a,
html body div.nav-container ul.nav-menu li.nav-item a.nav-link,
html body div.nav-container ul.nav-menu li.nav-item a.estimate-nav,
html body div.nav-container ul.nav-menu li.nav-item a.consultation-nav,
html body nav.navbar div.nav-container ul.nav-menu li.nav-item a[data-route="home"],
html body nav.navbar div.nav-container ul.nav-menu li.nav-item a[data-route="portfolio"],
html body nav.navbar div.nav-container ul.nav-menu li.nav-item a[data-route="workplace"],
html body nav.navbar div.nav-container ul.nav-menu li.nav-item a[href="/estimate.html"],
html body nav.navbar div.nav-container ul.nav-menu li.nav-item a[href="/consultation.html"] {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-synthesis: none !important;
    font-weight: 400 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    font-display: swap !important;
}

/* 특정 요소들에 대한 명시적 폰트 설정 - 네비게이션 요소 추가 */
h1, h2, h3, h4, h5, h6, 
p, span, div, a, button,
.nav-link, .brand-name, .brand-tagline,
.hero-title, .hero-subtitle, .hero-text,
.section-title, .section-subtitle,
.portfolio-title, .portfolio-category,
.review-text, .review-author,
.contact-form label, .contact-form input, .contact-form textarea,
.footer-text, .footer-link,
.estimate-nav, .consultation-nav,
.navbar .nav-link, .nav-menu .nav-link,
a[href*="estimate"], a[href*="consultation"] {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
    color: #1a1a1a;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.3px;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
}

h5 {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.2px;
    margin-bottom: 0.6rem;
    color: #2a2a2a;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.1px;
    margin-bottom: 0.5rem;
    color: #2a2a2a;
}

p {
    margin-bottom: 1.2rem;
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: -0.2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 36px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    letter-spacing: -0.3px;
    position: relative;
    overflow: hidden;
    text-transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af8c, #c19a6b);
    color: white;
    box-shadow: 0 8px 25px rgba(212, 175, 140, 0.35);
    font-size: 16px;
    padding: 20px 40px;
    border: 2px solid transparent;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c19a6b, #a68660);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 140, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: 2px solid #d4af8c;
    font-size: 16px;
    padding: 20px 40px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    letter-spacing: -0.2px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #d4af8c, #c19a6b);
    color: white;
    border-color: #d4af8c;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 140, 0.4);
}

/* Navigation - Complete Transparent Overlay */
.navbar {
    background: transparent;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: none;
    margin: 0;
    height: 85px;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: saturate(120%) blur(6px);
    -webkit-backdrop-filter: saturate(120%) blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    height: 85px;
}

.nav-logo .logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo .logo-link:hover {
    transform: translateY(-1px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 300px;
    height: 75px;
    background: white !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.logo-icon svg {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

/* 푸터 로고 스타일링 */
.footer-logo .logo-icon {
    width: 180px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0px;
}

.footer-logo .logo-icon img {
    filter: brightness(1.1);
}

/* 페이지 전환 로고 최적화 */
.page-transition-logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.page-transition-logo {
    background: white;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-transition-logo img {
    border-radius: 6px;
    transition: transform 1.5s ease-in-out;
}

.page-transition-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-transition-brand-name {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 4px;
}

.page-transition-brand-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 3px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.logo-icon i {
    color: white;
    font-size: 1.4rem;
}

.logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 140, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 기본 로고 색상 (다른 페이지용) */
.brand-name {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 4px;
}

.brand-tagline {
    color: #888;
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* 홈페이지에서만 흰색 로고 */
.page-home .brand-name {
    color: #ffffff !important;
}

.page-home .brand-tagline {
    color: rgba(255, 255, 255, 0.8) !important;
}

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

.nav-item {
    margin-left: 1rem;
}






/* Mobile navigation styling */
@media (max-width: 768px) {
    .nav-item {
        margin-left: 0;
    }
}

.nav-link {
    text-decoration: none !important;
    color: #333333 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    padding: 10px 18px !important;
    letter-spacing: -0.3px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    margin: 0 2px !important;
}

.nav-link:hover {
    color: #d4af8c !important;
    background: transparent !important;
    border-color: transparent !important;
}

.nav-link.active {
    color: #333333 !important;
    background: transparent !important;
    border-color: transparent !important;
}

.nav-link::after {
    display: none !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #000000;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 홈페이지에서 PC/모바일 구분 햄버거 버튼 */
body.page-home .hamburger .bar {
    background-color: #ffffff !important; /* PC 기본: 흰색 */
}

/* 모바일에서는 검정색 햄버거 */
@media (max-width: 768px) {
    body.page-home .hamburger .bar {
        background-color: #000000 !important;
    }
}

/* 다른 페이지에서는 항상 검정색 햄버거 */
body:not(.page-home) .hamburger .bar {
    background-color: #000000 !important;
}

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

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
/* Fullscreen Hero Carousel - Complete 100vh */
.fullscreen-hero {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    background: #000;
    margin: 0;
    isolation: isolate;
}

.hero-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Content Overlay */
.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.hero-text-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 40px;
}

.hero-main-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    word-break: keep-all;
}

.hero-main-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    word-break: keep-all;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 18px 36px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 400 !important;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    letter-spacing: -0.3px;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #d4af8c, #c19a6b);
    color: white;
    box-shadow: 0 8px 25px rgba(212, 175, 140, 0.4);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #c19a6b, #a68660);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 140, 0.6);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

/* Navigation Arrows */
.hero-nav-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    backdrop-filter: blur(10px) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-nav-prev {
    left: 40px !important;
}

.hero-nav-next {
    right: 40px !important;
}

.hero-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

/* Slide Indicators */
.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .hero-main-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .hero-nav-prev {
        left: 20px;
    }
    
    .hero-nav-next {
        right: 20px;
    }
    
    .hero-indicators {
        bottom: 20px;
    }
    
    .hero-dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-text-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-main-subtitle {
        font-size: 1rem;
    }
    
    .hero-nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
    
    .hero-nav-prev {
        left: 15px;
    }
    
    .hero-nav-next {
        right: 15px;
    }
}

/* Home Page Specific - Complete 100vh Coverage */
.page-home {
    height: 100vh;
    margin: 0;
    padding: 0;
    background: transparent;
}

.page-home .main {
    padding-top: 0;
    margin: 0;
    background: transparent;
    height: auto;
    min-height: 100vh;
}

.page-home .fullscreen-hero {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    margin-bottom: 0;
}

.page-home .navbar {
    position: fixed;
    z-index: 1000;
    background: transparent;
}

.page-home .footer {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
}

/* Ensure no margins/paddings interfere with fullscreen */
.page-home .fullscreen-hero > * {
    margin: 0;
    padding: 0;
}

.page-home .fullscreen-hero .hero-carousel-container {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
}

/* Navigation link colors for overlay - Only for home page */
.page-home .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.page-home .nav-link.active {
    color: rgba(255, 255, 255, 1) !important;
}

.page-home .nav-link:hover {
    color: rgba(255, 255, 255, 1) !important;
}

/* 홈화면에서 견적산출, 상담신청 버튼도 흰색 + 투명한 배경 + 굵은 글자 */
.page-home .estimate-nav,
.page-home .consultation-nav {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    font-weight: 400 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
}

.page-home .estimate-nav:hover,
.page-home .consultation-nav:hover {
    color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

/* Navigation link colors for other pages (black text) */
body:not(.page-home) .nav-link,
body.page-portfolio .nav-link,
body.page-workplace .nav-link,
body.page-general .nav-link {
    color: #000000 !important;
    font-weight: 400 !important;
}

body:not(.page-home) .nav-link:hover,
body.page-portfolio .nav-link:hover,
body.page-workplace .nav-link:hover,
body.page-general .nav-link:hover {
    color: #d4af8c !important;
    font-weight: 400 !important;
}

body:not(.page-home) .navbar,
body.page-portfolio .navbar,
body.page-workplace .navbar,
body.page-general .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Footer styling for home page overlay */
.page-home .footer {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.85);
}

.page-home .footer-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    text-align: left;
}

.page-home .footer a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.page-home .footer a:hover {
    color: rgba(255, 255, 255, 1);
}

.page-home .footer-section h3,
.page-home .footer-section h4 {
    color: #f4e4d1;
    font-weight: 600;
}

.page-home .footer-section {
    text-align: left;
}

.page-home .footer-section p {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.page-home .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    padding-top: 1.5rem;
    max-width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-home .footer-bottom-left {
    text-align: left;
}

.page-home .footer-bottom-right {
    text-align: right;
}

/* Remove any backgrounds that might cause black bars */
.page-home #home,
.page-home .hero-content-overlay,
.page-home .hero-slide {
    margin: 0;
    padding: 0;
}

/* Ensure no container limits */
.page-home .container,
.page-home .section {
    margin: 0;
    padding: 0;
    max-width: none;
    width: 100%;
}

/* Force remove any potential spacing */
.page-home {
    position: relative;
}

.page-home * {
    box-sizing: border-box;
}

/* Enable scrolling on home page to access footer */
.page-home {
    overflow-y: auto;
    height: 100vh;
}

/* Ensure images cover completely without gaps */
.page-home .hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    z-index: 3;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.8rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    word-break: keep-all;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.hero-description {
    font-size: 1rem;
    color: #888;
    margin-bottom: 3rem;
    line-height: 1.7;
    letter-spacing: -0.2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    word-break: keep-all;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    line-height: 1.7;
    letter-spacing: -0.2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Hero Portfolio Preview */
.hero-portfolio-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-portfolio-preview h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.portfolio-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.portfolio-slide.prev {
    transform: translateX(-100%);
}

.portfolio-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    min-height: 80px;
}

.portfolio-slide-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.portfolio-slide-info p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

/* Portfolio Preview Card Styles */
.portfolio-preview-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-preview-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-preview-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    min-height: 80px;
}

.portfolio-preview-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.portfolio-preview-info p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    color: white !important;
}

.portfolio-preview-info .price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #d4af8c !important;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.2px;
}

.portfolio-slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.portfolio-prev,
.portfolio-next {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.portfolio-prev:hover,
.portfolio-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-slide-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.slide-dots {
    display: flex;
    gap: 0.5rem;
}

.slide-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-slide.prev {
    transform: translateX(-100%);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-portfolio-preview {
        padding: 1.5rem;
    }
    
    .portfolio-slider {
        height: 250px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .hero-slide-indicator {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-portfolio-preview {
        padding: 1rem;
    }
    
    .hero-portfolio-preview h3 {
        font-size: 1.2rem;
    }
    
    .portfolio-slider {
        height: 200px;
    }
    
    .portfolio-prev,
    .portfolio-next {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .slide-dots .dot {
        width: 10px;
        height: 10px;
    }
}

/* Page Content Styles */
.page-content {
    min-height: 100vh;
    padding-top: 85px;
    padding-bottom: 80px;
}

/* Estimate Form Styles */
.estimate-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.estimate-form {
    display: grid;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af8c;
    box-shadow: 0 0 0 3px rgba(212, 175, 140, 0.1);
}

.estimate-result {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid transparent;
}

.estimate-result h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.estimate-details {
    margin: 1rem 0;
}

.estimate-details p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.estimate-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

/* Navigation Active State */
.nav-link.active {
    color: #d4af8c !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100% !important;
    background: #d4af8c !important;
}

/* Section Styles */
section {
    padding: 100px 0;
    display: none;
}

section.active {
    display: block;
}

/* Estimate Result Page Management */
#estimate-result-page {
    display: none;
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
}

#estimate-result-page.active {
    display: block;
}

/* Show estimate results only when in estimate result section */
body.estimate-result-active .estimate-result-display {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Hide estimate results when not in estimate result section */
body:not(.estimate-result-active) .estimate-result-display {
    display: none !important;
}

/* Ensure proper section switching */
.section-hidden {
    display: none !important;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 3.2rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -1.2px;
    word-break: keep-all;
    line-height: 1.2;
}

/* Contact 섹션에서만 밝은 색상 적용 */
.contact .section-title {
    color: #ffffff;
}

.contact .section-subtitle {
    color: #e8e8e8;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    letter-spacing: -0.2px;
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: #f8f8f8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-text h3 {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -0.4px;
    word-break: keep-all;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.philosophy {
    background-color: #1a1a1a;
    padding: 3rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.philosophy h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.philosophy p {
    font-style: italic;
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0;
    font-weight: 300;
    letter-spacing: -0.3px;
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature-card {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.12);
}

.feature-card i {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Portfolio Section */
.portfolio {
    padding: 180px 0 100px 0 !important;
    background: white;
    margin-top: 0 !important;
}

.portfolio .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* Workplace filter specific alignment - responsive */
.workplace-filter-container {
    display: flex !important;
    justify-content: center !important;
    gap: 10px;
    flex-wrap: wrap !important;
    align-items: center !important;
    width: 100% !important;
    margin: 10px auto 5px auto !important;
    text-align: center !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.workplace-search-container {
    display: flex !important;
    justify-content: center !important; /* 모바일: 중앙 정렬 */
    position: relative;
    max-width: 400px;
    margin: 15px auto 10px auto; /* 모바일: 중앙 정렬 */
}

/* 모든 화면 크기에서 중앙 정렬 유지 */
@media (min-width: 768px) {
    .workplace-filter-container {
        justify-content: center !important;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .workplace-search-container {
        justify-content: center !important;
        margin: 15px auto 10px auto;
    }
}

.filter-btn {
    padding: 14px 28px;
    border: 1px solid #e5e5e5;
    background-color: white;
    color: #555;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.2px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    width: 100%;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

/* PC에서 확실히 2개씩 표시 강제 */
@media (min-width: 1025px) {
    .portfolio-grid,
    #portfolio .portfolio-grid,
    .portfolio .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

/* Services Section */
.services {
    background-color: #f8f8f8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-card {
    background-color: white;
    padding: 4rem 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.12);
}

.service-card i {
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.service-card h3 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    word-break: keep-all;
}

.service-card p {
    line-height: 1.8;
    color: #555;
    letter-spacing: -0.2px;
    font-size: 1rem;
    word-break: keep-all;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.review-card {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.stars {
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-card p {
    font-style: italic;
    line-height: 1.6;
    color: #555;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.8rem;
    color: #d4af8c;
    min-width: 40px;
}

.contact-item h4 {
    color: #000;
    margin-bottom: 0.25rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-item p {
    color: #222;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

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

.footer-section h3,
.footer-section h4 {
    color: #d4af8c;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.4;
}

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

.footer-admin-section {
    margin: 0;
}

.footer-admin-link {
    display: inline-block;
    padding: 6px 12px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 400;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.footer-admin-link:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.footer-admin-link i {
    margin-right: 5px;
}

.footer-bottom-left p {
    color: #999;
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.3;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.admin-footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.admin-footer-link i {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Mobile Footer Responsive */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-left {
        order: 1;
    }
    
    .footer-admin-section {
        order: 2;
    }
    
    .admin-footer-link,
    .footer-admin-link {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    background-color: white;
    border-radius: 15px;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

#modal-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.modal-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.modal-info p {
    color: #666;
    margin: 0;
}

/* Tablet responsive - 2 columns */
@media (max-width: 1024px) and (min-width: 769px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.8rem !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }

    .nav-container {
        padding: 20px 25px;
        height: 85px;
    }
    
    .logo-container {
        gap: 15px;
        padding: 8px 0;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .logo-icon i {
        font-size: 1.25rem;
    }
    
    .brand-name {
        font-size: 1.6rem;
    }
    
    .brand-tagline {
        font-size: 0.8rem;
    }

    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100vw;
        height: calc(100vh - 85px);
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 3rem 0;
        box-shadow: none;
        z-index: 999999;
        transition: left 0.3s ease;
        overflow-y: auto;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .nav-item:last-child {
        border-bottom: none !important;
    }
    
    .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 1.5rem 2rem !important;
        font-size: 1.2rem !important;
        text-align: center !important;
        border-radius: 0 !important;
        margin: 0 !important;
        color: #333333 !important;
        background: transparent !important;
        border: none !important;
        text-decoration: none !important;
        font-weight: 500 !important;
    }
    
    .nav-link:hover {
        color: #d4af8c !important;
        background: transparent !important;
        text-decoration: none !important;
    }
    
    /* 일반 메뉴 항목들에 대한 강제 색상 적용 - 더 강력하게 */
    .nav-menu .nav-link:not(.estimate-nav):not(.consultation-nav),
    .nav-menu.active .nav-link:not(.estimate-nav):not(.consultation-nav) {
        color: #000000 !important; /* 모바일 기본: 검정색 */
        background: transparent !important;
        text-decoration: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        font-weight: 400 !important;
    }
    
    .nav-menu .nav-link:not(.estimate-nav):not(.consultation-nav):hover,
    .nav-menu.active .nav-link:not(.estimate-nav):not(.consultation-nav):hover {
        color: #d4af8c !important;
        background: transparent !important;
    }
    
    /* 모바일 메뉴의 특별 버튼들 색상 수정 */
    .nav-menu .estimate-nav,
    .nav-menu.active .estimate-nav {
        color: #000000 !important; /* 모바일: 검정색 */
        background: transparent !important;
        border-radius: 0 !important;
    }
    
    .nav-menu .consultation-nav,
    .nav-menu.active .consultation-nav {
        color: #000000 !important; /* 모바일: 검정색 */
        background: transparent !important;
        border-radius: 0 !important;
    }

    .hero {
        padding-top: 120px;
    }
}

/* 🖥️ 홈페이지 PC 버전 네비게이션 흰색 (데스크톱만) */
@media (min-width: 769px) {
    body.page-home .navbar .nav-link,
    body.page-home .nav-item .nav-link,
    body.page-home .nav-menu .nav-link,
    body.page-home .navbar .nav-link.estimate-nav,
    body.page-home .navbar .nav-link.consultation-nav,
    body.page-home .nav-item .nav-link.estimate-nav,
    body.page-home .nav-item .nav-link.consultation-nav {
        color: #ffffff !important; /* PC: 흰색 */
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 8px !important;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-image img {
        height: 400px;
    }

    .container,
    .about-content,
    .contact-content,
    .portfolio,
    .services-grid,
    .reviews-grid {
        padding: 0 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title {
        font-size: 2.5rem;
    }

    section {
        padding: 80px 0;
    }

    .page-content {
        padding-top: 80px;
    }

    .section-header {
        margin-bottom: 4rem;
    }

    section {
        padding: 105px 0 80px 0;
    }
    
    .portfolio {
        padding: 140px 0 80px 0 !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 18px 20px;
        height: 80px;
    }
    
    .logo-container {
        gap: 15px;
        padding: 6px 0;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
    
    .logo-icon i {
        font-size: 1.3rem;
    }
    
    .brand-name {
        font-size: 1.6rem;
        letter-spacing: 3px;
    }
    
    .brand-tagline {
        font-size: 0.8rem;
        margin-top: 2px;
        letter-spacing: 1px;
    }

    .container,
    .hero-content,
    .about-content,
    .contact-content,
    .portfolio,
    .services-grid,
    .reviews-grid {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-image img {
        height: 300px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .portfolio-item img {
        height: 250px;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }

    #modal-image {
        height: 200px;
    }

    .feature-card,
    .service-card,
    .review-card {
        padding: 2rem 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }
    
    /* Body 스크롤 막기 - 메뉴 열릴 때 */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }
    
    /* 메뉴 열릴 때 footer 숨기기 */
    body.menu-open .footer {
        display: none !important;
    }
    
    /* 모바일에서 연락처 정보 가독성 개선 */
    .contact-item {
        background-color: #ffffff !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
        border: 2px solid rgba(212, 175, 140, 0.1) !important;
    }
    
    .contact-item h4 {
        color: #000000 !important;
        font-weight: 800 !important;
        font-size: 1.2rem !important;
    }
    
    .contact-item p {
        color: #111111 !important;
        font-weight: 400 !important;
        font-size: 1rem !important;
    }
    
    .contact-item i {
        color: #d4af8c !important;
        font-size: 2rem !important;
    }
    
    section {
        padding: 105px 0 60px 0;
    }
    
    .portfolio {
        padding: 140px 0 60px 0 !important;
    }
}

/* Workplace Price Display Styles */
.workplace-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.workplace-price {
    color: #000 !important;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(212, 175, 140, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 140, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.workplace-title {
    color: #333 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    margin: 0 !important;
    line-height: 1.3;
    flex: 1;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 이미지 부드러운 로딩 애니메이션 */
.workplace-image,
.portfolio-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.workplace-image img,
.portfolio-image img {
    transition: opacity 0.5s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workplace-img-loading,
.portfolio-img-loading {
    opacity: 0;
}

.workplace-img-loaded,
.portfolio-img-loaded {
    opacity: 1;
}

/* Workplace Card Title Row */
.workplace-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.workplace-price {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(212, 175, 140, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 140, 0.3);
}

.workplace-title {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

/* Hidden Portfolio Items */
.portfolio-item.hidden {
    display: none;
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Focus States for Accessibility */
button:focus,
input:focus,
textarea:focus,
.nav-link:focus {
    outline: 2px solid #d4af8c;
    outline-offset: 2px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Portfolio Enhanced Layout */

.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    background: #fff;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #d4af8c;
    box-shadow: 0 0 0 3px rgba(212, 175, 140, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.sort-container {
    min-width: 150px;
}

.sort-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    cursor: pointer;
}

.portfolio-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.portfolio-sidebar {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* Sidebar Search Styles */
.sidebar-search {
    position: relative;
    margin-bottom: 1.5rem;
}

.sidebar-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
    background: white;
    transition: all 0.3s ease;
    height: 42px;
    box-sizing: border-box;
}

.sidebar-search-input:focus {
    outline: none;
    border-color: #d4af8c;
    box-shadow: 0 0 0 3px rgba(212, 175, 140, 0.1);
}

.sidebar-search-input::placeholder {
    color: #999;
}

.sidebar-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
}

.portfolio-sidebar h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.7rem;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    width: 100%;
    padding: 2px 0;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    background: #fff;
    transition: all 0.3s ease;
}

.filter-checkbox input:checked + .checkmark {
    background: #d4af8c;
    border-color: #d4af8c;
}

.filter-checkbox input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.filter-count {
    color: #999;
    font-size: 13px;
    font-weight: 500;
    margin-left: auto;
    padding-left: 10px;
    min-width: 25px;
    text-align: right;
}

.filter-label-text {
    display: flex;
    align-items: center;
    flex: 1;
}

.portfolio-content {
    flex: 1;
}

.portfolio-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 14px;
}

.results-left {
    font-size: 14px;
}

.sort-container {
    display: flex;
    align-items: center;
}

.sort-select {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 14px;
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.sort-select:focus {
    outline: none;
    border-color: #d4af8c;
}

/* Workplace Section */
.workplace {
    padding: 160px 0 100px 0 !important;
    background: #f8f9fa;
    min-height: 100vh;
    margin-top: 0 !important;
}

.workplace-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.workplace-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 24px !important;
    margin: 30px 0 50px 0 !important;
    padding: 0 20px !important;
}

.workplace-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.workplace-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.workplace-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.workplace-info {
    padding: 1.5rem;
}

.workplace-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.workplace-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.workplace-type {
    background: #e8f4f8;
    color: #2c7a88;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Estimate Section */
.estimate {
    padding: 100px 0;
    background: white;
}

.estimate-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.tab-btn {
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #d4af8c;
    color: white;
}

.estimate-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.form-section h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: 500;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: #d4af8c;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    background: white;
    transition: all 0.3s ease;
}

.radio-label input:checked + .radio-custom {
    border-color: #d4af8c;
    background: #d4af8c;
}

.radio-label input:checked + .radio-custom::after {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
}

.radio-label input:checked {
    border-color: #d4af8c;
    background: rgba(212, 175, 140, 0.1);
}

.estimate-result {
    text-align: center;
    margin: 1rem 0 3rem 0;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
}

.lineup-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 1rem 0;
    flex-wrap: wrap;
}

.lineup-card {
    flex: 1;
    max-width: 200px;
    min-width: 150px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.lineup-card:hover {
    border-color: #d4af8c;
    transform: translateY(-5px);
}

.lineup-card.featured {
    border-color: #d4af8c;
    background: linear-gradient(135deg, #f8f5f1, #fff);
}

.lineup-card h4 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lineup-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.lineup-card .price {
    color: #d4af8c;
    font-size: 1.2rem;
    font-weight: 600;
}

.signature {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #d4af8c;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

/* Estimate Result Page Styles */
.estimate-result-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 2rem;
}

/* Ensure estimate result page is completely standalone */
body.estimate-result-active {
    overflow-x: hidden;
}

body.estimate-result-active main,
body.estimate-result-active footer:not(.estimate-footer),
body.estimate-result-active #home,
body.estimate-result-active #portfolio,
body.estimate-result-active #workplace,
body.estimate-result-active #estimate,
body.estimate-result-active #contact {
    display: none !important;
}

.estimate-result-display {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #f8f9fa;
}

/* Ensure navigation stays visible on estimate result page */
body.estimate-result-active header,
body.estimate-result-active nav {
    display: block !important;
    position: relative;
    z-index: 1002;
}

/* Selected Options in Result Header */
.selected-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.option-item {
    background: #f8f5f1;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 400;
    font-size: 0.85rem;
    border: 1px solid #e0e0e0;
}

.option-divider {
    color: #ccc;
    font-size: 0.8rem;
}

/* 메인 견적 결과 */
.estimate-main-result {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
}

.result-header {
    text-align: center;
    margin-bottom: 3rem;
}

.result-header h1 {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price-range {
    background: linear-gradient(135deg, #f8f5f1, #fff);
    border: 2px solid #d4af8c;
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.price-main {
    display: block;
    color: #d4af8c;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-note {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.price-note strong {
    color: #333;
}

/* 항목별 세부 견적 */
.estimate-breakdown {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.estimate-breakdown h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.breakdown-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid transparent;
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.breakdown-header h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.breakdown-price {
    color: #d4af8c;
    font-weight: 600;
    font-size: 1rem;
}

.breakdown-desc {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.breakdown-total {
    border-top: 2px solid #eee;
    padding-top: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.total-row.final {
    border-top: 2px solid #d4af8c;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

/* 비슷한 시공사례 섹션 */
.similar-projects-section {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Project Card Styles - for both portfolio and similar projects */
.project-card, .portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 0;
    min-height: 480px;
}

.project-card:hover, .portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-image, .portfolio-image {
    position: relative;
    overflow: hidden;
}

.project-image img, .portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img,
.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.project-info, .portfolio-info {
    padding: 0.8rem 1rem 0.4rem 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.project-title, .portfolio-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    letter-spacing: -0.3px;
    word-break: keep-all;
    min-height: 3.9rem;
    height: 3.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Filtered highlight effect */
.filtered-highlight {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 30px rgba(212, 175, 140, 0.4) !important;
    border: 2px solid #d4af8c !important;
    animation: filterHighlight 2s ease-out;
}

@keyframes filterHighlight {
    0% {
        background-color: rgba(212, 175, 140, 0.1);
    }
    50% {
        background-color: rgba(212, 175, 140, 0.2);
    }
    100% {
        background-color: transparent;
    }
}

/* Workplace pricing styles */
.price-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 140, 0.95), rgba(192, 154, 122, 0.95));
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.price-amount {
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.price-unit {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-left: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.workplace-card-ohouse:hover .price-badge {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.workplace-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.workplace-details {
    display: flex;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.workplace-pyeong {
    background: #f0f0f0;
    color: #666;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.workplace-lineup {
    background: linear-gradient(135deg, #d4af8c, #c19a7a);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.85rem;
}

.project-details, .portfolio-details {
    margin: 0.2rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.95rem;
    flex: 0 0 auto;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 5px 0.2rem 0;
    border-bottom: 1px solid #f0f0f0;
    min-height: 24px;
    height: 24px;
    width: 100%;
    gap: 10px;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    min-width: 60px;
    width: 60px;
    margin-left: 15px;
    flex-shrink: 0;
    text-align: left;
    padding-right: 5px;
}

.detail-label::before,
.detail-label::after {
    display: none !important;
    content: none !important;
}

.detail-value {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    flex: 1;
    min-width: 60px;
    padding-right: 10px;
}

.project-details p, .portfolio-details p {
    margin: 0;
    padding: 0.3rem 0;
}

.project-size, .portfolio-size,
.project-location, .portfolio-location {
    font-weight: 500;
}

.project-price-per-pyeong, .portfolio-price-per-pyeong,
.project-date, .portfolio-date {
    color: #888;
}

.project-total-price, .portfolio-total-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #d4af8c;
    margin: 0 0 0.1rem 0;
    text-align: center;
    padding: 0.2rem 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-detail-btn {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.6rem;
    border: none;
    border-radius: 8px;
    background: #d4af8c;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: flex-end;
}

.portfolio-detail-btn:hover {
    background: #c19a75;
}

/* Projects Grid */
.projects-grid, #similar-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Preparing message for empty results */
.preparing-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Modal project details styling */
.modal-project-details {
    padding: 1rem 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid transparent;
}

.detail-item strong {
    color: #333;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.detail-item.total-price {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8f5f1, #fff);
    border-left-color: transparent;
    text-align: center;
    font-size: 1.1rem;
}

.detail-item.total-price strong {
    color: #d4af8c;
    font-size: 1.2rem;
}

.project-description {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid transparent;
}

.project-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.section-header h2 {
    color: #1a1a1a;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.8px;
    word-break: keep-all;
    line-height: 1.3;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h4 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-category {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.project-price {
    color: #d4af8c;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tag {
    background: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CTA 액션 버튼들 */
.estimate-actions {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.action-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.action-card.primary {
    border: 2px solid #d4af8c;
    background: linear-gradient(135deg, #f8f5f1, #fff);
}

.action-icon {
    width: 60px;
    height: 60px;
    background: #d4af8c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.action-icon i {
    color: white;
    font-size: 1.5rem;
}

.action-card h4 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.action-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.btn-outline {
    background: transparent;
    color: #d4af8c;
    border: 2px solid #d4af8c;
}

.btn-outline:hover {
    background: #d4af8c;
    color: white;
}

/* 안내사항 */
.disclaimer-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.disclaimer-box {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    border-radius: 12px;
    padding: 2rem;
}

.disclaimer-box h4 {
    color: #f57c00;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.disclaimer-box li {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.disclaimer-box li::before {
    content: '•';
    color: #f57c00;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.loading-message {
    text-align: center;
    padding: 3rem;
    color: #666;
    grid-column: 1 / -1;
}

.loading-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #d4af8c;
}

.error-message {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.error-message h2 {
    color: #333;
    margin-bottom: 1rem;
}

.error-message p {
    color: #666;
    margin-bottom: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .summary-card {
        padding: 0 1rem;
    }
    
    .summary-items {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .summary-divider {
        display: none;
    }
    
    .result-header h1 {
        font-size: 2rem;
    }
    
    .price-main {
        font-size: 2rem;
    }
    
    .price-range {
        padding: 1.5rem;
    }
    
    .estimate-main-result,
    .similar-projects-section,
    .estimate-actions {
        padding: 0 1rem;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .breakdown-item {
        padding: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-card {
        padding: 1.5rem;
    }
    
    .portfolio-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .portfolio-sidebar {
        position: static;
        order: -1;
        margin-bottom: 2rem;
    }
    
    .portfolio-results-info {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .sort-container {
        align-self: flex-end;
    }
    
    .estimate-tabs {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .lineup-info {
        grid-template-columns: 1fr;
    }
    
    .footer-company-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .workplace-detail-image img {
        height: 200px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    max-height: 90vh;
    width: 90%;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    color: #333;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.workplace-detail-image {
    margin-bottom: 2rem;
}

.workplace-detail-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #d4af8c;
    padding-bottom: 0.5rem;
}

.detail-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.detail-section strong {
    color: #333;
    font-weight: 600;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-in_progress {
    background: #e3f2fd;
    color: #1976d2;
}

.status-completed {
    background: #e8f5e8;
    color: #388e3c;
}

.status-planning {
    background: #fff3e0;
    color: #f57c00;
}

.status-paused {
    background: #fce4ec;
    color: #c2185b;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-buttons .btn {
    flex: 1;
    padding: 0.8rem 1rem;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.contact-buttons .btn i {
    margin-right: 0.5rem;
}

.preparing-message {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
    font-size: 1.1rem;
}

.preparing-message p {
    margin: 0;
    font-weight: 500;
}

/* Company Information Footer for Estimate Page */
.estimate-footer {
    background: #2c2c2c;
    color: #fff;
    padding: 1.5rem 0 1rem 0;
    margin-top: 2rem;
}

.footer-company-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.company-section h4,
.contact-section h5,
.business-section h5 {
    color: #d4af8c;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.company-section p,
.contact-section p,
.business-section p {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.footer-copyright {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
}

.footer-copyright p {
    color: #999;
    font-size: 0.8rem;
    margin: 0;
}

/* Portfolio Detail Section */
.portfolio-detail-section {
    min-height: 100vh;
    background: #f8f9fa;
    padding-top: 80px;
}

.project-nav-section {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.back-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.back-btn:hover {
    background: #f0f0f0;
    color: #d4af8c;
}

.back-btn i {
    font-size: 1.2rem;
}

.project-header-section {
    background: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.project-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.project-hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.project-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.project-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid transparent;
    min-height: 70px;
}

.meta-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.meta-item span:last-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.project-price {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f5f1, #fff);
    border-radius: 12px;
    border: 2px solid #d4af8c;
    margin-bottom: 2rem;
}

.price-label {
    display: block;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.project-price span:last-child {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af8c;
}

.project-actions {
    text-align: center;
}

.gallery-section {
    background: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f0f0f0;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #d4af8c;
    color: white;
}

.count {
    background: rgba(255,255,255,0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.filter-btn.active .count {
    background: rgba(255,255,255,0.3);
}

.view-toggle {
    display: flex;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.toggle-btn {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn.active {
    background: #d4af8c;
    color: white;
}

.gallery-container {
    position: relative;
}

.gallery-grid,
.gallery-single {
    display: none;
}

.gallery-grid.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-single.active {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.single-item {
    margin-bottom: 2rem;
    text-align: center;
}

.single-item img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    cursor: pointer;
}

.single-item-caption {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #666;
}

.similar-projects-section {
    background: white;
    padding: 2rem 0;
}

.similar-projects-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.similar-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.similar-project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.similar-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.similar-project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.similar-card-info {
    padding: 1.5rem;
}

.similar-card-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.similar-card-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.similar-card-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #d4af8c;
}

.consult-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
}

.consult-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.consult-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.consult-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.detail-consult-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af8c;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
}

.lightbox-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
}

.lightbox-info span {
    display: block;
}

.lightbox-info span:first-child {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.lightbox-info span:last-child {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Workplace Detail Section */
.workplace-detail-section {
    min-height: 100vh;
    background: #f8f9fa;
    padding-top: 80px;
}

.workplace-nav-section {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.workplace-header-section {
    background: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.workplace-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.workplace-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.workplace-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.workplace-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

.info-item {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 12px;
    border-left: 4px solid transparent;
    text-align: left;
}

.info-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-item span:last-child {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.workplace-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.workplace-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    min-width: 180px;
}

.btn-secondary {
    background: #f0f0f0;
    color: #666;
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    background: #e0e0e0;
    color: #333;
}

.workplace-gallery-section {
    background: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.similar-workplaces-section,
.similar-portfolio-section {
    background: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.similar-workplaces-section h2,
.similar-portfolio-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.similar-workplaces-grid,
.similar-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Workplace Section Styles */
.popular-section {
    margin-bottom: 2rem;
    padding: 1.5rem 0;
}

.popular-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.popular-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.popular-tag {
    background: #f0f0f0;
    color: #666;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.popular-tag:hover {
    background: #d4af8c;
    color: white;
    transform: translateY(-2px);
}

.workplace-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.results-count {
    font-size: 1.1rem;
    color: #333;
}

.results-count strong {
    color: #d4af8c;
    font-weight: 700;
}

.workplace-controls {
    display: flex;
    align-items: center;
}

.workplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.workplace-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.workplace-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.workplace-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.workplace-card-info {
    padding: 1.5rem;
}

.workplace-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.workplace-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.workplace-card-type {
    background: #f0f0f0;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.workplace-card-manager {
    font-weight: 500;
}

/* Mobile responsive for portfolio detail */
@media (max-width: 768px) {
    .project-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-info h1 {
        font-size: 2rem;
    }
    
    .project-meta {
        grid-template-columns: 1fr;
    }
    
    .gallery-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .gallery-filters {
        justify-content: center;
    }
    
    .view-toggle {
        align-self: center;
    }
    
    .workplace-hero h1 {
        font-size: 2.2rem;
    }
    
    .workplace-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .workplace-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .workplace-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .popular-tags {
        justify-content: center;
    }
    
    .workplace-results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .workplace-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Consult Modal Styles */
.consult-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.consult-content {
    position: relative;
    margin: 5% auto;
    background: white;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.consult-header {
    background: linear-gradient(135deg, #d4af8c, #c49b7a);
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.consult-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.workplace-consult-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workplace-consult-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.consult-form {
    padding: 2rem;
}

.consult-form .form-group {
    margin-bottom: 1.5rem;
}

.consult-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.consult-form input,
.consult-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.consult-form input:focus,
.consult-form textarea:focus {
    outline: none;
    border-color: #d4af8c;
    box-shadow: 0 0 0 3px rgba(212, 175, 140, 0.1);
}

.consult-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* Similar Project Cards */
.similar-project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.similar-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.similar-project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.similar-card-info {
    padding: 1.5rem;
}

.similar-card-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.similar-card-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.similar-card-meta p {
    margin: 0.2rem 0;
}

.similar-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d4af8c;
}

.portfolio-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(212, 175, 140, 0.9);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Back button for workplace detail */
.back-btn {
    background: transparent;
    border: 2px solid #d4af8c;
    color: #d4af8c;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background: #d4af8c;
    color: white;
    transform: translateX(-3px);
}

/* Gallery for workplace detail */
.gallery-item,
.single-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover,
.single-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img,
.single-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.single-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.single-item-caption {
    padding: 1rem;
    background: white;
    font-weight: 500;
    color: #333;
}

.gallery-single {
    display: none;
}

.gallery-single.active {
    display: block;
}

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

.gallery-single.active .single-item {
    margin-bottom: 2rem;
}

/* Gallery header filters and toggles */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-filters {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.filter-btn,
.toggle-btn {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.toggle-btn:hover {
    border-color: #d4af8c;
    color: #d4af8c;
}

.filter-btn.active,
.toggle-btn.active {
    background: #d4af8c;
    border-color: #d4af8c;
    color: white;
}

.count {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

.filter-btn.active .count {
    background: rgba(255, 255, 255, 0.3);
}

/* Ohouse-style Workplace Cards */
.workplace-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .workplace-grid-new {
        grid-template-columns: 1fr;
    }
}

.workplace-card-ohouse {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.workplace-card-ohouse:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.workplace-card-ohouse.visible {
    opacity: 1;
    transform: translateY(0);
}

.workplace-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.workplace-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.workplace-card-ohouse:hover .workplace-thumbnail img {
    transform: scale(1.05);
}

.progress-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(212, 175, 140, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.workplace-card-content {
    padding: 20px;
}

.workplace-project-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.workplace-location-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.workplace-location-info i {
    color: #d4af8c;
    font-size: 12px;
}

.workplace-category {
    display: inline-block;
    background: #f5f5f5;
    color: #666;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
}

.workplace-progress-bar {
    margin-bottom: 12px;
}

.progress-track {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af8c, #c49a7a);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-percentage {
    font-size: 12px;
    color: #d4af8c;
    font-weight: 600;
}

.workplace-last-updated {
    font-size: 11px;
    color: #999;
}

/* Button-style nav link */
.nav-link[type="button"] {
    background: none;
    border: none;
    padding: 0.8rem 1.2rem;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-link[type="button"]:hover {
    background-color: rgba(212, 175, 140, 0.1);
}

/* 포트폴리오 모달 스타일 */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.portfolio-modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.portfolio-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #d4af8c, #c19a6b);
    color: white;
    border-radius: 12px 12px 0 0;
}

.portfolio-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    word-break: keep-all;
}

.portfolio-modal-close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.portfolio-modal-close:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.portfolio-modal-body {
    padding: 2rem;
}

.portfolio-modal-image {
    text-align: center;
    margin-bottom: 2rem;
}

.portfolio-modal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-modal-info {
    display: grid;
    gap: 2rem;
}

.project-details h3,
.project-description h3,
.project-gallery h3 {
    color: #d4af8c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-bottom: 2px solid #f0ebe4;
    padding-bottom: 0.5rem;
    letter-spacing: -0.2px;
    word-break: keep-all;
}

.detail-row {
    display: flex !important;
    margin-bottom: 1.2rem !important;
    align-items: center !important;
    gap: 30px !important;
    padding: 8px 0 !important;
}

.detail-row .label {
    font-weight: 400 !important;
    color: #555 !important;
    min-width: 120px !important;
    width: 120px !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    font-size: 1rem !important;
}

.detail-row .value {
    color: #1a1a1a !important;
    flex: 1 !important;
    font-weight: 400 !important;
    margin-left: 10px !important;
    display: inline-block !important;
    font-size: 1rem !important;
}

.project-description p {
    line-height: 1.7;
    color: #444;
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.1px;
    word-break: keep-all;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* 라이트박스 스타일 */
.lightbox {
    display: flex;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover {
    opacity: 0.7;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Portfolio Detail Modal Styles */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.portfolio-modal-content {
    position: relative;
    background: #fff;
    margin: 2% auto;
    padding: 0;
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    overflow-y: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: #666;
    cursor: pointer;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
}

.portfolio-modal-close:hover {
    color: #d4af8c;
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

.portfolio-modal-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid #eee;
}

.portfolio-modal-header h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    font-weight: 500;
}

/* Modal project info styles removed - now using detail-item layout */

.portfolio-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px 40px 40px;
}

.modal-image-section {
    position: relative;
}

.modal-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.modal-main-image:hover {
    transform: scale(1.02);
}

.modal-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    border-color: #d4af8c;
}

.gallery-thumb.active {
    border-color: #d4af8c;
    transform: scale(1.05);
}

.modal-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modal-project-details {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.detail-item {
    display: flex !important;
    align-items: center !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid #e9ecef !important;
    gap: 30px !important;
    margin-bottom: 5px !important;
}

.detail-item:last-child {
    border-bottom: none !important;
}

.detail-label {
    font-weight: 400 !important;
    color: #555 !important;
    font-size: 1rem !important;
    letter-spacing: -0.1px !important;
    min-width: 120px !important;
    flex-shrink: 0 !important;
    width: 120px !important;
    display: inline-block !important;
}

.detail-label::before,
.detail-label::after {
    display: none !important;
    content: none !important;
}

.detail-value {
    font-weight: 400 !important;
    color: #1a1a1a !important;
    font-size: 1rem !important;
    letter-spacing: -0.1px !important;
    text-align: left !important;
    flex: 1 !important;
    margin-left: 10px !important;
    display: inline-block !important;
}

.modal-description {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.modal-description h4 {
    margin: 0 0 15px 0;
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 500;
}

.modal-description p {
    line-height: 1.6;
    color: #555;
    margin: 0;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.modal-actions .btn {
    flex: 1;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, #d4af8c, #c19f78);
    color: white;
    border: none;
}

.modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 140, 0.4);
}

.modal-actions .btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.modal-actions .btn-secondary:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-2px);
}

/* Portfolio Image Hover Effect */
.portfolio-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.portfolio-overlay i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #d4af8c;
}

.portfolio-image:hover .portfolio-overlay {
    opacity: 1;
}

/* Mobile Responsive for Portfolio Modal */
@media (max-width: 768px) {
    .portfolio-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .portfolio-modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 25px;
    }
    
    .portfolio-modal-header {
        padding: 20px 25px 15px;
    }
    
    .portfolio-modal-header h2 {
        font-size: 1.8rem;
    }
    
    .modal-main-image {
        height: 250px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .portfolio-modal-close {
        top: 15px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

/* Workplace Section Styles */
.workplace {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.search-filter-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
}

.filter-tab.active {
    background: #d4af8c;
    color: white;
    border-color: #d4af8c;
}

.search-input-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.results-count {
    color: #666;
    font-size: 16px;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

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

.workplace-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.workplace-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.workplace-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.workplace-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.progress-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #d4af8c;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.workplace-content {
    padding: 25px;
}

.workplace-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    word-break: keep-all;
}

.workplace-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.info-item i {
    width: 16px;
    color: #d4af8c;
}

.workplace-status {
    margin-top: 15px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-planning { background: #e3f2fd; color: #1976d2; }
.status-demolition { background: #fff3e0; color: #f57c00; }
.status-construction { background: #f3e5f5; color: #7b1fa2; }
.status-finishing { background: #e8f5e8; color: #388e3c; }
.status-completed { background: #e0f2f1; color: #00796b; }

.loading-state, .error-state, .no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.loading-state i {
    font-size: 2rem;
    color: #d4af8c;
    margin-bottom: 15px;
}

.filter-content-section {
    margin-bottom: 30px;
}

.filter-content {
    display: none;
}

.filter-content.active {
    display: block;
}

.filter-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.popular-tags, .location-grid, .pyeong-grid, .status-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-tags button, .location-grid button, .pyeong-grid button, .status-grid button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.popular-tags button:hover, .location-grid button:hover, .pyeong-grid button:hover, .status-grid button:hover {
    background: #d4af8c;
    color: white;
    border-color: #d4af8c;
}

@media (max-width: 768px) {
    .workplace {
        padding: 60px 0;
    }
    
    .workplace-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .search-filter-section {
        padding: 20px;
    }
}

/* Global override for all border-left decorations */
.detail-item,
.meta-item,
.breakdown-item,
.info-item,
.project-description,
.estimate-result {
    border-left: transparent !important;
}

/* Mobile-specific portfolio and card text styling */
@media (max-width: 768px) {
    .project-total-price, .portfolio-total-price {
        font-size: 1.1rem !important;
        padding: 0.3rem 5px !important;
        height: auto !important;
        min-height: 35px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
    }
    
    .detail-value {
        font-size: 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        min-width: 50px !important;
        word-break: keep-all !important;
    }
    
    .portfolio-title, .workplace-title {
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
        word-break: keep-all !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    .workplace-price, .project-price {
        font-size: 1rem !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
    }
    
    /* Workplace card mobile styling */
    .workplace-card-price {
        font-size: 0.95rem !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
    }
    
    .workplace-card-location {
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Portfolio item mobile styling */
    .portfolio-item {
        padding: 10px !important;
    }
    
    .portfolio-info {
        padding: 15px !important;
    }
    
    .portfolio-details {
        margin: 10px 0 !important;
    }
    
    .detail-item {
        margin-bottom: 8px !important;
    }
    
    .detail-label {
        font-size: 11px !important;
        white-space: nowrap !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .project-total-price, .portfolio-total-price {
        font-size: 0.9rem !important;
        padding: 0.2rem 3px !important;
        min-height: 28px !important;
    }
    
    .detail-value {
        font-size: 0.8rem !important;
        min-width: 45px !important;
    }
    
    .portfolio-title, .workplace-title {
        font-size: 0.85rem !important;
        line-height: 1.25 !important;
    }
    
    .workplace-price, .project-price {
        font-size: 0.85rem !important;
    }
    
    .detail-label {
        font-size: 0.7rem !important;
    }
    
    /* Section titles mobile scaling */
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
}

/* Ultra small devices (iPhone SE and smaller) */
@media (max-width: 375px) {
    .project-total-price, .portfolio-total-price {
        font-size: 0.8rem !important;
        padding: 0.15rem 2px !important;
        min-height: 26px !important;
    }
    
    .detail-value {
        font-size: 0.75rem !important;
        min-width: 40px !important;
    }
    
    .portfolio-title, .workplace-title {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
    }
    
    .detail-label {
        font-size: 0.65rem !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
}
/* Force center alignment for SPA routing - Cache buster 1755587190 */

/* 🔧 Final nav weight normalization - 최종 우선순위 */
html body nav.navbar .nav-link,
html body nav.navbar .nav-link *,
html body .nav-menu a,
html body .nav-menu a *,
html body .nav-item a,
html body .nav-item a * {
  font-weight: 400 !important;
  font-synthesis: none !important;
}
/* Neutralize bold wrappers inside nav */
html body nav.navbar .nav-link strong,
html body nav.navbar .nav-link b,
html body .nav-menu a strong,
html body .nav-menu a b {
  font-weight: inherit !important;
}

/* Footer Styles - 회사 정보 (홈 기준 통일) */
.site-footer {
    background: rgba(0, 0, 0, 0.85);
    color: rgba(255, 255, 255, 0.95);
    padding: 2rem 0;
    margin-top: 0;
    border-top: 4px solid #d4af8c;
}

.footer-content {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    text-align: left;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

/* SVG 스타일 제거됨 - PNG 이미지로 통일 */

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
}

.footer-brand-tagline {
    font-size: 0.75rem;
    color: #d4af8c;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-size: 0.8rem;
    max-width: 400px;
    font-weight: 400;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-section h4 {
    color: #f4e4d1;
    font-size: 1rem;
    font-weight: 600;
    font-weight: 600;
    margin: 0 0 12px 0;
    border-bottom: 2px solid #d4af8c;
    padding-bottom: 6px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    line-height: 1.4;
}

.footer-info-item i {
    color: #d4af8c;
    width: 16px;
    margin-top: 2px;
}

.footer-info-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-info-item a:hover {
    color: rgba(255, 255, 255, 1);
}



.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    padding-top: 1.5rem;
    max-width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.footer-bottom .company-info {
    margin-bottom: 10px;
}

.footer-bottom-left {
    text-align: left;
}

.footer-admin-section {
    text-align: right;
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 20px 0;
        margin-top: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-left {
        text-align: center;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 12px;
    }
    
    .footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .footer-brand-name {
        font-size: 1.4rem;
    }
    
    .footer-brand-tagline {
        font-size: 0.8rem;
    }
    
    .footer-description {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .footer-info-item {
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
    }
}

/* 화살표 강제 표시 - 최고 우선순위 */
.fullscreen-hero .hero-nav-arrow,
.hero-carousel-container .hero-nav-arrow,
#hero-prev,
#hero-next {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: absolute !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: none !important;
    color: white !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* 화살표 호버 효과 */
.fullscreen-hero .hero-nav-arrow:hover,
.hero-carousel-container .hero-nav-arrow:hover,
#hero-prev:hover,
#hero-next:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2) !important;
}

/* CSS 화살표 도형 - 왼쪽 */
.arrow-left {
    width: 0 !important;
    height: 0 !important;
    border-top: 8px solid transparent !important;
    border-bottom: 8px solid transparent !important;
    border-right: 12px solid white !important;
    margin-left: -2px !important;
}

/* CSS 화살표 도형 - 오른쪽 */
.arrow-right {
    width: 0 !important;
    height: 0 !important;
    border-top: 8px solid transparent !important;
    border-bottom: 8px solid transparent !important;
    border-left: 12px solid white !important;
    margin-right: -2px !important;
}

.fullscreen-hero #hero-prev,
.hero-carousel-container #hero-prev,
.fullscreen-hero .hero-nav-prev,
.hero-carousel-container .hero-nav-prev {
    left: 40px !important;
}

.fullscreen-hero #hero-next,
.hero-carousel-container #hero-next,
.fullscreen-hero .hero-nav-next,
.hero-carousel-container .hero-nav-next {
    right: 40px !important;
}

/* =================================================== */
/* 🎯 모든 네비게이션 메뉴 완전 통일 - 최고 우선순위 */
/* =================================================== */
html body .navbar .nav-link,
html body .nav-item .nav-link,
html body .nav-menu .nav-link,
html body .navbar .nav-link.estimate-nav,
html body .navbar .nav-link.consultation-nav,
html body .nav-item .nav-link.estimate-nav,
html body .nav-item .nav-link.consultation-nav,
html body .navbar .nav-link.estimate-nav.active,
html body .navbar .nav-link.consultation-nav.active,
html body .nav-item .nav-link.estimate-nav.active,
html body .nav-item .nav-link.consultation-nav.active {
    /* 모든 배경 제거 */
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    
    /* 모든 테두리 제거 */
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    
    /* 통일된 폰트 스타일 */
    font-size: 16px !important;
    font-weight: 400 !important;
    
    /* 통일된 패딩과 마진 */
    padding: 8px 16px !important;
    margin: 0 !important;
    
    /* 기타 초기화 */
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    transform: none !important;
    filter: none !important;
}

/* 🏠 홈페이지에서 네비게이션 텍스트 강제 흰색 적용 - 최고 우선순위 */
html body.page-home .navbar .nav-link,
html body.page-home .nav-item .nav-link,
html body.page-home .nav-menu .nav-link,
html body.page-home .navbar .nav-link.estimate-nav,
html body.page-home .navbar .nav-link.consultation-nav,
html body.page-home .nav-item .nav-link.estimate-nav,
html body.page-home .nav-item .nav-link.consultation-nav,
html body.page-home .navbar .nav-link.estimate-nav.active,
html body.page-home .navbar .nav-link.consultation-nav.active {
    color: white !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    font-weight: 400 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
}

/* 다른 페이지에서 검은색 텍스트 - 가시성 향상 */
body:not(.page-home) .navbar .nav-link,
body:not(.page-home) .nav-item .nav-link,
body:not(.page-home) .nav-menu .nav-link {
    color: #000000 !important;
    font-weight: 400 !important;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.8) !important;
}

/* 호버 효과 통일 */
html body .navbar .nav-link:hover,
html body .nav-item .nav-link:hover,
html body .nav-menu .nav-link:hover {
    color: #d4af8c !important;
    background: rgba(212, 175, 140, 0.1) !important;
    transform: none !important;
    box-shadow: none !important;
    font-weight: 400 !important;
}


/* =================================================== */
/* 🎯 최종 네비게이션 폰트 통일 - 절대 최고 우선순위 */
/* =================================================== */
html body nav.navbar .nav-container ul.nav-menu li.nav-item a.nav-link,
html body nav.navbar .nav-container ul.nav-menu li.nav-item button.nav-link,
html body .navbar .nav-container .nav-menu .nav-item .nav-link,
html body .nav-container .nav-menu .nav-item .nav-link,
html body .nav-menu .nav-item .nav-link,
html body .nav-item .nav-link,
html body .nav-link,
.nav-link,
a.nav-link,
button.nav-link,
.navbar .nav-link,
.nav-menu .nav-link,
.estimate-nav,
.consultation-nav,
.nav-link.estimate-nav,
.nav-link.consultation-nav,
.navbar .nav-link.estimate-nav,
.navbar .nav-link.consultation-nav {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-stretch: normal !important;
    line-height: normal !important;
    text-transform: none !important;
}

/* 특별히 인라인 스타일이 있는 nav-link들까지 강제 적용 */
html body nav.navbar .nav-container ul.nav-menu li.nav-item a.nav-link[style],
html body nav.navbar .nav-container ul.nav-menu li.nav-item button.nav-link[style],
html body .navbar .nav-container .nav-menu .nav-item .nav-link[style],
html body .nav-container .nav-menu .nav-item .nav-link[style],
html body .nav-menu .nav-item .nav-link[style],
html body .nav-item .nav-link[style],
html body .nav-link[style],
.nav-link[style],
a.nav-link[style],
button.nav-link[style] {
    font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-stretch: normal !important;
    line-height: normal !important;
    text-transform: none !important;
}
