
header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 100px;
  width: 100%;
  
  border-bottom: 1px solid #ddd;
  background-color: white; /* optional: to avoid transparency */
  z-index: 1000;

  font-family: 'Jost', sans-serif;
  position: fixed;
    
    
  }

  .menu-toggle {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    left: 20px;
    
  }

  .logo {
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically if container has height */
  padding: 1rem;           /* optional: adjust spacing around the logo */
  
}

.logo img {
  max-width: 100px;  /* adjust as needed */
  width: 60%;
  height: auto;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
  margin-top: 18px;
}

.logo img:hover {
  transform: scale(1.05); /* slight zoom on hover */
}

  

  .nav-left, .nav-right {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .nav-left a, .nav-right a {
    text-decoration: none;
    color: black;
    font-size: 1.7rem;
  }
  .nav-left a:hover,
.nav-right a:hover,
.nav-left a:active,
.nav-right a:active {
  border-bottom: 2px solid orangered;
}

  .dark-toggle {
    background: black;
    color: white;
    border-radius: 20px;
    padding: 3px 10px;
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .main-nav {
    display: none;
    width: 80%;
    justify-content: space-between;
    align-items: center;
  }

  @media (min-width: 1024px) {
    .menu-toggle {
      display: none;
    }

    .main-nav {
      display: flex;
    }

    
    .logo {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }

    .logo img {
  max-width: 200px;  /* adjust as needed */
  width: 100%;
  height: 80px;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
  margin-top: 18px;
}
      
    header {
      justify-content: space-between;
      padding: 1rem 3rem;
    }
    
    
  }
  .header-icons {
    display: none;
    
  }

  /* Slide-out panel styles */
  .side-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    flex-direction: row;
  }

  .side-menu-overlay.active {
    display: flex;
  }

  .side-menu-panel {
    width: 75%;
    background: white;
    padding: 2rem 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .side-menu-overlay.active .side-menu-panel {
    transform: translateX(0);
  }

  .side-menu-panel a {
    margin: 1rem 0;
    font-size: 1.5rem;
    text-decoration: none;
    color: black;
    font-family: 'Jost', sans-serif;
  }
  .side-menu-panel a:hover {
    color: orangered;
    border-bottom: 2px solid orangered;
    font-family: 'Jost', sans-serif;
  }

  .side-menu-backdrop {
    width: 25%;
    background: rgba(0, 0, 0, 0.2);
  }

  .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.4rem;
    cursor: pointer;
  }


  /* Show on small screen only */
  @media (max-width: 1023px) {
    .main-nav {
      display: none;
    }

    .menu-toggle {
     
      display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
    font-size: 10px;
    font-weight: 300px;
    }
    .menu-toggle i {
      font-size: 20px;
    margin-bottom: 2px;
    font-weight: 300px;
    color: black;

    }
    .menu-toggle:hover {
        color: orangered;
      }

    .header-icons {
      display: flex;
      align-items: center;
      
      gap: 10px;
      
      background-color: white;

    }

    .header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
    font-size: 10px;
    font-weight: 300px;
    margin-right: 40px;
  }

  .header-icon i {
    font-size: 20px;
    color: black;
    margin-bottom: 2px;
    font-weight: 300px;
  }
    
      .header-icons a:hover{
        
        color: orangered;
        
        
  
      }
      .logo img {
  max-width: 200px;  /* adjust as needed */
  width: 100%;
  height: 60px;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
  margin-top: 18px;
  margin-left: 100px;
}
      
  }
  .welcome-banner {
    background-color: blue;
    color: white;
    text-align: center;
    width: 100%;
    padding: 0.5rem 1rem;
    font-family: 'Jost', sans-serif;
    font-size: 1.2rem;
    
  }
  
  .welcome-banner a {
    color: white;
    text-decoration: underline;
    transition: color 0.3s ease;
  }
  
  .welcome-banner a:hover {
    color: #ddd;
  }

  /*content section*/
  
  #content {
      padding-top: 40px;
      max-width: 1000px;
      margin: 0 auto;
    }

    nav a {
      margin: 0 10px;
      text-decoration: none;
      color: #333;
    }
    nav a.active {
      font-weight: bold;
      color: orangered;
    }

  /*main-section gallery at home.html style starts */

    .gallery-section {
      font-family: 'Jost', sans-serif;
      margin-left: 10px;
      margin-right: 10px;
      
      background-color: #f9f9f9;
      
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 16px;
    }

    @media (max-width: 1023px) {
      .gallery {
        grid-template-columns: repeat(3, 1fr);
      }
    }
    @media (max-width: 768px) {
      .gallery {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    

    .gallery img {
      width: 100%;
      height: 100%;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      object-fit: cover;
    }

    h2 {
      margin-bottom: 20px;
      margin-top: 20px;
      font-family: 'Jost', sans-serif;
      color: orangered;
    }

    /*main-section gallery at home.html style ends */

  /*register page style starts*/

  .register-page {
  max-width: 600px;
  margin: 1rem auto;
  padding: 1rem;
}

.register-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Jost', sans-serif;
}

.register-form h2 {
  color: orangered;
  margin-bottom: 1.5rem;
  text-align: center;
}

.register-form input[type="email"],
.register-form input[type="password"],
.register-form input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.radio-group {
  margin-bottom: 1rem;
}

.radio-group input {
  margin-right: 0.5rem;
}

#mpesaField {
  display: none;
}

