/*
Theme Name: Base Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A minimalist, custom WordPress theme base
Version: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-light-theme
*/
:root {
    --brand-green: #2f6a2f; /*#3e873e*/
}


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9f5;
    color: #333;
}
h1 {
    font-size: 60px;
    margin-bottom: 15px;
}
h2 {
    font-size: 40px;
    margin-bottom: 25px;
}
h3 {
    font-size: 25px;
    margin-bottom: 10px;
}
h4 {
    font-size: 25px;
    margin-bottom: 15px;
}
p {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 50px;
}
a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}
.flex {
    display: flex;
}
.no-dots-list {
  list-style-type: none;
}
button {
  outline: none;
}
.btn, button {
    font-weight: 600;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background: var(--brand-green);
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
.btn_alt {
    background: #fff;
    color: var(--brand-green);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

subheader {
    background: var(--brand-green);
    color: #fff;
    display: block;
}
subheader .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
}
.social-icons {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.social-icons li a {
  color: inherit;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons li a:hover {
  color: #0077ff;
}

.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 25px;
}
.site-logo  {
    display: flex;
}
.site-logo a {
    display: contents;
}
.site-logo img {
    max-width: 175px;
}
.nav-menu {
    display: flex;
    list-style-type: none;
    gap: 35px;
    align-items: center;
}
#menu-item-20 a {
    background: var(--brand-green);
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
#site_menu a.active:not(#menu-item-20 a) {
  text-decoration: underline;
  text-decoration-thickness: 2px;   /* make it bolder */
  text-underline-offset: 6px; 
}



.container {
    max-width: 80%;
    margin: 0 auto;
    padding: 75px 25px;
}

.hero {
    background-image: url('https://restorationenterprise.com/wp-content/uploads/2025/08/hero-1-min.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 70vh;
}

.services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.services-list li {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1000000px #0000005e;
    border-radius: 15px;
    color: #fff;
    padding: 35px;
    aspect-ratio: 1/1;
    position: relative;
}
.services-list img {
    aspect-ratio: 1/1;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 10px;
    object-fit: cover;
    /*max-width: 400px;*/
}
.right-btn {
    aspect-ratio: 1/1;
    background: #fff;
    border-radius: 500px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    width: 50px;
    height: 50px;
    padding: 10px;
    position: absolute;
    bottom: 35px;
    right: 35px;
}


.about-stats {
    background: #eee;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
    padding: 50px 25px;
}
.about-stats > div {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.about-stats h3 {
  font-size: 35px;
}
.about-stats p {
  padding: 0;
  margin: 0;
}



.site-footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 2rem;
}



.testimonials {
  background-color: #f8f8f8;
  text-align: center;
}

.section-header h3 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.testimonial strong {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: #333;
}

.testimonial-image {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    margin-bottom: 10px;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}


.cta .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(to right, #4CAF50, #2E7D32); /* Green gradient */
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 225px auto;
}

.cta h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}
/*CONTACT FORM STYLES*/
.contact-form-wrap {
  height: 200px;
  margin-top: -200px;
}
.contact-form {
  background: #fff;
  box-shadow: 0 0 40px 10px #0000001f;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  margin: 20px auto 0;
  padding: 35px;
}
.contact-form h3 {
  color: #000;
}
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #000;
  font-weight: 600;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}



.site-footer {
  background: #222;
  color: #eee;
  padding: 25px 25px 25px 25px;
  font-size: 14px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 20px;
}


footer h4 {
  font-size: 18px;
}
footer p {
  font-size: 15px;
}
.footer-logo {
  max-width: 150px;
}

.footer-tagline {
  font-style: italic;
  color: #aaa;
}

.footer-menu {
  list-style: none;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #eee;
  text-decoration: none;
}

.footer-menu a:hover {
  text-decoration: underline;
}

.footer-contact a {
  color: #eee;
  text-decoration: none;
}

.footer-contact i {
  margin-right: 8px;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  padding: 0;
  list-style: none;
  margin-top: 10px;
}

.footer-social-icons a {
  color: #eee;
  font-size: 18px;
}

.footer-social-icons a:hover {
  color: #4CAF50;
}

.footer-nav, .footer-services, .footer-areas, .footer-social {
    text-align: left;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 12px;
  color: #aaa;
}
.close_icon {
    display: none;
}
.show_popup {
    display: flex;
}

#menu-icon {
    font-size: 25px;
}

#about img {
    width: 100%;
    max-width: 50%;
}

#about .container:first-child {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#gt_float_wrapper {
	position: fixed;
    bottom: 15px;
    right: 15px;
}

#about, #services, #about, #reviews, #blog, #our-work {
    scroll-margin-top: 50px; 
}
#contact {
  scroll-margin-top: 250px; /* height of your sticky header */
}



/*Tablet Styles*/
@media(max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 50px 25px;
    }
    .services-list {
    	grid-template-columns: repeat(2, 1fr);
	}
	#about .container {
        flex-direction: column;
    }
	#about img {
	    width: 100%;
	    max-width: unset;
	}
	.testimonials-grid {
    	grid-template-columns: repeat(2, 1fr);
	}
	.gallery-grid {
        grid-template-columns: repeat(2, 1fr);
	}
	#contact .container {
	    grid-template-columns: repeat(1, 1fr) ;
	    margin: 0;
	    margin-bottom: 225px;
	    padding: 50px 25px;
	}
	.contact-form-wrap {
	    margin-top: 0;
	    margin-bottom: 200px;
	}
	.post-grid {
        grid-template-columns: repeat(2, 1fr);
	}
	#about2 .container {
	    flex-direction: column;
	}
}

/*Mobile Styles*/
@media(max-width: 767px) {
    .container {
        padding: 50px 20px;
    }
    h1 {
        font-size: 42px;
        line-height: 50px;
    }
    .hero h1 {
        text-shadow: 0 0 20px #0000009e;
    }
    h2 {
        font-size: 33px;
    }
    .site-logo img {
        max-width: 140px;
    }
    header .container {
        padding: 10px 20px;
    }
    subheader .container {
        padding: 10px 20px;
    }
    nav {
        background: #fff;
        justify-content: center !important;
        align-items: center;
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        display: none;
        z-index: 1000;
    }
    #menu-main-menu {
        flex-direction: column !important;
    }
    .close_icon {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 25px;
    }
    .hero .container {
        padding: 0;
    }
    
    #about .container {
        flex-direction: column;
    }
    .testimonials-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
	.services-list {
    	grid-template-columns: repeat(1, 1fr) !important;
	}
	.gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
	}
	#contact {
	    padding: 0 20px !important;
	}
	.contact-form {
      padding: 35px 25px;
    }
    .post-grid {
        grid-template-columns: repeat(1, 1fr);
	}
	
	.about-stats {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
	}
	#about img {
	    width: 100%;
	    max-width: unset;
	}
	.footer-columns {
	    flex-direction: column;
	}
	.hero .flex {
		flex-direction: column;
	}
	.hero .flex a {
		width: 100%;
	}
	#about, #services, #about, #reviews, #blog, #our-work {
        scroll-margin-top: 60px; 
    }
	#contact {
      scroll-margin-top: 80px;
    }
    .cta h3 {
        font-size: 2rem;
    }
    .site-footer {
        padding: 25px 0;
    }
}


.form-alert { margin-bottom: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.form-alert--success { background:#ecfdf5; color:#065f46; border:1px solid #a7f3d0; }
.form-alert--error   { background:#fef2f2; color:#991b1b; border:1px solid #fecaca; }

