:root {
    --bgcolor:  #fdfdff;
    --lightblack: #393d3f;
    --beige: #c6c5b9;
    --teal: #62929e;
    --tteal: #62929e99;
    --blue: #546a7b;
}

@font-face {
    font-family: "Outfit";
    src: url(fonts/outfit/Outfit-Regular.ttf);
}

@font-face {
  font-family: "Barcode";
  src: url(fonts/barcode/fre3of9x.ttf)
}

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

body {
    background-color: var(--bgcolor);
    font-family: "Outfit";
    color: var(--blue);
}

section {
    width: 100vw;
    /* overflow-x: hidden; */
    overflow-x: scroll;
}


 /* Landing page */

#landing {
    background-image: url("images/bg1.png");
    background-size: cover;
    color: var(--bgcolor);
}


#home {
    height: 100vh;
    overflow-y: hidden;
}

.navbar {
    background-color: var(--tteal);
    height: 75px;
    display: flex;
    align-items: center;
    border-radius: 0px 0px 25px 25px;
}

#index-navbar {
    background-color: rgba(255, 255, 255, 0);
}

.logo {
    font-size: 25px;
    text-transform: uppercase;
    color: var(--blue);
    margin-left: 40px;
}

#logo-link {
    text-decoration: none;
}

#landing-link {
    color: var(--bgcolor);
}

.landing-nav {
    color: var(--bgcolor);
}

.logo:hover {
    cursor: pointer;
}

nav {
    float: right;
    margin-left: 1150px;
}

nav ul li {
    text-decoration: none;
    display: inline-block;
}

nav ul li a {
    color: var(--blue);
    text-decoration: none;
    margin: 25px;
    font-size: 25px;
}

nav ul li a:hover {
    color: var(--teal);
}

#home {
    text-align: center;
}

#title {
    font-size: 100px;
    margin: auto;
    position: relative;
    text-transform: uppercase;
    top: 40%;
    
}

#slogan {
    font-size: 50px;
    font-weight: lighter;
}

/* Contact-featured */

#contact-featured {
   display: flex;
   flex-direction: column;
   margin-bottom: 50px;
}

#contact {
    margin-top: 50px;
    justify-content: center;
    margin-bottom: 50px;
}

.page-header {
    text-align: center;
    font-size: 75px;
    margin-bottom: 50px;
    margin-top: 50px;
    font-weight: lighter;
}

#contact-section {
    display: inline-block;
    margin-bottom: 25px;
    justify-content: center;
    margin-left: 42%;
}

#map {
    padding-bottom: 50%;
    position: relative;
}

#map iframe {
     height: 100%;
     width: 100%;
     left: 0;
     top: 0;
     position: absolute;
}

.contact-text {
    width: 20ch;
    text-align: center;
    margin-bottom: 25px;
    font-size: 20px;
}

.contact-links {
    color: var(--teal);
}

.contact-links:hover {
    cursor: pointer;
    color: var(--beige);
}

#feat-products-sec {
    display: flex;
    justify-content: center;
    margin-bottom: 75px;
}

#left-product, #middle-product, #right-product {
    margin-right: 50px;
}

.feat-prod-img {
    border-radius: 25px;
    width: 200px;
    height: 200px;
}

.feat-prod-name, .prod-name {
    text-align: center;
    font-size: 20px;
    display: block; /* Change this using CSS */
}

.feat-barcode, .barcode {
  font-family: "Barcode", cursive;
  text-align: center;
  display: none;
}

.bottom-text {
    text-align: center;
    font-size: 30px;
}

.bottom-text a {
    color: var(--blue);
}

.bottom-text a:hover {
    color: var(--beige);
}

#footer {
    background-color: var(--tteal);
    height: 100px;
    display: flex;
    justify-content: center;
    border-radius: 25px 25px 0 0;
}

.footer-img {
    border-radius: 10px;
    margin-left: 0px;
    float: left;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100px;
    height: 100px;
}

