/* ========================================
   Reset & Base Styles
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--primary-font, sans-serif);
  font-size: 16px;
  background-image: url('images/tree-background-cream.jpeg');
  background-repeat: repeat;
}

/* ========================================
   Root Variables (Dark Mode Default)
======================================== */
:root {
  --primary-font: 'chivo', sans-serif;
  --secondary-font: 'archivo black', serif;
  --bg: #FFF4E9;
  --green1: #243809;
  --green2: #CEDA6B;
  --acc: #FF792B;
  --white: #FFFFFF;
  --black: #000000;
  --hero-gradient: linear-gradient(180deg, rgba(21, 33, 5, 0.3) 40%, rgba(21, 33, 5, 0.3) 40%);
  --hero2-gradient: linear-gradient(180deg, rgba(206, 218, 107, 0.3) 40%, rgba(206, 218, 107, 0.3));
}

h1 {
  font-family: var(--secondary-font);
  font-size: 3rem;
}

h2 {
  font-family: var(--primary-font);
  font-weight: 300;
  font-size: 1.2rem;
  text-decoration: none;
}

h3 {
  font-family: var(--primary-font);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

p,
ul,
li,
a {
  font-family: var(--primary-font);
  font-weight: 300;
  font-size: 1rem;
  text-decoration: none;
}

/* Font Utility Classes */
.archivo-black-regular {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.chivo-light {
  font-family: "Chivo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}
/* ========================================
   Buttons
======================================== */
.button-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
}

.button {
  background-color: var(--acc);
  color: var(--green1);
  padding: 10px 20px;
  text-align: center;
  width: fit-content;
  border-radius: 10px;
  border: 1px solid var(--green1);
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.1s ease, border 0.1s ease, transform 0.1s ease;
}

.button:hover {
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
  border: 2px solid var(--green1);
}

button {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 1rem;
}

.button-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 100%;
  background: linear-gradient(20deg,rgba(36, 56, 9, 1) 20%, rgba(206, 218, 107, 1) 20%, rgba(206, 218, 107, 1) 80%, rgba(36, 56, 9, 1) 80%);
  padding: 3rem;
  .button{min-width: 128px;}
}

.button-container .button.active {
  cursor: pointer;
  box-shadow: inset 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.email-field input:focus, textarea:focus{
  box-shadow: inset 4px 4px 0 rgba(0, 0, 0, 0.25);
}



/* ========================================
   Hero
======================================== */
/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Hero Visual Container */
.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Hero Image */
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Gradient Overlay */
.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-gradient);
  z-index: 1;
}

/* Centered Text */
.hero-visual-txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bg);
  text-align: left;
  z-index: 2;
  padding: 1rem;
}


/* ========================================
   Navbar
======================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--green1);
  padding: 1rem 2rem;
  position: relative;
  max-height: 4rem;
  border-bottom: 2px solid var(--green2)
}

.logo {
  padding: 0;
  margin: 0;
  
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 1.5rem;
}

.navbar li a{
  color: var(--bg);
  text-decoration: none;
  font-weight: bold;
  
}

.nav-links li a:hover {
  text-decoration: underline;
}

.navbar a {
  color: var(--bg);
  font-weight: bold;
}

.navbar a:hover {
  text-decoration: underline;
}

.hamburger {
  display: none;
  cursor: pointer;
  color: var(--bg);
}



/* ========================================
   About Section
======================================== */
.about {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(36, 56, 9, 1) 60%, rgba(206, 218, 107, 1) 60%);
  padding: 3rem 2rem;
}

.about .about-txt {
  width: 48%;
  color: var(--green2);
}

.about .about-txt p {
  color: var(--bg);
}

.mini-contact {
  display: flex;
  flex-direction: column;
  width: 48%;
  gap: 1rem;
}

.mini-contact .mini-contact-placard {
  padding: 1.5rem;
  background-color: var(--acc);
  color: var(--green1);
  width: 100%;
  border-radius: 10px;
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.25));
}



/* ========================================
   Services Section
======================================== */
.section-title {
  display: flex;
  justify-content: center;
  padding: 4rem 1rem 2rem;
  color: var(--green1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  justify-items: center;
  align-items: center;
}

.services-grid a {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  max-width: 400px;
}

.grid-item {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 400px;
  color: white;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid var(--green1);
  box-sizing: border-box;
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.25));
  text-align: left;
  background-color: var(--green1);
  background-blend-mode: screen;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  transition: background-size 0.5s ease;
}




.service-label {
  padding: 1rem;
  margin-top: auto;
  border-radius: 0 0 10px 10px;
  align-self: flex-start;
  background-color: var(--green1);
  width: 100%;
}



