 :root {
        --header-bg: #333 /* #20321f */; /* chosen dark-green-like header similar to original */
  --footer-bg: #eaf6ea; /* light green footer */
  --accent: #13c4a1;
  --text-dark: #1f1f1f;
  --muted: #666;
  --max-width: 1140px;
  --gap: 1rem;
  --radius: 10px;
  --title-color:#4caf50;
  --bg-color1: #f4fff5;
/* #388e3c */




  /* Backgrounds & Base */
  --bg-light: #f8f8f8;
  --bg-dark: #333;
  --text-color: #111;
  --gray-border: #ddd;

  /* Colors */
  --accent: #54c758;
  --red-crayola: hsl(341, 100%, 49%);
  --eerie-black: hsl(240, 6%, 10%);
  --light-gray: hsl(0, 0%, 80%);
  --cultured-2: hsl(210, 60%, 98%);
  --platinum: hsl(0, 0%, 90%);
  --gray-web: hsl(220, 5%, 49%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_5: hsla(0, 0%, 0%, 0.05);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 14%, 98%);

  /* Typography */
  --ff-roboto: 'Roboto', sans-serif;
  --ff-league-spartan: 'League Spartan', sans-serif;

  --fs-1: 3.5rem;
  --fs-2: 3rem;
  --fs-3: 2.1rem;
  --fs-5: 1.4rem;
  --fs-6: 1.3rem;

  --fw-700: 700;

  /* Spacing */
  --section-padding: 60px;

  /* Shadow */
  --shadow-1: 0 6px 24px var(--black_5);

  /* Border Radius */
  --radius-2: 2px;
  --radius-5: 5px;

  /* Transition */
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
}





/* ----------------RESET-------------- */


*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


li { list-style: none;}

a { text-decoration:none;
    color: inherit;}

a,img,span,time,label,input,button,textarea,ion-icon{
    display: block;
}

img {
    height: auto;
}

input,button,textarea{
    background: none;
    border: none;
    font: inherit;

}

input, textarea {
    width: 100%;
}

button {
    cursor: pointer;
}

ion-icon{
    pointer-events: none;
}

address {
    font-style: none;
}

html {
    font-family: var(--ff-roboto);
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background-color:  var(--white-2);
    color: var#4caf50 ;
    font-size: 1.6rem;
    line-height: 1.8;
   
}

 ::-webkit-scrollbar{ width: 10px;}


 ::-webkit-scrollbar-track { background-color: hsl(0, 0%, 98%);}

 ::-webkit-scrollbar-thumb{
    background-color: hsl(0, 0%, 80%);
 }
 ::-webkit-scrollbar-thumb:hover{
    background-color: hsl(0, 0%, 70%);
 }

 :focus-visible { outline-offset: 4px;}

 






 
 
 /* ---------------- REUSED--------------- */

 .container {
    padding-inline: 15px;
 }

 .btn {
    max-width: max-content;
    color: var(--white-1);
    font-size: var(--fs-6);
    font-weight: var(--fw-700);
    padding: 10px 30px;
    border-radius: var(--radius-5);
    transition: var(--transition-1);

 }
 


 .btn-primary{
    background-image: var(--gradient);
    background-size: 1000%;
 }

 .btn-primary:is(:hover, :focus) {
    background-position: bottom right;
 }

 .btn-secondary {
    background-color: var(--white-1);
    color: var(--eerie-black);

 }


 .btn-secondary:is(:hover, :focus){
    background-color: var(--eerie-black);
    color: var(--white-1); 
 }


 .section{
    padding-block: var(--section-padding);
 }

 .h1,.h2,.h3{
    color: var(--title-color);
    font-family: var(--ff-league-spartan);
    line-height: 1.2;
 }

 .h1{
    font-size: var(--fs-1);
 }
 .h2{
    font-size: var(--fs-2);
 }
 .h3{
    font-size: var(--fs-3);
 }

 

 .w-100{
    width: 100%;
 }



 .section-title,
 .section-text{text-align: center;}

 .section-text{font-size: var(--fs-6);}

 .grid-list{
    display: grid;
    gap:30px;
 }

 .img-holder{
    aspect-ratio: var(--width)/var(--height);
    background-color: var(--light-gray);
 }

 .img-cover{
    width: 100%;
    height: 100%;
    object-fit: cover;
 }



