/*Resets default margin and padding for all elements to ensure consistent styling*/
* {
  margin: 0;
  padding: 0; 
}

/*Set the minimum height of the body to 100% of the viewport heightg*/
body {
  min-height: 100vh; 

}

/* Applies a background image to the page with centered positioning.*/
.background {
  background-image: url(./../images/logo.png);
  background-repeat: no-repeat;
  background-position: center;
}

/* Styles the navigation bar with a white background and box shadow. */
/* Navigation Bar with Yellow Theme */
nav {
  background-color: black; /* Black background for bold look */
  box-shadow: 3px 3px 5px rgba(255, 255, 0, 0.2); /* Subtle yellow glow */
}

/* Utilizes flexbox for horizontal alignment and spacing of list items */
nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sets a fixed height for list items in the navigation */
nav li {
  height: 50px;
}

/* Styles links within the navigation, including padding and color */
nav a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: white; /* White text for readability */
  transition: all 0.3s ease; /* Smooth transitions for hover effects */
}

/* Adds a hover effect for links */
nav a:hover {
  background-color: rgba(255, 255, 0, 0.2); /* Transparent yellow background */
  color: yellow; /* Yellow text on hover */
  font-weight: 600;
}

/* Adds a hover effect for links within elements with the class hide */
.hide a:hover {
  background-color: rgba(255, 255, 0, 0.3); /* Slightly brighter yellow */
  font-weight: 600;
}

/* Styling for the first child li element within nav */
nav li:first-child {
  margin-right: auto;
}

/* Sets a fixed width for the logo image */
.logo img {
  width: 80px;
}

/* Styles product images with a fixed width, aspect-ration, object-fit,and box shadow.*/
.product-details img {
  width: 200px;
  aspect-ratio: 2/2;
  object-fit: contain;
  margin: 10px;
  box-shadow: rgba(71, 71, 82, 0.2) 0px 7px 29px 0px;
}

/* Styling for product details, including font size, line height, color, and text alignment. */
.product-details {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  text-align: center;
}

/* Styles tables within product details, specifying width, margin, and border collapse. */
.product-details table {
  width: 500px;
  margin: 20px auto;
  border-collapse: collapse;
}

/* Sets padding, border, and text alignment for table cells. */
.product-details th,
.product-details td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: center;
}

/*Styles elements with the class product-column with a background color and increased font weight. */
.product-column {
  background-color: #f0f0f0;
  font-weight: 600;
}

/* Styles the add-to-cart button as an inline block with background color, text color, padding, and border radius. */
.add-to-cart {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
}

/* Specifies the hover effect for the add-to-cart button. */
.add-to-cart:hover {
  background-color: #555;
}

/* Centers text within the about section and provides margin adjustments.*/
.about-section {
  text-align: center;
  margin-top: 20px;
  margin-left: 50px;
  margin-right: 50px;
}

/* Aligns and centers content within the feedback section. */
.feedback {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  text-align: center;
}


/* yles the signin and signup sections with centered content.*/
.signin,
.signup {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 78vh;
  text-align: center;
}

/* Font weight styling */
.f600 {
  font-weight: 600;
}

/* Styles form elements with a transparent background, padding, border radius, and box shadow. */
form {
  background-color: transparent;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}



/* Styling for label elements */
label {
  display: block;
  margin-bottom: 5px;
}

/* Styles input and textarea elements with width, padding, margin, border, border radius, and transparent background. */
input,
textarea {
  width: 100%;
  padding: 3px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: transparent;
}

/* Styles regular state of buttons with width, padding, border, border radius, transparent background, text color, and cursor. */
button {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 3px;
  background-color: transparent;
  color: #0f0e0e;
  cursor: pointer;
}

/* Specifies the hover effect for buttons. */
button:hover {
  background-color: #555;
  color: #fff;
}

/* Sets background color, padding, and top margin for footer content.*/
.footer-content {
  background-color: #f0f0f0;
  padding: 10px;
  margin-top: 23px;
  text-align: center;
}

/* Styles social media icons within the footer. */
.social-links img {
  width: 20px;
  height: 20px;
  margin: 0 5px;
}

/* Organizes footer content with flexbox, justifying space evenly and aligning items to the start. */
.footer-container {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  max-width: 100%;
  background-color: #f0f0f0;

}

/* Adds a bottom margin to footer sections. */
.footer-section {
  margin-bottom: 20px;
}

/* Styles headings within footer sections with font size and bottom margin.*/
.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Styles footer section links with color and text-decoration. */
.footer-section a {
  color: black;
  text-decoration: none;

}

/* Defines hover effects for footer section links and paragraphs. */
.footer-section a:hover,
.footer-section p:hover {
  color: brown;
}