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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #25348b;
  background-image: url("asset/custom/tableFav.jpg");

  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ====== HEADER ====== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #25348b;
}

/* logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px; 
}

.logo img {
  max-height: 50px;
  width: auto; 
  display: block;
  border-radius: 10px;
}

.logo h1 {
  font-size: 2rem;
  color: white;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0%;
}

.logo h3 {
  font-size: 1rem;
  color: white;
  margin-top: 0px;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo img {
  height: 100px;
}

/* hambuger */
#menu-toggle {
  display: none;
}

.hamburger {
  display: none; 
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 25px;
  margin: 4px 0;
  background: white;
  border-radius: 2px;
  transition: background 0.3s;
}

.hamburger span:nth-child(2) {
  width: 18px;
  align-self: flex-end;
}

.hamburger:hover span {
  background: #8893c7;
}

.hamburger .close {
  display: none;
  font-size: 2rem;
  color: white;
  line-height: 1;
  padding: 0 10px;
  background-color: #8893c7;
  border-radius: 5px;
}

.hamburger:hover .close {
  background: rgb(53, 41, 97);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #ebecf1;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #8893c7;
}

/* ====== HERO SECTION ====== */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: rgb(225, 227, 240, 0.7);
}

.hero {
  /* ===== CENTRE HERO SECTION =====*/
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding-top: 10px;
}

.hero h1 {
  font-size: 2rem;
  color: #25348b;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-btn {
  background: #25348b;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.hero-btn:hover {
  background: #434e88;
}

ul {
  list-style-position: outside;
  text-align: left;
  padding-left: 1.5rem;
  display: table;
  margin: 0 auto;
}

/* ====== SERVICE SECTIONS ====== */

main h2 {
  font-weight: 1000;
}

.service-section {
  text-align: center;
  padding: 4rem 1rem;
}

.service-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #25348b;
}

/* carousel */
.carousel {
  width: 100%;
  max-width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center; 
  justify-content: center; 
  background: #fff;
}

.slides {
  display: flex;
  width: 200%;
  animation: slide 30s infinite;
  align-items: center; 
}

.slides img {
  width: 100%;
  height: 100%; 
  object-fit: contain;
  background: #fff;
  object-position: center; 
  flex-shrink: 0;
  border-radius: 12px;
}

/* Ensure carousel or card images don’t overflow */
.catalogue-item img,
.carousel img {
  width: 100%;

  height: 250px;

  object-fit: cover; 
  border-radius: 12px;
}

@keyframes slide {
  0% {
    transform: translateX(0%);
  }
  33% {
    transform: translateX(-100%);
  }
  66% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* Cards */
.catalogue-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.catalogue-item {
  flex: 1 1 280px;
  max-width: 350px;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.catalogue-item:hover {
  transform: translateY(-5px);
}

.catalogue-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* ====== CONTACT SECTION ====== */
#contact {
  font-weight: 900;
}

.contact-methods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.contact-button {
  background: #25348b;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.contact-button:hover {
  background: #434e88;
}

.contact-info {
  margin-top: 1.5rem;
}

.contact-info a {
  color: #25348b;
  text-decoration: none;
  font-weight: 800;
}

.social-media {
  margin-top: 1rem;
}

.social-media a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #25348b;
  font-weight: 500;
  transition: color 0.3s;
}

.social-media a:hover {
  color: #8893c7;
}

.social-media img {
  height: 30px;
  width: 30px;
}

/* ====== FOOTER ====== */
footer {
  text-align: center;
  padding: 1rem;
  background: #25348b;
  color: #fff;
  font-size: 0.9rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  /* hamburger */
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #25348b;
    position: absolute;
    top: 100%;
    left: 0%;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    gap: 1rem;
    text-align: center;
  }

  .logo img {
    max-height: 40px; 
    width: auto; 
    display: block;
  }
  .logo h1 {
    font-size: 1.5rem;
    font-size: 1.3rem;
    margin-bottom: 0%;
  }

  .hero h1 {
    margin-bottom: 0;
    border: 0;
    padding-bottom: 0;
  }
  .hero h3 {
    font-size: 17px;
  }

  .hero p {
    font-size: 15px;
  }

  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }
  #menu-toggle:checked ~ .hamburger .open {
    display: none;
  }

  #menu-toggle:checked ~ .hamburger .close {
    display: inline;
  }

  .service-section h2 {
    font-size: 1.6rem;
  }

  .catalogue-items {
    flex-direction: column;
    align-items: center;
  }

  .catalogue-item {
    width: 100%;
    max-width: 90%;
  }

  ul {
    padding-left: 1rem; 
    font-size: 0.95rem; 
  }
}

.for-sale-corner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgb(37, 52, 139, 0.7);
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  z-index: 1000;
  transition: transform 0.3s ease, background 0.3s ease;
}

.for-sale-corner:hover {
  transform: translateY(-3px);
  background: rgb(29, 44, 122);
}

.for-sale-corner p{
  font-size: 10px;
}

.for-sale-corner span {
  display: block;
  margin-bottom: 8px;
  line-height: 1.3;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.contact-links a img {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-links a:hover img {
  transform: scale(1.2);
  filter: invert(84%) sepia(51%) saturate(534%) hue-rotate(358deg)
    brightness(102%) contrast(97%);
}
