/* Javier Morales */

body, h1, h2, p {
    margin: 0;
    padding: 0;
}


body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    color: #2c3e2d;
    line-height: 1.6;
}
#main-image {
    overflow: hidden;
}

#main-image img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    display: none; 
}

#main-image img.active {
    display: block; 
}

.services {
    text-align: center;
    padding: 20px;

}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    margin-top: 20px;
}

.service-item {
    border: 2px solid #e8f5e8; 
    padding: 20px;
    text-align: left;
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.service-item h3 {
    margin-top: 10px;
}

.service-item p {
    margin-top: 10px;
}


.service-item:hover {
    box-shadow: 0 8px 20px rgba(106, 153, 78, 0.3); 
    transform: translateY(-5px); 
    border-color: #6a994e;
    transition: all 0.3s ease; 
}

.service-item.hovered {
    box-shadow: 0 8px 20px rgba(106, 153, 78, 0.3); 
    transform: translateY(-5px); 
    border-color: #6a994e;
    transition: all 0.3s ease; 
}


header {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2a 50%, #6a994e 100%);
    color: #ffffff;
    text-align: center;
    padding: 2em 1.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-width: 100%;
}

nav a {
    text-decoration: none;
    padding: 8px; 
    border-radius: 5px; 
}

nav a:hover {
    background-color: green; 
}
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .fadeIn {
    animation: fadeIn 1s ease-in-out;
  }
  

.header-content {
    text-align: center;
    padding: 2em; 
}

header h1 {
    font-size: 2.25em;
    text-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.5); 
}

header p {
    font-size: 1.25em;
    font-weight: bold;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

nav {
    background-color: #6a994e;
    color: #fff;
    text-align: center;
    padding: 0.3125em; 
}

nav ul {
    list-style: none;
    padding: 0;
}

nav li {
    display: inline;
    margin: 1.875em;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

nav li.current a {
    text-decoration: underline;
    color: white;
}

nav a:hover,
nav a:focus {
    text-decoration: underline;
}


.logo img {
    width: 8em; 
    height: auto;
}

main {
    max-width: 1200px; 
    margin: 2em auto;
    background-color: #fff;
    padding: 2em;
    border-radius: 1.25em; 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); 
}

section {
    margin-bottom: 1.25em; 
    padding: 1.25em; 
    border: 0.0625em solid #ddd; 
    border-radius: 1.25em;
}

h2 {
    color: #2d5016;
    font-size: 2em;
    margin-bottom: 1em;
    text-align: center;
}

h3 {
    color: #4a7c2a;
    font-size: 1.4em;
}

select {
    display:block;
}

select:hover {
    display: block;
}


footer {
    background-color: #6a994e;
    color: #fff;
    text-align: center;
    padding: 0.9375em 0;
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    display: inline;
    margin-right: 0.625em; 
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

footer ul li a:hover {
    color: #ccc;
}

footer p {
    margin-top: 0.625em; 
}

.our-work {
    padding: 20px;
    background-color: #f7f7f7;
}
.our-work p{
    text-align: left;
}

.project-summary img {
    max-width: 100%;
    height: auto;
}

.project-summary h3 {
    margin-top: 10px;
}

.our-work a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;

}

.our-work a:hover {
    text-decoration: underline;
}
.customer-references {
    padding: 20px;
    background-color: #f7f7f7;
}

.reference {
    margin-bottom: 20px;
}

.rating {
    font-size: 24px; 
    margin-bottom: 10px;
}

.customer-name {
    font-style: italic;
    color: #777;
}
.contact-us {
    padding: 20px;
    background-color: #f7f7f7;
    text-align: left;
}

.contact-us {
    text-align: center;
}

.contact-us button {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(135deg, #4a7c2a 0%, #6a994e 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(106, 153, 78, 0.3);
}

.contact-us button:hover {
    background: linear-gradient(135deg, #6a994e 0%, #4a7c2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(106, 153, 78, 0.4);
}
.estimate-calculator {
    padding: 20px;
    background-color: #f7f7f7;
}

.estimate-calculator label {
    display: block;
    margin-bottom: 5px;
}

.estimate-calculator input,
.estimate-calculator select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
}

.estimate-calculator button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
}

.estimate-calculator button:hover {
    background-color: #0056b3;
}

#landscaping-estimate-result {
    margin-top: 15px;
    font-weight: bold;
}
.comparison {
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

thead {
    background-color: #6a994e;
    color: #fff;
}

th, td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    font-weight: bold;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
@media print {
    body {
        background-color: white;
        color: black;
    }

    section:not(.estimate-calculator) {
        display: none;
    }
}



.print-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
}

.print-button:hover {
    background-color: #0056b3;
}


@media (max-width: 600px) {
 

    .service-grid {
        grid-template-columns: 1fr;
    }

    .comparison{
        overflow-x: scroll;
    }

    nav {
        padding: 10px; 
    }

    nav ul {
        list-style-type: none; 
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column; 
        text-align: center; 
    }

    nav li {
        margin-bottom: 10px; 
    }
}
