/* styles.css - 헤더 전용 스타일
   한국어 인터페이스, 반응형, JS 미사용
*/

:root {
  --brand-1: #0b72b9; /* 브랜드 색상 (파란 계열) */
  --brand-2: #0f4c81; /* 진한 보조 색 */
  --accent: #ffb400; /* 액센트 (버튼) */
  --muted: #6b7280;
  --bg: #ffffff;
  --glass: rgba(255, 255, 255, 0.85);
  --radius: 10px;
  --header-h: 76px;
  --break-sm: 820px;
  --break-xs: 520px;
  font-family: Inter, "Noto Sans KR", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: #111827;
}

/* 헤더 컨테이너 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.9)
  );
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* 내부 래퍼: 좌/중/우 정렬 */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
}

/* 로고 영역 */
.logo {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-right: 0.75rem;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.6rem;
  color: var(--brand-2);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(11, 114, 185, 0.12);
}
.logo-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* 네비게이션 중앙 정렬 - 플렉스 성장으로 중앙에 배치 */
.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* nav 리스트 */
.nav-list {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  align-items: center;
}
.nav-item {
}
.nav-link {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  transition: all 180ms ease;
}
.nav-link:hover,
.nav-link:focus {
  color: var(--brand-2);
  transform: translateY(-2px);
  background: rgba(11, 114, 185, 0.04);
  outline: none;
}

/* 연락처 블록 (우측) */
.contact-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
}
.phone {
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-2);
  font-size: 14px;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: transparent;
}
.phone:hover {
  text-decoration: underline;
}

/* CTA 버튼 */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent), #ff9e00);
  color: #0b1220;
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 8px 22px rgba(255, 180, 0, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.cta-btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* 반응형: 좁은 화면에서는 네비와 연락처 재배치 */
@media (max-width: var(--break-sm)) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
  }

  /* 로고는 왼쪽에 고정, 네비는 전체 너비로 내려감 */
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding: 0.25rem 0;
  }
  .nav-list {
    gap: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }
  .nav-link {
    padding: 0.55rem 0.8rem;
    font-size: 14px;
    white-space: nowrap;
  }

  .contact-block {
    order: 2;
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }
}

/* 아주 좁은 화면에서는 로고/전화/버튼을 세로 정렬하지 않고 간격 줄이기 */
@media (max-width: var(--break-xs)) {
  .logo-mark {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .logo-text {
    font-size: 15px;
  }
  .cta-btn {
    padding: 0.45rem 0.65rem;
    font-size: 13px;
  }
  .phone {
    font-size: 13px;
    padding: 0.2rem 0.4rem;
  }
}

/* 시각적 보조: 포커스 스타일 */
a:focus {
  outline: 3px solid rgba(11, 114, 185, 0.14);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ========================= */
/* 히어로 섹션 (Hero Section) */
/* ========================= */

.hero-section {
  position: relative;
  height: 90vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background: url("images/hero-bg.webp") center/cover no-repeat;
  overflow: hidden;
}

/* 비디오를 사용할 경우, hero-section 내부에 <video>를 추가 가능 (배경으로) */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 2rem;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* 버튼 스타일 */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-btn.primary {
  background: linear-gradient(180deg, var(--accent), #ff9a00);
  color: #111827;
  box-shadow: 0 8px 22px rgba(255, 180, 0, 0.2);
}
.hero-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 180, 0, 0.25);
}

.hero-btn.secondary {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}
.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* 반응형 (모바일 대응) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-section {
    height: 70vh;
    min-height: 460px;
  }
}

/* ============================= */
/* 주요 서비스 (Main Services) — 반응형 완전 지원 */
/* ============================= */

.services-section {
  background: #f8fafc;
  padding: 5rem 1.5rem;
  text-align: center;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* 카드 그리드 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* 서비스 카드 */
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 2.2rem 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(11, 114, 185, 0.12);
}

/* 이미지 / 아이콘 */
.service-icon {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  border: 3px solid var(--brand-1);
}

.service-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.55;
  max-width: 260px;
}

/* =================== */
/* 반응형 (모바일 최적화) */
/* =================== */

/* 태블릿 이하 */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
}

