/* Mindru – Bau & Montage | Custom Stylesheet */

/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
  --blue:       #106eea;
  --blue-hover: #1a7fff;
  --blue-dark:  #0d58ba;
  --blue-light: #e8f1fd;
  --dark:       #1a1f2c;
  --text:       #444444;
  --muted:      #777777;
  --bg:         #f8f9fa;
  --border:     #e9ecef;
  --shadow-sm:  0 2px 14px rgba(0,0,0,0.06);
  --shadow:     0 6px 32px rgba(0,0,0,0.11);
  --radius:     6px;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  line-height: 1.75;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }

h1,h2,h3,h4,h5,h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
}

#preloader::before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--blue);
  border-top-color: var(--blue-light);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/*--------------------------------------------------------------
# Back to top
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  background: var(--blue);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  transition: all 0.4s;
}

.back-to-top i { font-size: 28px; line-height: 0; }
.back-to-top:hover { background: var(--blue-hover); color: #fff; }
.back-to-top.active { visibility: visible; opacity: 1; }

@media (max-width: 768px) {
  [data-aos-delay] { transition-delay: 0 !important; }
}

/*--------------------------------------------------------------
# Topbar
--------------------------------------------------------------*/
#topbar {
  background: #212529;
  height: 42px;
  font-size: 14px;
  color: #fff;
  padding: 0;
  transition: all 0.5s;
}

#topbar .contact-info i { font-style: normal; color: #fff; }

#topbar .contact-info i a {
  padding-left: 5px;
  color: #fff;
  line-height: 0;
  transition: 0.3s;
}

#topbar .contact-info i a:hover { text-decoration: underline; }

#topbar .social-links a {
  color: rgba(255,255,255,0.65);
  line-height: 0;
  font-size: 16px;
  margin-left: 18px;
  transition: 0.3s;
}

#topbar .social-links a:hover { color: #fff; }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  height: 86px;
  border-bottom: 1px solid var(--border);
  transition: all 0.4s;
  z-index: 997;
}

#header.fixed-top {
  height: 70px;
  box-shadow: var(--shadow-sm);
  border-bottom-color: transparent;
}

.scrolled-offset { margin-top: 70px; }

#header .logo { margin: 0; padding: 0; line-height: 1; }
#header .logo img { max-height: 44px; }

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.navbar { padding: 0; }

.navbar ul {
  margin: 0; padding: 0;
  display: flex; list-style: none; align-items: center;
}

.navbar li { position: relative; }

.navbar > ul > li {
  padding: 10px 0 10px 28px;
  white-space: nowrap;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  padding: 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navbar > ul > li > a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar li:hover > a::after,
.navbar .active::after { width: 100%; }

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a { color: var(--blue); }

/* dropdown (kept for compatibility) */
.navbar .dropdown ul {
  display: block; position: absolute;
  left: 28px; top: calc(100% + 30px);
  margin: 0; padding: 10px 0;
  z-index: 99; opacity: 0; visibility: hidden;
  background: #fff;
  box-shadow: 0 0 30px rgba(127,137,161,0.25);
  transition: 0.3s;
}
.navbar .dropdown ul li { min-width: 200px; }
.navbar .dropdown ul a { padding: 10px 20px; font-weight: 400; }
.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a { color: var(--blue); }
.navbar .dropdown:hover > ul { opacity: 1; top: 100%; visibility: visible; }

/* Mobile nav */
.mobile-nav-toggle {
  color: #333; font-size: 28px; cursor: pointer;
  display: none; line-height: 0; transition: 0.5s;
}
.mobile-nav-toggle.bi-x { color: #fff; }

@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar ul { display: none; }
}

.navbar-mobile {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.92);
  transition: 0.3s; z-index: 999;
}
.navbar-mobile .mobile-nav-toggle { position: absolute; top: 15px; right: 15px; }
.navbar-mobile ul {
  display: block; position: absolute;
  top: 55px; left: 15px; right: 15px; bottom: 15px;
  padding: 10px 0; background: #fff;
  overflow-y: auto; transition: 0.3s;
  border-radius: var(--radius);
}
.navbar-mobile a,
.navbar-mobile a:focus { padding: 12px 20px; font-size: 15px; color: #333; }
.navbar-mobile > ul > li { padding: 0; }
.navbar-mobile a::after { display: none; }
.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a { color: var(--blue); }
.navbar-mobile .dropdown ul {
  position: static; display: none;
  margin: 10px 20px; padding: 10px 0;
  opacity: 1; visibility: visible;
  box-shadow: 0 0 30px rgba(127,137,161,0.25);
}
.navbar-mobile .dropdown > .dropdown-active { display: block; }

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
#hero {
  width: 100%;
  min-height: 82vh;
  background: url("../img/hero-bg-dark-windows.jpg") center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.38) 100%);
}

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

#hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  color: #fff;
  font-weight: 700;
}

#hero h1 span { color: var(--blue); }

#hero p {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 520px;
}

.btn-hero {
  display: inline-block;
  padding: 13px 34px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: background 0.3s;
}

