/* css/styles.css */
body {
    background-color: #f5f6f5;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    margin: 0;   
}

.navbar-main {
    background-color: #2c2f3a;
    padding: 2px 0;
}
.navbar-brand {
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    transition: color 0.3s;
}
.navbar-brand:hover {
    color: #1e88e5;
}
.navbar-nav {
    margin: auto;
    gap: 6px;
    flex-direction: row;
}
.nav-link {
    color: white;
    padding: 4px 10px;
    background-color: #3a3f4a;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
}
.nav-link:hover, .nav-link.active {
    background-color: #1e88e5;
    color: #ffffff;
}

.submenu-container {
    background-color: #e0e4e8;
    padding: 5px 0;
    text-align: center;
    display: none;
}
.submenu-item {
    display: inline-block;
    padding: 5px 15px;
    margin: 2px;
    color: #4a4e69;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}
.submenu-item.selected {
    color: #d81b60;
    border-radius: 15px;
    font-weight: 600;
}

.hero {
    text-align: center;
    padding: 20px 20px;
    background: linear-gradient(135deg, #5a3bff, #00ddeb);
    color: white;
    margin-bottom: 0;
}
.hero h1 {
    font-size: 2rem;
    font-weight: 600;
}
.hero p {
    font-size: 1rem;
    opacity: 0.9;
}

.feature-icon {
    font-size: 2.5rem;
    color: #00ddeb;
    margin-bottom: 15px;
}
.feature-card {
    padding: 20px;
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
}

.download-section {
    background-color: #f0f2f5;
    padding: 50px 20px;
}
.btn-primary {
    background-color: #5a3bff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: background-color 0.3s;
}
.btn-primary:hover {
    background-color: #00ddeb;
    color: #2c2f3a;
}

footer {
    background-color: #2c2f3a;
    padding: 20px;
    color: #d3d4d8;
    font-size: 0.9rem;
    text-align: center;
}
footer a {
    color: #d3d4d8;
    text-decoration: none;
}
footer a:hover {
    color: #1e88e5;
}
footer p {
    margin: 0;
}

/* css/card-section.css */
.card-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}
.card-list {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.card:hover {
    transform: translateY(-5px);
}
.card img {
    width: 250px;
    height: 125px;
    object-fit: cover;
    border-radius: 5px;
}

.card {
    width: 270px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.card a img {
    width: 250px;
    height: 125px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.card-title {
    font-size: 18px;
    font-weight: 500;
    margin: 10px 0;
}

.card-title a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;    
}

.card-title a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.card a:hover img {
    opacity: 0.9;
}

.card-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}
.button-group {
    display: flex;
    gap: 10px;
}
.card-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
}
.card-button:hover {
    background-color: #0056b3;
}


.side-by-side {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.image-section {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.image-section .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.image-section .section-title img {
    height: 41px;
    margin-right: 10px;
    vertical-align: middle;
}

.image-section img:not(.section-title img) {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}



.specs-section {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.specs-section .section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item:hover {
    background-color: #f5f6f5;
}

.spec-label {
    font-weight: 500;
    color: #007bff;
    font-size: 14px;
    width: 40%;
}

.spec-value {
    font-size: 14px;
    color: #666;
    text-align: right;
    width: 60%;
}

.image-section .section-title a {
    color: #333; /* 기존 텍스트 색상 유지 */
    text-decoration: none; /* 밑줄 제거 */
    display: flex; /* 이미지와 텍스트 정렬 유지 */
    align-items: center; /* 수직 중앙 정렬 */
    justify-content: center; /* 수평 중앙 정렬 */
}

.image-section .section-title a:hover {
    color: #007bff; /* 호버 시 색상 변경 (선택적) */
}

.image-section a img {
    display: block; /* 이미지 블록 요소로 유지 */
}

.image-section a:hover img:not(.section-title img) {
    opacity: 0.9; /* 하단 이미지 호버 시 투명도 조정 (선택적) */
}

@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 0;
    }
    .nav-item {
        margin: 5px;
    }
    .nav-link {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}
