* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #BEDEF3;
  text-align: center;
}

/* === Preloader === */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #BEDEF3;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#preloader img {
  width: 300px;
  height: auto;
}

/* === Slider === */
.slider-container {
  width: 100%;
  height: 40vh;
  overflow: hidden;
  position: relative;
}

/* Hide mobile video by default */
#video-mobile {
  display: none;
}


.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  animation: slide 40s infinite;
}

.slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}

@keyframes slide {
  0%   { transform: translateX(0%); }
  25%  { transform: translateX(-100%); }
  50%  { transform: translateX(-200%); }
  75%  { transform: translateX(-300%); }
  100% { transform: translateX(0%); }
}

/* === Logo === */
.logo {
  margin-top: 20px;
  margin-bottom: 0;
}

.logo img {
  max-width: 200px;
  width: 35%;
  height: auto;
}

/* === Tagline === */
.tagline {
  font-size: 90px;
  color: #4A2D17;
  margin: 5px 0;
  padding: 0 5px;
  font-weight: 800;
}

  #text{
    color: #4A2D17;
    font-size: 34px;
    font-weight: bold;
    line-height: 40px;
    text-decoration: none;
    text-align: center;
    text-decoration-line: none;
    margin-top: 0;
  }

/* === Catalogue Button === */

.catalogue-container {
  width: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  padding-top: 70px;
  gap: 20px;
}

/* Add to your home.css or update the existing */
.contact-trigger {
  width: 200px;
  height: 53px;
  background-image: url('/imgs/us.webp'); /* Put your image */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  cursor: pointer;
}

.catalogue-button {
  background-image: url(/imgs/catalogue-button.png);
  background-size: cover;
  background-position: center;
  height: 83px;
  width: 360px;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 100%;
  padding-top: 20px;
}

.call-button {
  background-image: url(/imgs/phone-button.png);
  background-position: center;
  background-size: cover;
  width: 70px;
  height: 70px;
}

.what-button {
  background-image: url(/imgs/what-button.png);
  background-position: center;
  background-size: cover;
  width: 70px;
  height: 70px;
}

.address-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 100%;
  padding-top: 30px;
}

.address-button1 {
  background-image: url(/imgs/address-button.webp);
  background-position: center;
  background-size: cover;
  width: 90px;
  height: 100px;
}

.address-button2 {
  background-image: url(/imgs/address-button.webp);
  background-position: center;
  background-size: cover;
  width: 70px;
  height: 80px;
}


/* === Social Media Container === */
.social-container {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.google-review-button {
  width: 140px;
  height: 140px;
  background-image: url('/imgs/review.webp'); /* Put your image */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  cursor: pointer;
}

.instagram-button {
  background-image: url(/imgs/instagram.webp);
  background-position: center;
  background-size: cover;
  width: 100px;
  height: 100px;
  transition: transform 0.3s ease;
}

.instagram-button:hover {
  transform: scale(1.1);
}

.facebook-button {
  background-image: url(/imgs/facebook.webp);
  background-position: center;
  background-size: cover;
  width: 100px;
  height: 100px;
  transition: transform 0.3s ease;
}

.facebook-button:hover {
  transform: scale(1.1);
}

/* Add hover effects to existing buttons */
.call-button,
.what-button {
  transition: transform 0.3s ease;
}

.call-button:hover,
.what-button:hover {
  transform: scale(1.1);
}

.address-button1 {
  transition: transform 0.3s ease;
}

.address-button1:hover {
  transform: scale(1.1);
}

.contact-trigger{
  transition: transform 0.3s ease;
}

.contact-trigger:hover {
  transform: scale(1.1);
}

.google-review-button{
  transition: transform 0.3s ease;
}

.google-review-button:hover {
  transform: scale(1.1);
}

/* === Updated Responsive Styles === */
@media (max-width: 480px) {
  .social-container {
    gap: 30px;
  }

  .instagram-button,
  .facebook-button {
    width: 80px;
    height: 80px;
  }
}

/* === Responsive === */
@media (max-width: 768px) {
  .slider-container {
    height: 30vh;
  }

  #video-pc {
    display: none;
  }

  #video-mobile {
    display: block;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .address {
    font-size: 0.9rem;
  }

  .catalogue-button {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .buttons a {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  
}

@media (max-width: 480px) {
  .logo img {
    width: 80%;
  }

  .slider-container {
    height: 25vh;
  }

  .tagline {
    font-size: 0.95rem;
  }

  .catalogue-container {
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    padding-top: 50px;
  }



  .catalogue-button {
    background-image: url(/imgs/catalogue-button.png);
    background-size: cover;
    background-position: center;
    height: 70px;
    width: 300px;
  }
}
