@charset "utf-8";

.hero {
position: relative;
height: 46vh;
min-height: 260px;
max-height: 420px;
overflow: hidden;
background-color: #2c2723;
}

.hero-bg {
width: 100%;
height: 100%;
object-fit: cover;
filter: brightness(0.72);
}

.hero-overlay {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #ffffff;
text-align: center;
padding: 0 16px;
}

.hero-sub {
margin: 0 0 10px;
font-size: 11px;
letter-spacing: 0.28em;
opacity: 0.9;
}

.hero-title {
margin: 0;
font-size: 38px;
font-weight: 400;
letter-spacing: 0.14em;
}

.main {
max-width: 960px;
margin: 0 auto;
padding: 12px 20px 0;
}

.section {
padding-top: 56px;
}

.section-head {
display: flex;
align-items: baseline;
gap: 12px;
margin-bottom: 22px;
border-bottom: 1px solid rgba(44, 39, 35, 0.12);
padding-bottom: 10px;
}

.section-num {
font-size: 12px;
letter-spacing: 0.15em;
color: #9c8a78;
}

.section-title {
margin: 0;
font-size: 20px;
font-weight: 500;
letter-spacing: 0.18em;
}

.dog-grid,
.cafe-grid {
columns: 2;
column-gap: 18px;
}

.photo-box {
break-inside: avoid;
margin-bottom: 18px;
width: 100%;
border-radius: 14px;
overflow: hidden;
background-color: #ffffff;
box-shadow: 0 10px 26px rgba(44, 39, 35, 0.08);
cursor: pointer;
transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.photo-box:hover {
transform: translateY(-4px);
box-shadow: 0 16px 34px rgba(44, 39, 35, 0.14);
}

.photo-box img {
display: block;
width: 100%;
height: auto;
transition: transform 0.5s ease;
}

.photo-box:hover img {
transform: scale(1.03);
}

.lightbox {
position: fixed;
inset: 0;
z-index: 100;
background-color: rgba(20, 18, 16, 0.88);
display: none;
justify-content: center;
align-items: center;
padding: 20px;
cursor: zoom-out;
}

.lightbox.is-open {
display: flex;
}

.lightbox img {
max-width: 92%;
max-height: 86vh;
border-radius: 10px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
.dog-grid,
.cafe-grid {
columns: 1;
}

.hero-title {
font-size: 30px;
}
}
