#home,#about, #features, #services, #teamm, #price{
    background-color: lightyellow;
}

/* stylesC.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f5fdf6;
    color: #333;
}

header {
    background: linear-gradient(to right, #3a5f0b, #7ba835);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

#navbar ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
}

#navbar a {
    text-decoration: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

#navbar a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

section {
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
}

section h2 {
    color: #2e5624;
    margin-bottom: 1rem;
    font-size: 2rem;
    border-left: 5px solid #91c788;
    padding-left: 10px;
}

section img {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 10px;
}

ul {
    margin-left: 2rem;
    margin-top: 0.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: auto;
}

form input,
form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    padding: 0.75rem;
    background-color: #3a5f0b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #5e8b2e;
}

footer {
    background-color: #2e5624;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

footer a {
    color: #91c788;
    text-decoration: none;
    margin: 0 5px;
}

footer a:hover {
    text-decoration: underline;
}
#gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 images per row */
  gap: 1rem;
  width: 100%;         /* Ensure full-width */
  max-width: 100vw;    /* Limit to screen width */
  margin-top: 2rem;
}

#gallery img {
  width: 100%;
  height: 75vh;         /* Almost half screen height */
  object-fit: cover;
  border-radius: 10px;
}


/* === ANIMATIONS === */
html {
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 1s ease both;
    opacity: 0;
}

section.visible {
    opacity: 1;
}
@media (min-width: 900px) {
  #gallery {
    grid-template-columns: repeat(4, 1fr); /* 4 images per row on wide screens */
  }

  #gallery img {
    height: 30vh; /* Smaller height if using more columns */
  }
}
