:root {
    --primary-color: #1a1a2e;
    --secondary-color: #0f3460;
    --accent-color: #e94560;
    --background-color: #f0f0f5;
    --text-color: #f5f5f5;
    --font-family-header: 'Playfair Display', serif;
    --font-family-body: 'Lato', sans-serif;
}

body, html {
    font-family: var(--font-family-body);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

/* 헤더 */
header {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-around; /* 기본 설정을 space-around로 유지 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.logo a {
    color: var(--text-color);
    font-family: var(--font-family-header);
    font-size: 2rem;
    text-decoration: none;
    font-weight: bold;
}

#menu {
    display: flex;
    gap: 1.5rem;
}

#menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

#menu a:hover {
    color: var(--accent-color);
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 4px 0;
}

/* Hero 섹션 */
#hero {
    background: url('img/airporttaxi.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 600px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.hero-content h1 {
    font-family: var(--font-family-header);
    font-size: 2.5rem;
}

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

.hero-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    color: white;
    background-color: var(--accent-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

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

/* 섹션 스타일 */
.section {
    padding: 60px 20px;
    margin: 20px 0;
    background-color: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 각 섹션의 구분을 위한 배경색 설정 */
#about {
    background-color: #ffffff;
}

#pricing {
    background-color: #f7f7f7;
}

#vehicle {
    background-color: #ffffff;
}

#testimonials {
    background-color: #f7f7f7;
}

#contact {
    background-color: #ffffff;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-family: var(--font-family-header);
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* 컨텐츠 스타일 */
.content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

/* 가격 안내 */
.pricing {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.pricing-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    width: 200px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.pricing-item h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.pricing-item p {
    font-size: 1.1rem;
    color: #333;
}

/* Testimonials */
.testimonial {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.testimonial p {
    font-size: 1.1rem;
    color: #555;
}

.testimonial span {
    display: block;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    padding: 10px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    header {
        justify-content: space-evenly;
    }

    .menu-icon {
        display: flex;
    }

    #menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--primary-color);
        width: 100%;
        padding: 1rem;
        box-sizing: border-box;
        align-items: center; /* 메뉴 아이템 중앙 정렬 */
    }

    #menu.open {
        display: flex;
        align-items: center; /* 여기도 추가 */
    }

    #menu a {
        display: block;
        text-align: right;
        width: 70%;
        padding: 10px 0;
        color: var(--text-color);
    }

    .hero-content {
        padding: 15px;
    }

    .pricing-item,
    .testimonial {
        width: 100%;
    }
}

/* 이미지 스타일 */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 모바일 화면에서 이미지 스타일 조정 */
@media (max-width: 768px) {
    .hero-content {
        padding: 15px;
    }

    .hero-content img {
        max-width: 100%;
        height: auto;
    }

    .pricing-item,
    .testimonial {
        width: 100%;
    }
}

/* 콘택트 스타일 */
.contact-methods {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.contact-method {
    text-align: center;
    margin: 20px;
}

.contact-method img {
    max-width: 50px;
    height: auto;
}

/* 가격 안내의 예약하기 버튼 */
.cta-button {
    margin-top: 20px;
    text-align: center;
}

.cta-button .btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: var(--accent-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button .btn:hover {
    background-color: #d23e50;
}

/* 공통 텍스트 스타일 */
.section p {
    color: #333; /* 텍스트 색상을 어두운 회색으로 설정 */
    font-family: 'Merriweather', serif; /* 부드럽고 신뢰감을 주는 세리프체 */
    font-size: 1rem; /* 기본 글자 크기 */
    line-height: 1.6; /* 줄 간격을 넉넉하게 설정 */
    margin: 0 0 15px 0; /* 텍스트 간의 간격 조정 */
}

/* 텍스트 배경 추가 (선택 사항) */
.section p {
    background-color: rgba(255, 255, 255, 0.8); /* 반투명한 흰색 배경 */
    padding: 10px;
    border-radius: 5px;
}

h2, h3 {
    font-weight: 700; /* 제목 두께 증가 */
}

p {
    font-weight: 400; /* 본문 텍스트 두께 조절 */
}

p {
    font-size: 1.1rem; /* 텍스트 크기 증가 */
    line-height: 1.8; /* 줄 간격 증가 */
}

.section p {
    background-color: rgba(255, 255, 255, 0.9); /* 배경 불투명도 증가 */
    padding: 15px; /* 패딩 증가 */
}

p, h2, h3 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* 텍스트 그림자 추가 */
}
