/* 기본 스타일 리셋 및 폰트 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family:"Noto Sans KR", sans-serif;
    color: #333;
    background-color: #ffffff;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 및 네비게이션 (수정된 부분) */
.header {
    /* flex 관련 속성 제거 */
    padding: 20px 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
}
.header a.logo {
    display: flex;         /* 이미지와 텍스트를 가로로 나란히 정렬 */
    align-items: center;   /* 세로 방향에서 중앙으로 정렬 */
    text-decoration: none; /* 링크의 기본 밑줄 제거 */
}

.header .logo img {
    height: 50px; /* 'K' 이미지의 세로 크기 */
    width: auto;
}

.header .nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 500;
}
/* 히어로 섹션 (메인 배너) */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/Gemini_Generated_Image_bnvjarbnvjarbnvj.png'); /* TODO: 실제 배경 이미지로 교체 */
    background-size: cover;
    background-position: center bottom 40%;
    color: #fff;
    padding: 220px 0 250px;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero .buttons a {
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin: 0 10px;
    display: inline-block;
}
.hero .buttons .btn-primary {
    background-color: #E03F02;
}
.hero .buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
}

/* 주요 기능 섹션 */
.features {
    padding: 80px 0;
    text-align: center;
    background-color: #f9f9f9;
}
.section-title {
    font-size: 32px;
    margin-bottom: 15px;
}
.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
}
.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.feature-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    flex: 1;
    max-width: 350px;
}
.feature-card .icon {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0; /* TODO: 실제 아이콘으로 교체 */
    border-radius: 50%;
    margin: 0 auto 20px;
}
.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 생성 예시 섹션 */
.examples {
    padding: 80px 0;
    text-align: center;
}
.examples-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}
.example-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex: 1;
    max-width: 350px;
    text-align: left;
}
.example-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background-color: #e0e0e0;
}
.example-card .content {
    padding: 20px;
}
.example-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.example-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 푸터 */
.footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 60px 0 20px;
}
.footer a.logo {
    display: flex;         /* 이미지와 텍스트를 가로로 나란히 정렬 */
    align-items: center;   /* 세로 방향에서 중앙으로 정렬 */
    text-decoration: none; /* 링크의 기본 밑줄 제거 */
}

.footer .logo img {
    height: 50px; /* 'K' 이미지의 세로 크기 */
    width: auto;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #34495e;
}
.footer-links h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}
.footer-links ul {
    list-style: none;
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links ul li a {
    color: #bdc3c7;
    text-decoration: none;
}
.footer-links ul li a:hover {
    color: #fff;
}
.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #7f8c8d;
}