/* 기본 변수 세팅 */
:root {
    --bg-main: #0B0B0B;
    --bg-card: #161616;
    --bg-light: #222222;
    --color-text: #E5E5E5;
    --color-text-muted: #A0A0A0;
    --color-point: #FE5000; /* 운동가짐 브랜드 오렌지 컬러 */
    --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

/* 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

/* 타이틀 스타일 공통 */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
}
.section-title span {
    color: var(--color-point);
}
.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* 그리드 레이아웃 템플릿 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* 버튼 스타일 */
.btn-primary {
    display: inline-block;
    background-color: var(--color-point);
    color: #fff;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    transition: 0.3s ease;
    text-transform: uppercase;
}
.btn-primary:hover {
    background-color: #e04600;
    transform: translateY(-3px);
}
.btn-secondary {
    display: inline-block;
    border: 1px solid var(--color-point);
    color: var(--color-point);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-secondary:hover {
    background-color: var(--color-point);
    color: #fff;
}

/* 로고 스타일 */
.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
}
.logo span {
    color: var(--color-point);
}

/* 헤더 내비게이션 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 11, 11, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #1f1f1f;
}
.header-container {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header nav ul {
    display: flex;
    gap: 30px;
}
header nav ul a {
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
}
header nav ul a:hover {
    color: var(--color-point);
}
.menu-toggle {
    display: none;
    cursor: pointer;
}
.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-text);
    transition: 0.3s;
}

/* 메인 히어로 섹션 */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg-placeholder {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('center_images/main.jpeg') no-repeat center center/cover;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}
.slogan-badge {
    display: inline-block;
    color: var(--color-point);
    border: 1px solid var(--color-point);
    padding: 5px 15px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-radius: 50px;
}
.main-title {
    font-size: 5.5rem;
    font-weight: 900;
    color: #ffffff;    
    margin-bottom: 25px;
    letter-spacing: -2px;
    line-height: 1.3;  
}
.sub-description {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 40px;
    font-weight: 400;
}

/* 요약 특징 섹션 */
.summary-section {
    background-color: var(--bg-card);
    border-bottom: 1px solid #222;
}
.summary-section .container { padding: 50px 0; }
.summary-card {
    text-align: center;
    padding: 20px;
}
.summary-card i {
    font-size: 2.5rem;
    color: var(--color-point);
    margin-bottom: 15px;
}
.summary-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}
.summary-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   공간 소개 섹션 (올바른 스펠링 파일명으로 이미지 등록)
   ========================================================================== */
.facilities-section {
    background-color: var(--bg-main);
}

.facility-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #222;
}

.facility-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-point);
}

/* 이미지 상자 공통 스타일 */
.img-placeholder {
    width: 100%;
    height: 250px;
    background-color: var(--bg-light);
    border-bottom: 2px solid #111;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 정확한 스펠링으로 center_images 폴더 내 이미지 경로 지정 */
.img-placeholder.weight {
    background-image: url('center_images/weight.jpeg');
}

.img-placeholder.stretching {
    background-image: url('center_images/stretching.jpeg');
}

.img-placeholder.cardio {
    background-image: url('center_images/cardio.jpeg');
}

.img-placeholder.shower {
    background-image: url('center_images/shower.jpeg');
}

.facility-info {
    padding: 25px;
}

.facility-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}

.facility-info p {
    color: var(--color-text-muted);
}

/* ==========================================================================
   1:1 PT 섹션 (전체 배경 사진 + 내부 카드 구조)
   ========================================================================== */
.pt-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    background-attachment: fixed; 
    overflow: hidden;
}

/* 배경 사진 위에 씌우는 어두운 틴트 레이어 */
.pt-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 11, 11, 0.75); 
    z-index: 1;
}

/* 내부 콘텐츠들을 배경 레이어 위로 올리기 */
.pt-content-wrap {
    position: relative;
    z-index: 2;
}

/* 카드는 원래대로 어둡고 깔끔한 박스 모양 유지 */
.pt-card {
    background-color: var(--bg-main); 
    padding: 35px 25px;
    border-radius: 6px;
    position: relative;
    border: 1px solid #222;
    transition: 0.3s ease;
}

