/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #f9f9f9;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header */
.header {
  background: #0d1b2a;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgb(255, 255, 255);
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #171849; /* or match your new navbar color */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.logo img,
.logo-img {
  height: 70px; /* Adjust as needed */
  display: block;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  /*background-color: #2a9d8f;*/
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.navbar ul {
  display: flex;
  gap: 1.5rem;
}

.navbar a {
  display: inline-block;
  padding: 0.5rem;
  color: rgb(213, 221, 140);
  font-weight: 500;
  transition: transform 0.2s ease, color 0.2s ease;
}

.navbar a:hover {
  transform: scale(1.1);
  color: rgb(220, 221, 230);
  text-shadow: 0 0 5px rgb(144, 194, 104);
}


/* Hero Section */
.hero {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  background: #e9f5f4;
  overflow: hidden;
  min-height: 400px;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.5rem;
}


.hero > div:first-child {
  flex: 1 1 300px;
  z-index: 2;
}

.hero h1,
.hero p,
.hero a {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-bottom: 1rem;
}

.hero-img-wrapper {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.hero-image {
  width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}


.btn {
  background: #2a9d8f;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  margin: 0.5rem;
  display: inline-block;
  transition: background 0.3s;
}

.btn:hover {
  background: #21867a;
}

.btn.secondary {
  background: #f4a261;
}

.btn.secondary:hover {
  background: #e07b39;
}

/* Services Section */
.services {
  padding: 2rem;
  background: white;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service i {
  font-size: 2rem;
  color: #2a9d8f;
  margin-bottom: 0.5rem;
}

/* About Preview */
.about-preview {
  background: #fef6e4;
  padding: 2rem;
  text-align: center;
}

/* Product Categories */
.product-preview {
  padding: 2rem;
  background: #ffffff;
  text-align: center;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.category {
  background: #e0f7f5;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
}

/* Delivery Banner */
.delivery-banner {
  background: #2a9d8f;
  color: white;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
}

/* Contact CTA */
.contact-cta {
  text-align: center;
  padding: 2rem;
  background: #e6f5f3;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  background: #264653;
  color: white;
  font-size: 0.9rem;
}


/* About Page */
.about-page {
  padding: 2rem;
  background: #ffffff;
}

.about-page .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fefefe;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.about-page h1 {
  font-size: 2.5rem;
  color: #2a9d8f;
  margin-bottom: 1rem;
}

.about-page h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: #264653;
}

.about-page p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-page ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}


/* Products Page */
.products-page {
padding: 2rem;
background: #ffffff;
}


.products-page .container {
max-width: 1100px;
margin: 0 auto;
padding: 2rem;
}


.products-page h1 {
font-size: 2.5rem;
color: #2a9d8f;
text-align: center;
margin-bottom: 2rem;
}


.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}


.product-card {
background: #f2fdfc;
padding: 1.5rem;
text-align: center;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
}


.product-card:hover {
transform: translateY(-5px);
}


.product-card i {
font-size: 2.5rem;
color: #2a9d8f;
margin-bottom: 1rem;
}


.product-card h3 {
font-size: 1.25rem;
color: #264653;
margin-bottom: 0.5rem;
}


.product-card p {
font-size: 0.95rem;
color: #555;
}

.product-list {
  margin: 1rem 0;
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  border-left: 4px solid #2a9d8f;
  border-radius: 0 8px 8px 8px;
  transition: all 0.3s ease;
}

.product-list ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.product-list li {
  margin: 0.5rem 0;
  color: #444;
}


/* Contact Page */

.contact-page .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}


.contact-page p {
text-align: center;
margin-bottom: 2rem;
font-size: 1rem;
color: #555;
}


.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

/* Container left edge */
.contact-info{
  display: flex;
  flex-direction: column;
  align-items: flex-start;  /* key line */
  text-align: left;
}

.contact-form {
  flex: 1 1 300px;
  background: #e0f7f5;
  padding: 1.5rem;
  border-radius: 8px;
  box-sizing: border-box;
}



.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}


.contact-info h2 {
color: #264653;
margin-bottom: 1rem;
}


.contact-info p{
  margin: 0 0 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;               /* make each line full width */
  /* optional: keep line length pleasant */
  /* max-width: 48rem; */
}

.contact-info p i{
  line-height: 1;
  margin-top: .2rem;
  flex: 0 0 auto;
}

.contact-grid .contact-info p { text-align:left; }




.contact-info a {
color: #2a9d8f;
text-decoration: underline;
}



.contact-form h2 {
color: #264653;
margin-bottom: 1rem;
}


.contact-form form {
display: flex;
flex-direction: column;
gap: 1rem;
}



.contact-form button {
  background: #2a9d8f;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #21867a;
}


/* Delivery Page */
.delivery-page {
padding: 2rem;
background: #ffffff;
}


.delivery-page .container {
max-width: 1000px;
margin: 0 auto;
padding: 2rem;
}


.delivery-page h1 {
font-size: 2.5rem;
color: #2a9d8f;
text-align: center;
margin-bottom: 1.5rem;
}


.delivery-page p {
text-align: center;
font-size: 1rem;
color: #555;
margin-bottom: 2rem;
}


.delivery-details h2 {
font-size: 1.5rem;
color: #264653;
margin-top: 2rem;
margin-bottom: 1rem;
}


.delivery-details ul {
padding-left: 1.5rem;
margin-bottom: 2rem;
}


.delivery-details ul li {
list-style-type: disc;
margin-bottom: 0.5rem;
line-height: 1.6;
color: #333;
}

/* Footer */
.footer {
text-align: center;
padding: 1.5rem;
background: #264653;
color: white;
font-size: 0.9rem;
}



@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero > div:first-child,
  .hero-img-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .hero-image {
    width: 80%;
    max-width: 300px;
  }
}


@media (max-width: 768px) {
  .about-page {
    padding: 1rem;
  }

  .about-page .container {
    padding: 1.5rem;
  }

  .about-page h1 {
    font-size: 2rem;
  }

  .about-page h2 {
    font-size: 1.25rem;
  }

  .about-page ul {
    padding-left: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }
}

/* Mobile Layout */
@media (max-width: 768px) {
  .nav-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #3f66ad;
    padding: 0; /* initial padding = 0 */
    z-index: 1000;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  }

  .nav-menu.show {
    max-height: 500px; /* or large enough for all menu items */
    opacity: 1;
    padding: 1rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu li {
    margin: 1rem 0;
    text-align: center;
  }

  .nav-menu {
    /* existing styles... */
    border-radius: 12px; /* 👈 soften the corners */
    margin: 0.5rem;       /* 👈 creates space around for the rounding to show */
  }
}




/*      DOG Product Page  */
/* Dog Products Page */
.category-products {
  padding: 2rem;
  background-color: #ffffff;
}

.category-products .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 10px;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-products h1 {
  color: #2a9d8f;
  text-align: center;
  margin-bottom: 1.5rem;
}

#searchInput {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* Turn the list into a responsive grid of cards */
#productList {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 0;
}

#productList li {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}

#productList li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.08);
}

/* Image box */
.product-thumb {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  background: #f6f7f8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title + price */
.product-title {
  font-size: 0.98rem;
  margin: 6px 0 4px;
  color: #222;
}
.product-price {
  font-weight: 700;
  color: #0f8730;
  font-size: 0.95rem;
}


@media (max-width: 768px) {
  .category-products .container {
    padding: 1.5rem;
  }

  #searchInput {
    font-size: 1rem;
  }
}
