/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  scroll-behavior: smooth;
}

/* Header and Navbar */
#mainHeader {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
#hero .hero-logo {
  width: 320x;        /* Increase width */
  max-width: 380px;    /* Optional cap */
  margin: 0 auto -20px auto;
  display: block;
  animation: fadeInDown 1s ease-out;
}
@media (max-width: 768px) {
  #hero .hero-logo {
    width: 180px;
  }
}



.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
}

/* Logo Styling */
.site-logo {
  height: 60px; /* Adjust this for bigger logo */
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

/* Navigation Menu */
.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #d29558;
}



.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 60px 0; /* Increased padding for gap between sections */
}

header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #3c3c3c;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #3c3c3c;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #d29558;
}

section {
  margin: 60px 0; /* Added spacing between sections */
}

/* header background image changing and confusing program*/
/*hero {
  background: url('yellow\ \(2\).jpg') no-repeat center center/cover;
  height: 90vh;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 60px;
}

#hero h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease-out;
}

#hero p {
  font-size: 1.2rem;
  animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

section h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 20px;
  text-align: center;
}
*/ /* header background image changing and confusing program*/


#hero {
  background: url('/assets/images/yellow2.jpg') no-repeat center center/cover;
  height: 90vh;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 1px;
  margin-bottom: 60px; /* Added space below hero */
}

#hero h2 {
  font-size: 3rem;
  color: #d1a77c;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease-out;
}

#hero p {
  font-size: 1.2rem;
  animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

section h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 20px;
  text-align: center;
}
#interior-solutions h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 40px;
  justify-items: center;
  text-align: center;
}

.solution-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.solution-item p {
  font-size: 1rem;
  color: #333;
}

#carousel {
  margin: 60px 0;
  overflow: hidden;
}

.carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: 30px;
  animation: scrollLoop 40s linear infinite;
}

.carousel-track img {
  max-height: 200px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.carousel-track img:hover {
  transform: scale(1.05);
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 60px 0;
}

header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #3c3c3c;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #3c3c3c;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #d29558;
}

section {
  margin: 60px 0;
}


#services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  text-align: center;
}

.service {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 20px;
  width: 280px;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
}

#portfolio .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gallery img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
  margin-top: 30px;
}

input, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  padding: 12px;
  background-color: #d29558;
  color: white;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #b5773e;
}

footer {
  background-color: #f0f0f0;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  color: #777;
  margin-top: 60px;
}

/* Looping icon carousel */
#why-choose-us {
  margin: 60px 0;
  text-align: center;
  overflow: hidden;
  background-color: #fff;
  padding: 0px 0;
}

.loop-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: loop-scroll 20s linear infinite;
}

.carousel-group {
  display: flex;
  gap: 60px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.feature {
  flex: 0 0 auto;
  text-align: center;
  width: 120px;
}

.feature img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 8px; /* Square image with slight rounded corners */
}

.feature p {
  font-size: 0.9rem;
  color: #444;
}

@keyframes loop-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.loop-carousel:hover .carousel-track {
  animation-play-state: paused;
}




#services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  text-align: center;
}

.service {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 20px;
  width: 280px;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
}

#portfolio .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gallery img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#reviews {
  background-color: #fff;
  padding: 60px 0;
  text-align: center;
}

.reviews-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  align-items: center;
}

.review-item {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  max-width: 400px;
}

.review-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.review-item h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: #333;
}

.review-item span {
  font-size: 1rem;
  color: #777;
}

.review-item p {
  font-size: 0.95rem;
  color: #555;
}

.stars {
  font-size: 1.2rem;
  color: #f5a623;
}


form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
  margin-top: 30px;
}

input, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  padding: 12px;
  background-color: #d29558;
  color: white;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #b5773e;
}

footer {
  background-color: #f0f0f0;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  color: #777;
  margin-top: 60px;
}

/* Popup Modal */
.popup-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.popup-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.popup-content button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #d29558;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: #b5773e;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: jump 2s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Jumping animation */
@keyframes jump {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.whatsapp-float:hover {
  animation-play-state: paused;
  transform: scale(1.1);
}

-------------------------caption for hovering image our designs

#designs {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}



.design-gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.design-item {
  position: relative;
  width: 350px;
  
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}


.design-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.design-item img {
  width: 100%;
  max-width: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
 

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 12px;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.design-item:hover .caption {
  opacity: 1;
  transform: translateY(0);
}


/* Design section animations */
.design-gallery img {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.design-gallery img.visible {
  opacity: 1;
  transform: translateY(0);
}

.design-gallery img.fade-left {
  transform: translateX(-100px);
  animation: fadeLeft 1.2s ease-out forwards;
}

.design-gallery img.fade-right {
  transform: translateX(100px);
  animation: fadeRight 1.2s ease-out forwards;
}

.design-gallery img.fade-up {
  transform: translateY(100px);
  animation: fadeUp 1.2s ease-out forwards;
}

@keyframes fadeLeft {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}


/* Animate solution item on hover */
.solution-item {
  text-align: center;
  transition: none; /* prevent entire box from animating */
}

.solution-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover effect only on image */
.solution-item img:hover {
  transform: scale(1.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Active (auto-animate) effect */
.solution-item img.active {
  transform: scale(1.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.about-section {
  text-align: center; /* Center text horizontally */
  max-width: 1100px; /* Limit width for better readability */
  margin: 0 auto; /* Center section in the page */
  padding: 20px;
}

.about-section h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.about-section p {
  font-size: 1.1em;
  line-height: 1.6;
}