/* 마우스 올렸을 때 카드에 오렌지색 테두리 포인트 */
.pt-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-point);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* 카드 내부 숫자 스타일 */
.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(254, 80, 0, 0.15); 
    position: absolute;
    top: 15px;
    right: 20px;
}

/* 카드 내부 제목 */
.pt-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
    border-left: 3px solid var(--color-point);
    padding-left: 10px;
}

/* 카드 내부 본문 문구 */
.pt-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   오시는길 브랜드 배너 섹션 (애드짐 스타일 벤치마킹)
   ========================================================================== */
.cta-banner-section {
    background-color: var(--color-point); /* 운동가짐 브랜드 오렌지색 배경 */
    text-align: center;
    padding: 0; /* 내부 컨테이너 패딩 조절을 위해 0 고정 */
}

.cta-container {
    padding: 60px 0 !important; /* 위아래 여백을 적당히 주어 깔끔하게 정렬 */
}

.cta-banner-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000; /* 오렌지 배경 위에 잘 보이도록 검은색 글씨 */
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.cta-banner-section p {
    font-size: 1.15rem;
    color: #111111;
    font-weight: 500;
    margin-bottom: 30px;
}

/* 스크린샷 스타일의 검은색 오시는길 버튼 */
.btn-cta {
    display: inline-block;
    background-color: #000000; /* 검은색 버튼 */
    color: #ffffff; /* 흰색 글씨 */
    padding: 15px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
    transition: 0.3s ease;
}

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

/* 모바일 환경 대응 (반응형 추가) */
@media (max-width: 768px) {
    .cta-banner-section h2 {
        font-size: 1.8rem;
    }
    .cta-banner-section p {
        font-size: 1rem;
    }
    .btn-cta {
        padding: 12px 40px;
        font-size: 1rem;
    }
}

/* 푸터 정보 & 연락처 */
footer {
    background-color: #050505;
    border-top: 1px solid #1a1a1a;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr; 
    gap: 60px;
    padding-bottom: 50px;
}

/* 🛠️ 요청하신 푸터 글자 간격 수정 완료 구역 */
footer p {
    margin-bottom: 20px;       /* 줄 간 하단 여백 확대 (기존 15px) */
    color: #bbbbbb;
    font-size: 1.05rem;
    line-height: 1.8;          /* 폰트 상하 줄 간격 시원하게 확대 (기존 1.6) */
}

footer p i {
    color: var(--color-point);
    margin-right: 14px;        /* 아이콘과 글자 사이 간격 확보 (기존 10px) */
    width: 20px;
    font-size: 1.1rem;         /* 아이콘 크기 미세 조정 */
}

footer p .accent-text {
    display: inline-block;
    margin-top: 5px;           /* 휴무 안내 문구 상단 여백 배치 */
}

.sns-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-point);
    padding-bottom: 8px;
    width: fit-content;
}

.sns-text-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sns-item {
    font-size: 1.05rem;
    color: #e5e5e5;
    background-color: var(--bg-card);
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #222;
    border-left: 4px solid var(--color-point); 
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.sns-item strong {
    color: var(--color-point);
    font-weight: 700;
}
.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid #111;
    color: #555;
    font-size: 0.9rem;
}

/* 반응형 모바일 브레이크포인트 설정 */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .main-title { font-size: 3.5rem; }
}

/* 오류 수정 구역: 미디어쿼리 시작 괄호({)가 누락되어 있던 것을 정상 수정했습니다. */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .main-title { font-size: 2.8rem; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sns-item {
        font-size: 0.95rem;
    }
    
    /* 모바일 햄버거 메뉴 기능 */
    .menu-toggle { display: block; }
    header nav {
        position: absolute;
        top: 100%; left: -100%; width: 100%; height: 100vh;
        background-color: rgba(11, 11, 11, 0.98);
        transition: 0.4s;
    }
    header nav.active { left: 0; }
    header nav ul {
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 40px;
    }
    header nav ul a { font-size: 1.3rem; }
    
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}