/* 스마트폰 */
@media (max-width: 640px) {
  .services-section {
    padding: 3.5rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 1.2rem;
    gap: 1rem;
  }

  .service-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 0;
  }

  .service-info {
    align-items: flex-start;
  }

  .service-name {
    font-size: 1.1rem;
  }

  .service-desc {
    font-size: 0.9rem;
    max-width: none;
  }
}

/* 초소형 (아이폰 SE, 360px 이하) */
@media (max-width: 380px) {
  .service-icon {
    width: 64px;
    height: 64px;
  }
  .service-name {
    font-size: 1rem;
  }
  .service-desc {
    font-size: 0.85rem;
  }
}
/* =============================== */
/* 📱 MOBILE FULL ADAPTATION (≤640px) */
/* =============================== */

/* === HEADER === */
@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
  }

  .logo-mark {
    width: 60px;
    height: 60px;
    font-size: 16px;
  }

  .logo-text {
    font-size: 15px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.3rem;
    padding: 0.4rem 0;
  }

  .nav-link {
    font-size: 13px;
    padding: 0.45rem 0.7rem;
    white-space: nowrap;
  }

  .contact-block {
    order: 2;
    justify-content: flex-end;
    width: 100%;
    gap: 0.5rem;
  }

  .phone {
    font-size: 13px;
  }

  .cta-btn {
    padding: 0.4rem 0.7rem;
    font-size: 13px;
  }
}

/* === HERO SECTION === */
@media (max-width: 640px) {
  .hero-section {
    height: 70vh;
    min-height: 460px;
    background-position: center center;
    background-size: cover;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.6rem;
    padding: 0 0.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-btn {
    width: 90%;
    max-width: 320px;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
  }
}

/* === MAIN SERVICES === */
@media (max-width: 640px) {
  .services-section {
    padding: 3.2rem 1rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .service-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 1.1rem;
    gap: 1rem;
  }

  .service-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 0;
  }

  .service-info {
    align-items: flex-start;
  }

  .service-name {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }

  .service-desc {
    font-size: 0.88rem;
    line-height: 1.45;
  }
}

/* === EXTRA SMALL (≤380px) === */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .service-card {
    gap: 0.8rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-name {
    font-size: 0.95rem;
  }

  .service-desc {
    font-size: 0.8rem;
  }

  .cta-btn {
    padding: 0.35rem 0.6rem;
    font-size: 12px;
  }
}

/* ============================= */
/* 장점 섹션 (Advantages / Переваги СТО) */
/* ============================= */

.advantages-section {
  background: #ffffff;
  padding: 5rem 1.5rem;
  text-align: center;
}

.advantages-container {
  max-width: 1200px;
  margin: 0 auto;
}

.advantages-section .section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 0.5rem;
}

.advantages-section .section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* 그리드 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

/* 장점 카드 */
.adv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 16px;
  background: #f8fafc;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(11, 114, 185, 0.12);
}

/* 아이콘 */
.adv-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

/* 제목 */
.adv-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 0.5rem;
}

/* 설명 */
.adv-desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
  max-width: 220px;
}

/* =================== */
/* 반응형 (모바일) */
/* =================== */

@media (max-width: 768px) {
  .advantages-section .section-title {
    font-size: 1.8rem;
  }

  .advantages-section .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .adv-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 1rem;
    gap: 1rem;
  }

  .adv-icon {
    width: 60px;
    height: 60px;
  }

  .adv-title {
    font-size: 1.05rem;
  }

  .adv-desc {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: none;
  }
}

@media (max-width: 380px) {
  .adv-icon {
    width: 50px;
    height: 50px;
  }

  .adv-title {
    font-size: 0.95rem;
  }

  .adv-desc {
    font-size: 0.85rem;
  }
}

/* ============================= */
/* 회사 소개 섹션 (About / Про нас) */
/* ============================= */

.about-section {
  background: #f8fafc;
  padding: 5rem 1.5rem;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 400px;
  max-width: 550px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about-content {
  flex: 1 1 350px;
  max-width: 550px;
}

.about-content .section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 1rem;
}

.about-content .section-subtitle {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* CTA кнопка */
.about-content .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent), #ff9a00);
  color: #111827;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 8px 22px rgba(255, 180, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-content .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 180, 0, 0.25);
}

/* =================== */
/* 반응형 (모바일 최적화) */
/* =================== */

