@charset "UTF-8";

/* ==============================================
   1. 기본 설정 (Reset & Common)
   ============================================== */
* {
    box-sizing: border-box; /* 패딩과 테두리를 너비에 포함 */
}

body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 이미지 반응형 처리 */
img {
    max-width: 100%;
    height: auto;
}

/* 공통 컨테이너: 내용을 중앙에 정렬 */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 제목 폰트 (구글 폰트 적용 대상) */
.fancy-font {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
}

/* ==============================================
   2. 헤더 영역 (Hero Section)
   ============================================== */
header {
    /* 배경 이미지와 높이 설정 */
    background-image: url('../images/bread1.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    
    /* 텍스트 중앙 정렬 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* 가독성을 위한 그림자 */
}

header h1 {
    font-size: 4rem; /* 큰 제목 */
    margin: 0;
}

header p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* ==============================================
   3. 메인 콘텐츠 (Menu)
   ============================================== */
.menu-section {
    padding: 60px 0;
    background-color: #fffaf0; /* 따뜻한 느낌의 배경색 */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #8b4513; /* 갈색 텍스트 */
}

/* 메뉴 테이블 스타일 */
.menu-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.menu-table th, 
.menu-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.menu-table th {
    text-align: left;
    font-weight: bold;
    color: #555;
}

.menu-table td {
    text-align: right;
    color: #d35400; /* 가격 강조 색상 */
    font-weight: bold;
}

/* ==============================================
   4. 푸터 영역 (Contact)
   ============================================== */
footer {
    background-image: url('../images/cafe.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 60px 0;
    position: relative;
}

/* 배경 어둡게 처리 (Overlay) */
/* footer::before는 CSS 가상 요소(Pseudo-element)로, footer 요소의 첫 번째 자식 요소로 가상의 요소를 생성합니다. */
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* 실제 내용은 오버레이 위에 올라오게 설정 */
footer .container {
    position: relative; 
    z-index: 1;
}

footer p {
    margin: 5px 0;
    font-size: 1.1rem;
}

.btn-contact {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background-color: #d35400;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-contact:hover {
    background-color: #e67e22;
}

.copyright {
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ==============================================
   5. 반응형 (Mobile)
   ============================================== */
@media (max-width: 600px) {
    header h1 {
        font-size: 3rem;
    }
    .menu-table th, .menu-table td {
        padding: 10px;
    }
}