/* 전체 공통 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Arial', sans-serif;
  background-color: #ffffff;
}

/* 상단 안내 바 */
.top-bar {
  background-color: #e6f0ff;
  color: #004080;
  text-align: center;
  padding: 6px 0;
  font-weight: bold;
}

/* 로고 + 메뉴 바 */
.logo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background-color: white;
  border-bottom: 1px solid #ccc;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0077cc;
}

/* 메인 이미지 영역 */
.hero {
  position: relative;
  background-image: url('planet-earth-background.jpg');  /* 여기에 너가 쓰는 이미지 이름을 넣어 */
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* 어두운 오버레이 */
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 20px;
}

.about-section {
  background-color: #ffffff; /* 기존보다 부드러운 연파랑 */
  padding: 50px 50px;
}

.about-title-inline {
  font-size: 28px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 16px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-img {
  width: 480px;
}

.about-text {
  max-width: 480px;
  flex-shrink: 1;

  background-color: #ffffff;  /* 흰색 배경 */
  padding: 24px 28px;         /* 박스 안쪽 여백 */
  border-radius: 12px;        /* 모서리 둥글게 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);  /* 약한 그림자 */
}

.about-text .quote {
  font-style: italic;
  font-size: 17px;
  color: #0077aa;
  margin-bottom: 14px;
}

.about-tags {
  margin-top: 24px;
}

.about-tags span {
  display: inline-block;
  background-color: #d9ecff;
  color: #004080;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  margin-right: 8px;
  margin-top: 6px;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}


.member-section {
  padding: 80px 40px;
  background-color: #f8fbff;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  color: #003366;
  margin: 60px 0 40px;
  position: relative;
  display: inline-block;
  padding: 10px 20px;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0077cc;
}

.section-title::before {
  top: -10px;
}

.section-title::after {
  bottom: -10px;
}

.member-section {
  padding: 80px 40px;
  background-color: #f8fbff;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 40px;
}

.member-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.member-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px 30px;
  width: 200px;
}

.member-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  color: #003366;
}

.member-card p {
  margin: 0;
  font-size: 16px;
  color: #555;
}

.event-section {
  padding: 80px 40px;
  background-color: #f8fbff;
  text-align: center;
}

.event-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.event-card {
  width: 400px; /* 기존보다 넓게 */
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  padding: 24px;
  text-align: left;
}

.event-photo {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.event-card h3 {
  font-size: 22px; /* 제목 크기 증가 */
  margin: 10px 0 8px;
  color: #003366;
}

.event-date {
  font-size: 15px;
  color: #666;
  margin-bottom: 12px;
}

.event-desc {
  font-size: 17px; /* 본문 글씨 키움 */
  color: #444;
  line-height: 1.7;
}

.contact-section {
  background-color: #f8fbff;
  padding: 80px 40px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-map {
  flex: 1;
  min-width: 360px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info-box {
  flex: 1;
  min-width: 360px;
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-description {
  font-size: 17px;
  color: #555;
  margin-bottom: 24px;
}

.contact-info {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Arial', sans-serif;
}

.contact-form button {
  padding: 14px;
  background-color: #0077cc;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #005fa3;
}

.relative-sites-section {
  padding: 80px 40px;
  background-color: #f8fbff;
  text-align: center;
}

.site-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 40px auto 0;
}

.site-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
  width: 100%;
  margin-bottom: 10px;
}

.site-card h3 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 10px;
}

.site-card p {
  font-size: 16px;
  margin-bottom: 8px;
  color: #444;
}

.site-card a {
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

.site-card a:hover {
  text-decoration: underline;
}
.contact-section {
  padding: 80px 40px;
  background-color: #f8fbff;
  background-image: url('에리%EC%97%90%EB%A6%AC%EC%B9%B4%20%EB%A1%9C%EA%B3%A0.png');
  background-repeat: no-repeat;
  background-size: 300px;
  background-position: top right;
}

.member-hero {
  background-image: url('erica1.jpg'); /* 여기에 네가 넣고 싶은 이미지 파일명을 지정해줘 */
  background-size: cover;
  background-position: center;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4); /* 어두운 오버레이 */
  z-index: 1;
}

.member-hero-text {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.member-hero-text h2 {
  font-size: 40px;
  font-weight: bold;
  margin: 0;
}

.event-hero {
  background-image: url('erica4.jpg'); /* 너가 사용할 이미지 파일 이름으로 바꿔줘 */
  background-size: cover;
  background-position: center;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-hero::after {
  content: ' ';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* 어두운 오버레이 */
  z-index: 1;
}

.event-hero-text {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 35px;
  font-weight: bold;
}
.page-banner {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner h1 {
  color: white;
  font-size: 48px;
  font-weight: bold;
  z-index: 1;
}

/* About Us 페이지 전용 배경 이미지 */

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider .hero-text {
  position: absolute;
  z-index: 2;
  color: white;
  text-align: center;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.hero-slider .hero-text h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 16px;
}

.hero-slider .hero-text p {
  font-size: 20px;
}

/* Relative 페이지 전체 배경 이미지 + 오버레이 */
.relative-section {
  position: relative;
  background-image: url('aerial-shot-ocean-waves-hitting-small-sandy-island.jpg'); /* 이미지 경로는 상황에 맞게 수정 */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 40px;
  min-height: 100vh;
  color: white; /* 텍스트 흰색으로 */
}

/* 어두운 오버레이 레이어 */
.relative-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45); /* 어둡게 (투명도 조절 가능) */
  z-index: 0;
}

/* 내부 요소가 오버레이 위로 보이게 */
.relative-section * {
  position: relative;
  z-index: 1;
}

.relative-section .section-title {
  color: white !important;
}

.activity-section {
  background-color: #ffffff;
  padding: 80px 40px;
  text-align: center;
}

.activity-title {
  font-size: 28px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 40px;
}

.activity-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.activity-card {
  background-color: #f5faff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 280px;
  min-height: 200px;
  text-align: left;
  transition: transform 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
}

.activity-card h4 {
  font-size: 18px;
  color: #004080;
  margin-bottom: 12px;
}

.activity-card p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}
.activity-section {
  position: relative;
  padding: 100px 40px;
  background-image: url('white-cloud-blue-sky.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  overflow: hidden;
}

/* 어두운 반투명 오버레이 추가 */
.activity-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7); /* 흰색 반투명 오버레이 */
  z-index: 1;
}

/* 내부 요소는 오버레이 위로 */
.activity-section * {
  position: relative;
  z-index: 2;
}

.club-title-banner {
  font-family: 'Georgia', 'Times New Roman', serif; /* 혹은 원하는 웹폰트 */
  font-size: 40px;
  font-weight: bold;
  color: #003366;
  text-align: center;
  margin: 60px 0 40px;
  letter-spacing: 1px;
}

.orange-divider {
  border: none;
  height: 4px;
  width: 120px;
  margin: 20px auto 24px auto; /* 위 | 좌우 가운데 정렬 | 아래 */
  background-color: #ff9900;
  border-radius: 2px;
}

