@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-gov.min.css");

:root {
    --primary-red: #FF4C3B;
    --text-white: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.8);
    --bg-dark: rgba(0, 0, 0, 0.4);
    --primary-color: #8bb9ff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --bg-page: #ffffff;
    --bg-card-soft: rgba(247, 248, 253, 1);
    --bg-footer: #1a1a1a;
}

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

html {
    font-family: 'Pretendard GOV', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: inherit;
    background-color: var(--bg-card-soft);
    color: var(--text-primary);
    line-height: 1.5;
}



.container {
    width: 100%;
    margin: 0 auto;
    background-color: var(--bg-page);
}


#footer-placeholder {
    background-color: var(--bg-footer);
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1380px;
    width: 100%;
    height: 80px;
    padding: 0 50px;
    margin: 0 auto;
}

.logo img {
    width: auto;
}

nav.gnb {
    display: flex;
    gap: 64px;
}

nav.gnb a {
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
}

nav.gnb a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
}

.btn-contact {
    background-color: #ff473e;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Hero Section */
.main-hero {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.hero-inner {
    position: relative;
    height: 750px;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    
    padding:100px 80px 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/main_banner_image.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--text-white);
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    word-break: keep-all;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 240px;
    word-break: keep-all;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn-primary {
    width: 240px;
    height: 54px;
    line-height: 54px;
    background-color: var(--primary-red);
    color: white;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #e63e32;
    transform: translateY(-2px);
}

.btn-outline {
    width: 240px;
    height: 54px;
    line-height: 54px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    text-align: center;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Slider Pagination */
.slider-pagination {
    position: absolute;
    bottom: 40px;
    left: 80px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 24px;
    color: white;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pagination-info .current,
.pagination-info .total {
    font-size: 16px;
    font-weight: 600;
}

.pagination-info .divider {
    width:120px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

.pagination-controls {
    display: flex;
    gap: 20px;
}

.pagination-controls button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    padding: 0;
}

.pagination-controls button:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        padding: 0 40px;
        height: 500px;
    }
    .hero-title {
        font-size: 36px;
    }
    .slider-pagination {
        left: 40px;
    }
}

@media (max-width: 768px) {
    .main-hero {
        padding: 0 20px;
    }
    .hero-inner {
        padding: 0 30px;
        height: 450px;
        border-radius: 24px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .btn-primary, .btn-outline {
        padding: 12px 24px;
        text-align: center;
    }
    .slider-pagination {
        left: 30px;
        bottom: 30px;
    }
}

/* Platform Intro Section */
.platform-intro {
    padding: 170px 80px 325px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(247, 248, 253, 0), rgba(247, 248, 253, 1));
}

.platform-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
}

.platform-content {
    flex: 1;
    min-width: 0;
    max-width: 760px;
}

.platform-label {
    font-size: 18px;
    font-weight: 700;
    color: #888888;
    display: block;
    margin-bottom: 40px;
}

.platform-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.5;
    color: #222222;
    word-break: keep-all;
}

.platform-title .highlight {
    position: relative;
    z-index: 1;
}

.platform-title .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 16px;
    background-color: #FFEA00;
    opacity: 0.5;
    z-index: -1;
}

.platform-image {
    flex: 0 0 460px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
    top:100px;
}

.platform-image img {
    width:340px;
    height: auto;
    display: block;
}

/* Responsive for Platform Section */
@media (max-width: 1024px) {
    .platform-inner {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    .platform-image {
        flex: 1;
        justify-content: center;
    }
    .platform-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .platform-intro {
        padding: 80px 0;
    }
    .platform-title {
        font-size: 24px;
    }
}

/* Experience Data Section */
.experience-data {
    background-color: var(--bg-page);
    padding: 140px 0 60px;
    width: 100%;
}

.experience-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 50px;
}

.experience-data .section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    color: rgba(34, 34, 34, 1);
    margin-bottom: 80px;
}

.data-grid {
    display: flex;
    gap: 8px;
}

