/* 기본 리셋 및 변수 설정 */
:root {
    --primary-color: #1a237e;  /* 고급스러운 네이비 */
    --secondary-color: #c9a961;  /* 골드 */
    --accent-color: #3949ab;  /* 인디고 */
    --text-dark: #263238;
    --text-light: #546e7a;
    --background-light: #f5f5f5;
    --background-cream: #fafafa;
    --background-white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Nanum Gothic', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

/* 헤더 스타일 */
.header {
    background-color: var(--background-white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.sub-logo {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-left: 0.5rem;
}

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

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

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

.header-phone a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.header-phone a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 150px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><pattern id="pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/></pattern><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.badge-year {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.8;
    font-style: italic;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.feature {
    text-align: center;
}

.feature-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: 'Playfair Display', serif;
}

.feature-text {
    font-size: 1rem;
    opacity: 0.9;
}

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

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* 신뢰 배지 섹션 */
.trust-badges {
    background-color: var(--background-white);
    padding: 3rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.badge-item {
    text-align: center;
}

.badge-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.badge-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* 서비스 섹션 */
.services {
    background-color: var(--background-cream);
}

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

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.service-card.premium {
    border-color: var(--secondary-color);
    position: relative;
}

.service-card.premium::before {
    content: 'PREMIUM';
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    text-align: left;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

/* 장인 소개 섹션 */
.craftsman {
    background-color: var(--background-white);
}

.craftsman-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.craftsman-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.craftsman-icon {
    font-size: 8rem;
    opacity: 0.3;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge span {
    display: block;
}

.experience-badge .year {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
}

.craftsman-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.craftsman-title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.craftsman-story {
    margin-bottom: 2rem;
}

.craftsman-story p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.certifications h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.certifications ul {
    list-style: none;
}

.certifications li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

/* 세탁 과정 섹션 */
.process {
    background-color: var(--background-cream);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s;
}

.process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

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

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

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

.testimonial-card {
    background-color: var(--background-cream);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s;
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.stars {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 가격 안내 섹션 */
.pricing {
    background-color: var(--background-cream);
}

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

.pricing-table {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.pricing-table h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.pricing-table table {
    width: 100%;
}

.pricing-table td {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.pricing-table td:first-child {
    color: var(--text-dark);
}

.pricing-table td:last-child {
    text-align: right;
    color: var(--accent-color);
    font-weight: 700;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* 연락처 섹션 */
.contact {
    background-color: var(--background-white);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

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

.info-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.phone {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    display: block;
}

.info-item p {
    color: var(--text-dark);
    line-height: 1.8;
}

.closed {
    color: var(--accent-color);
}

.landmark {
    color: var(--text-light);
    font-style: italic;
}

.contact-features h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

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

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background-cream);
    border-radius: 10px;
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

/* 푸터 */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-info p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-message {
    text-align: center;
}

.footer-message p {
    font-style: italic;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .header-phone {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .craftsman-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-grid,
    .testimonial-grid,
    .pricing-tables {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
}