/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff8f7;
  color: #4d3b32;
  line-height: 1.6;
}

/* Color Scheme */
:root {
  --pink: #f8a5a5;
  --light-brown: #c8a888;
  --cream: #fff8f7;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--light-brown);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 50px;
}

.content {
  padding: 40px;
  max-width: 1000px;
  margin: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.about-section img {
  width: 300px;
  border-radius: 10px;
}

footer {
  text-align: center;
  background: var(--light-brown);
  color: white;
  padding: 15px;
  font-size: 0.9em;
}

.banner {
  background-image: url('https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?auto=format&fit=crop&w=1400&q=60');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  position: relative;
}

.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(200, 168, 136, 0.5);
}

.banner-text {
  position: relative;
  z-index: 1;
}

.banner-text h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.banner-text p {
  font-size: 1.2rem;
}

/* Main Content */
.content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem;
  justify-content: center;
}

.post {
  background-color: var(--cream);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 350px;
  transition: transform 0.3s ease;
}

.post:hover {
  transform: translateY(-5px);
}

.post img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-text {
  padding: 1.5rem;
}

.post-text h3 {
  color: var(--pink);
  margin-bottom: 0.5rem;
}

footer {
  background-color: var(--light-brown);
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Active link */
.nav-links a.active {
  color: var(--pink);
  text-decoration: underline;
}

/* Sub-page banner */
.sub-banner {
  background-image: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1400&q=60');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
}

.sub-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(200, 168, 136, 0.5);
}

.sub-banner .banner-text {
  position: relative;
  z-index: 1;
}

/* About page */
.about {
  max-width: 800px;
  margin: 3rem auto;
  background-color: var(--cream);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about h3 {
  color: var(--pink);
  margin-bottom: 0.5rem;
}

/* Gallery page */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 3rem;
  background-color: var(--cream);
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}