#vendor:checked ~ .mpesa-field {
  display: block;
}

.register-form .terms {
  font-size: 0.95rem;
  margin-top: 1rem;
}

.register-form button {
  width: 100%;
  padding: 0.75rem;
  background-color: blue;
  border: none;
  color: white;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.register-form button:hover {
  background-color: orangered;
  cursor: pointer;
}

@media (max-width: 600px) {
  .register-form {
    padding: 1.5rem;
  }
}

/*register page style ends*/

/*Login page style starts*/
.login-page {
  max-width: 500px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: 'Jost', sans-serif;
}

.account-title {
  color: orangered;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.login-title {
  color: orangered;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.login-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.required {
  color: orangered;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.remember {
  display: flex;
  margin-left: 1rem;
  font-size: 0.9rem;
}
.remember label {
  margin-top: 5px;
}

.login-form button {
  background-color: blue;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}
.login-form button:hover {
  background-color: orangered;
  
  cursor: pointer;
}

.login-form .forgot-link,
.login-form .signup-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.signup-link {
  margin-top: 1.5rem;
}

.signup-link a {
  color: #007bff;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* Optional styling for success/error messages */
.login-message {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: bold;
}
.login-message.success {
  background: #0000ff;
  color: white;
}
.login-message.error {
  background: #ff4500;
  color: white;
}


@media (max-width: 600px) {
  .login-page {
    padding: 1.5rem;
  }
}

/*Login page style ends*/

/*vendor_dashboard style starts */
.vendor-dashboard {
  font-family: 'Jost', sans-serif;
  padding: 20px;
}

.title {
  color: orangered;
  font-weight: 700;
  margin-bottom: 10px;
}

#photographer-id {
  margin-bottom: 20px;
  font-weight: 500;
}

.dashboard-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Sidebar */
.sidebar {
  flex: 1 1 200px;
  background: #222;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar a, .upload-btn {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 15px;
  font-weight: 500;
  background: transparent;
  border: none;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.sidebar a.active, .upload-btn:hover {
  background: orangered;
  color: #000;
  border-radius: 6px;
}


/* Responsive Design */
@media (max-width: 768px) {
  .dashboard-layout {
    flex-direction: column;
  }
}
/*vendor_dashboard style ends */

/* Stats Section */
.stats {
  flex: 3 1 600px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.stat-box {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  text-align: center;
}

.stat-box h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.stat-box p {
  font-size: 18px;
  font-weight: bold;
  color: #111;
}


/* shop_view.php*/
img.object-fit-cover {
  object-fit: cover;
}
input[type="radio"] {
  width: 20px;
  height: 20px;
}

/*search bar start */
.search-bar-section {
  background: white;
  padding: 1.5rem 1rem;
  text-align: center;
}

.input-group {
  max-width: 200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2px;
}

.input-group input[type="text"] {
  display: flex;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #ff4500;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.input-group button {
  background-color: #ff4500; 
  color: white;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.input-group button:hover {
  background-color: #ff4500;
}



/* Responsive Design */
@media (max-width: 768px) {
  .input-group {
    flex-direction: row; /* Ensures input and button are side by side */
    max-width: 100%;
    margin: 0 auto;
  }

  .input-group input {
    flex: 1;
    min-width: 0;
  }

  .input-group button {
    background-color: #ff4500; 
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
  }
}

/*search bar end */

/*search result starts*/
.photo-card {
      position: relative;
      overflow: hidden;
    }
    .photo-card img {

      filter: opacity(0.85);
      width: 100%;
      height: 100%;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      object-fit: cover;
    }
    .form-check-input {
      position: absolute;
      top: 10px;
      right: 10px;
    }
    .favorite-icon {
      position: absolute;
      bottom: 10px;
      left: 10px;
      color: #ff4500;
      font-size: 1.5rem;
      cursor: pointer;

    }
    .mb-3 {
      
  font-family: 'Jost', sans-serif;
  color: orangered;
  font-weight: 200px;
  margin-bottom: 10px;
  font-size: 1.5rem;

    }
/*search result ends*/

/* cart count */
.cart-count {
    position: absolute;
    top: -7px;
    right: -13px;
    background-color: #ff4500; /* Tailwind's red-600 */
    color: white;
    font-size: 1rem; /* Tailwind's text-xs */
    padding: 0 6px;
    border-radius: 9999px; /* Fully rounded */
    line-height: 1.2;
}

@media (max-width: 768px) {
  .cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #ff4500; /* Tailwind's red-600 */
    color: white;
    font-size: 0.75rem; /* Tailwind's text-xs */
    padding: 0 6px;
    border-radius: 9999px; /* Fully rounded */
    line-height: 1.2;
}

}

/*cart css  continue*/
.cart-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ea580c; /* Tailwind: text-orange-600 */
    margin-bottom: 1rem;
    font-family: 'Jost', sans-serif;
}

.cart-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    font-family: 'Jost', sans-serif;
    margin-left: 40px;
}

@media (min-width: 768px) {
    .cart-grid {
        grid-template-columns: repeat(5, 1fr);
        
    }
}

.cart-item {
    position: relative;
    width: 6rem;  /* 24 in Tailwind */
    height: 4rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    object-fit: cover;
    
}

.remove-button {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 1.1rem;             /* Equal width and height */
    height: 1.1rem;
    background: blue;
    border-radius: 50%;      /* Makes it a circle */
    font-size: 1rem;
    font-weight: bold;
    color: white;
    display: flex;           /* Center content */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;            /* Optional: remove default button border */
}
.remove-fav {
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    width: 1.5rem;             /* Equal width and height */
    height: 1.5rem;
    background: blue;
    border-radius: 50%;      /* Makes it a circle */
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    display: flex;           /* Center content */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;     

  
              
}

.cart-image {
    width: 6rem;  /* 24 in Tailwind */
    height: 4rem;
    object-fit: cover;
    border-radius: 6px;
}

.cart-summary {
    margin-top: 1.5rem;
    border-top: 1px solid #ccc;
    padding-top: 1rem;
    text-align: right;
    font-family: 'Jost', sans-serif;
}

.total-price {
    color: #ea580c; /* Tailwind: text-green-700 */
}

.pay-button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #16a34a; /* Tailwind: bg-green-600 */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
/* cart css ends */

/* highlight section ends */
.section-heading {
      text-align: center;
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 2rem;
      position: relative;
      display: inline-block;
      color: orangered;
      font-family: 'Jost', sans-serif;
    }

    .section-heading::after {
      content: "";
      display: block;
      width: 60%;
      margin: 0.5rem auto 0;
      height: 4px;
      background: linear-gradient(to right, orangered, blue);
      border-radius: 10px;
    }

    .heading-wrapper {
      text-align: center;
      margin-bottom: 2rem;
    }

    .highlight-section {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
    }

    .highlight-box {
      flex: 1 1 300px;
      max-width: 350px;
      background-color: #fff;
      border: 1px solid orangered;
      border-radius: 10px;
      padding: 2rem 1.5rem;
      text-align: center;
      transition: transform 0.3s ease;
      font-family: 'Jost', sans-serif;
    }

    .highlight-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 0 10px orangered;
    }

    .highlight-icon svg {
      width: 40px;
      height: 40px;
      fill: orangered;
      margin-bottom: 1rem;
    }

    .highlight-title {
      color: orangered;
      font-size: 1.3rem;
      margin-bottom: 1rem;
      font-weight: bold;
    }

    .highlight-text {
      color: blue;
      font-size: 1rem;
      line-height: 1.6;
    }

    @media (max-width: 768px) {
      .highlight-box {
        margin-bottom: 1rem;
      }
    }

    /* highlight section ends */

   /* mission starts*/
    .mission-container {
  background-color: blue;
  right: 0;
  left: 0;
  margin-top: 40px;
  text-align: center;
}

@keyframes fadeColor {
  0% {
    background-color: orangered;
    color: white;
    opacity: 1;
  }
  100% {
    background-color: white;
    color: orangered;
    opacity: 0.5;
  }
}

.mission-text {
  font-size: 1.3rem;
  font-family: 'Jost', sans-serif;
  font-weight: bold;
  color: orangered;
  display: inline-block;
  overflow: hidden;
  margin-top: 20px;
  white-space: nowrap;
  border-right: 2px solid orangered;
  animation: fadeColor 3s ease-in-out infinite alternate;
}

/* Typing animation from right to left */
@keyframes typing {
  from {
    width: 0;
    direction: rtl;
  }
  to {
    width: 100%;
    direction: rtl;
  }
}

/* Blinking cursor */
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
/* mission ends*/

.copyright {
    color: #888888;
    font-size: 0.8rem;
    margin-top: 1rem;
    align-items: center;
    padding-bottom: 10px;
    

}

.social-icons i {
    color: white;
    margin: 0 8px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons i:hover {
    color: orangered;
}

.footer-menu a {
    color: #bbbbbb;
    text-decoration: none;
    margin-bottom:10px;
    font-size: 0.9rem;
    transition: color 0.3s;
    margin-top: 2rem;
}

.footer-menu a:hover {
    color: #ffffff;
}

/* about */
.about-section {
  background-color: #f9f9f9;
 
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  font-family: 'Jost', sans-serif;
  
}

.about-heading {
  font-size: 2rem;
  font-weight: 700;
  color: orangered;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.5rem;
}
/*about */

/* terms */
.terms-section {
  background-color: #fff;
  
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-family: 'Jost', sans-serif;
}

.terms-heading {
  font-size: 2rem;
  font-weight: 700;
  color: orangered;
}

.terms-list {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  
  margin: 0;
}

.terms-list li {
  margin-bottom: 1rem;
  list-style-type: decimal;
}
/* terms */
/* whatsapp */
.whatsapp-float img{
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 9999;
  background-color: green;
  width: 70px;
  height: 70px;
  border-radius: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1DA851;
  text-decoration: none;
}
/* whatsapp */
#content {
            margin-top: 10px;
            padding: 1rem;
            border: 1px solid blue;
            border-radius: 4px;
        }

/* stats section starts */
#stats_section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 1rem;
  background: #fff;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.stat-box {
  flex: 1 1 250px;
  max-width: 300px;
}

.stat-box h2 {
  font-size: 4rem;
  color: orangered;
  margin: 0;
  font-family: 'Jost', sans-serif;
}

.stat-box p1 {
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0.5rem 0;
  color: blue;
  font-family: 'Jost', sans-serif;
}

.stat-box small {
  color: #666;
}

/* stats section ends */

 /* logo section */
 #logo_section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  background-color: #fff; /* Optional: change to match your design */
}

#logo_section img {
  max-width: 100%;
  height: auto;
  width: 250px; /* You can adjust size here */
}

@media (min-width: 768px) {
  #logo_section img {
    width: 350px;
  }
}
/* logo section */

/* notice section */
#construction-notice {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #fff3cd;
      color: #856404;
      border: 1px solid #ffeeba;
      padding: 16px 24px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      z-index: 9999;
      max-width: 90%;
      height: 30%;
      font-family: 'Jost', sans-serif;
    }

    #construction-notice .close-btn {
      position: absolute;
      top: 8px;
      right: 12px;
      background: none;
      border: none;
      font-size: 18px;
      font-weight: bold;
      cursor: pointer;
      color: #856404;
    }

    #construction-notice .close-btn:hover {
      color: #000;
    }
    /* notice section */