/*
 * 블라우아크 무역회사 웹사이트 스타일 시트
 * 
 * 컬러 팔레트와 타이포그래피를 정의하여 일관된 브랜드 경험을 제공합니다.
 */

:root {
  /* 기본 색상 정의 */
  --primary-color: #0A1931;        /* 깊은 네이비 - 신뢰와 전문성 강조 */
  --secondary-color: #12244E;      /* 보조 네이비 */
  --accent-color: #D4AF37;         /* 금빛 포인트 색상 */
  --background-color: #F7F9FC;     /* 밝은 배경 색상 */
  --text-color: #333333;           /* 일반 텍스트 색상 */
  --heading-color: #0A1931;        /* 제목 색상 */
  --nav-height: 70px;              /* 네비게이션 높이 */
  --font-family: 'Noto Sans KR', sans-serif;
}

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

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

/* 헤더 및 네비게이션 바 */
header {
  background-color: var(--primary-color);
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  /* 로고는 가로형과 세로형 모두 적용될 수 있어 높이만 고정하고 가로는 자동으로 맞춘다 */
  height: 50px;
  width: auto;
  margin-right: 0.5rem;
}

header nav ul {
  display: flex;
  list-style: none;
}

header nav ul li {
  margin-left: 1.5rem;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: var(--accent-color);
}

/* 메인 페이지 히어로 영역 */
.hero {
  position: relative;
  height: 70vh;
  /* 메인 페이지 히어로 이미지: 한국 수출을 상징하는 추상 일러스트를 사용 */
  background: url('../images/hero-illustration.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 49, 0.65);
}

.hero .hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
}

.hero .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero .hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* 버튼 스타일 */
.btn {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background-color: #c39f29;
}

section {
  padding: 4rem 2rem;
}

section h2 {
  color: var(--heading-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* 카드 레이아웃 */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  flex: 1 1 300px;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card p {
  margin-bottom: 1rem;
}

/* 문의 폼 스타일 */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  height: 150px;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

footer {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

/* 풀-너비 이미지 스타일 */
.full-width-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }
  header nav ul li {
    margin-left: 1rem;
  }
  .hero .hero-content h1 {
    font-size: 2rem;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
}