/* ========================================
   2026 청소년 국제교류탐방단 호주 - 랜딩페이지 CSS
   ======================================== */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.pc-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    display: inline-block;
}

.logo img {
    height: 40px;
    width: auto;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    width: 100%;
    height: 904px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Hero Slide Background Images - PC */
.hero-slide-1 {
    background-image: url('../imgs/hero_01_pc.jpg');
}

.hero-slide-2 {
    background-image: url('../imgs/hero_02_pc.jpg');
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(24, 131, 119, 0) 45%, rgba(11, 87, 62, 0.8) 100%);
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 405px;
    width: 100%;
}

.hero-title {
    display: block;
    margin-bottom: 32px;
}

.hero-title img {
    width: 1105px;
    max-width: 100%;
}

.hero-info-wrap {
    position: relative;
}

.hero-info-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 154px;
    background-image: url('../imgs/top_info_bg.svg');
    background-size: 320px 154px;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-info {
    display: block;
}

.hero-info img {
    width: 946px;
    max-width: 100%;
}

.hero-indicators {
    display: none;
}

.indicator {
    display: none;
}

/* ========================================
   Section Common
   ======================================== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title img {
    display: inline-block;
}

/* ========================================
   Concept Section
   ======================================== */
.section-concept {
    background-color: #fff;
    padding: 80px 0;
}

.concept-info {
    text-align: center;
    margin-bottom: 160px;
}

.concept-info img {
    display: inline-block;
    max-width: 100%;
}

/* 추천사 */
.recommand-section {
    text-align: center;
    margin-top: -80px;
    margin-bottom: 100px;
}

.recommand-section img {
    display: inline-block;
    max-width: 100%;
}

/* ========================================
   Difference Section
   ======================================== */
.section-difference {
    background-color: #f4f0eb;
    padding: 80px 0;
    overflow: visible;
}

.section-difference .container {
    max-width: none;
    padding: 0;
}

.section-difference .section-title {
    text-align: center;
}

.difference-content {
    text-align: center;
}

.difference-content>img {
    display: block;
    max-width: none;
    width: auto;
    margin: 0 auto;
}

/* ========================================
   Program Content (Concept Section 내부)
   ======================================== */
/* PC: 좌우 배치 레이아웃 */
.program-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.program-info {
    flex: 0 0 auto;
}

.program-info img {
    display: block;
    max-width: 732px;
}

.program-slider {
    flex: 0 0 auto;
    position: relative;
    width: 440px;
    height: 421px;
    overflow: hidden;
    border-radius: 20px;
}

.program-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.program-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 12px;
    overflow: hidden;
}

.program-slide.active {
    opacity: 1;
}

.program-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* ========================================
   Program Structure Section (녹색 배경)
   ======================================== */
.section-program {
    background: linear-gradient(135deg, #209570 0%, #118661 100%);
    padding: 80px 0;
}

.section-program .container {
    max-width: none;
    padding: 0;
}

.section-program .section-title {
    text-align: center;
}

.program-structure-content {
    text-align: center;
}

.program-structure-content>img {
    display: block;
    max-width: none;
    width: auto;
    margin: 0 auto;
}

.program-structure-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.program-card img {
    width: 100%;
    border-radius: 12px;
}

/* ========================================
   Schedule Section
   ======================================== */
.section-schedule {
    background-color: #f4f0eb;
    padding: 80px 0;
}

.schedule-content {
    text-align: center;
    overflow-x: auto;
}

.schedule-content img {
    display: inline-block;
    max-width: 100%;
}

/* ========================================
   Accommodation Section
   ======================================== */
.section-accommodation {
    background-color: #ffffff;
    padding: 80px 0;
}

.accommodation-item {
    margin-bottom: 50px;
}

.accommodation-item:last-child {
    margin-bottom: 0;
}

.accommodation-title {
    margin-bottom: 20px;
}

.accommodation-title img {
    max-height: 30px;
}

.accommodation-images img {
    width: 100%;
    border-radius: 12px;
}

/* ========================================
   Application Section
   ======================================== */
.section-application {
    background-color: #f4f0eb;
    padding: 80px 0;
}

.section-application .container {
    max-width: 1272px;
    padding: 0;
    margin: 0 auto;
}

.section-application .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.application-content {
    text-align: center;
}

/* 2단 레이아웃 */
.application-row {
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    margin: 0 auto 20px;
}

.application-left {
    flex: 0 0 673px;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-right: -14px;
}

.application-left img {
    display: block;
    max-width: none;
    margin-bottom: -16px;
}

.application-left img:last-child {
    margin-bottom: 0;
}

.application-right {
    flex: 0 0 608px;
}

.application-right img {
    display: block;
    max-width: none;
}

/* 신청 안내 + 참가 절차 */
.application-info-steps {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1272px;
    margin: 0 auto 40px;
}

.application-info-steps>picture img {
    display: block;
    width: 100%;
    height: auto;
}

.apply-btn-wrapper {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.apply-btn {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-3px);
}

.apply-btn img {
    width: 520px;
    height: auto;
    max-width: none;
}

/* ========================================
   FAQ Section
   ======================================== */
.section-faq {
    background-color: #fff;
    padding: 80px 0;
}

.faq-content {
    max-width: 1240px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.contact-left {
    flex: 0 0 400px;
    background-color: #FFE500;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
}

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

.contact-left a {
    color: #000;
    text-decoration: none;
}

.contact-right {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px;
}

.contact-right a {
    color: #000;
    text-decoration: none;
}

.contact-right h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: transparent;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: auto;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 0 20px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* ========================================
   Refund Policy Section
   ======================================== */
.refund-policy-section {
    max-width: 1240px;
    margin: 60px auto 0;
}

.refund-policy-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.refund-policy-box {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px;
    background-color: #fff;
}

.refund-policy-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-top: 20px;
    margin-bottom: 10px;
}

.refund-policy-content h4:first-child {
    margin-top: 0;
}

.refund-policy-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 5px;
}

