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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f3ef;
}

/* 헤더 스타일 */
header {
    background-color: #002937;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    z-index: 1001;
    margin-right: 4rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.logo h1 a,
.logo h1 a:link,
.logo h1 a:visited,
.logo h1 a:hover,
.logo h1 a:active {
    color: #fffefe !important;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1000;
    margin-left: 1rem;
}

.nav-links > li {
    position: relative;
    padding: 10px 0;
}

.nav-links > li > a {
    text-decoration: none;
    color: white !important;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #002937;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    display: none;
    z-index: 1000;
    text-align: center;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: white !important;
    text-decoration: none !important;
    transition: background-color 0.3s;
    text-align: center;
    font-size: 0.9rem;
}

/* PC 메뉴 스타일 */
@media (min-width: 769px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #002937;
        min-width: 200px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 10px 0;
        display: none;
        z-index: 1000;
        text-align: center !important;
    }

    .dropdown-menu a {
        display: block;
        padding: 10px 20px;
        color: white !important;
        text-decoration: none !important;
        text-align: center !important;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
        margin: 0 !important;
        white-space: nowrap;
    }

    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffa500 !important;
    }

    .nav-links > li:hover .dropdown-menu {
        display: block;
    }
}

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* 모바일 메뉴 스타일 */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        right: 0;
        width: 250px;
        height: calc(100vh - 70px);
        background-color: #002937;
        padding: 20px;
        flex-direction: column;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    }

    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 20px;
        text-align: center !important;
        background-color: #002937;
        width: 100%;
    }

    .dropdown-menu a {
        text-align: center !important;
        color: white !important;
        text-decoration: none !important;
        padding: 8px 15px;
        font-size: 0.9rem;
        display: block;
    }

    .mobile-menu-open .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* 모바일 메뉴 오버레이 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* 모바일 메뉴가 열려있을 때 body 스타일 */
body.mobile-menu-open {
    overflow: hidden;
}

/* 와이드 이미지 메뉴 스타일 */
.wide-image-menu {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.wide-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: 400px;
    overflow: hidden;
}

.wide-menu-image {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    object-fit: cover;
}

