* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #8b7355;
    --accent-color: #95a5a6;
    --gold-color: #c9a961;
    --sage-color: #9caf88;
    --cream-color: #f5f1e8;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #fafaf8;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0%,
    100% {
        box-shadow: 0 0 5px var(--secondary-color),
            0 0 10px var(--secondary-color);
    }
    50% {
        box-shadow: 0 0 20px var(--secondary-color),
            0 0 30px var(--secondary-color);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

/* 로딩 화면 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.loading-logo {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.logo-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c3e50 0%, #8b7355 100%);
    animation: pulse-circle 1.5s ease-in-out infinite;
}

.logo-circle:nth-child(1) {
    animation-delay: 0s;
}

.logo-circle:nth-child(2) {
    animation-delay: 0.3s;
}

.logo-circle:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes pulse-circle {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.loading-title {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.3s backwards;
}
.loading-title img {
    width: 100%;
}
.loading-subtitle {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: 4px;
    animation: fadeInUp 1s ease 0.6s backwards;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-bar {
    width: 300px;
    height: 3px;
    background: rgba(44, 62, 80, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.9s backwards;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #8b7355, #c9a961, #9caf88);
    border-radius: 10px;
    animation: loading-animation 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
}

@keyframes loading-animation {
    0% {
        width: 0%;
        transform: translateX(0);
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .loading-title {
        font-size: 1.5rem;
        padding: 0 20px;
    }

    .loading-subtitle {
        font-size: 1.8rem;
    }

    .loading-bar {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .loading-title {
        font-size: 1.2rem;
    }

    .loading-subtitle {
        font-size: 1.5rem;
    }

    .loading-bar {
        width: 200px;
    }

    .logo-circle {
        width: 15px;
        height: 15px;
    }
}

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

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        var(--gold-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    position: relative;
}

.logo-image {
    height: 43px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--secondary-color),
        var(--gold-color)
    );
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--gold-color);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* 페이지 헤더 (서브페이지용) */
.page-header {
    height: 70vh;
    min-height: 300px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #5d6d7e 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
            circle at 10% 20%,
            rgba(201, 169, 97, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(156, 175, 136, 0.1) 0%,
            transparent 50%
        );
}

.page-title {
    font-family: "Playfair Display", serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2),
        0 0 20px rgba(201, 169, 97, 0.3), 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
}

/* 히어로 섹션 */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background-color: white;
    color: black;
}
.hero-img {
    width: 100%;
}
.hero img {
    width: 100%;
}
.small-size {
    display: none;
}
.big-size {
    display: block;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}
.hero-text {
    display: none;
}
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    animation: fadeInUp 1s ease, float 3s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.scroll-indicator span {
    width: 3px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll-down 1.5s ease-in-out infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scroll-down {
    0%,
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2),
        0 0 20px rgba(201, 169, 97, 0.3), 0 0 40px rgba(156, 175, 136, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    position: relative;
}

.hero-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold-color),
        var(--sage-color),
        transparent
    );
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        var(--gold-color) 100%
    );
    color: var(--white);
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: backwards;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

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

.btn-primary:hover {
    background: linear-gradient(
        135deg,
        var(--gold-color) 0%,
        var(--sage-color) 100%
    );
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.4),
        0 0 30px rgba(201, 169, 97, 0.3);
}

/* 섹션 공통 스타일 */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--gold-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: 3px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--secondary-color),
        var(--gold-color),
        transparent
    );
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(139, 115, 85, 0.4);
}

.section-title::before {
    content: "◆";
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-color);
    font-size: 1rem;
    opacity: 0.5;
}

.section-header {
    position: relative;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* 회사소개 섹션 */
.about {
    background: var(--bg-light);
}

.about-content {
    text-align: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(245, 241, 232, 0.8) 100%
    );
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(201, 169, 97, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(156, 175, 136, 0.08),
        transparent
    );
    transform: rotate(45deg);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 169, 97, 0.3);
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.2);
}

.stat-item:hover::before {
    left: 100%;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* 이미지 모달 스타일 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 190vw;
    max-height: 90vh;
    z-index: 10000;
    animation: zoomIn 0.3s ease;
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--gold-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
    z-index: 10001;
}