.refund-policy-content p.indent {
    padding-left: 20px;
}

.refund-policy-hidden {
    display: none;
}

.refund-policy-section.expanded .refund-policy-hidden {
    display: block;
    margin-top: 30px;
}

.refund-policy-toggle {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.refund-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 0;
}

.refund-toggle-btn:hover {
    color: #00746b;
}

.toggle-icon {
    font-size: 18px;
    font-weight: 700;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: #4d4d4d;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

.footer-notice {
    font-size: 13px;
    color: #777;
    line-height: 1.8;
}

.footer-copyright {
    font-size: 12px;
    color: #999;
    margin-top: 20px;
}

/* ========================================
   Tablet Styles (769px ~ 1240px)
   ======================================== */
@media screen and (min-width: 769px) and (max-width: 1240px) {
    /* Container - 태블릿에서 여백 조정 */
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    /* Header */
    .header-inner {
        max-width: 100%;
        padding: 0 30px;
    }

    /* Hero Section */
    .hero {
        height: auto;
        min-height: 600px;
        max-height: 800px;
    }

    .hero-inner {
        max-width: 100%;
        padding: 0 30px;
        padding-top: calc(200px + 15vw);
    }

    .hero-title img {
        width: 100%;
        max-width: 100%;
    }

    .hero-info img {
        width: 100%;
        max-width: 100%;
    }

    /* Concept Section */
    .concept-info img {
        max-width: 100%;
    }

    .recommand-section img {
        max-width: 100%;
    }

    /* Program Content - 좌우 배치 비율 조정 */
    .program-content {
        gap: 20px;
    }

    .program-info {
        flex: 1;
        min-width: 0;
    }

    .program-info img {
        max-width: 100%;
        width: 100%;
    }

    .program-slider {
        flex: 0 0 35%;
        width: 35%;
        height: auto;
        aspect-ratio: 440 / 421;
    }

    /* Difference Section */
    .section-difference .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .difference-content > img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    /* Program Structure Section */
    .section-program .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .program-structure-content > img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    /* Schedule Section */
    .schedule-content img {
        max-width: 100%;
    }

    /* Accommodation Section */
    .accommodation-images img {
        max-width: 100%;
    }

    /* Application Section */
    .section-application .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .application-row {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 15px;
    }

    .application-left {
        flex: 1 1 52%;
        max-width: 52%;
        margin-right: 0;
    }

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

    .application-right {
        flex: 1 1 46%;
        max-width: 46%;
    }

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

    .application-info-steps {
        max-width: 100%;
    }

    .application-info-steps > img {
        max-width: 100%;
    }

    .apply-btn-wrapper {
        bottom: 8%;
    }

    .apply-btn img {
        max-width: 100%;
        width: auto;
    }

    /* FAQ Section */
    .faq-content {
        max-width: 100%;
    }

    .contact-info {
        flex-wrap: wrap;
    }

    .contact-left {
        flex: 0 0 auto;
        min-width: 300px;
    }

    .contact-right {
        flex: 1;
        min-width: 300px;
    }

    /* Refund Policy */
    .refund-policy-section {
        max-width: 100%;
    }
}

/* ========================================
   Mobile Styles (768px 이하)
   ======================================== */
@media screen and (max-width: 768px) {

    /* Utility */
    .pc-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    /* Container */
    .container {
        padding: 0 20px;
    }

    /* Header */
    .header {
        padding: 15px 0;
    }

    .logo img {
        height: 30px;
    }

    /* Hero */
    .hero {
        height: 541px;
    }

    .hero-slide {
        height: 468px;
        background-position: top center;
    }

    /* Hero Slide Background Images - Mobile */
    .hero-slide-1 {
        background-image: url('../imgs/hero_bg_01.png');
    }

    .hero-slide-2 {
        background-image: url('../imgs/hero_bg_02.png');
    }

    .hero-gradient {
        background-image: url('../imgs/gradient_bg_m.svg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: transparent;
    }

    .hero-content {
        align-items: flex-end;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-title {
        margin-bottom: 20px;
    }

    .hero-title img {
        width: 100%;
        max-width: 320px;
    }

    .hero-info-wrap {
        position: relative;
        width: 320px;
        min-height: 154px;
    }

    .hero-info-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 320px;
        height: 154px;
        transform: none;
        background-size: 320px 154px;
        z-index: 0;
    }

    .hero-info {
        position: relative;
        z-index: 1;
        padding-left: 14px;
        padding-top: 20px;
        padding-bottom: 10px;
    }

    .hero-info img {
        width: auto;
        max-width: 290px;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    /* Concept */
    .section-concept {
        padding: 40px 0;
    }

    .concept-info {
        margin-bottom: 20px;
    }

    /* 추천사 모바일 */
    .recommand-section {
        max-width: 360px;
        margin: 0 auto 40px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .recommand-section img {
        width: 100%;
    }

    /* Difference */
    .section-difference .container {
        max-width: 360px;
        padding: 0 20px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Program Structure */
    .section-program .container {
        max-width: 360px;
        padding: 0 20px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .program-structure-cards {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        max-width: 100%;
        margin: 0;
    }

    .program-card {
        line-height: 0;
    }

    .program-card img {
        width: 100%;
        display: block;
        border-radius: 12px;
    }

    /* Schedule */
    .section-schedule .container {
        max-width: 360px;
        padding: 0 20px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .schedule-content {
        text-align: left;
    }

    .schedule-content img {
        width: 247px;
        display: block;
    }

    /* Accommodation */
    .section-accommodation .container {
        max-width: 360px;
        padding: 0 20px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .accommodation-item {
        margin-bottom: 30px;
    }

    .accommodation-title {
        margin-bottom: 10px;
    }

    .accommodation-images {
        line-height: 0;
        margin: 0;
    }

    .accommodation-images img {
        width: 100%;
        max-width: 100%;
        display: block;
    }

    /* Difference */
    .difference-cards {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background-color: transparent;
        border-radius: 0;
        padding: 0;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .diff-card {
        background-color: transparent;
        border-radius: 0;
        padding: 0;
        margin: 0;
        line-height: 0;
    }

    .diff-card img {
        width: 100%;
        display: block;
    }

    /* Program */
    .program-content {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
        max-width: 360px;
        margin: 0 auto;
    }

    .program-info {
        text-align: center;
        order: 2;
    }

    .program-info img {
        width: 100%;
        max-width: 100%;
    }

    .program-slider {
        order: 1;
        width: 100%;
        height: auto;
        aspect-ratio: 474 / 455;
        margin-top: 0;
        margin-bottom: 36px;
        border-radius: 12px;
    }

    /* Application */
    .section-application {
        padding: 50px 0;
    }

    .section-application .container {
        max-width: 360px;
        padding: 0 20px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .section-application .section-title {
        margin-bottom: 30px;
    }

    /* Mobile Application Layout */
    .application-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .app-mobile-item {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .app-mobile-item+.app-mobile-item {
        margin-top: 20px;
    }

    .app-mobile-title {
        line-height: 0;
    }

    .app-mobile-title img {
        width: auto;
        max-width: 100%;
        display: block;
    }

    .app-mobile-content {
        width: calc(100% + 4px);
        margin: 0 -2px;
        line-height: 0;
    }

    .app-mobile-content img {
        width: 100%;
        display: block;
    }

    .app-mobile-box {
        width: calc(100% - 4px);
        margin: 0 2px;
        background-color: #fff;
        border-radius: 12px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        box-sizing: border-box;
        box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
    }

    .app-mobile-box>img {
        width: 100%;
        display: block;
    }

    .apply-btn-mobile {
        display: inline-block;
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .apply-btn-mobile img {
        width: auto;
        max-width: 180px;
        display: block;
    }

    /* FAQ */
    .section-faq .container {
        max-width: 360px;
        padding: 0 22px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;

    }

    .contact-left {
        flex: none;
        width: 100%;
        padding: 20px;
        border-radius: 12px;
        box-sizing: border-box;
    }

    .contact-right {
        flex: none;
        width: 100%;
        padding: 20px;
        border-radius: 12px;
        box-sizing: border-box;
    }

    .contact-right h3 {
        font-size: 20px;
    }

    .faq-question {
        padding: 15px 0;
        font-size: 14px;
    }

    .faq-icon {
        width: 17px;
    }

    /* Refund Policy */
    .refund-policy-section {
        margin-top: 40px;
        padding: 0;

    }

    .refund-policy-title {
        font-size: 18px;
    }

    .refund-policy-box {
        padding: 25px;
        border-radius: 12px;
        box-shadow: none;
    }

    .refund-policy-content h4 {
        font-size: 15px;
    }

    .refund-policy-content p {
        font-size: 13px;
    }

    .refund-toggle-btn {
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 40px 0;
    }

    .footer-notice {
        font-size: 12px;
    }

    .footer-notice br {
        display: none;
    }
}

/* ========================================
   Large Desktop (1920px 이상)
   ======================================== */
@media screen and (min-width: 1920px) {
    .hero {
        max-height: 1080px;
    }

    .hero-title img {
        max-width: 800px;
    }
}