.image-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.image-map-overlay div {
    position: absolute;
    top: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.area-text {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 1;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.map-area-1 { left: 0; width: 25%; }
.map-area-2 { left: 25%; width: 25%; }
.map-area-3 { left: 50%; width: 25%; }
.map-area-4 { left: 75%; width: 25%; }

.image-map-overlay div:hover {
    opacity: 1;
}

.image-map-overlay div:hover .area-text {
    transform: scale(1.1);
}

/* 모바일용 링크 백업 */
.mobile-menu-links {
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f4f3ef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .wide-image-container {
        display: none;
    }
    
    .mobile-menu-links {
        display: flex;
    }
}

@media (min-width: 769px) {
    .wide-image-container {
        display: block;
    }
    
    .mobile-menu-links {
        display: none;
    }
}

/* 비디오 섹션 */
.video-section {
    margin-top: 80px;
    width: 100%;
    position: relative;
}

.video-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 비율 */
    position: relative;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 컬러풀 웰컴 섹션 */
.colorful-welcome {
    position: relative;
    padding: 6rem 2rem;
    background: linear-gradient(
        to right,
        #ff7e5f,
        #feb47b,
        #ff9a9e,
        #fad0c4,
        #a18cd1,
        #fbc2eb,
        #ff9a9e
    );
    background-size: 200% 100%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.colorful-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="0" x2="100" y2="100" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.3;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.colorful-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.colorful-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    font-weight: 700;
}

.colorful-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 기존 웰컴 섹션 스타일 수정 */
.welcome-section {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.welcome-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.main-text {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.sub-text {
    color: #f4a460;
    font-size: 1rem;
}

/* 중심 메시지 */
.center-message {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f4f3ef;
}

.center-message h2 {
    font-size: 2rem;
    font-weight: 700;
}

/* 피처 섹션 */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 온라인 예배 섹션 */
.online-worship {
    position: relative;
    padding: 4rem 2rem;
    background: #f4f3ef;
}

.gradient-background {
    background: #f4f3ef;
    color: #333;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 10px;
}

.online-worship h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.online-worship p {
    font-size: 0.96rem;
    line-height: 1.5;
}

.more-btn {
    margin-top: 1.6rem;
    padding: 0.64rem 1.6rem;
    background-color: transparent;
    border: 2px solid #333;
    color: #333;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.more-btn:hover {
    background-color: #333;
    color: #f4f3ef;
}

/* 푸터 */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.church-info p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.8;
}

.church-info p:first-child {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .social-links {
        margin-top: 1.5rem;
    }
    
    .social-icon img {
        width: 28px;
        height: 28px;
    }
    
    .church-info p {
        word-break: keep-all;
        line-height: 1.6;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .online-worship {
        padding: 2rem 1rem;
    }
    
    .gradient-background {
        padding: 2rem 1rem;
    }
    
    .online-worship h2 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .online-worship p {
        font-size: 0.85rem;
    }
    
    .more-btn {
        margin-top: 1.2rem;
        padding: 0.5rem 1.2rem;
        font-size: 0.75rem;
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        flex-direction: row;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
    
    .nav-links > li:hover .dropdown-menu {
        display: block;
    }
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    padding: 1rem;
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin: 1rem 0;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

/* 모바일 메뉴 버튼 스타일 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* 모바일 환경 스타일 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .mobile-menu-open .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 70px;
        right: 0;
        width: 250px;
        height: calc(100vh - 70px);
        background-color: #002937;
        padding: 10px;  /* 패딩 줄임 */
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -2px 0 5px rgba(0,0,0,0.2);
        margin: 0;
    }

    .nav-links > li {
        width: 100%;
        text-align: left;
        padding: 2px 0;  /* 패딩 줄임 */
    }

    .nav-links > li > a {
        width: 100%;
        display: block;
        padding: 4px 0;  /* 패딩 줄임 */
        color: white !important;
        font-size: 16px;
    }

    .nav-links .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        background-color: #002937;
        margin-top: 2px;  /* 마진 줄임 */
        padding: 0;
        box-shadow: none;
        display: none;
        max-height: none;
        overflow: visible;
    }
    
    .nav-links .dropdown-menu.show {
        display: block !important;
    }

    .nav-links .dropdown-menu a,
    .nav-links .dropdown-menu .reservation-link,
    .nav-links .dropdown-menu .reservation-button {
        padding: 4px 20px;  /* 패딩 줄임 */
        color: white !important;
        opacity: 0.9;
        text-align: left;
        text-decoration: none;
        display: block;
        font-size: 14px;
    }
    
    .nav-links .dropdown-menu a:hover,
    .nav-links .dropdown-menu .reservation-link:hover,
    .nav-links .dropdown-menu .reservation-button:hover {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.1);
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        flex-direction: row;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}

.mobile-menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    right: 0;
    width: 250px;
    height: calc(100vh - 70px);
    background-color: #002937;
    padding: 20px;
    z-index: 1000;
}

.mobile-menu-open .nav-links .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    background-color: #002937;
    margin-top: 10px;
    box-shadow: none;
}

.mobile-menu-open .nav-links .dropdown-menu.show {
    display: block;
}

/* 모바일 메뉴 오버레이 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* 클릭 가능한 요소 호버/액티브 스타일 개선 */
.mobile-menu-btn:hover,
.mobile-menu-btn:active,
.nav-links > li > a:active,
.dropdown-menu a:active {
    opacity: 0.8;
}

/* 모바일 메뉴 트랜지션 */
.nav-links, .dropdown-menu {
    transition: all 0.3s ease;
}

/* 와이드 이미지 메뉴 스타일 */
.wide-image-menu {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
    background-color: #f4f4f4;
}

.wide-image-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    height: 300px;
    overflow: hidden;
}

.wide-menu-image {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    object-fit: cover;
}

/* 이미지 맵 호버 효과를 위한 오버레이 */
.image-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.image-map-overlay div {
    position: absolute;
    top: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-text {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 1;
    transition: transform 0.3s ease;
}

.map-area-1 { left: 0; width: 25%; }
.map-area-2 { left: 25%; width: 25%; }
.map-area-3 { left: 50%; width: 25%; }
.map-area-4 { left: 75%; width: 25%; }

.image-map-overlay div:hover {
    opacity: 1;
    cursor: pointer;
}

.image-map-overlay div:hover .area-text {
    transform: scale(1.1);
}

/* 모바일용 링크 백업 */
.mobile-menu-links {
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f4f3ef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-menu-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 1rem;
    margin: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f4f3ef;
    min-width: calc(50% - 1rem);
}

.mobile-menu-item:hover {
    background-color: #ffa500;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .wide-image-container {
        display: none;
    }
    
    .mobile-menu-links {
        display: flex;
    }
    
    .mobile-menu-item {
        font-size: 1rem;
        padding: 1rem 0.5rem;
    }
}

@media (min-width: 769px) {
    .wide-image-container {
        display: block;
    }
    
    .mobile-menu-links {
        display: none;
    }
}

/* 섬기는 사람들 페이지 스타일 */
.staff-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 40px;
}

.staff-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #364259;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #455B5D;
    text-align: center;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    justify-content: start;
    padding-left: 20px;
    width: 100%;
}

.staff-card {
    background: #e8dfd7;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 180px;
    margin: 0;
}

