/* Custom Properties for Accent Color */
:root {
    --lindi-accent: #0fa59c;
    --lindi-dark: #212529; /* Standard Bootstrap dark for contrast */
}

/* Global Styles */
body {
    font-family: 'Lato', sans-serif;
    color: var(--lindi-dark);
    font-size: 12px;
}

h1 {
   font-family: 'Lato', sans-serif; 
}

/* Navigation */
.navbar {
    background-color: #b5b5b5; /* Semi-transparent dark background */
}
.nav-link, .dropdown-item {
    color: black !important;
    font-size: 14px;
}
.nav-link:hover, .dropdown-item:hover {
    color: var(--lindi-accent) !important;
}
.dropdown-menu {
    background-color: #7e7e7e;
    border: none;
}
.dropdown-item {
    padding: 8px 16px;
}
.dropdown-item:focus, .dropdown-item:active {
    background-color: #b5b5b5;
}

/* Accent Color for Buttons, Links, and Text */
.btn-primary, .btn-primary:hover, .btn-primary:focus {
    background-color: var(--lindi-accent);
    border-color: var(--lindi-accent);
}

.btn-primary:active {
    background-color: #ccc;
    border-color: #ccc;
}

.accordion {
  background-color: #eee;
    
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border-bottom: 2px;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #ccc;
}




.text-accent {
    color: var(--lindi-accent) !important;
}
a.text-white:hover, .social-icon:hover {
    color: var(--lindi-accent) !important;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Scroll to keep text aligned with wireframe reference */
}
/* Style to make the text overlay legible */
.hero-text-box {
    background-color: rgba(0, 0, 0, 0); /* Dark overlay for contrast */
    border-radius: 10px;
}

/* Parallax Section */
.parallax-section {
    /* plant3.jpg as background */
    background-image: url('images/plant3.jpg'); 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
/* Overlay for Parallax Content to ensure text is readable */
.parallax-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay */
    z-index: 1;
}
.parallax-section > .container {
    position: relative;
    z-index: 2; /* Bring content above the overlay */
}
.service-card {
    border: none;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white card */
    transition: transform 0.3s ease-in-out;
}
.service-card:hover {
    transform: translateY(-5px);
}

/* Shown when app.js adds these classes */
#form-messages.success {
    display: block;
    background-color: rgba(15, 165, 156, 0.1); /* 10% opacity of your accent color */
    color: var(--lindi-accent);
    border: 1px solid var(--lindi-accent);
}

#form-messages.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background-color: var(--lindi-dark);
}

/* --- WhatsApp Floating Button Styles --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    box-shadow: 2px 2px 5px #777;
    transform: scale(1.05);
}

/* Ensure the icon is centered */
.whatsapp-float .my-float {
    margin-top: 0; /* Resetting potential old float styles */
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
