/* ===== Global ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* ===== Header / Hero ===== */
header {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #04624a; /* Dark green from logo */
    color: white;
}

header .logo {
    width: 120px;
    margin-bottom: 1rem;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1rem;
    color: #d9d9d9;
    margin-bottom: 1.5rem;
}

header .btn-whatsapp {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

header .btn-whatsapp:hover {
    background-color: #1ebe5b;
}

/* ===== Services Section ===== */
#services {
    padding: 3rem 1rem;
    text-align: center;
}

#services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #003f2f;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.service-card {
    background-color: white;
    width: 250px;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.service-card h3 {
    margin: 1rem 0 0.5rem;
    color: #003f2f;
}

.service-card p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-icon {
    color: #003f2f;
    margin-bottom: 1rem;
}

/* Service Button */
.service-card .btn-whatsapp {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    border-radius: 25px;
}

/* ===== Reviews Section ===== */
#reviews {
    padding: 3rem 1rem;
    background-color: #f1f5f8;
    text-align: center;
}

#reviews h2 {
    font-size: 2rem;
    color: #003f2f;
    margin-bottom: 2rem;
}

#review-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

#review-form input,
#review-form select,
#review-form textarea {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
}

#review-form textarea {
    resize: vertical;
    min-height: 80px;
}

#review-form button {
    background-color: #0a7f62;
    color: white;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

#review-form button:hover {
    background-color: #025235;
}

/* Reviews List */
#reviews-list {
    display: flex;              /* horizontal layout */
    flex-direction: row;        /* side by side */
    gap: 1rem;                  /* space between cards */
    overflow-x: auto;           /* horizontal scroll */
    padding: 1rem 0;
    max-width: 90%;
    margin: 2rem auto 0;
    text-align: left;
}

.review-card {
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    min-width: 250px;           /* ensure cards don’t shrink too small */
    flex: 0 0 auto;             /* prevents flex items from shrinking */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Scrollbar styling */
#reviews-list::-webkit-scrollbar {
    height: 6px;
}

#reviews-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#reviews-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#reviews-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.btn-whatsapp {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none; /* ✅ removes underline */
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background-color: #1ebe5b;
    text-decoration: none; /* ✅ ensures no underline on hover */
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #003f2f;
    color: white;
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.95rem;
    }

    /* Stack reviews vertically on mobile */
    #reviews-list {
        flex-direction: column;
        overflow-x: hidden;
    }
}

/* ===== Gallery ===== */
#gallery {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    z-index: 9999;
    overflow-y: scroll; /* allow vertical scrolling on mobile */
}

#gallery:target {
    display: block; /* show gallery when linked with #gallery */
}

.gallery-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    position: sticky;
    top: 0;
    background: rgba(0,0,0,0.8);
    z-index: 10;
}

.close-btn {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    gap: 2rem;
}

.gallery-img {
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

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

/* Mobile full screen */
@media (max-width: 768px) {
    .gallery-img {
        width: 100%;
        height: auto;
    }
}
