/* styles.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}
body,
html {
  height: 100%;
  margin: 0;
}

.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero-image {
  width: 100%;
  height: auto;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.hero-text h1 {
  font-size: 3em;
}

.hero-text p {
  font-size: 1.5em;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #ebeced;
  color: #4c586f;
}

.logo {
  font-size: 1.5em;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex: 1;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: #4c586f;
  text-decoration: none;
  font-size: 1em;
}

.social-icons {
  list-style: none;
  display: flex;
}

.social-icons li {
  margin: 0 10px;
}

.social-icons a {
  color: #4c586f;
  font-size: 1.5em;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 21px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Responsive */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #333;
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .social-icons {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 160px; /* Adjust as needed */
    left: 0;
    background-color: #333;
  }

  .social-icons li {
    text-align: center;
    margin: 10px 0;
  }

  .burger {
    display: flex;
  }

  .dropdown {
    display: none;
    width: 100%;
    background-color: #333;
  }

  .dropdown-content {
    display: flex;
    flex-direction: column;
  }
}

.nav-active {
  display: flex !important;
}
/* second section */
.grid-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px; /* Adjust gap between grid items as needed */
  padding: 20px;
}

.text-part {
  grid-column: 1 / 2;
  padding: 20px;
  background-color: #f4f4f4;
}

.image-part {
  grid-column: span 1;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e0e0e0; /* Background color for image containers */
  height: 200px; /* Fixed height for image parts */
  overflow: hidden; /* Ensure overflow is hidden */
}

.image-part img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure image covers the container while maintaining aspect ratio */
  display: block;
}

/* Responsive Styles for Grid Section */

@media (max-width: 768px) {
  .grid-section {
    grid-template-columns: 1fr;
  }

  .text-part {
    grid-column: 1 / -1;
  }
}
/* about us */

.about-us {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: #f4f4f4; /* Background color for the section */
}

.about-image {
  flex: 1;
  padding: 10px;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Optional: Rounded corners for the image */
}

.about-text {
  flex: 1;
  padding: 20px;
}

.about-text h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.about-text p {
  font-size: 1.2em;
  line-height: 1.6;
}

/* Responsive Styles for About Us Section */

@media (max-width: 768px) {
  .about-us {
    flex-direction: column;
  }

  .about-image,
  .about-text {
    padding: 10px;
  }
}
/* latets */
.latest-listings {
  padding: 20px;
  background-color: #f4f4f4; /* Background color for the section */
  text-align: center; /* Center the heading */
}

.latest-listings h2 {
  margin-bottom: 20px;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-content: center; /* Center the grid items */
}

.listing-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 10px;
}

.listing-item img {
  width: 100%;
  height: auto;
  display: block;
}

.listing-item h3 {
  font-size: 1.2em;
  margin: 10px 0;
}

.listing-item p {
  font-size: 1em;
  color: #333;
}

/* Responsive Styles for Latest Listings */

@media (max-width: 768px) {
  .listings-grid {
    grid-template-columns: 1fr;
  }
}
/* instagram */

.instagram-feed {
  padding: 20px;
  background-color: #f4f4f4; /* Background color for the section */
  text-align: center; /* Center the heading */
}

.instagram-feed h2 {
  margin-bottom: 20px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px; /* Adjust the gap between images */
  justify-content: center; /* Center the grid items */
}

.instagram-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.instagram-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensures images cover the container */
}

.instagram-link {
  margin-top: 20px;
}

.instagram-link a {
  display: inline-block;
  padding: 10px 20px; /* Adjust padding to make the button wider */
  background-color: #000; /* Black background color */
  color: #fff; /* White text color */
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effects */
}

.instagram-link a:hover {
  background-color: #333; /* Darker black on hover */
  color: #f4f4f4; /* Light text color on hover */
}

/* Responsive Styles for Instagram Feed */

@media (max-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
/* Footer Styles */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 1rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
  color: #adb5bd;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #adb5bd;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #adb5bd;
  font-size: 0.9rem;
}
/* shop */
/* Bootstrap Utilities */

/* Container Padding */
.container {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container.px-4 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container.px-lg-5 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.container.mt-5 {
  margin-top: 3rem;
}

/* Text Center */
.text-center {
  text-align: center;
}

/* Text Color */
.text-white {
  color: #fff;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5);
}

/* Background Colors */
.bg-dark {
  background-color: #343a40;
}

.bg-transparent {
  background-color: transparent;
}

/* Font Weight */
.fw-bolder {
  font-weight: bolder;
}

/* Heading Sizes */
.display-4 {
  font-size: 3.5rem;
  line-height: 1.2;
}

.fw-normal {
  font-weight: normal;
}

/* Margins and Paddings */
.my-5 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.mb-0 {
  margin-bottom: 0;
}

.pt-0 {
  padding-top: 0;
}

/* Card */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(0.375rem - 1px);
  border-top-right-radius: calc(0.375rem - 1px);
}

.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

/* Button */
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-outline-dark {
  color: #343a40;
  border-color: #343a40;
}

.btn-outline-dark:hover {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}

/* Flex Utilities */
.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.mt-auto {
  margin-top: auto;
}

/* Responsive Grid */
.row-cols-2 {
  --bs-cols: 2;
}

.row-cols-md-3 {
  --bs-cols: 3;
}

.row-cols-xl-4 {
  --bs-cols: 4;
}

.gx-4 {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

.gx-lg-5 {
  margin-left: -3rem;
  margin-right: -3rem;
}