.close-btn:hover {
    background: var(--sage-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(156, 175, 136, 0.6);
}

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

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
        max-height: 80vh;
    }

    .close-btn {
        top: -45px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

.stat-item h4 {
    font-size: 3rem;
    background: linear-gradient(
        135deg,
        var(--gold-color) 0%,
        var(--sage-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image {
    box-sizing: border-box;
    height: 100%;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 진행 프로세스 섹션 */
.process {
    background: var(--bg-light);
    padding-bottom: 225px;
}

.process-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    height: 321px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(245, 241, 232, 0.8) 100%
    );
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 115, 85, 0.2);
    border-color: rgba(201, 169, 97, 0.4);
}

.process-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(
        135deg,
        var(--gold-color) 0%,
        var(--sage-color) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
}

.process-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.process-arrow {
    font-size: 2rem;
    color: var(--gold-color);
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 968px) {
    .process-timeline {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }
}

/* 서비스 섹션 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(245, 241, 232, 0.8) 100%
    );
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--sage-color) 0%,
        var(--gold-color) 100%
    );
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.08;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(139, 115, 85, 0.2),
        0 0 0 1px rgba(201, 169, 97, 0.2);
    border-color: rgba(201, 169, 97, 0.4);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.25);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.35);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--gold-color) 0%,
        var(--sage-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.12;
    font-family: "Playfair Display", serif;
}

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

/* 포트폴리오 섹션 */
.portfolio {
    background: var(--bg-light);
}

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

.portfolio-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(201, 169, 97, 0.15);
}

.portfolio-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(
        135deg,
        var(--gold-color) 0%,
        var(--sage-color) 100%
    );
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.35);
    animation: pulse 2s ease-in-out infinite;
}

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

.portfolio-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 115, 85, 0.85) 0%,
        rgba(156, 175, 136, 0.85) 100%
    );
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(139, 115, 85, 0.25),
        0 0 0 1px rgba(201, 169, 97, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.portfolio-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    color: var(--white);
}

.portfolio-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info h3 {
    color: var(--white);
    transform: translateY(-5px);
}

.portfolio-item:hover .portfolio-info p {
    color: rgba(255, 255, 255, 0.9);
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 고객 후기 섹션 */
.testimonials {
    background: var(--bg-light);
}

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

.testimonial-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(245, 241, 232, 0.8) 100%
    );
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-family: "Playfair Display", serif;
    color: var(--gold-color);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 115, 85, 0.2);
    border-color: rgba(201, 169, 97, 0.4);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(
        135deg,
        var(--gold-color) 0%,
        var(--sage-color) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* FAQ 섹션 */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(245, 241, 232, 0.8) 100%
    );
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(201, 169, 97, 0.15);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
    border-color: rgba(201, 169, 97, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.8rem;
    color: var(--gold-color);
    font-weight: 300;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 97, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--gold-color);
    color: var(--white);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* 연락처 섹션 */
.contact-content {
    text-align: center;
}

.contact-form {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(245, 241, 232, 0.9) 100%
    );
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: "Noto Sans KR", sans-serif;
    transition: var(--transition);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.info-item {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(245, 241, 232, 0.8) 100%
    );
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.15);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.2);
    border-color: rgba(201, 169, 97, 0.35);
}

.info-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--gold-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.info-item p {
    line-height: 1.6;
}

/* 푸터 */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: var(--white);
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

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

.footer-brand h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.footer-brand {
    width: fit-content;
    margin: 0 auto;
}
.footer-brand img {
    filter: opacity(50%);
}
.footer-logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    background: linear-gradient(
        135deg,
        var(--gold-color) 0%,
        var(--sage-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold-color);
    transform: translateX(5px);
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

/* 반응형 디자인 */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

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

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

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

    .page-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 30px;
        margin-top: 10px;
    }
    .hero {
        height: 730px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-text {
        display: block;
        line-height: 2;
        margin-top: 30px;
    }
    .hero-text h1 {
        font-weight: bold;
        font-size: 30px;
        margin-bottom: 20px;
    }
    .page-title {
        font-size: 2rem;
    }
    .small-size {
        display: block;
    }
    .big-size {
        display: none;
    }
    .page-subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

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

    .btn {
        padding: 0.8rem 2rem;
    }
    .contact-info {
        flex-direction: column;
    }
    .footer-content {
        text-align: center;
    }
    .footer-links {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer-brand img {
        width: 250px;
    }
    .footer-links {
        display: none;
    }
    .section-header {
        margin-bottom: 3rem;
    }
}

/* 스크롤 애니메이션 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}
