/*  Right now we will type here what we change/add so to keep track and when we upload this to joop we can delete this */
/*  Home-page: I changed the layout from the blue to black to fit the tech theme and also added a fetaures section + Nav bar to which im gonnna make it be able to clickable so when a customer clicks*/
/*  "Phones" it will bring them to the products section about the phones we have. Btw, if it says ".home" it ref the homepage  */
/* contact-page format looks more cleaner than what it is was before as it was just 3 boxes of white space together with titles like name, email address and message but i changed the style so it can look more website like.*/
/* made the style css for the map to be more centered with the text*/
/* i reformated my css on the oppening hours, faq and frequently added questions*/

body {
  background-color: #ffffff;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #000;
  color: white;
  position: sticky;
  top: 0;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: white;
}

.nav-links a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-size: 14px;
}

.nav-links a:hover {
  color: #ccc;
}

/*  My footer */
.site-footer {
    background: #000;
    color: #fff;
    padding: 20px 0;
    font-family: sans-serif;
}

.footer-container {
   display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 20px 50px ;
     gap: 25%;
}

/*  This is the footer of the MAIN body */
.site-footer {
    background: #000;
    color: #fff;
    
    font-family: sans-serif;
    font-size: 1.2em;
}

.footer-section {
    flex: 1;
    min-width: 200px;
     margin-bottom: 10px;
   
}



.footer-section a {
    color: #f1f1f1;
    text-decoration: none;
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

.footer-section a img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    vertical-align: middle;
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 10px;
    text-align: center;
    padding-top: 10px;
    font-size: 1em;
}



a {
  text-decoration: none;
}

/* BASE */
.home {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f5f7;
}
/* HERO */
.home .middle {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(to right, #000, #222);
  color: white;
}

.home .hero-content {
  max-width: 600px;
}

.home .middle h1 {
  font-size: 60px;
  margin-bottom: 15px;
}

.home .middle p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #ccc;
}

/* BUTTON */
.home .btn {
  background: white;
  color: black;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.home .btn:hover {
  background: #ddd;
}

/* FEATURED */
.home .featured {
  padding: 80px 20px;
  text-align: center;
}

.home .featured h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

.home .product-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.home .product-card {
  background: white;
  border-radius: 15px;
  width: 260px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: 0.3s;
  cursor: pointer;
}

.home .product-card:hover {
  transform: translateY(-10px);
}

.home .product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.home .product-card h3 {
  margin: 15px 0 5px;
}

.home .product-card p {
  color: #777;
  margin-bottom: 20px;
}

/* WHY US */
.home .why-us {
  background: #000;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.home .features {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.home .features div {
  max-width: 220px;
}

/* CTA */
.home .cta {
  background: #111;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.home .cta h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

/* FOOTER */
.home .site-footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 20px;
}
/* Contact Page */
/* NAVBAR FIX */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  padding: 15px 40px;
}

.logo {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00bfff;
}

/* CONTACT HERO */
.contact-hero {
  text-align: center;
  padding: 80px 20px;
  background: #eaeaea;
}

.contact-hero h1 {
  font-size: 50px;
  margin-bottom: 10px;
}

.contact-hero p {
  font-size: 20px;
}