#grid-action {
  display: flex;
  padding: 1rem;
  justify-content: center;
  align-items: center;
  background-color: var(--green2);
  width: 85%;
  max-width: 300px;
  justify-self: center;
  align-self: center;
  border: 0;
  filter: none;
  color: var(--green1);
}

.service-action-txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.grid-item:not(#grid-action):hover {
  background-size: 110%;
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, 0.25));
}

.grid-item:not(#grid-action):hover .service-label {
  color: var(--green1);
  background-color: var(--green2);
}




/* ========================================
gallery-action
======================================== */

.gallery-action {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch; 
  padding: 0;
  margin: 0;
  background-color: var(--green2);
  max-height: 450px;
  color: var(--white)


}

.gallery-action-info {
  flex: 1; /* 1/3 of total space (1 part) */
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--green1);
  gap: 1rem;
}

.gallery-action-img {
  flex: 2; /* 2/3 of total space (2 parts) */
  height: 100%; 
  overflow: hidden; 
  max-height:450px;
}

.gallery-action-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills its container without distortion */
  display: block;
}




/* ========================================
   Testimonials Section
======================================== */
.testimonials {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(36, 56, 9, 1) 60%, rgba(206, 218, 107, 1) 60%);
}

#testimonials-section-title {
  color: var(--bg);
}

.test-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.test-placard {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 25%;
  border-radius: 10px;
  background-color: var(--bg);
  padding: 1rem;
  height: fit-content;
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.25));
}

.review-please {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 1rem;
  color: var(--green1);
}



/* ========================================
   Contact Section
======================================== */
.announcement {
  background-color: var(--green1);
  padding: 2rem;
  margin: 2rem;
  color: var(--bg);
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.25));
  border-radius: 10px;
}

.announcement h2 {
  color: var(--green2);
}

.email-container {
  background: linear-gradient(15deg, rgba(36, 56, 9, 1) 40%, rgba(206, 218, 107, 1) 40%);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  margin-bottom: 0;
  margin: 2rem;
}

.email-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

input,
textarea {
  background-color: var(--bg);
  width: 100%;
  border: none;
  padding: 0.5rem;
  border-radius: 10px;
  font-family: var(--primary-font);
  font-size: 1rem;
  font-weight: 300;
}

input[type='submit'] {
  background-color: var(--acc);
  width: fit-content;
  font-family: var(--primary-font);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

/* ========================================
footer
======================================== */

.footer{
    background-color: var(--green1);
    color: var(--bg);
    display:flex;
    flex-direction:column;
    border-top: 2px solid var(--green2);
    h3{color: var(--green2)}
}

.footer-nav{
    display:flex;
    flex-direction:column;
}
.footer a{
  color: var(--bg); 
  padding: 0.25rem;
}
.footer-nav a:hover{
  text-decoration: underline;

}

.footer-top{
    display:flex;
    flex-direction:row;
    justify-content: left;
    margin: 2rem;
    gap: 10%;
}

.footer-bottom{
  
  display:flex;
  flex-direction:row;
  justify-content: space-between;
  margin:2rem;
}



/* ========================================
review-icon
======================================== */

.review-icon{
  fill: #CEDA6B;
  padding: 10px;

}
.review-icon:hover{
  fill: transparent;
}

.review-icon:hover .graphic{
  fill: #CEDA6B
 
}

.testimonials .review-icon{
  fill:#243809
  
}

.testimonials .review-icon:hover .graphic{
  fill:#243809;
}

.testimonials .review-icon:hover{
  fill: none;

}


/* ============================================================================================
GALLERY
============================================================================================== */

/* ===== FULL GALLERY SECTION ===== */
.full-gallery {
  background-image: url('images/tree-background-cream.jpeg');
}

#gallery-hero{
  max-height: 500px;
}







/* ===== GALLERY OVERLAY (ONLY VISIBLE WHEN ACTIVE) ===== */
.gallery-overlay {
  display: none;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}

.gallery-overlay.active {
  display: flex;
}

/* ===== GALLERY TITLE ===== */
.gallery-title {
  max-width: 800px;
  margin: 0 auto;
  background-color:var(--green1);
  color: var(--bg);
}

.gallery-title h2 {
  font-weight: bold;
  text-align: center;
  font-size: 2rem;
}


/* ===== GALLERY ITEMS ===== */
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  
}

.gallery-item img {
  width: 100%; /* This keeps it responsive within the .gallery-item container */
  max-width: 600px; /* Adjust this as needed */
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
}


/* ===== DESCRIPTION TEXT ===== */
.description{
  width: 100%;
}

/* ===== DISCLAIMER SECTION ===== */
.disclaimer {
  color: var(--green1);
  background-color: var(--green2);
}

.disclaimer h3 {
  font-size: 1.2rem;
}