#footer-logo {
    left: 0%;
    position: absolute;
    margin-top: 40px;
}

.footer-nav {
    margin-top: 40px;
    margin-left: 0;
}


.back-to-top {
    background-color: var(--blue);
    width: 50px;
    height: 50px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    color: var(--beige);
    padding: 15px;
    font-size: 18px;
    position: fixed;
    cursor: pointer;
    text-align: center;
}


.back-to-top:hover {
    background-color: var(--beige);
    color: var(--blue);
}


/* Start of products.html */

.page-subheader {
    text-align: center;
    font-size: 25px;
    font-weight: lighter;
}

#products {
    display: flex;
    flex-direction: column;
    margin-left: 7.5%;
}

.row {
    margin-bottom: 50px;
    margin-top: 50px;
    display: inline-flex;
    margin-left: 10%;
}

.product {
    margin-left: 75px;
}

.prod-img {
    border-radius: 25px;
    width: 200px;
    height: 200px;
}

/* Order */

#order {
    display: flex;
    flex-direction: column;
    justify-content: center;    /* Vertically center children */
    align-items: center;        /* Horizontally center children */
    min-height: 80vh;
    height: auto;
    position: relative;
}

#form {
    margin-top: 75px;
    margin-left: 175px;
}

.form-section {
    margin-bottom: 50px;
}

label {
    margin-right: 50px;
    font-size: 20px;
}

input[type=text], input[type=tel], input[type=email],  input[type=number], textarea {
    background-color: var(--beige);
    color: var(--bgcolor);
    font-family: "Outfit";
    border: none;
    border-radius: 15px;
    height: 30px;
    width: 250px;
    padding: 17px;
    text-align: center;
}

input[type=text]:focus, input[type=tel]:focus, input[type=email]:focus,  input[type=number]:focus, textarea:focus {
    border-color: var(--blue);
}

input[type=submit] {
    text-align: center;
    border: none;
    border-radius: 15px;
    color: var(--beige);
    background-color: var(--blue);
    width: 150px;
    height: 35px;
}

input[type=submit]:hover {
    cursor: pointer;
    background-color: var(--beige);
    color: var(--blue);
}

/* Mobile Nav Styles */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--blue);
  margin-left: auto;
  margin-right: 30px;
  cursor: pointer;
}

#navMenu {
  display: flex;
  justify-content: flex-end;
  margin-right: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

/* Responsive Nav - Small Screens */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  #navMenu {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: var(--tteal);
    width: 100%;
    padding: 20px 0;
    position: absolute;
    top: 75px;
    left: 0;
    z-index: 1000;
  }

  #navMenu.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
  }

  nav ul li a {
    font-size: 20px;
  }
}


























/* Beginning of media queries */


/* === MEDIA QUERIES FOR RESPONSIVENESS === */

/* Small devices (phones, 360px - 599px) */
@media (max-width: 599px) {
  nav {
    float: none;
    margin: 0;
    text-align: center;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 10px;
  }

  nav ul li {
    display: block;
    margin: 10px 0;
  }

  #title {
    font-size: 40px;
    top: 40%;
  }

  #slogan {
    font-size: 24px;
  }

  .page-header {
    font-size: 35px;
  }

  #featured {
    margin-top: 25%;
  }


  #feat-products-sec {
    flex-direction: column;
    margin-left: 30%;
  }

  .feat-product {
    margin-top: 15%;
  }

  .contact-text {
    font-size: 16px;
    margin-left: 5%;
    margin-right: 5%;
  }

  #contact-section {
    margin-left: 20%;
    margin-right: auto;
  }

  .feat-prod-img,
  .prod-img {
    width: 150px;
    height: 150px;
  }

  .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px auto;
    width: 90%;
  }


  .form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  label {
    margin-bottom: 5px;
  }

  input[type=text],
  input[type=tel],
  input[type=email],
  input[type=number],
  textarea {
    width: 90%;
  }

  #form {
    margin-left: 0;
    width: 100%;
    padding: 0 5%;
  }

  iframe {
    height: 250px !important;
  }

  #footer {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px 0;
  }

  #footer-logo,
  .footer-nav {
    margin-top: 10px;
    text-align: center;
  }

  #footer-logo {
    left: 25%;
  }

  .back-to-top {
    right: 10px;
    bottom: 10px;
  }
}