@media (max-width: 992px) {
  .about-container {
    gap: 2rem;
  }

  .about-content .section-title {
    font-size: 1.9rem;
  }

  .about-content .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .about-image,
  .about-content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-content .cta-btn {
    width: 80%;
    max-width: 280px;
  }
}

@media (max-width: 380px) {
  .about-content .section-title {
    font-size: 1.5rem;
  }

  .about-content .section-subtitle {
    font-size: 0.9rem;
  }

  .about-content .cta-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}

/* ============================= */
/* 고객 후기 섹션 (Reviews / Відгуки клієнтів) */
/* ============================= */

.reviews-section {
  background: #ffffff;
  padding: 5rem 1.5rem;
  text-align: center;
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-section .section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 0.5rem;
}

.reviews-section .section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

/* 후기 카드 그리드 */
.reviews-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.review-card {
  flex: 0 0 300px;
  background: #f8fafc;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 114, 185, 0.12);
}

.review-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* 고객 정보 */
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.review-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-2);
  margin-bottom: 0.25rem;
}

.review-stars {
  color: #ffb400; /* золоті зірки */
  font-size: 0.85rem;
}

/* =================== */
/* 반응형 (모바일 최적화) */
/* =================== */

@media (max-width: 768px) {
  .reviews-section .section-title {
    font-size: 1.8rem;
  }

  .reviews-section .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .review-card {
    flex: 0 0 260px;
    padding: 1.8rem 1.2rem;
  }

  .review-text {
    font-size: 0.9rem;
  }

  .review-name {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    gap: 1rem;
    flex-direction: column;
  }

  .review-card {
    flex: 0 0 220px;
    padding: 1.4rem 1rem;
  }

  .review-text {
    font-size: 0.85rem;
  }

  .review-name {
    font-size: 0.85rem;
  }

  .review-stars {
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .review-card {
    flex: 0 0 180px;
    padding: 1.2rem 0.8rem;
  }

  .review-text {
    font-size: 0.8rem;
  }

  .review-name {
    font-size: 0.8rem;
  }

  .review-stars {
    font-size: 0.75rem;
  }
}

/* ============================= */
/* 온라인 예약 섹션 (Booking / Форма онлайн-запису) */
/* ============================= */

.booking-section {
  background: #f8fafc;
  padding: 5rem 1.5rem;
  text-align: center;
}

.booking-container {
  max-width: 600px;
  margin: 0 auto;
}

.booking-section .section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 0.5rem;
}

.booking-section .section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* 폼 스타일 */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-2);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--brand-1);
  box-shadow: 0 0 0 2px rgba(11, 114, 185, 0.15);
}

/* 예약 버튼 */
.booking-form .cta-btn {
  align-self: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent), #ff9a00);
  color: #111827;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.booking-form .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 180, 0, 0.25);
}

/* 예약 확인 메시지 */
.booking-confirmation {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: #d1fae5;
  color: #065f46;
  font-weight: 600;
  text-align: center;
}

/* =================== */
/* 반응형 (모바일 최적화) */
/* =================== */

@media (max-width: 640px) {
  .booking-container {
    width: 100%;
  }

  .booking-form {
    gap: 1rem;
  }

  .form-group input,
  .form-group select {
    font-size: 0.9rem;
    padding: 0.6rem 0.7rem;
  }

  .booking-form .cta-btn {
    width: 100%;
    font-size: 0.95rem;
  }
}

@media (max-width: 380px) {
  .form-group input,
  .form-group select {
    font-size: 0.85rem;
    padding: 0.5rem 0.65rem;
  }

  .booking-form .cta-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}

/* ============================= */
/* 푸터 이메일 구독 폼 */
/* ============================= */
.footer-subscribe h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-subscribe p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #e0e0e0;
}

.subscribe-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
  flex: 1 1 auto;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  outline: none;
}

.subscribe-form input[type="email"]:focus {
  border-color: var(--brand-1);
  box-shadow: 0 0 0 2px rgba(11, 114, 185, 0.15);
}

