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

:root {
    --primary-color: #10b981;
    --text-color: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('images/main_bg.jpg');
    background-size: auto;
    background-position: top left;
    background-repeat: repeat;
    background-color: #f5f5f5;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
}

/* Main Content */
.main-content {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    z-index: 1;
}

.hero-section {
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.organization-name {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 1rem;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

.logo-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    word-break: keep-all;
    white-space: nowrap;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.organization-name-bottom {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

.main-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 3.5rem;
    line-height: 1.4;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    background-color: var(--primary-color);
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: 0.02em;
}

.cta-button svg {
    flex-shrink: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    background-color: #059669;
}

.cta-button:active {
    transform: translateY(0);
}

/* Instagram Button */
.instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: 0.02em;
    margin: 0 auto 2rem;
    max-width: 300px;
}

.instagram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
    opacity: 0.9;
}

.instagram-button:active {
    transform: translateY(0);
}

/* Instagram Notice */
.instagram-notice {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
    margin-top: 2rem;
}

/* Quick Menu (Fixed) */
.quick-menu {
    position: fixed;
    right: 2rem;
    bottom: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.quick-menu-item {
    width: 56px;
    height: 56px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

#phone-btn {
    background-color: var(--primary-color);
    color: var(--white);
}

.quick-menu-item:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--primary-color);
    color: var(--white);
}

#phone-btn:hover {
    background-color: #059669;
    color: var(--white);
}

.quick-menu-item svg {
    width: 24px;
    height: 24px;
}

/* Footer Info */
.footer-info {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    text-align: right;
    z-index: 100;
    font-size: 0.75rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
    line-height: 1.4;
}

.footer-info p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .background-overlay {
        background-image: url('images/main_bg_mo.png');
    }

    .main-content {
        padding: 3rem 1.5rem;
    }

    .organization-name {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .logo-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        white-space: normal;
    }

    .main-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .organization-name-bottom {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .main-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        justify-content: center;
    }

    .instagram-button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .instagram-notice {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .quick-menu {
        right: 1rem;
        bottom: 5rem;
    }

    .footer-info {
        bottom: 1rem;
        right: 1rem;
        font-size: 0.7rem;
    }

    .quick-menu-item {
        width: 48px;
        height: 48px;
    }

    .quick-menu-item svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 2rem 1rem;
    }

    .hero-section {
        text-align: center;
    }

    .organization-name {
        font-size: 0.9rem;
        text-align: center;
    }

    .logo-title {
        font-size: 1.4rem;
        text-align: center;
        white-space: normal;
    }

    .main-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .organization-name-bottom {
        font-size: 0.9rem;
        text-align: center;
    }

    .main-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
        align-items: center;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
        justify-content: center;
    }

    .instagram-button {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
        margin-bottom: 1.5rem;
    }

    .instagram-notice {
        text-align: center;
        font-size: 1rem;
    }

    .footer-info {
        bottom: 0.75rem;
        right: 0.75rem;
        font-size: 0.65rem;
    }
}