.data-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.data-card {
    background-color: var(--bg-card-soft);
    border-radius: 32px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.data-card.tall {
    height: 643px;
}

.data-card.medium {
    height: 643px;
}

.data-card.short {
    height: 435px;
}

.card-num {
    font-size: 95px;
    font-weight: 600;
    font-synthesis: none;
    font-variant-numeric: lining-nums;
    color: #222222;
    display: block;
    line-height: 109.25px;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.card-num small {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-left: 10px;
    vertical-align: baseline;
}

.card-num small.card-num-unit {
    font-size: 28px;
    font-weight: 400;
    line-height: 32.2px;
    letter-spacing: -0.5px;
    margin-left: 0;
}

.card-title {
    font-size: 26px;
    font-weight: 600;
    color: rgba(34, 34, 34, 1);
    margin-bottom: 12px;
    line-height: 30px;
}

.card-desc {
    font-size: 16px;
    color: rgba(0, 0, 0, 1);
    line-height: 22.4px;
    word-break: keep-all;
    font-weight: 400;
}

.card-img {
    position: absolute;
    bottom: 0;
    right: 32px;
    max-width: 324px;
    height: auto;
}

/* Specific image adjustments based on mockup */
.tall .card-img {
    max-width: 380px;
    bottom: 0;
    right: 32px;
}

.short .card-img {
    max-width: 150px;
    bottom: 32px;
    right: 32px;
}

/* Responsive for Data Grid */
@media (max-width: 1024px) {
    .data-grid {
        flex-direction: column;
    }
    .data-card.tall, .data-card.medium, .data-card.short {
        flex: none;
        min-height: auto;
        padding-bottom: 180px; /* Space for image */
    }
    .card-num {
        font-size: 60px;
    }
}

/* Footer Section */
.site-footer {
    background-color: var(--bg-footer);
    color: #888888;
    padding: 50px 0;
    width: 100%;
}

.footer-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 50px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.social-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icon:hover img {
    opacity: 1;
}

.footer-controls {
    display: flex;
    gap: 12px;
}

.related-sites {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #888888;
    padding: 8px 16px;
    border-radius: 4px;
    outline: none;
    font-size: 13px;
    appearance: none;
    width: 140px;
}

.btn-top {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #bbb;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}

.btn-top:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 12px;
    line-height: 1.6;
}

.company-info {
    margin-bottom: 10px;
}

.company-info .divider {
    margin: 0 8px;
    color: #555;
}

.copyright {
    color: #666;
}

/* Camps Showcase Section */
.camps-showcase {
    background-color: var(--bg-page);
    padding: 100px 0 60px;
    width: 100%;
}

.showcase-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 50px;
}

.showcase-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    color: #222222;
    margin-bottom:40px;
}

.camps-grid {
    display: flex;
    gap: 24px;
}

.camp-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.camp-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    overflow: hidden;
}

.camp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.camp-card:hover .camp-image img {
    transform: scale(1.05);
}

.camp-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.camp-target {
    font-size: 16px;
    font-weight: 700;
    color: rgba(153, 153, 153, 1);
    letter-spacing: -1px;
}

.camp-name {
    font-size: 24px;
    font-weight: 700;
    color: rgba(34, 34, 34, 1);
    letter-spacing: -1px;
}

@media (max-width: 1024px) {
    .camps-grid {
        flex-direction: column;
        gap: 48px;
    }
}

/* Camp History Section */
.camp-history {
    background-color: var(--bg-page);
    padding: 120px 0 140px;
    width: 100%;
    overflow: hidden;
}

.history-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 50px;
}

.history-header {
    text-align: center;
    margin-bottom: 60px;
}

.history-header .since {
    font-size: 20px;
    font-weight: 800;
    color: rgba(136, 136, 136, 1);
    display: block;
    margin-bottom: 30px;
}

.history-header .history-title {
    font-size: 48px;
    font-weight: 800;
    color: #222222;
    margin-bottom: 24px;
    line-height: 60px;
}

.history-header .history-desc {
    font-size: 28px;
    font-weight: 700;
    color:rgba(34, 34, 34, 1);
    line-height: 42px;
}

.history-gallery {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 40px;
}

.history-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-color: #f0f0f0;
    height: 340px; /* Unified height */
}

.history-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-2025 {
    flex: 2.2;
}

.item-2025 .item-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    color: white;
}

.item-2025 .item-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.item-2024, .item-2023, .item-2022, .item-2021 {
    flex: 1;
}

.history-timeline {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.timeline-year {
    font-size: 60px;
    font-weight: 800;
    color: #d8dde3;
    line-height: 1;
    letter-spacing: -2px;
}

.timeline-year.year-2025 {
    color:rgba(179, 179, 179, 1)
}

.timeline-line {
    flex-grow: 1;
    height: 2px;
    background-color: rgba(179, 179, 179, 1);
    position: relative;
    top: 5px;
}

.timeline-years-rest {
    display: flex;
    gap: 40px;
}

@media (max-width: 1024px) {
    .history-gallery {
        flex-wrap: wrap;
        gap: 20px;
    }
    .history-item {
        flex: 1 0 calc(50% - 10px);
        height: 300px;
    }
    .item-2025 {
        flex: 1 0 100%;
        height: 400px;
    }
    .history-timeline {
        flex-direction: column;
        align-items: flex-start;
    }
    .timeline-line {
        display: none;
    }
}
