/* -----------------------------
   BASE & FONT
----------------------------- */
html {
    scroll-padding-top: 80px; /* height of your header */
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: #f1f5f9;  /* light gray background */
    color: #111827;        /* dark gray text */
    overflow-x: hidden;
}

/* -----------------------------
   NAVBAR / HEADER
----------------------------- */
header {
    position: flex;
    top: 0;
    height: 80px
    background: #f1f5f9; /* light gray header */
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid #e5e7eb; /* subtle divider */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
}

nav .logo img {
    height: 50px;
    width: auto;
}


nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

nav ul li a {
    color: #111827; /* dark text for nav links */
    text-decoration: none;
    font-weight: 500;
}

nav ul li a:hover {
    color: #047857; /* forest green hover */
}

/* -----------------------------
   HERO SECTION
----------------------------- */
.hero {
    min-height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;

    /* Background image */
    background-image: 
        linear-gradient(
            rgba(15, 23, 42, 0.6),
            rgba(15, 23, 42, 0.6)
        ),
        url("../assets/images/hero-bg.jpg");

    background-size: cover;
    background-position: 40% 30%;
    background-repeat: no-repeat;

    color: white;
}


.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    background: #047857; /* forest green buttons */
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #065f46; /* slightly darker green on hover */
}

/* -----------------------------
   SECTIONS
----------------------------- */
section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #047857; /* forest green section headings */
}

section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #111827;
}

/* SERVICE CARDS */
.service-cards {
    display: flex;
    flex-wrap: center;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.card {
    background: #ffffff; /* white cards on light gray page */
    padding: 2rem;
    border-radius: 12px;
    flex: 1 1 250px;
    min-width: 250px;
    max-width: 300px;
    transition: transform 0.3s, border 0.3s;
    border: 2px solid transparent;
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    border: 2px solid #047857; /* forest green border on hover */
}

.card h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #047857; /* forest green titles */
}

.card p {
    margin: 0;
    color: #111827;
}

/* -----------------------------
   CONTACT FORM
----------------------------- */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

form input, form textarea {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #d1d5db; /* subtle gray border */
    font-size: 1rem;
}

form button {
    background: #047857;
    color: white;
    border: none;
    padding: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 30px;
    transition: 0.3s;
}

form button:hover {
    background: #065f46;
}

/* -----------------------------
   FOOTER
----------------------------- */
footer {
    background: #e5e7eb; /* light gray footer */
    color: #111827;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* -----------------------------
   RESPONSIVE
----------------------------- */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .menu-toggle {
        display: block;
        color: #047857;
        font-size: 1.5rem;
        cursor: pointer;
    }
    .service-cards {
        flex-direction: column;
        align-items: center;
    }
}
/* -----------------------------
   FORM SUCCESS MESSAGE
----------------------------- */
#formSuccess {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    background: #ecfdf5;      /* light green background */
    color: #047857;           /* forest green text */
    font-weight: 600;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.image-grid img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}
/* -----------------------------
   LIGHTBOX
----------------------------- */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

#lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 12px;
}

/* Make gallery images clickable */
.lightbox-img {
    cursor: pointer;
    transition: transform 0.3s;
}

.lightbox-img:hover {
    transform: scale(1.03);
}
.cover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-cover {
    position: relative;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
}

.gallery-cover img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-cover:hover img {
    transform: scale(1.05);
}

.gallery-cover span {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.6);
    color: white;
    font-weight: 600;
    text-align: center;
}

/* Hide gallery data */
.hidden-galleries {
    display: none;
}
/* -----------------------------
   LIGHTBOX NAVIGATION
----------------------------- */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

#lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 12px;
}

/* Navigation arrows */
#lightbox .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 8px;
}

#lightbox .prev {
    left: 30px;
}

#lightbox .next {
    right: 30px;
}

#lightbox .nav:hover {
    background: rgba(0,0,0,0.8);
}
.gallery-section {
    margin-bottom: 4rem;
    text-align: center;
}

.gallery-section h2 {
    margin-bottom: 1.5rem;
    color: #2f4f2f; /* forest green */
    font-size: 2rem;
}

/* Optional: center cover image */
.gallery-cover {
    max-width: 600px;
    margin: 0 auto;
}
/* Container for all covers */
.gallery-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

/* Individual cover */
.gallery-cover {
    flex: 0 0 200px;          /* width of each cover */
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;       /* center the title */
    background: #f9f9f9;      /* optional background for title area */
}

/* Cover image */
.gallery-cover img {
    width: 100%;
    height: 150px;            /* uniform height */
    object-fit: cover;
    display: block;
}

/* Title under the image */
.gallery-title {
    padding: 8px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2a4d2a;           /* forest green highlight color */
}

/* Hover effect */
.gallery-cover:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* Responsive adjustments */
@media (max-width: 800px) {
    .gallery-cover {
        flex: 0 0 45%;   /* 2 per row on tablets */
    }
}

@media (max-width: 500px) {
    .gallery-cover {
        flex: 0 0 90%;   /* 1 per row on mobile */
    }
}



#about {
    background-color: #d3d3d3; 
    color: white; /* white text for contrast */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 60px 20px;
}

.about-content {
    max-width: 800px;
    line-height: 1.6;
}
.about-content {
    background: rgba(255, 255, 255, 0.1); /* slightly transparent overlay */
    padding: 30px;
    border-radius: 10px;
}


#top {
    position: relative;
    top: -80px; /* offset by header height */
}
/* Contact section container */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px; /* space between form and logo */
    padding: 50px 20px;
    flex-wrap: wrap; /* makes it responsive */
}

/* Contact form styling */
#contact form {
    flex: 1 1 300px; /* grow/shrink with screen size */
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-container {
  text-align: center;
}

.contact-logo img {
  width: 120px;
  margin-bottom: 15px;
}

/* Logo Section */
.logo-section {
  display: flex;
  justify-content: center;  /* centers logo horizontally */
  padding: 40px 20px;       /* space above and below */
  background-color: #f5f5f5; /* optional background */
}

.logo {
  max-width: 200px;  /* controls logo size */
  height: auto;      /* keeps aspect ratio */
}


