/* RESET & BASE */
:root {
  --primary-color: #a67c52;
  --accent-color: #dbc8a0;
  --dark-color: #2e2b29;
  --text-color: #2b2a28;
  --bg-light: #f8f6f1;
  --spacing-sm: 0.75rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: var(--bg-light);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 0.2px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.container h2{
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
}

.section-title {
  font-family:  "DM Serif Text", serif;
  font-size: 2.25rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--text-color);
}

/* NAVBAR */
.navbar {
  background: rgba(17, 17, 17, 0.9);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
  height: 55px;
  backdrop-filter: blur(15px);
}

.nav-container {
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #fff;
  margin: 0 var(--spacing-sm);
  font-weight: 500;
  padding: var(--spacing-sm) 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent-color);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Desktop styles */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'DM Serif Text', serif;
  letter-spacing: 1px;
  color: var(--accent-color);
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: 6px; /* Optional */
}

/* Mobile styles */
@media (max-width: 768px) {
  .logo {
    font-size: 1rem;
    gap: 0.4rem;
  }

  .logo img {
    height: 28px;
  }
}


.menu-icon {
  display: none;
  font-size: 1.2rem;
  left: 10px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1002;
  transition: transform 0.3s ease;
}

.menu-icon.active {
  transform: rotate(90deg);
}

/* MOBILE FLOATING DROPDOWN MENU */
.mobile-nav-card {
  position: absolute;
  top: 130%;
  right: 1rem;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.274);
  padding: 1rem 1.5rem;
  display: none;
  flex-direction: column;
  width: 150px;
  z-index: 1001;
  animation: fadeInUp 0.3s ease;
}
.mobile-nav-card a {
  padding: 0.75rem 0;
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.3s;
}
.mobile-nav-card a:hover {
  background: #f3f3f3;
  color: var(--primary-color);
}
.mobile-nav-card.active {
  display: flex;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blobMove {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-20px, 20px) scale(1.2);
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }
}


/* HERO */
.hero {
  position: relative;
  background: url('../assets/hero.jpg') center/cover no-repeat;
  color: var(--dark-color);
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  overflow: hidden;
}


.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(81, 184, 77, 0.226);
  backdrop-filter: blur(6px);
  z-index: 1;
}


.hero .container {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease both;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease both;
  animation-delay: 0.1s;
}
.btn {
  background: var(--accent-color);
  color: var(--dark-color);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s, transform 0.3s;
}


.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
}

.hero-carousel {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-blob {
  display: none;
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: #ffffff;
  opacity: 0.4;
  filter: blur(40px);
  animation: blobMove 8s ease-in-out infinite alternate;
  z-index: 0;
}
.hero-wave {
  display: none;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  fill: #fff;
  z-index: 1;
}
.hero-top-wave {
  display: none;
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  fill: #fff;
  z-index: 1;
}

/* Divider between hero and experience sections */
.custom-shape-divider-bottom-1751090085 {
  display: none;
}
.hero-carousel .slides {
  filter: blur(3px);
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
.hero-carousel img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite;
}

.hero .btn {
  margin: 0 var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(221, 235, 28, 0.651);
  background:  #f3f3f3;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
  animation: fadeInUp 0.6s ease both;
  animation-delay: 0.2s;
}

.hero .btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.hero .btn:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}


