/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background-color: #3F2E56;
  padding: 15px 0;
  color: white;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

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

.nav-links a:hover,
.nav-links .active {
  color: #C49A6C;
}

/* Header */
.page-header {
  background-color: #FAF7F2;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #3F2E56;
}

.page-header p {
  font-size: 1.1rem;
  color: #555;
}

/* Portfolio Cards */
.portfolio-section {
  padding: 60px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background-color: #F9F4EF;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
}

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

.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 1.2rem;
  color: #3F2E56;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 0.95rem;
  color: #555;
}

.view-gallery-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #C49A6C;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.view-gallery-btn:hover {
  background-color: #a8764f;
}

/* Gallery Modal */
.gallery-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.95);
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  overflow-y: auto;
  padding: 60px 30px;
  z-index: 10000;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 20px auto;
}

.gallery-images img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.gallery-images img:hover {
  transform: scale(1.03);
}

.close-btn {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  position: absolute;
  top: 30px;
  right: 40px;
  cursor: pointer;
  z-index: 10001;
}

.close-btn:hover {
  color: #C49A6C;
}

/* Sections */
.section {
  padding: 60px 20px;
}

.section.light-bg {
  background-color: #FAF7F2;
}

.section h2 {
  font-size: 1.8rem;
  color: #3F2E56;
  margin-bottom: 25px;
}

/* Highlight Lists */
.highlight-list {
  list-style: none;
  padding-left: 0;
}

.highlight-list li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  font-size: 1rem;
  color: #444;
}

.highlight-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #C49A6C;
  font-weight: bold;
}

/* CTA Banner */
.cta-banner {
  background-color: #3F2E56;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-button {
  background-color: #C49A6C;
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #b58655;
}

/* Footer */
footer {
  background-color: #3F2E56;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

.footer-content p {
  font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .cta-banner p {
    font-size: 1rem;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 0.9rem;
  }

  .gallery-images {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .close-btn {
    top: 20px;
    right: 25px;
    font-size: 1.8rem;
  }
}
