/*Shop pop up*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #CFE66C;
    color: #1F1E1E;
    margin: 30% auto;
    padding: 30px 40px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    position: relative;
    font-size: 20px;
}

.close {
    color: #1F1E1E;
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
.close:hover,
.close:focus {
    color: #ffffff;
}

/*END shop pop up*/


  html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            font-family: 'Work Sans', sans-serif;
        }
        body {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

/*Hero section*/
        .hero {
            background-image:  linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('HomeHero.jpg');
            background-position: top center;
            background-size: cover;
            background-repeat: no-repeat;
            height: 100vh;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #CFE66C;
            text-align: center;
        }
        .hero-text {
            position: absolute;
            padding: 10px;
            border-radius: 10px;
            display: inline-block;  
            bottom:10%;
            left: 2%;
            padding: 2rem 3rem;
            border-radius: 10px;
        }

        .hero-about {
            font-size: 1.5rem;
            line-height: 1.5;
            margin-top: .5rem;
            color: #CFE66C;
            max-width: 800px
        }
        .hero-title {
            font-size: 7rem;
            font-weight: 900;
            margin: 0;
        }

        .work-button {
            background: transparent;
            border: 2px solid #b7e66c;
            color: #b7e66c;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.5rem;
            transition: background 0.2s, color 0.2s;
            margin-right: 3rem;
            font-family: 'work sans', sans-serif;
        }

        .work-button:hover {
            background: #b7e66c;
            color: #1F1E1E;
        }

        .about-button {
            background: transparent;
            border: 2px solid #b7e66c;
            color: #b7e66c;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.5rem;
            transition: background 0.2s, color 0.2s;
            margin-right: 3rem;
            font-family: 'work sans', sans-serif;
        }

        .about-button:hover {
            background: #b7e66c;
            color: #1F1E1E;
        }

    /*END Hero section*/

    /*Footer section*/
        footer {
            background: #CFE66C;
            color: #1F1E1E;
            text-align: center;
            padding: 1rem 0;
            margin-top: auto;
        }
        .social-links a {
            color: #fff;
            margin: 0 10px;
            text-decoration: none;
            font-size: 1.5rem;
            transition: color 0.2s;
        }
        .social-links a:hover {
            background-color: #e6ebde;
            border-radius: 5px; 
        }

        .tooltip {
        position: relative;
        display: inline-block;
        }

        .tooltiptext {
            visibility: hidden;
            width: 120px;
            background: #333;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px 0;
            position: absolute;
            z-index: 1;
            bottom: 125%; 
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.3s;
        }
        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
            }

    /*END Footer section*/

    /*Navbar section*/
     .navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1F1E1E;
    padding: 16px 32px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1100;
}
.navbar-logo {
    color: #CFE66C;
    font-size: 1.7rem;
    font-weight: bold;
    letter-spacing: 2px;
    font-family: 'Work Sans', sans-serif;
}
.navbar-links {
    display: flex;
    gap: 24px;
}
.navbar-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-family: 'Work Sans', sans-serif;
    padding: 8px 18px;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
}
.navbar-link:hover {
    background: #CFE66C;
    color: #1F1E1E;
}  
/* Hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1200;
}
.hamburger span {
    display: block;
    height: 4px;
    width: 28px;
    background: #CFE66C;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    max-width: 320px;
    height: 100vh;
    background: #1F1E1E;
    z-index: 2000;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    box-shadow: -2px 0 12px rgba(0,0,0,0.2);
    gap: 2rem;
    align-items: flex-start;
}
.close-menu {
    background: none;
    border: none;
    color: #CFE66C;
    font-size: 2.5rem;
    align-self: flex-end;
    cursor: pointer;
    margin-bottom: 1rem;
}
.mobile-link {
    color: #CFE66C;
    text-decoration: none;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Work Sans', sans-serif;
    transition: color 0.2s;
}
.mobile-link:hover {
    color: #fff;
}

@media (max-width: 800px) {
    .navbar-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-about {
        font-size: 1rem;
    }
    .hero-text {
        padding: 1rem 0.5rem;
    }
}

        /*END Navbar section*/


/*about page styles*/
.about-container {
    margin-top: 2rem;
  display: flex;
  align-items: center; /* vertically center */ 
  background-color: #CFE66C;
  border-radius: 10px;
  color: #1F1E1E;
  margin-right: 10%;
  margin-left: 10%;
  font-family: 'work sans', sans-serif;
  margin-bottom: 4rem;
  font-size: 1.3rem;
}

.about-photo {

    border-radius: 10px;
    margin: 1%
}
.about-text {
    margin-right: 5%;
    margin-left: 5%;
    line-height: 1.5;
}

@media (max-width: 1000px) {
    .about-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
        font-size: 1.0rem;
    }
    .about-photo {
        margin-bottom: 18px;
        max-width: 18rem
    }
}

.work-container {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    background-color: #CFE66C;
    border-radius: 10px;
    color: #1F1E1E;
    margin-right: 10%;
    margin-left: 10%;
    font-family: 'work sans', sans-serif;
    margin-bottom: 4rem;
    font-size: 1.3rem;
}

.work-text {
    margin-right: 5%;
    margin-left: 5%;
    line-height: 1.5;
}

/* --- FLEXIBLE IMAGE GALLERY --- */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}
@media (max-width: 1000px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 12px;
    max-width: 100vw;
  }
}
@media (max-width: 700px) {
  .gallery-container {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 8px;
    max-width: 100vw;
  }
}
.thumbnail {
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border: 2px solid #CFE66C;
  background: #222;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.thumbnail:hover {
  border-color: #b7e66c;
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.imgmodal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  outline: none;
}
.imgmodal-content {
  margin: 30px auto 10px auto;
  display: block;
  max-width: 98vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
#caption-container {
  text-align: center;
  color: #fff;
  padding: 10px 20px 30px 20px;
  background: rgba(0,0,0,0.3);
  border-radius: 0 0 8px 8px;
  max-width: 90vw;
  margin: 0 auto;
}
#imgmodal-title {
  margin: 5px 0 10px 0;
  font-size: 1.3rem;
  font-weight: bold;
  color: #CFE66C;
}
#imgmodal-description {
  font-size: 1rem;
  color: #e6ebde;
  margin-bottom: 0;
}

#imgmodal-about {
  font-size: 1rem;
  color: #e6ebde;
  margin-bottom: 0;
}
.close-btn {
  color: #fff;
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2100;
  background: none;
  border: none;
  outline: none;
}
.close-btn:hover,
.close-btn:focus {
  color: #CFE66C;
  outline: 2px solid #CFE66C;
}
@media (max-width: 700px) {
  .imgmodal {
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
  }
  .imgmodal-content {
    max-width: 98vw;
    max-height: 50vh;
    margin-top: 6rem;
  }
  #caption-container {
    padding: 8px 6px 18px 6px;
    font-size: 0.95rem;
  }
  .close-btn {
    top: 10px;
    right: 18px;
    font-size: 32px;
  }
}
/* --- END FLEXIBLE IMAGE GALLERY --- */