/* Tablets (600px - 1023px) */
@media (min-width: 600px) and (max-width: 1023px) {
  nav {
    float: none;
    margin: auto;
    text-align: center;
  }

  nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
  }

  nav ul li {
    display: inline-block;
  }

  #products {
    margin: 0;
  }

  .row {
    flex-wrap: wrap;
    justify-content: center;
    width: 75%;
  }

    #feat-products-sec {
        flex-wrap: wrap;
        justify-content: center;
  }

  .product,
  .feat-product {
    margin: 15px;
  }

  .feat-prod-img,
  .prod-img {
    width: 175px;
    height: 175px;
  }

  #title {
    font-size: 60px;
    top: 30%;
  }

  .page-header {
    font-size: 50px;
  }

  #contact-section {
    margin-left: 35%;
  }

  .contact-text {
    font-size: 18px;
  }

  .footer-nav {
    margin-left: 40%;
    margin-top: 5%;
  }

  input[type=text],
  input[type=tel],
  input[type=email],
  input[type=number],
  textarea {
    width: 300px;
  }

  #form {
    margin-top: 5%;
    margin-right: 5%;
  }
}

/* Medium devices (small laptops, 1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  nav {
    margin-left: auto;
    margin-right: 60px;
  }

  #title {
    font-size: 80px;
  }

  .page-header {
    font-size: 65px;
  }

  .feat-prod-img,
  .prod-img {
    width: 200px;
    height: 200px;
  }

  #products {
    margin-left: 0;
  }

  .row {
    flex-wrap: wrap;
    justify-content: center;
    width: 75%;
  }

  .form-section {
    flex-direction: row;
    justify-content: flex-start;
  }

  #form {
    margin-left: 100px;
  }
}

/* Large devices (desktop, 1280px - 1599px) */
@media (min-width: 1280px) and (max-width: 1599px) {

  #navMenu {
    margin-left: 550px;
  }

    #form {
    margin-left: 150px;
  }

  #logo-link, #landing-link {
    width: 100%;
  }

  #navMenu {
    margin-left: 0%;
  }

  .page-header {
    font-size: 70px;
  }

  .row {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
  }

  #products {
    margin-left: 0;
  }


}

/* Ultra-wide screens (≥1600px) */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
    margin: 0 auto;
  }

  #logo-link, #landing-link {
    width: 100%;
  }

  #navMenu {
    margin-left: 0%;
  }

  #title {
    font-size: 100px;
  }

  .page-header {
    font-size: 75px;
  }

  #form {
    margin-left: 200px;
  }

  #footer ul li a {
    font-size: 25px;
  }
}


/* === Footer Base Styles === */
#footer {
  background-color: var(--tteal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  gap: 10px;
}

#footer-logo {
  color: var(--blue);
  font-size: 20px;
  margin: 0;
  text-align: center;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
}

.footer-nav ul li a {
  text-decoration: none;
  color: var(--blue);
  font-size: 16px;
}

.footer-nav ul li a:hover {
  color: var(--beige);
}

/* === Hide nav links on mobile === */
@media (max-width: 599px) {
  .footer-nav {
    display: none;
  }
}

/* === Show footer nav on tablets and up === */
@media (min-width: 600px) {
  #footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 60px;
  }

  #footer-logo {
    font-size: 24px;
    text-align: left;
    margin-left: 5%;
  }

  .footer-nav {
    display: block;
  }
}