/* CAROUSEL */
.carousel-section {
  position: relative;
  padding: var(--spacing-lg) 0;
  background: #fff;
  overflow: hidden;
  width: 100%;
}
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  fill: #fff;
  z-index: 1;
}
.wave-top {
  top: -1px;
  transform: rotate(180deg);
}
.wave-bottom {
  bottom: -1px;
}
.carousel-section .section-title,
.carousel-section .carousel-subtext {
  text-align: center;
  position: relative;
  z-index: 2;
}
.carousel-subtext {
  margin-top: -1rem;
  margin-bottom: var(--spacing-md);
  color: #555;
}
.carousel-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  position: relative;
  padding-bottom: 2rem;
  z-index: 2;
}
.carousel-container::-webkit-scrollbar {
  display: none;
}
.carousel-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-track {
  display: flex;
  gap: 1.5rem;
  padding: var(--spacing-lg) var(--spacing-md);
  width: max-content;
  scroll-snap-type: none;
}
.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: none;
}
.carousel-item img {
  width: 280px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.carousel-item img.enlarged {
  transform: scale(1.1);
  z-index: 5;
}
.scroll-hint {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
}
.down-arrow {
  display: block;
  font-size: 1.5rem;
  animation: bounce 1s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes popUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* CATEGORIES */
.categories {
  padding: var(--spacing-lg) 0;
  text-align: center;
  background-color: #d3b89f;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.category-card {
  background: #fff;
  border: 2px solid var(--primary-color);
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}
.category-card:hover {
  background: var(--primary-color);
  color: #fff;
}

/* SERVICES */
.services-page {
  padding: var(--spacing-lg) 0;
}
.filter-controls {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.filter-btn {
  background: var(--accent-color);
  border: none;
  color: var(--dark-color);
  padding: 0.5rem 1rem;
  margin: 0 0.25rem 0.5rem;
  border-radius: 20px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.service-group {
  background: #fff;
  padding: var(--spacing-md);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--spacing-lg);
}
.service-group-title {
  font-family: "DM Serif Text", serif;
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}
.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}
.service-card p {
  font-size: 0.95rem;
  color: #666;
}

.service-card .details-toggle {
  margin-top: 0.75rem;
  background: var(--accent-color);
  color: var(--dark-color);
  border: none;
  border-radius: 20px;
  padding: 0.45rem 1rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
  display: inline-block;
}

.service-card .details-toggle:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.service-card.expanded {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* PROJECTS */
.projects-page {
  padding: var(--spacing-lg) 0;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.project-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.project-card:hover {
  transform: scale(1.02);
}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-card p {
  padding: 1rem;
  font-size: 0.95rem;
  color: #444;
}

/* CONTACT */



.contact-page {
  padding: var(--spacing-lg) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
   background-color: #ccc;
  padding: 20px;
  border-radius: 8px;
  border:none;
}

/* SERVICE CATEGORIES */
.service-categories {
  padding: var(--spacing-lg) 0;
  text-align: center;
  background-color: #fff;
}

.categories-card {
  background-color: var(--accent-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 2rem 0;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.clr{
  background-color: #ffffff;
  padding: 7px;
  border: none;
  border-radius: 8px;
}

.wbt{
  text-decoration: none;
  background: var(--accent-color);
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
  display: inline-block;
}

.wbt:hover {
  text-decoration: none;
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.contact-form button {
  background: var(--primary-color);
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
}
.contact-form button:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}
.contact-info {
  font-size: 1rem;
  line-height: 1.6;
}
.contact-info a {
  color: #333;
}
.contact-info a:hover {
  text-decoration: underline;
}
.map iframe {
  width: 100%;
  border-radius: 10px;
  margin-top: 1rem;
}

/* EXPERIENCE BANNER */
.experience-banner {
  background: var(--accent-color);
  padding: var(--spacing-lg) 0;
  text-align: center;
  color: var(--dark-color);
}

.experience-banner h3 {
  font-size: 1.8rem;
  font-weight: 600;
}

/* SERVICE LIST */
.service-list {
  max-width: 600px;
  margin: auto;
  text-align: left;
}
.service-category {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  overflow: hidden;
}
.category-title {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}
.category-title::after {
  content: '+';
  position: absolute;
  right: 1rem;
  transition: transform 0.2s;
}
.category-title.open::after {
  content: '-';
}
.sub-services {
  list-style: none;
  padding: 0 1rem;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  transition: max-height 0.3s ease;
}
.sub-services.open {
  padding-bottom: 1rem;
}
.sub-services li {
  background: var(--bg-light);
  border: none;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
  text-align: center;
}
.sub-services a {
  display: block;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
}
.sub-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}
.sub-card span {
  display: block;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}


/* MILESTONES */
.milestones {
  background: #fff;
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.milestone-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: var(--spacing-md);
}

.milestone-item h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.milestone-item p {
  font-size: 1rem;
}



/* RESPONSIVE CONTENT */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  .hero {
    min-height: 80vh;
    background: none;
    padding: 0 0 var(--spacing-md);
    justify-content: flex-end;
  }
  .hero-carousel {
    display: block;
  }
 .hero-content {
  position: relative;
  z-index: 1;
  margin: var(--spacing-md) auto var(--spacing-lg);
  padding: var(--spacing-md);
  background: rgba(252, 246, 246, 0.603); /* light frosted glass */
  backdrop-filter: blur(16px);
  border-radius: 16px;
  max-width: 80%;
  box-shadow: 0 6px 30px rgba(219, 200, 160, 0.2); /* warm glow */
  color: var(--dark-color);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
  .hero-blob {
    display: block;
  }
  .hero-wave {
    display: block;
  }
  .hero-top-wave {
    display: block;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .experience-banner h3 {
    font-size: 1.4rem;
  }

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

}

/* Desktop view adjustments */
@media (min-width: 769px) {
  .hero {
    min-height: 80vh;
    background: none;
  }

  .hero-carousel {
    display: block;
    height: 80vh;
  }

  .hero-carousel img {
    height: 80vh;
  }


  .custom-shape-divider-bottom-1751090085 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    display: block;
  }

  .custom-shape-divider-bottom-1751090085 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 343px;
    z-index: 2;
  }

  .custom-shape-divider-bottom-1751090085 .shape-fill {
    /* Match the service categories section background */
    fill: var(--bg-light);
  }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  width: 90%;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.sub-item-card {
  text-align: center;
  border: 1px solid var(--accent-color);
  border-radius: 6px;
  padding: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.sub-item-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

.sub-item-card h4 {
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.sub-item-card.highlight {
  outline: 2px solid var(--primary-color);
}

.quote-btn {
  display: none;
  margin-top: 1rem;
  text-align: center;
  background: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
}

.quote-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.quote-btn:active {
  transform: scale(0.95);
}

.quote-btn.animate {
  animation: popUp 0.4s ease;
}

@media (max-width: 600px) {
  .quote-btn {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 1rem 0;
    z-index: 10;
  }
}

/* --- Footer Styles --- */
.site-footer {
  color: var(--text-color);
}
.site-footer .footer-main {
  background: #f5f1e9;
  padding: 1rem 0;
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a:hover {
  text-decoration: underline;
}


.footer-bar {
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.footer-bar .bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer-bar a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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


  .footer-bar .bar-content {
    flex-direction: column;
    gap: 0.25rem;
  }
}

