/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 헤더 스타일 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.logo h1 a {
    text-decoration: none !important;
    color: #2c3e50 !important;
}

.logo h1 a:hover {
    text-decoration: none !important;
    color: #2c3e50 !important;
}

.logo h2 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-top: 0.5rem;
    text-align: center;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 메인 컨텐츠 스타일 */
main {
    margin-top: 80px;
}

/* 히어로 섹션 공통 스타일 */
.hero, .about-hero, .services-hero, .quote-hero, .portfolio-hero, .pricing-hero, .contact-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.hero h2, .about-hero h2, .services-hero h2, .quote-hero h2, .portfolio-hero h2, .pricing-hero h2, .contact-hero h2 {
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7), 0 1px 0 #ffe066;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p, .about-hero p, .services-hero p, .quote-hero p, .portfolio-hero p, .pricing-hero p, .contact-hero p {
    color: #f9f9f9;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
    font-size: 1.2rem;
}

/* 컨테이너 공통 스타일 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* 서비스 섹션 스타일 */
.services-preview {
    padding: 4rem 1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

/* 견적 요청 폼 스타일 */
.quote-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.language-selection {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selection select {
    flex: 1;
}

/* 가격표 스타일 */
.price-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-category {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.price-category h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.2rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

/* 포트폴리오 스타일 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.portfolio-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.portfolio-item ul {
    list-style: none;
}

.portfolio-item li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.portfolio-item li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
}

/* 연락처 스타일 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.submit-btn {
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #2980b9;
}

/* 푸터 스타일 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 1rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.company-info h3,
.contact-info h3 {
    margin-bottom: 1rem;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 0.5rem;
    }

    .hero,
    .about-hero,
    .services-hero,
    .quote-hero,
    .portfolio-hero,
    .pricing-hero,
    .contact-hero {
        height: 20vh;
        min-height: 90px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
        margin-top: 60px;
    }
    .hero h2,
    .about-hero h2,
    .services-hero h2,
    .quote-hero h2,
    .portfolio-hero h2,
    .pricing-hero h2,
    .contact-hero h2 {
        margin: 0;
        padding: 4rem 0 0 0;
    }

    .language-selection {
        flex-direction: column;
    }

    .language-selection span {
        margin: 0.5rem 0;
    }
} 