/* 호버 효과 제거 */
.staff-card:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-color: #e8dfd7;
}

.staff-image-container {
    position: relative;
    width: 180px;
    height: 180px;
    overflow: hidden;
    background-color: #e8dfd7;
    margin: 0;
    padding: 0;
}

.staff-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 5%;
    padding: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* 지현일 목사 이미지 특별 스타일 */
.staff-section:nth-child(2) .staff-card:nth-child(3) .staff-image {
    object-position: 15% 5%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* 고은지 전도사 이미지 특별 스타일 */
.staff-section:nth-child(3) .staff-card:nth-child(5) .staff-image {
    transform: scale(1.18);
    transform-origin: center center;
    -webkit-transform: scale(1.18);
    -webkit-transform-origin: center center;
    -moz-transform: scale(1.18);
    -moz-transform-origin: center center;
}

.staff-info {
    padding: 15px;
    text-align: center;
    background-color: #e8dfd7;
}

.staff-name {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

/* 담임목사님 섹션 특별 스타일 */
.staff-section:first-child .staff-grid {
    display: grid;
    grid-template-columns: 200px;
    gap: 20px;
    justify-content: start;
    padding-left: 20px;
    margin: 0;
}

.staff-section:first-child .staff-card {
    max-width: 200px;
    margin: 0;
}

.staff-section:first-child .staff-image-container {
    margin: 0;
}
/* 모바일 이미지 카드 간격 조정 gap, padding  */   
@media (max-width: 768px) {
    .staff-section .staff-grid {
        grid-template-columns: repeat(3, 90px);
        gap: 30px;
        padding: 25px 25px 25px 10px;
        justify-content: start;
        margin-left: 0;
        width: 100%;
    }

    .staff-section:first-child .staff-grid {
        grid-template-columns: 90px;
        gap: 15px;
        padding: 10px 10px 10px 10px;
        justify-content: start;
        margin: 0;
        width: 100%;
    }

    .staff-section:first-child .staff-card {
        max-width: 90px;
        margin: 0;
    }

    .staff-card {
        width: 90px;
        background: #e8dfd7 !important;
        margin: 0;
    }

    .staff-image-container {
        width: 90px;
        height: 90px;
        background-color: #e8dfd7 !important;
        margin: 0;
    }

    .staff-info {
        padding: 4px;
        background-color: #e8dfd7 !important;
    }

    .staff-section {
        width: 100%;
        padding: 0;
    }
}

/* 포지션 섹션 스타일 */
.position-section {
    background-color: #f4f3ef;
    padding: 4rem 2rem;  /* center-message와 동일한 패딩 */
    text-align: center;
    margin-top: 0;  /* 마진 제거 */
}

.position-content {
    max-width: 1200px;  /* center-message와 동일한 최대 너비 */
    margin: 0 auto;
    padding: 0;
}

.position-content h2 {
    font-size: 2rem;  /* center-message와 동일한 폰트 크기 */
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.position-content p {
    font-size: 1.2rem;  /* center-message와 동일한 폰트 크기 */
    color: #666;
}

/* 모바일 환경을 위한 미디어 쿼리 */
@media screen and (max-width: 768px) {
    .position-section {
        padding: 3rem 1rem;  /* center-message와 동일한 모바일 패딩 */
    }

    .position-content {
        max-width: 100%;
        padding: 0;
    }

    .position-content h2 {
        font-size: 1.8rem;  /* center-message와 동일한 모바일 폰트 크기 */
        margin-bottom: 0.3rem;
    }

    .position-content p {
        font-size: 1rem;  /* center-message와 동일한 모바일 폰트 크기 */
    }
}

/* 텍스트 애니메이션 스타일 */
.animated-text {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 애니메이션 활성화 클래스 */
.animated-text.active {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 교회 소식 페이지 스타일 */
.news-section {
    margin-top: 80px;
    padding: 2rem;
    background-color: #f4f3ef;
    min-height: calc(100vh - 80px - 200px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.news-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .news-section {
        padding: 1rem;
        margin-top: 70px;
    }
    
    .news-container {
        padding: 1rem;
    }
}

/* 장소예약 링크 스타일 추가 */
.reservation-link {
    color: white !important;
    text-decoration: none !important;
    display: block;
    padding: 10px 20px;
    text-align: center !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.reservation-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffa500 !important;
}

.greeting-text {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #333;
}

.greeting-text p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.pastor-content:last-child {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
}

.pastor-content:last-child .pastor-info-container {
    max-width: 800px;
    margin: 0 auto;
}

.pastor-content:last-child .pastor-info {
    text-align: left;
}

.pastor-content:last-child .info-group {
    margin-bottom: 40px;
}

.pastor-content:last-child .info-group:last-child {
    margin-bottom: 0;
} 