/* General Styles */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  color: #171515;
  background-color: #fffaf5;
  line-height: 1.8;
   padding-top: 50px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #000000;
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}
  
.hero {
  height: 125vh;              /* Full screen height */
  width: 100%;
  background: url('assets/images/hero.jpg') no-repeat center center;
  background-size: cover;     /* Prevent zoom distortion */
  display: flex;
  align-items: center;
  justify-content: center;
}




.hero h1 {
  font-size: 4rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.4rem;
  font-style: italic;
}

section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
}

/* Image and Text Section */
.image-text {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.image-text img {
  width: 100%; /* Adjusted to be responsive */
  height: 500px; /* Maintain aspect ratio */
  max-width: 15000px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Service Section */
.service-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-item {
  width: 40%; /* Adjust the width based on how many items you want per row */
  perspective: 1000px;
  margin-bottom: 30px;
}

.service-card {
  position: relative;
  width: 100%;
  height: 350px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.service-card.flip {
  transform: rotateY(180deg);
}


/* Front side of the card */
.service-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  padding: 20px;
  box-sizing: border-box;
  background-color: #ffffff97;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.service-front h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #402323;
}

.service-front p {
  font-size: 1em;
  color: #060202;
}

/* Back side of the card */
.service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform: rotateY(180deg);
}

.service-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery Section */
.gallery {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.gallery img {
  width: 350px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}


/* Process Section */
.process {
  position: relative;
  background: url('assets/images/process-bg.jpg') center/cover no-repeat;
  padding: 4rem 10rem;
  color: #2f2f2f;
  text-align: center;
}

.process h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #000000; /* White title over background */
  text-shadow: 1px 1px 3px rgba(252, 248, 248, 0.4);
}

/* Timeline Container */
/* Timeline Container */
.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
  gap: 6rem; /* balanced spacing */
  z-index: 2;
  position: relative;
}



