:root { --bg-color: #fcfcfc; --text-color: #333; --primary-color: #111; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, sans-serif; background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; border-bottom: 1px solid #eee; }
.logo { font-size: 1.2rem; font-weight: bold; letter-spacing: 1px; }
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links .active { border-bottom: 2px solid var(--primary-color); padding-bottom: 2px; }

.hero { height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; background-color: #fafafa; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; font-weight: 800;}
.hero p { color: #666; margin-bottom: 2rem; }
.btn { padding: 10px 20px; background-color: var(--primary-color); color: #fff; border-radius: 4px; font-weight: 500; }

.container { max-width: 1200px; margin: 3rem auto; padding: 0 1rem; }
.container h2 { font-size: 2rem; }
.subtitle { color: #777; margin-bottom: 2rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gallery-item { position: relative; cursor: pointer; background-color: #eee; height: 300px; border-radius: 6px; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.02); }
.overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); color: white; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; font-weight: bold; }
.gallery-item:hover .overlay { opacity: 1; }

.loading { text-align: center; padding: 2rem; color: #888; }
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 100; }
.modal-content { display: block; margin: auto; max-width: 90%; max-height: 90vh; margin-top: 2rem; }
.close { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer; }
.site-footer { text-align: center; padding: 2rem; color: #999; border-top: 1px solid #eee; margin-top: 3rem; }
