/* --- Global Styles --- */
body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    background-color: #FCFCFC;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
}

main {
    /* 헤더가 fixed 위치이므로, main 시작점에 상단 여백을 주어 내용이 가려지지 않게 함 */
    padding-top: 0; 
}

section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #222;
}

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

/* --- Header --- */
/* (main.js에서 웹 컴포넌트로 스타일링 예정) */

/* --- Hero Section --- */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://via.placeholder.com/1920x1080.png?text=BNR+Stay+Main+Image') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    padding: 0 2rem; /* 화면 너비가 좁을 때를 대비 */
    box-sizing: border-box;
}

#hero h1 {
    font-size: 4.5rem;
    margin: 0;
}

#hero p {
    font-size: 1.8rem;
    margin-top: 1rem;
}

/* --- Rooms Section --- */
#rooms .room-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.room-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.room-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.room-card h3 {
    font-size: 1.6rem;
    margin: 1.5rem 1.5rem 0.5rem;
}

.room-card p {
    font-size: 1rem;
    color: #666;
    margin: 0 1.5rem 1.5rem;
}

/* --- Gallery Section --- */
#gallery .image-gallery {
    margin-top: 4rem;
    /* Masonry Layout */
    columns: 3 250px;
    column-gap: 1.5rem;
}

#gallery .image-gallery img {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    break-inside: avoid;
    box-shadow: 0 8px 15px rgba(0,0,0,0.07);
}

/* --- Location Section --- */
#location p {
    margin-bottom: 2rem;
}

#map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0,0,0,0.07);
    height: 450px;
    width: 100%;
}

/* --- Footer --- */
/* (main.js에서 웹 컴포넌트로 스타일링 예정) */


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    section {
        padding: 5rem 2rem;
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 3.5rem;
    }
    #hero p {
        font-size: 1.5rem;
    }
    section h2 {
        font-size: 2.2rem;
    }
    section {
        padding: 4rem 1.5rem;
    }
    #rooms .room-gallery {
        grid-template-columns: 1fr;
    }
    #gallery .image-gallery {
        columns: 2 200px;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2.8rem;
    }
    #hero p {
        font-size: 1.2rem;
    }
     #gallery .image-gallery {
        columns: 1;
    }
}
