@import url('https://fonts.googleapis.com/css?family=Barlow:400,500,700');

:root {
--white: #fff;
--black: #2e2e2e;
--gray: #787878;
--highlight: #ea8478;
}

body {
font-family: 'Barlow', sans-serif;
font-size: 1.125rem;
line-height: 1.5;
color: var(--gray);
background: var(--white);
margin: 0;
padding: 0;
}

.main-header {
width: 100%;
padding: 2.5rem 0 2.5rem 0;
background: var(--white);
}

.header-content {
max-width: 1100px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 2rem;
}

.site-name {
color: var(--highlight);
font-size: 1.25rem;
font-weight: 500;
letter-spacing: 0.02em;
}

.main-nav {
display: flex;
gap: 2rem;
}

.main-nav a {
color: var(--gray);
text-decoration: none;
font-size: 1.15rem;
font-weight: 400;
transition: color 0.2s;
}

.main-nav a.active {
color: var(--black);
font-weight: 500;
}

.main-nav a:hover {
color: var(--black);
}

.intro-section {
max-width: 700px;
margin: 2.5rem auto 2rem auto;
text-align: center;
}
.intro-section h1 {
font-size: 2.2rem;
font-weight: 700;
color: var(--black);
margin-bottom: 0.5rem;
letter-spacing: 0.01em;
}
.intro-section p {
color: var(--gray);
font-size: 1.15rem;
margin: 0 auto;
}

.gallery-grid {
max-width: 1100px;
margin: 0 auto;
padding: 2rem 2rem 4rem 2rem;
display: flex;
flex-direction: column;
gap: 2rem;
}

.gallery-row {
display: flex;
gap: 2rem;
justify-content: center;
}

.gallery-item {
background: var(--white);
border-radius: 18px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.03);
flex: 1 1 0;
min-width: 250px;
max-width: 350px;
display: flex;
align-items: center;
justify-content: center;
transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1);
position: relative;
}

.gallery-item img {
width: 100%;
height: 350px;
object-fit: cover;
display: block;
transition: transform 0.35s cubic-bezier(.4,0,.2,1);
border-radius: 18px;
}

.gallery-item:hover {
box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 1.5px 6px rgba(0,0,0,0.06);
}

.gallery-item:hover img {
transform: scale(1.05);
filter: brightness(0.85) blur(0.5px);
}

.gallery-overlay {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
background: linear-gradient(135deg, rgba(234,132,120,0.12) 0%, rgba(255,255,255,0.85) 100%);
transition: opacity 0.35s cubic-bezier(.4,0,.2,1);
z-index: 2;
}

.gallery-item:hover .gallery-overlay {
opacity: 1;
pointer-events: auto;
}

.gallery-category {
display: inline-block;
background: rgba(234,132,120,0.18);
color: var(--highlight);
font-size: 0.95rem;
font-weight: 500;
padding: 0.35em 1em;
border-radius: 999px;
margin-bottom: 0.7em;
letter-spacing: 0.04em;
box-shadow: 0 1px 4px rgba(234,132,120,0.08);
}

.gallery-title {
color: var(--black);
font-size: 1.35rem;
font-weight: 600;
letter-spacing: 0.01em;
background: rgba(255,255,255,0.7);
padding: 0.2em 1em 0.3em 1em;
border-radius: 8px;
box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.gallery-description {
display: block;
margin-top: 8px;
color: #555;
font-size: 1rem;
font-style: italic;
text-wrap: pretty;
}

.modal {
display: none; 
position: fixed; 
z-index: 1000; 
left: 0; top: 0; width: 100vw; height: 100vh;
background: rgba(0,0,0,0.7);
justify-content: center; align-items: center;
}
.modal-content {
background: #fff;
padding: 24px;
border-radius: 12px;
max-width: 30vw;
max-height: 80vh;
overflow: auto;
box-shadow: 0 4px 32px rgba(0,0,0,0.2);
justify-content: center;
}
.modal-close {
position: absolute;
top: 24px; right: 32px;
font-size: 2rem;
color: #fff;
cursor: pointer;
z-index: 1001;
}

/* Modal Arrow Buttons */
.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.2em;
  background: rgba(255,255,255,0.92);
  color: var(--highlight);
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  z-index: 1002;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(234,132,120,0.13), 0 1.5px 6px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
}
.modal-arrow-left {
  left: 18px;
}
.modal-arrow-right {
  right: 18px;
}
.modal-arrow:hover, .modal-arrow:focus {
  background: var(--highlight);
  color: #fff;
  box-shadow: 0 4px 18px rgba(234,132,120,0.22), 0 2px 8px rgba(0,0,0,0.10);
}

#site-content.blurred {
filter: blur(8px);
pointer-events: none;
user-select: none;
}

@media (max-width: 900px) {
.header-content, .gallery-grid {
    padding: 0 1rem;
}
.gallery-row {
    gap: 1rem;
}
.gallery-item img {
    height: 220px;
}
}

@media (max-width: 700px) {
.header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.gallery-row {
    flex-direction: column;
    gap: 1rem;
}
.gallery-item {
    max-width: 100%;
    min-width: 0;
}
}