/* Individual Step Box */
.timeline-step {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 2rem;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Icon Styling */
.timeline-step .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Heading in Box */
.timeline-step h3 {
  color: #5c4436;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #a2836e;
  padding-bottom: 0.5rem;
}

/* Description Text */
.timeline-step p {
  font-size: 1rem;
  line-height: 1.6;
  color: #3b2f2f;
}


/* Contact Section */
.contact {
  text-align: center;
}

.contact a {
  color: #2c2c2c;
  text-decoration: none;
  font-weight: bold;
}

/* Social Media Buttons */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp-button img {
  width: 65px;
  height: 65px;
  transition: transform 0.3s ease;
}

.whatsapp-button img:hover {
  transform: scale(1.1);
}

.instagram-button {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 1000;
}

.instagram-button img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

.instagram-button img:hover {
  transform: scale(1.1);
}

/* Scroll Behavior */
html {
  scroll-behavior: smooth;
}



/* Responsive Styles */
@media (max-width: 768px) {
  .service-item {
    width: 48%;
  }

  .service-list {
    gap: 20px;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .service-item {
    width: 100%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
}
.scroll-gallery {
  width: 100%;
  overflow: hidden; /* Hides the scroll bar */
  background: #e9e7e7;
  padding: 1px 0;
  position: relative;
}

/* Force scrollbar to be invisible in all browsers */
.scroll-gallery::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.scroll-gallery {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.scroll-track {
  display: flex;
  gap: 2px;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}

.scroll-track img {
  height: 850px;
  flex-shrink: 0; /* Prevent images from shrinking */
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.scroll-track img:hover {
  transform: scale(1.5);
  z-index: 5;
}

.scroll-track.paused {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.estimate {
  background-color: #f4f4f4;
  padding: 7rem 10rem;
  text-align: center;
}

.estimate h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.estimate p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.estimate-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.estimate-form input, .estimate-form button {
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.estimate-form button {
  background-color: #351414a7;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.estimate-form button:hover {
  background-color: #553027;
}
.contact {
  background: linear-gradient(to right, #fdfcfb, #e2d1c3);
  padding: 5rem 10rem;
  text-align: center;
}

.contact-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c3e50;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #9c786c;
}

.contact-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 1rem;
  color: #333;
}

.contact-card a {
  color: #9c786c;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .contact-container {
    flex-direction: row;
    justify-content: center;
  }

  .contact-card {
    flex: 1;
    margin: 0 1rem;
  }
}
.site-footer {
  background-color: #6c6e6f;
  color: #f8f8f8;
  text-align: center;
  padding: 2rem 1rem;
  font-family: 'Open Sans', sans-serif;
  border-top: 5px solid #9c786c;
}

.site-footer .footer-content p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

.site-footer strong {
  color: #f1d3bc;
}
/* About Section with Background Image */
.about {
  position: relative;
  background: url('assets/images/about.png') center/cover no-repeat;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.about::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(244, 238, 233, 0.85); /* light overlay for contrast */
  z-index: 1;
}

/* Overlay Container */
.about-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  width: 100%;
}

/* Box Styling */
/* About Section with Full Background Image */
.about {
  position: relative;
  background: url('assets/images/about1.jpg') center/cover no-repeat;
  padding: 2rem 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #121212; /* Dark brown text color */
}

.about::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0%;
  height: 50%;
  background-color: rgba(241, 234, 227, 0.4); /* light beige overlay */
  z-index: 1;
}

/* Flexbox Container for Boxes */
.about-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1rem;
  max-width: 1200px;
  width: 80%;
  justify-content: space-between; /* Ensures space between boxes */
  flex-wrap: wrap; /* Allows wrapping when needed */
}

/* Individual Glass Boxes */
.about-box {
  background: #d0cfcf80;
  backdrop-filter: blur(2px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 280px;
  flex-basis: 45%; /* Ensures boxes take up 45% of the container width */
  box-sizing: border-box; /* Ensures padding is included in the width */
}

.about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.about-box h2 {
  color: #422b1d;
  border-bottom: 2px solid #a2836e;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.about-box p {
  color: #1b1717;
  font-size: 1rem;
  line-height: 1.6;
}
body {
  margin: 0;
  padding: 0;
}

.services {
  width: 100%;
  margin-top: 0;
  padding-top: 0;
}
.service-segment {
  padding: 3rem 15rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  color: #050303; /* Optional for better contrast */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-65vw + 50%);
  
}
body {
  overflow-x: hidden;
}
/* Optional overlay for contrast */
.service-segment::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3); /* dark overlay */
  z-index: -1;
}

/* Background Images */
.service-segment.residential {
  background-image: url('assets/images/bg-residential.jpg');
  
  
}

.service-segment.corporate {
  background-image: url('assets/images/bg-corporate.jpg');
}

.service-segment.renovation {
  background-image: url('assets/images/bg-renovation.jpg');
}
.reference {
  position: relative;
  background: url('assets/images/reference-background.jpg') no-repeat center center;
  background-size: cover;
  padding: 8rem 10rem;
  overflow: hidden;
}
section {
  margin: 0;
  padding: 0;
}

.reference h2 {
  text-align: center;
  color: #431717; /* or any color that contrasts well */
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.scroll-gallery {
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.1rem ;
}

.scroll-track {
  display: flex;
  gap: 1rem;
}

.scroll-track img {
  height: 300px;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.scroll-track img:hover {
  transform: scale(1.06);
}
/* Your original CSS remains unchanged above... */
/* Enhanced Mobile Responsiveness */
/* Base Navbar Styles */
.navbar {
  width: 100%;
  background-color: #fffbfb;
  padding: 0.1rem 1rem;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;
}


.menu-toggle {
  font-size: 2rem;
  cursor: pointer;
  display: none; /* hidden on desktop */
}

/* Nav Links Hidden by Default on Mobile */
.nav-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #351414;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    display: none;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 0.5rem 0;
  }

  .nav-links li a {
    padding: 1rem;
  }

  /* Hero Section */
  .hero {
    height: 60vh; /* Adjusted for better screen coverage */
    padding: 1rem;
    background-size: cover;
    background-position: center;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .hero p {
    font-size: 1rem;
    font-style: italic;
  }

  /* About Section */
  .about {
    padding: 3rem 1rem;
  }

  .about h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  .timeline h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    margin-left: -25vw;
  } 


  .about-overlay,
  .contact-container,
  .timeline,
  .service-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  .about-box,
  .contact-card,
  .timeline-step,
  .service-item {
    width: 100%;
    flex-basis: 100%;
  }

  /* Scroll Gallery Adjustments */
  .scroll-gallery {
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.1rem;
    margin-bottom: 2rem;
  }

  .scroll-track img {
    height: 180px;
    width: auto;
    margin: 0 5px;
  }

  /* Estimate Form */
  /* Estimate Section */
.estimate {
  width: 100vw;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

/* Form container */
.estimate-form {
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Important! */
}

/* Inputs, selects, buttons */
.estimate-form input,
.estimate-form textarea,
.estimate-form select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Radio buttons may need wrapping */
.estimate-form .contact-method {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* Button */
.estimate-form button {
  width: 100%;
  max-width: none;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: #5e3c3c;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}


  /* Contact Section Adjustments */
  .contact-heading {
    font-size: 2rem;
  }

  .contact-card {
    padding: 2rem;
  }

  /* Footer Adjustments */
  .site-footer {
    padding: 1rem;
    font-size: 0.85rem;
  }

  /* Social Media Buttons Adjustments */
  .instagram-button img,
  .whatsapp-button img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
  }

  .instagram-button img:hover,
  .whatsapp-button img:hover {
    transform: scale(1.1);
  }

  /* Reference Section */
  .reference {
    padding: 2rem 1rem !important;
  }

  /* Service Segment Section */
  .service-segment {
    padding: 3rem 1.5rem;
    margin: 1rem 0; /* Added margin for spacing */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #050303;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center; /* Centered text */
  }

  .service-segment.residential {
    background-image: url('assets/images/bg-residential.jpg');
  }

  .service-segment.corporate {
    background-image: url('assets/images/bg-corporate.jpg');
  }

  .service-segment.renovation {
    background-image: url('assets/images/bg-renovation.jpg');
  }
}

/* Additional adjustments for very small screens */
@media (max-width: 600px) {
  /* Hero Section */
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  /* Estimate Section */
  .estimate h2 {
    font-size: 2rem;
  }

  .estimate p {
    font-size: 1rem;
  }

  .contact-heading {
    font-size: 1.8rem;
  }

  .site-footer {
    font-size: 0.75rem;
  }
@media (max-width: 768px) {
 .timeline  {
  padding: 1.5rem 0.75rem;
}


  .timeline {
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding: 0;
  }

.timeline-step,
.process-card {
  width: 200px; /* Full viewport width */
  max-width: none; /* Override any limits */
  margin-left: -25vw; /* Shift left to center the card with padding */
  padding: 1.5rem 2rem;
  border-radius: 16px;
  background-color: #e1dfdf;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}


  .process-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
  }

  .process-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
  }
}
.contact-card {
  width: 225px; /* Same as .process-card */
  max-width: none;
  margin-left: -25vw;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  background-color: #e7e5e5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}





}
@media (min-width: 769px) and (max-width: 1024px) {
  /* Hero Section */
  .hero {
    height: 70vh;
    padding: 2rem;
    text-align: center;
    background-size: cover;
    background-position: center;
  }

  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.25rem;
    font-style: italic;
  }

  /* About Section */
  .about {
    padding: 4rem 2rem;
  }

  .about h1 {
    font-size: 3rem;
  }

  .about-box {
    max-width: 90%;
    margin: 0 auto;
  }

  /* Estimate Section */
  .estimate,
  .estimate-form {
    width: 90vw;
    margin: 0 auto;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background-color: #f9f9f9;
  }

  .estimate-form input,
  .estimate-form textarea,
  .estimate-form select,
  .estimate-form button {
    font-size: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
  }

  /* Contact Section */
  .contact-container {
    padding: 3rem 2rem;
    width: 100vw;
  }

  .contact-card {
    width: 100vw;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 15px;
    background-color: #f7f7f7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }

  /* Timeline / Process Section */
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding: 2rem 1rem;
  }

  .timeline-step,
  .process-card {
    width: 90%;
    max-width: 700px;
    padding: 2rem;
    border-radius: 16px;
    background-color: #eaeaea;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  }

  .process-card h3 {
    font-size: 0rem;
  }

  .process-card p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  /* Scroll Gallery */
  .scroll-gallery {
    overflow-x: auto;
    white-space: nowrap;
    padding: 1rem;
  }

  .scroll-track img {
    height: 220px;
    margin: 0 10px;
  }

  /* Service Segment */
  .service-segment {
    padding: 3rem;
    margin: 1.5rem 0;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    color: #222;
    text-align: center;
  }

  /* Footer */
  .site-footer {
    padding: 2rem;
    font-size: 1rem;
  }

  /* Floating Buttons */
  .instagram-button img,
  .whatsapp-button img {
    width: 55px;
    height: 55px;
  }
}