/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #2A3B41;
    background-color: #F7F9FA;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* 헤더 스타일 */
header {
    background-color: #286D80;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 5px;
    border-radius: 5px;
    filter: brightness(1.1) contrast(1.1);
    margin-right: 10px;
}

.site-title {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.logo a:hover {
    color: #F7F9FA;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, #F7F9FA 0%, #E6F1F3 100%);
    color: #286D80;
    text-align: center;
    padding: 3rem 0 5rem;
    position: relative;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #286D80 0%, #1C4F59 50%, #DE9E3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: #1C4F59;
    font-weight: 400;
}

/* 사이트 소개 섹션 */
.about-site {
    padding: 4rem 0;
    background-color: #F7F9FA;
}

.about-site h2 {
    font-size: 2rem;
    color: #286D80;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-site p {
    font-size: 1.1rem;
    color: #2A3B41;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* 이미지 스타일 */
.hero-image {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    max-height: 600px;
    width: 100%;
    position: relative;
    transform: perspective(1000px) rotateX(2deg);
    aspect-ratio: 16/9;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
    pointer-events: none;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 60%, rgba(0, 0, 0, 0.08));
    pointer-events: none;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease, filter 0.7s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
    filter: saturate(1.1);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
    position: relative;
    z-index: 2;
}

.hero-content strong {
    color: #DE9E3C;
    font-weight: 700;
}

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

.btn-primary {
    background-color: #286D80;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(40, 109, 128, 0.2);
}

.btn-primary:hover {
    background-color: #1C4F59;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(40, 109, 128, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: #286D80;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.feature-item:hover .feature-image {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 1rem auto 2rem;
    display: block;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-height: 400px;
}

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

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

.image-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #2A3B41;
    margin-top: 0.5rem;
}

/* 특징 섹션 */
.features {
    padding: 4rem 0;
}

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

.feature-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(40, 109, 128, 0.2);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #286D80;
}

.feature-item p {
    margin-bottom: 1.5rem;
    color: #2A3B41;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    background-color: #286D80;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(40, 109, 128, 0.2);
}

.btn:hover {
    background-color: #1C4F59;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 109, 128, 0.3);
}

.feature-item .btn {
    margin-top: 0.5rem;
}

/* 푸터 스타일 */
footer {
    background-color: #1C4F59;
    color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.95rem;
}

footer a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    nav ul li a {
        font-size: 0.95rem;
        padding: 4px 8px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-image {
        transform: none;
        max-height: 450px;
    }
    
    .page-header-image img {
        max-height: 250px;
    }
    
    .content-image {
        max-height: 300px;
    }
    
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .effect-image,
    .image-grid img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .feature-item {
        padding: 1.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 3px 6px;
    }
    
    .page-header h2 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 0.95rem;
    }
    
    .content-block {
        padding: 1.5rem;
    }
    
    .content-block h3 {
        font-size: 1.4rem;
    }
    
    .content-image {
        max-height: 200px;
    }
}

/* 페이지 헤더 스타일 */
.page-header {
    background: linear-gradient(135deg, #286D80 0%, #1C4F59 100%);
    color: white;
    text-align: center;
    padding: 3rem 0 0;
    position: relative;
}

.page-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.page-header-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: 2rem;
}

.page-header-image img {
    width: 100%;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

/* 페이지 콘텐츠 스타일 */
.page-content {
    padding: 3rem 0;
    font-size: 1rem;
}

.content-block {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-block h3 {
    font-size: 1.6rem;
    color: #286D80;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.content-block h4 {
    font-size: 1.3rem;
    color: #286D80;
    margin: 1.5rem 0 0.8rem;
}

.content-block h5 {
    font-size: 1.1rem;
    color: #286D80;
    margin: 1.2rem 0 0.5rem;
}

.recipe-box {
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #286D80;
    padding: 1.2rem;
    margin: 1rem 0 1.5rem;
}

.recipe-box h5 {
    color: #1C4F59;
    font-size: 1.05rem;
    margin-top: 0.8rem;
    margin-bottom: 0.3rem;
}

.recipe-box p {
    margin-bottom: 0.8rem;
}

.recipe-box ul {
    margin-bottom: 1rem;
}

.content-block p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1rem;
    color: #2A3B41;
}

.content-block ul, .content-block ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #2A3B41;
}

.content-block li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.content-block li p, 
.content-block li ul, 
.content-block li ol {
    font-size: 1rem;
}

.content-block strong {
    color: #1C4F59;
    font-size: inherit;
}

/* 활성 메뉴 아이템 */
nav ul li.active a {
    background-color: rgba(255, 255, 255, 0.25);
    font-weight: 700;
}

.effect-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.effect-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(40, 109, 128, 0.2);
} 