/* CONTACT FORM CARD */
.contact-card {
  width: 50%;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.contact-card button {
  margin-top: 15px;
  padding: 12px;
  width: 100%;
  background: black;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

.contact-card button:hover {
  background: #333;
}

/* GRID */
.contact-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px;
  flex-wrap: wrap;
}

.info-box {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  width: 250px;
  text-align: center;
}

/* MAP */
.map {
  text-align: center;
  margin: 50px 0;
}


/* My Products section */
/* SUB NAVBAR */
.categories {
  display: flex;
  justify-content: center;
  gap: 40px;
  background: black;
  padding: 15px 0;
}

.categories a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.categories a:hover {
  color: #ccc;
}

/* SEARCH BAR */
.search-section {
  text-align: center;
  margin: 20px;
}

.search-section input {
  width: 50%;
  padding: 10px;
  font-size: 16px;
}

/* PRODUCTS SECTION */
.products {
  text-align: center;
}

.product-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.product-card {
  border: 1px solid #ccc;
  padding: 20px;
  width: 260px;
  border-radius: 10px;
  background: #f5f5f5;
  text-align: center;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.product-image {
  width: 100%;
  height: 220px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-card button {
  margin-top: 10px;
  padding: 10px;
  border: none;
  background: #000;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.product-card button:hover {
  background: rgb(0, 119, 255);
}

/* FILTER BUTTONS */
.categories button {
  padding: 10px 15px;
  border: none;
  color: white;
  background-color: black;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

.categories button:hover {
  background: navy;
  color: white;
}

/* ADD OR UPDATE PRODUCTS */
.product_add_update {
  max-width: 400px;
  margin: 30px auto;
  padding: 25px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product_add_update h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 20px;
}

.product_add_update input,
.product_add_update select {
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}

.product_add_update input:hover,
.product_add_update select:hover {
  border-color: navy;
}

.product_add_update select:hover {
  cursor: pointer;
}

.product_add_update input:focus,
.product_add_update select:focus {
  border-color: navy;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
}

.product_add_update input[type="file"] {
  padding: 5px;
  border: none;
}

.product_add_update button {
  padding: 12px;
  font-size: 16px;
  background-color: navy;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.product_add_update button:hover {
  background-color: #007bff;
}

/* SORT PRODUCTS */
.product_sort {
  display: flex;
  justify-content: right;
  margin: 20px;
}

.product_sort select {
  padding: 10px 15px;
  font-size: 16px;
  border: 2px solid white;
  border-radius: 8px;
  background-color: white;
  cursor: pointer;
  outline: none;
}

.product_sort select:hover {
  border-color: #007bff;
}

.product_sort select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(47, 79, 79, 0.4);
}

/* FOOTER PRODUCTS */
.product_footer {
  background: #080000;
  border-top: 1px solid #444;
  margin-top: 20px;
  padding-top: 10px;
  display: flex;
  justify-content: center;
  padding: 20px 50px;
  gap: 25%;
}

.product_footer p {
  color: #fff;
  font-family: sans-serif;
  font-size: 1.2em;
}

/* This is the Checkout page */
.checkout-page {
  display: flex;
  gap: 40px;
  padding: 40px;
}

.cart-section {
  width: 40%;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
}

.checkout-section {
  width: 60%;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.totals {
  margin-top: 20px;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
}

button {
  margin-top: 10px;
  padding: 10px;
  cursor: pointer;
}

.btn-submit {
  background: black;
  color: white;
  width: 100%;
  font-size: 16px;
}

.btn-submit:hover {
  background-color: hwb(255 0% 10%);
}

/* =========================
   ABOUT US PAGE
========================= */

.about-page {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
}

.about-hero {
  background: #f5f5f5;
  text-align: center;
  padding: 100px 20px;
}

.about-hero-content h1 {
  font-size: 58px;
  margin-bottom: 20px;
  color: #000;
}

.about-hero-content p {
  font-size: 22px;
  max-width: 850px;
  margin: 0 auto;
  color: #222;
  line-height: 1.6;
}

.about-intro {
  padding: 70px 20px 40px;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.about-intro h2,
.about-team h2 {
  font-size: 46px;
  margin-bottom: 20px;
  color: #000;
}

.about-intro p {
  font-size: 20px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #222;
}

.about-mission {
  padding: 30px 20px 70px;
}

.about-mission .about-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.about-card {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 12px;
  width: 300px;
  padding: 30px 20px;
  transition: 0.3s;
}

.about-card:hover {
  transform: scale(1.03);
}

.about-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #000;
}

.about-card p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.about-team {
  padding: 70px 20px;
  background: #f5f5f5;
}

.about-team-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.about-team-text {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 35px auto;
  line-height: 1.6;
  color: #222;
}

.about-team-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.about-team-member {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 260px;
  padding: 25px 20px;
  transition: 0.3s;
}

.about-team-member:hover {
  transform: scale(1.03);
}

.about-team-member h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #000;
}

.about-team-member p {
  font-size: 18px;
  color: #333;
}

/* Responsive design */
@media (max-width: 768px) {
  .about-hero-content h1 {
    font-size: 40px;
  }

  .about-hero-content p,
  .about-intro p,
  .about-team-text,
  .about-card p,
  .about-team-member p {
    font-size: 18px;
  }

  .about-intro h2,
  .about-team h2 {
    font-size: 34px;
  }

  .about-card,
  .about-team-member {
    width: 90%;
  }
}