.subscribe-form .cta-btn {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

/* 구독 완료 메시지 */
.subscribe-confirmation {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #d1fae5;
  color: #065f46;
  font-weight: 600;
  text-align: center;
}

/* 반응형 */
@media (max-width: 640px) {
  .subscribe-form {
    flex-direction: column;
  }
  .subscribe-form .cta-btn {
    width: 100%;
  }
}
/* ============================= */
/* 푸터 섹션 (Footer / Футер) */
/* ============================= */

.site-footer {
  background: var(--brand-2);
  color: #ffffff;
  padding: 4rem 1.5rem 2rem;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-contact h3,
.footer-links h3,
.footer-social h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-contact p,
.footer-links ul,
.footer-social .social-icons {
  margin: 0.25rem 0;
}

.footer-contact a,
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

/* Соцмережі */
.footer-social .social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social .social-icons a img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}

.footer-social .social-icons a:hover img {
  filter: brightness(0) invert(0.6) sepia(1) hue-rotate(40deg);
}

/* Копірайт */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  font-size: 0.85rem;
}

/* =================== */
/* 반응형 (모바일 최적화) */
/* =================== */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-map iframe {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-map iframe {
    height: 150px;
  }
  .footer-social .social-icons {
    justify-content: center;
  }
}
/* ============================= */
/* 정책/쿠키 페이지 스타일 */
/* ============================= */
.policy-section {
  padding: 4rem 1.5rem;
  background: #f8fafc;
  color: #111827;
  font-family: Inter, "Noto Sans KR", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
}

.policy-section .section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 0.5rem;
  text-align: center;
}

.policy-section .section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.6;
}

.policy-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--brand-2);
}

.policy-content p,
.policy-content ul,
.policy-content li {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.policy-content ul {
  list-style: disc inside;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

/* 반응형 */
@media (max-width: 768px) {
  .policy-section {
    padding: 3rem 1rem;
  }
  .policy-section .section-title {
    font-size: 1.75rem;
  }
  .policy-section .section-subtitle {
    font-size: 0.95rem;
  }
  .policy-content h2 {
    font-size: 1.1rem;
  }
  .policy-content p,
  .policy-content li {
    font-size: 0.9rem;
  }
}

/* 푸터 구독 폼 스타일 (이미 이전에 정의한 것 재사용 가능) */
.footer-subscribe {
  margin-top: 1.5rem;
}

.subscribe-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
  flex: 1 1 auto;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  outline: none;
}

.subscribe-form input[type="email"]:focus {
  border-color: var(--brand-1);
  box-shadow: 0 0 0 2px rgba(11, 114, 185, 0.15);
}

.subscribe-form .cta-btn {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.subscribe-confirmation {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #d1fae5;
  color: #065f46;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 640px) {
  .subscribe-form {
    flex-direction: column;
  }
  .subscribe-form .cta-btn {
    width: 100%;
  }
}
/* ============================= */
/* 연락처 페이지 본문 */
/* ============================= */
.contact-section {
  padding: 4rem 1.5rem;
  background: #f8fafc;
  color: #111827;
  text-align: center;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-section .section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 0.5rem;
}

.contact-section .section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.contact-info a {
  color: var(--brand-2);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* 온라인 문의 폼 */
.contact-form-section {
  margin-top: 2rem;
  text-align: left;
}

.contact-form-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--brand-2);
}

.contact-form-section .subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form-section .subscribe-form input,
.contact-form-section .subscribe-form button {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  outline: none;
}

.contact-form-section .subscribe-form button {
  background: linear-gradient(180deg, var(--accent), #ff9a00);
  color: #111827;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.contact-form-section .subscribe-form button:active {
  transform: translateY(1px);
}

.subscribe-confirmation {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #d1fae5;
  color: #065f46;
  font-weight: 600;
  text-align: center;
}

/* 반응형 */
@media (max-width: 640px) {
  .contact-section {
    padding: 3rem 1rem;
  }
  .contact-form-section .subscribe-form input,
  .contact-form-section .subscribe-form button {
    width: 100%;
  }
}
/* ============================= */
/* 쿠키 배너 스타일 */
/* ============================= */
.cookie-checkbox {
  display: none; /* 체크박스 숨김 */
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 72, 129, 0.95);
  color: #ffffff;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  z-index: 999;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner a {
  color: #ffb400;
  text-decoration: underline;
}

.cookie-close-btn {
  background: #ffb400;
  color: #0b1220;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}

/* 체크하면 배너 숨기기 */
.cookie-checkbox:checked + .cookie-banner {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
