* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: 'Georgia', serif;
  background: #fdf6e3;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
header {
  background-color: #fdf6e3;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
  position: sticky;     
  top: 0;               
  z-index: 999;         
  transition: padding 0.3s ease; /* smooth shrink */
}

.logo img {
  height: 120px;        
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease; /* smooth shrink */
}

/* Shrink class applied on scroll */
header.shrink {
  padding: 0.5rem 2rem; /* smaller header padding */
}

header.shrink .logo img {
  height: 70px; /* smaller logo */
}


.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}


.navbar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding-left: 0;
  margin: 0;
  justify-content: center;
}

.navbar li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 6px 0;
}

.navbar li a:hover {
  border-bottom: 2px solid #ffc43d;
  color: #316943;
}

/* Hero Section */
.hero {
  width: 100vw; 
  margin-left: calc(-50vw + 50%);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #316943, #ffc43d);
  color: #fff;
  padding: 3rem 2rem;
  gap: 2rem;
  text-align: center;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero .btn {
  background-color: #ffc43d;
  color: #333;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

.hero-img {
  flex: 1;
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
}

/* Welcome */
.welcome {
  text-align: center;
  padding: 3rem 2rem;
}

/* Services */
.services {
  padding: 2rem;
  background-color: #fffbe9;
  text-align: center;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 1.5rem;
}

.card {
  width: 100%;
  max-width: 200px;
  text-align: center;
  flex: 0 0 auto;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

/* Gallery */
.gallery {
  padding: 2rem;
  background-color: #fdf6e3;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 1.5rem;
  padding: 0 2rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
}

/* Footer */
footer {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: linear-gradient(to right, #316943, #ffc43d);
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  margin-top: auto;
}

.footer-content p {
  margin: 0.4rem 0;
}

.footer-content a {
  color: #ffc43d;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-content img {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

/* ✅ Responsive Adjustments */
@media (min-width: 768px) {
  /* Desktop nav: logo left, menu right */
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .navbar {
    margin-top: 0;
    justify-content: flex-end;
  }

  /* Hero side by side */
  .hero {
    flex-direction: row;
    text-align: left;
  }

  .logo img {
    height: 150px; /* ✅ bigger logo on desktop */
  }
}
