/* ================================
   🔄 Reset & Base Styles
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* ================================
   🧭 Navbar Styles
================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
}

.navbar .logo {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  transition: background 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: #f04e31;
  border-radius: 5px;
}

/* ================================
   📄 Page Layout
================================ */
main {
  margin-top: 80px; /* offset for fixed navbar */
  padding: 40px 20px;
}

/* ================================
   🎯 Section Visibility
================================ */
.content-section {
  display: none;
  animation: fadeIn 0.6s ease-in-out;
}

.content-section.active {
  display: block;
}

/* ================================
   🖼 Gallery Styles
================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

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

.gallery-item figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #555;
}

/* ================================
   📬 Contact Form
================================ */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin-top: 20px;
}

form label {
  font-weight: bold;
  font-size: 0.95rem;
}

form input,
form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

form button {
  background: #f04e31;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

form button:hover {
  background: #d83d25;
}

/* ================================
   🚀 CTA Button
================================ */
.cta-button {
  display: inline-block;
  background: #f04e31;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #d83d25;
}

/* ================================
   ✨ Animations
================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}