/* Navigation menue */

/* Header */
.header{
  position:sticky;top:0;z-index:60;background:var(--header-bg);color:#fff}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.logo{display:flex;align-items:center;gap:.5rem;font-weight:700;color:#fff}
.logo span{color: var(--accent);}
.logo .mark{width:38px;height:38px;border-radius:8px;background:linear-gradient(135deg,#2f9e44,#6fbf73);display:inline-flex;align-items:center;justify-content:center;color:white;font-weight:800}

/* Desktop nav */
.nav{display:flex;gap:1rem;align-items:center}
.nav a{color:#fff;padding:.5rem .75rem;border-radius:8px;text-decoration:none;transition:all .18s}
.nav a:hover{background:rgba(255,255,255,0.06);color:var(--accent)}

/* Hamburger */
/* ===========================
   Hamburger Menu Button
   =========================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: transform 0.3s ease;
}

/* The three bars */
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff; /* change to #333 if your header is light */
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* On hover, slightly enlarge for feedback */
.hamburger:hover span {
  background-color: var(--accent, #13c4a1);
}

/* When menu is open (toggle this class with JS) */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}


.menu-drawer{position:fixed;top:0;right:-340px;width:320px;height:100vh;
  background:rgba(51, 51, 51, 0.95);;
  box-shadow:-8px 0 24px rgba(0,0,0,0.08);transition:right .36s cubic-bezier(.2,.9,.2,1);padding:1rem;z-index:80}
.menu-drawer.open{right:0}
.menu-drawer .close{display:flex;justify-content:flex-end}
.menu-drawer nav{display:flex;flex-direction:column;gap:.5rem;padding-top:1rem}
.menu-drawer a{padding:.75rem;border-radius:8px;text-decoration:none;color:var(--white-1)}

  /* Intro Section */

  /* Hero/Intro */
.hero{padding:2.5rem 0;background:linear-gradient(180deg,#f8fff8,#f4fff5);text-align:center}
.intro-title{font-size:2rem;margin-bottom:.5rem}
.intro-text{max-width:70ch;margin:0 auto 1rem;color:var(--muted)}

 

/* ----------------------------------------- */





/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/
 
.service{background-color:  var(--bg-color1);}


.service.section-text{margin-block: 5px 35px;}

.service-card{
    background-color: var(--white-1);
    padding: 20px 15px;
    border: 1px solid var(--platinum);
    border-radius: var(--radius-5);
    text-align: center;
    box-shadow: var(--shadow-1);
    transition: var(--transition-2);
}



.service-card:is(:hover, :focus-within){transform: translateY(-10px);}

.service-card .card-icon{
    color: var(--white-1);
    font-size: 25px;
    max-width: max-content;
    margin-inline: auto;
    padding: 18px;
    border-radius: 50%;
}

.service-card.card-tittle{
    margin-block: 20px 8px;
}

.service-card .card-text{
    font-size: var(--fs-6);
}

/* 5 easy growing plants section */

/* Featured Plants */
.featured-plants{padding:2.5rem 0}
.plants-grid{display:grid;gap:1rem}
.plant-card{display:flex;gap:1rem;padding:1rem;border-radius:10px;align-items:flex-start;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,0.03)}
.plant-card img{width:220px;height:150px;object-fit:cover;border-radius:8px;flex-shrink:0}
.plantcardtips{font-size:0.95rem;color:var(--muted)}

/* .featured-plants h2{
    font-size: 2.24vw;
}

.plants-grid{
    display: flex;
    flex-direction: column;
    
}
.plants-grid img{
    
    height: auto;
    width: 50vw;

}
.plant-card {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 1.5rem;
    margin-top: 2rem;
  }

.plant-card h3{
    font-size: 1.5vw;
}
.plantcardtips{
    font-size: 1.25rem;
} */
/* ------------------------------- */
  

.gallery-section
{background: var(--bg-color1);padding:2.5rem 0}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.gallery-grid img{width:100%;height:140px;object-fit:cover;border-radius:6px}


/* Image section settings
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); 
    gap: 0.5rem;
  }
/* Image section heading  
.gallery-section h2{
    font-size: 2.3vw;
}

/* Images setting  
  .gallery-grid img {
    width: 100%;
    height: auto;      
    border-radius: 4px;
  } */

/* ----------------------------------------------- */


/* Video section */
.container1{max-width:var(--max-width);margin:0 auto;padding:0 16px}
.video-section{padding:2.5rem 0; }
.video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;justify-items:center}
.video-grid video{width:100%;max-width:560px;border-radius:8px}

/* .video-section {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(600px,1fr));
    margin: 2vw;
}
.video-section video{
  width: 90%;
  border-radius: 6px;
  height: 80vh;
  margin: 1vw;
  border: 5px solid var(--bg-dark);
} */

/* ----------------------------------- */

/* footer section */
.footer {
  background-color: var(--bg-dark);
  color: var(--white-1);
  padding: 60px 20px 20px;
  margin-top: 50px;
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer h3 {
  font-size: var(--fs-5);
  margin-bottom: 15px;
  font-family: var(--ff-league-spartan);
  font-weight: var(--fw-700);
  color: var(--accent);
}

.footer ul {
  padding: 0;
}

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

.footer a {
  font-size: 1.4rem;
  color: var(--white-1);
  transition: color var(--transition-1);
}

.footer a:hover {
  color: var(--accent);
}

/* Social icons */
.footer .socials {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer .socials a {
  width: 35px;
  height: 35px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-5);
  transition: background var(--transition-1);
}

.footer .socials a:hover {
  background: var(--red-crayola);
}

.footer-bottom {
  text-align: center;
  font-size: 1.3rem;
  border-top: 1px solid var(--gray-border);
  margin-top: 40px;
  padding-top: 15px;
  color: var(--light-gray);
}


/* /* for responsive design 
  @media (max-width: 900px) {
    .nav-menu {
      gap: 2rem;
    }
    .plant-card {
      flex-direction: column;
      text-align: center;
    }
    .plants-grid img {
      width: 100%;
    }
    .plant-card h3{
        font-size: 6vw !important;
    }
    .featured-plants h2{
        font-size: 1.3rem;
    }
  }
  
  @media (max-width: 600px) {
    .nav-menu {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    .intro-section {
      font-size: 1rem;
      padding: 2rem 1rem;
    }
    .plant-card {
      flex-direction: column;
      text-align: center;
    }
    .plant-card h3 {
      margin-top: 1rem;
    }
    .plant-card h3{
        font-size: 6vw !important;
    }
    .featured-plants h2{
        font-size: 1.3rem;
    }
  }



 */


  
/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/*----------- BASE (Mobile first: <768px) --------------*/

.nav {
  display: none;             /* hide nav on small screens */
}

.hamburger {
  display: inline-flex;      /* show hamburger on small screens */
}

.container {
  max-width: 100%;
  width: 100%;
  margin-inline: auto;
}

.grid-list {
  grid-template-columns: 1fr; /* single column for small screens */
  column-gap: 20px;
}

/*----------- RESPONSIVE ≥575px --------------*/
@media (min-width: 575px) {
  .container {
    max-width: 540px;
  }

  .grid-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }
}

/*----------- RESPONSIVE ≥768px --------------*/
@media (min-width: 768px) {
  /* Typography scaling */
  :root {
    --fs-1: 4.5rem;
    --fs-2: 3.7rem;
    --fs-3: 2.3rem;
    --fs-4: 1.8rem;
    --fs-5: 1.5rem;
    --fs-6: 1.4rem;
  }

  /* Show nav, hide hamburger on tablet and up */
  .nav {
    display: flex;
    gap: 1.5rem;
  }

  .hamburger {
    display: none;
  }

  /* Layout refinements */
  .plant-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .plant-card img {
    width: 240px;
    height: auto;
  }

  .intro-title {
    font-size: var(--fs-4);
  }

  .intro-text {
    padding: 0;
  }

  .video-grid video {
    max-width: 100%;
  }

  .menu-drawer {
    width: 100%;
    right: -100%;
  }

  .menu-drawer.open {
    right: 0;
  }

  .container {
    max-width: 720px;
  }

  .section-text {
    max-width: 65ch;
    margin-inline: auto;
  }
}