.btn-hero:hover { background: var(--blue-hover); color: #fff; }

@media (min-width: 1024px) { #hero { background-attachment: fixed; } }

@media (max-width: 768px) {
  #hero { min-height: 100vh; }
  #hero h1 { font-size: 1.9rem; }
  #hero p { font-size: 1rem; }
}

/*--------------------------------------------------------------
# Shared utilities
--------------------------------------------------------------*/
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #222;
  margin: 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading .section-label { display: block; }

/*--------------------------------------------------------------
# Features strip
--------------------------------------------------------------*/
#features {
  padding: 56px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.feature-col:not(:first-child) .feature-item {
  border-left: 1px solid var(--border);
}

.feature-item {
  display: block;
  padding: 28px 24px;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: background 0.25s, box-shadow 0.25s;
}

.feature-item:hover {
  background: var(--blue-light);
  color: inherit;
  box-shadow: inset 0 -3px 0 var(--blue);
}

.feature-icon {
  font-size: 2.2rem;
  color: var(--blue);
  margin-bottom: 14px;
  line-height: 1;
  transition: transform 0.25s;
}

.feature-item:hover .feature-icon {
  transform: scale(1.12);
}

.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.feature-item:hover h4 {
  color: var(--blue);
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.6;
}

.feature-more {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.3px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s, transform 0.25s;
  display: inline-block;
}

.feature-item:hover .feature-more {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 991px) {
  .feature-col:not(:first-child) .feature-item { border-left: none; }
  .feature-col:nth-child(n+2) .feature-item { border-top: 1px solid var(--border); }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
#about {
  padding: 80px 0;
  background: var(--bg);
}

#about img { border-radius: var(--radius); }

.about-list { list-style: none; padding: 0; margin: 0; }

.about-list li {
  padding-left: 16px;
  border-left: 3px solid var(--blue);
  margin-bottom: 28px;
}

.about-list li:last-child { margin-bottom: 0; }

.about-list h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.about-list p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/*--------------------------------------------------------------
# Stats
--------------------------------------------------------------*/
#stats {
  padding: 64px 0;
  background: var(--dark);
}

.stat-item { text-align: center; padding: 16px; }

.stat-item .number {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item .label {
  font-size: 0.78rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
#services { padding: 80px 0; background: #fff; }

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s, border-top-color 0.3s, transform 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-top-color: var(--blue);
  transform: translateY(-4px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.service-card-body { padding: 20px; }

.service-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.4;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
#testimonials {
  padding: 80px 0;
  background: url("../img/testimonials-bg.jpg") center / cover no-repeat;
  position: relative;
}

#testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
}

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

.testimonials-slider { overflow: hidden; }

.testimonial-card { text-align: center; padding: 20px 40px; }

.testimonial-quote {
  font-size: 4rem;
  line-height: 0.8;
  color: var(--blue);
  opacity: 0.6;
  font-family: Georgia, "Times New Roman", serif;
  display: block;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-style: italic;
  color: #ddd;
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.75;
}

.testimonial-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.testimonial-card h4 {
  font-size: 0.875rem;
  color: #aaa;
  font-weight: 400;
  margin: 0;
}

@media (min-width: 992px) {
  .testimonial-card p { width: 75%; }
}

.testimonials .swiper-pagination { position: relative; margin-top: 30px; }

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.4); opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--blue);
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
#gallery { padding: 80px 0; background: var(--bg); }

.gallery-filters {
  list-style: none; padding: 0;
  margin: 0 0 36px;
  display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: center;
}

.gallery-filters li {
  cursor: pointer;
  padding: 7px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: #fff;
  transition: all 0.25s;
  user-select: none;
}

.gallery-filters li:hover,
.gallery-filters li.filter-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.portfolio-item { margin-bottom: 20px; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--border);
}

.gallery-item a {
  display: block;
  position: absolute;
  inset: 0;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16,110,234,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i { font-size: 2rem; color: #fff; }

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
#pricing { padding: 80px 0; background: #fff; }

#pricing img { border-radius: var(--radius); }

.pricing-list { list-style: none; padding: 0; margin: 0; }

.pricing-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--blue);
}

.pricing-list li:last-child { margin-bottom: 0; }

.pricing-list i {
  font-size: 1.5rem;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-list h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.pricing-list p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
#contact { padding: 80px 0; background: var(--bg); }

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.3s;
}

.contact-info-card:hover { box-shadow: var(--shadow-sm); }

.contact-info-card .card-icon {
  font-size: 2rem;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}

.contact-info-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.contact-info-card p { font-size: 0.9rem; color: var(--text); margin: 0; }

.contact-map {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-form .form-control {
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: none;
  font-size: 14px;
  padding: 11px 14px;
}

.contact-form .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(16,110,234,0.12);
}

.contact-form textarea.form-control { resize: none; }

.contact-form .loading,
.contact-form .error-message,
.contact-form .sent-message {
  display: none;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.contact-form .loading { background: var(--bg); color: var(--text); }

.contact-form .error-message {
  background: #fff0f0; color: #c00;
  border: 1px solid #fcc;
}

.contact-form .sent-message {
  background: #eafaf1; color: #1e8449;
  border: 1px solid #a9dfbf;
}

.btn-submit {
  background: var(--blue); color: #fff;
  border: 0; padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  transition: background 0.3s; cursor: pointer;
}

.btn-submit:hover { background: var(--blue-hover); }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  font-size: 14px;
}

#footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}

#footer p { color: var(--muted); line-height: 1.75; font-size: 14px; }

#footer strong { color: var(--text); }

#footer a { color: var(--muted); transition: color 0.3s; }
#footer a:hover { color: var(--blue); }

#footer .footer-social a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--blue); color: #fff;
  border-radius: 4px; font-size: 18px;
  margin-right: 8px; transition: background 0.3s;
}

#footer .footer-social a:hover { background: var(--blue-hover); color: #fff; }

.partner-list { list-style: none; padding: 0; margin: 0; }

.partner-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.partner-list li:last-child { border-bottom: none; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom p { margin: 0; font-size: 13px; color: var(--muted); }

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

/*--------------------------------------------------------------
# GLightbox mobile nav buttons
--------------------------------------------------------------*/
.glightbox-clean .gprev,
.glightbox-clean .gnext {
  top: 45%;
}

/*--------------------------------------------------------------
# SVG embeds
--------------------------------------------------------------*/
.svg-email { height: 23px; vertical-align: middle; }
