/* ===========================
   GLOBAL STYLES
=========================== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  background: #fafafa;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===========================
   HEADER / NAVBAR
=========================== */
header {
  background: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 0;
}

.site-navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* Logo */
.site-logo a {
  font-size: 1.4rem;
  font-weight: bold;
  color: #e63946; /* red accent */
}
.site-logo img {
  max-height: 50px;
  width: auto;
  vertical-align: middle;
}

/* Desktop Navigation */
.site-navigation {
  flex-grow: 1;
  text-align: right;
}
.site-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}
.site-navigation li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}
.site-navigation li a:hover {
  color: #e63946;
}

/* Burger Menu (mobile only) */
.site-burger-menu {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

/* Mobile Menu */
.site-mobile-menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 0;
  width: 250px;
  background: #111;
  padding: 1rem;
}
.site-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.site-mobile-menu li a {
  color: #fff;
  font-weight: 500;
}
.site-mobile-menu.active {
  display: block;
}

/* Language Switcher */
.language-switcher {
  margin-left: 1rem;
}
.language-switcher .btn {
  border: 1px solid #e63946;
  color: #fff;
  background: transparent;
  margin-left: 0.25rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.language-switcher .btn:hover {
  background: #e63946;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 1rem;
  background: #f8f8f8;
}
.hero img {
  max-height: 400px;
  width: auto;
  object-fit: cover;
  border-radius: 8px;
}
.hero .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.hero .container > div {
  flex: 1 1 45%;
}

/* ===========================
   SERVICES SECTION
=========================== */
.services {
  padding: 4rem 1rem;
  background: #fff;
}
.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #111;
}
.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;   /* centers incomplete last row */
  gap: 1.5rem;
}
.services .card {
  background: #fff;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.services .card:hover {
  transform: translateY(-5px);
}
.services .card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}
.services .card h3 {
  color: #e63946;
  margin-bottom: 0.5rem;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  padding: 0.7rem 1.2rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}
.btn-primary {
  background: #e63946;
  color: #fff;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #c1121f;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #111;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}
footer a {
  color: #e63946;
  transition: color 0.3s ease;
}
footer a:hover {
  color: #fff;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 991px) {
  .site-navigation {
    display: none;
  }
  .site-burger-menu {
    display: block;
  }
}

/* ===========================
   CARROUSSEL
=========================== */
/* Hero Slider Images */
.hero-slide {
  width: 100%;
  height: auto;       /* make full width scale */
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/* Mobile: scale image without cropping */
@media (max-width: 768px) {
  .hero-slide {
    object-fit: contain;
    width: 100%;
    height: auto;
  }
}


.hero-text {
  padding: 2rem 1rem;
  background: #fff;
  text-align: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #e63946;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: #333;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

#print-hero {
  margin-bottom: 2rem;
}
/* Center menu items in desktop */
.site-navigation ul {
  justify-content: center;
}

/* Mobile menu fix */
.site-burger-menu {
  display: block;
  cursor: pointer;
}
.site-mobile-menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 0;
  width: 250px;
  background: #111;
  padding: 1rem;
  z-index: 999;
}
.site-mobile-menu.active {
  display: block;
}

/* Dropdown mobile items */
.site-mobile-menu ul li {
  margin-bottom: 1rem;
}

/* Desktop & large screens */
#print-hero .carousel-item img {
  width: 100%;             /* full width */
  height: 500px;           /* uniform height */
  object-fit: cover;        /* crop excess while keeping aspect ratio */
  object-position: center;  /* center image */
  border-radius: 8px;
}

/* Mobile screens */
@media (max-width: 768px) {
  #print-hero .carousel-item img {
    height: 300px;          /* smaller uniform height for mobile */
    object-fit: cover;      /* maintain cover crop */
    object-position: center;
  }
}


/* Hero Carousel Width - match services grid width */
@media (min-width: 992px) { /* large screens */
  #print-hero {
    max-width: 1200px; /* same as .container max-width */
    margin: 0 auto;     /* center horizontally */
    border-radius: 8px; /* optional, same as services cards */
  }

  /* Ensure carousel images fill the container height */
  #print-hero .carousel-inner,
  #print-hero .carousel-item img {
    height: 400px; /* or any desired fixed height */
    object-fit: cover;
    width: 100%;
  }
}



.why-us {
  padding: 3rem 1rem;
  background: #fff;
  color: #111;
}

.why-us .section-title {
  color: #e63946;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.why-us .why-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.why-us .why-list li {
  background: #f8f8f8;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}



.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

/* Desktop grid spacing */
.desktop-grid > div {
  margin-bottom: 1rem;
}

/* Carousel images same height as desktop */
.carousel-item img {
  max-height: 220px;
  object-fit: cover;
  border-radius: 6px;
}
.project h3 {
  color: #e63946;
  font-weight: bold;
}

.row.g-3 {
  gap: 1rem; /* spacing between images */
}

@media (max-width: 992px) {
  .portfolio-card img { height: 220px; }
}

@media (max-width: 576px) {
  .portfolio-card img { height: 180px; }
}



/* ===========================
   DROPDOWN MENU
=========================== */

/* Desktop dropdown */
.site-navigation .dropdown {
  position: relative;
}

.site-navigation .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
  display: none; /* hidden by default */
  min-width: 200px;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 999;
}

.site-navigation .dropdown-menu li {
  margin: 0;
}

.site-navigation .dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
  transition: background 0.3s ease;
}

.site-navigation .dropdown-menu li a:hover {
  background: #e63946;
  color: #fff;
}

/* Show on hover (desktop) */
.site-navigation .dropdown:hover .dropdown-menu {
  display: block;
}

/* ===========================
   MOBILE DROPDOWN
=========================== */
.site-mobile-menu .dropdown {
  position: relative;
}

.site-navigation .dropdown > a::after,
.site-mobile-menu .dropdown > a::after {
  content: " ▼";   /* small arrow */
  font-size: 0.7rem;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

/* Rotate arrow when active (mobile only) */
.site-mobile-menu .dropdown.active > a::after {
  transform: rotate(180deg);
}

.site-mobile-menu .dropdown > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-mobile-menu .dropdown-menu {
  display: none;
  padding-left: 0.5rem;     /* indent optional */
  background: #111;          /* dark background to match menu */
  border-radius: 4px;
  margin-top: 0.5rem;
}

.submenu-arrow {
  font-size: 0.8em;
  margin-left: 8px;
  transition: transform 0.3s;
}

.site-mobile-menu .dropdown.active .dropdown-menu {
  display: block;
}

.site-mobile-menu .dropdown-menu li a {
  color: #fff;               /* make text visible */
  padding: 0.5rem 1rem;
  display: block;
  text-decoration: none;     /* remove underline */
}


/* Remove underline from all menu links (desktop + mobile) */
.site-navigation a,
.site-mobile-menu a,
.site-navigation .dropdown-menu a,
.site-mobile-menu .dropdown-menu a {
  text-decoration: none !important;
}

/* Optional: hover color change without underline */
.site-navigation a:hover,
.site-mobile-menu a:hover,
.site-navigation .dropdown-menu a:hover,
.site-mobile-menu .dropdown-menu a:hover {
  text-decoration: none !important;
  color: #e63946; /* or your brand accent */
}

/* Optional: hover effect */
.site-mobile-menu .dropdown-menu li a:hover {
  background: #e63946;
  color: #fff;
}





.services-list {
  padding: 4rem 1rem;
  background: #fff;
}

.services-list .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card h3 {
  color: #e63946;
  margin: 1rem 0 0.5rem 0;
}

.service-card p {
  padding: 0 1rem;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.4;
}

.service-card .btn {
  margin-bottom: 1rem;
}


.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%; /* 16:9 ratio */
  position: relative;
  height: 0;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}




/* ===========================
   NAVBAR / BURGER MENU FIX
=========================== */
header {
  background: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 0;
}

.site-navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo a {
  font-size: 1.4rem;
  font-weight: bold;
  color: #e63946;
}
.site-logo img {
  max-height: 50px;
  width: auto;
}

/* Desktop Navigation */
.site-navigation {
  flex-grow: 1;
  text-align: right;
}
.site-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}
.site-navigation li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}
.site-navigation li a:hover {
  color: #e63946;
}

/* Hide desktop menu on mobile */
@media (max-width: 991px) {
  .site-navigation {
    display: none;
  }
  .site-burger-menu {
    display: block;
  }
}

/* Burger Menu */
.site-burger-menu {
  display: none; /* only visible on small screens */
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

/* Mobile Menu */
.site-mobile-menu {
  display: none;          /* hidden by default */
  position: absolute;
  top: 60px;
  right: 0;
  width: 250px;
  background: #111;
  padding: 1rem;
  z-index: 9999;
  border-left: 1px solid #ddd;
}
.site-mobile-menu.active {
  display: block;
}

.site-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.site-mobile-menu li a {
  color: #fff;
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
}

/* Mobile dropdown */
.site-mobile-menu .dropdown > a::after {
  content: " ▼";
  font-size: 0.7rem;
  margin-left: 0.3rem;
  transition: transform 0.3s;
}
.site-mobile-menu .dropdown.active > a::after {
  transform: rotate(180deg);
}
.site-mobile-menu .dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 0.5rem;
  margin-top: 0.5rem;
}
.site-mobile-menu .dropdown.active .dropdown-menu {
  display: flex;
}
.site-mobile-menu .dropdown-menu li a {
  color: #fff;
  padding: 0.5rem 0;
}

/* Language Switcher */
.language-switcher {
  margin-left: 1rem;
  display: flex;
  gap: 0.5rem;
}
.language-switcher .btn {
  border: 1px solid #e63946;
  color: #fff;
  background: transparent;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.language-switcher .btn:hover {
  background: #e63946;
}


/* ===========================
   SERVICE IMAGES
=========================== */

/* Card / Grid images */
.service-card img {
  width: 100%;          /* full width of card */
  height: 220px;        /* fixed height for consistency */
  object-fit: cover;    /* crop excess while keeping aspect ratio */
  border-radius: 6px;
}

/* Single service main image */
.single-service .service-main-img {
  width: 100%;
  max-width: 800px;     /* prevent it from getting too large */
  height: auto;         /* keep original aspect ratio */
  display: block;
  margin: 0 auto 2rem;  /* center and add bottom spacing */
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card img {
    height: 180px;      /* smaller cards for mobile */
  }
  .single-service .service-main-img {
    max-width: 100%;    /* scale down to fit mobile screens */
  }
}


/* ===========================
   CONTACT FORM
=========================== */
.contact-form {
  padding: 4rem 1rem;
  background: #fff;
}

.contact-form-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-inner .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form-inner label {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #111;
}

.contact-form-inner input,
.contact-form-inner textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
}

.contact-form-inner textarea {
  min-height: 150px;
}

.contact-form-inner select {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  color: #111;
}

.contact-form-inner select:focus {
  outline: none;
  border-color: #e63946;
  box-shadow: 0 0 4px rgba(230, 57, 70, 0.4);
}

.contact-form-inner button {
  align-self: flex-start;
}


/* Form wrapper */
.comment-form-wrap, .contact-form {
  clear: both;
  background: #fff;
  padding: 2rem;
  border-radius: 7px;
  box-shadow: 0 5px 30px -5px rgba(0,0,0,0.2);
  margin-bottom: 2rem;
}

/* Inputs and Textareas */
.comment-form-wrap input,
.comment-form-wrap textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
  color: #495057;
  font-family: 'Source Sans Pro', sans-serif;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.comment-form-wrap input:focus,
.comment-form-wrap textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

/* Labels */
.comment-form-wrap label,
.contact-form label {
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
  color: #000;
}

/* Submit Button */
.comment-form-wrap button,
.contact-form button {
  display: inline-block;
  padding: 12px 25px;
  background: #007bff;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .05rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.comment-form-wrap button:hover,
.contact-form button:hover {
  background: #3395ff;
  box-shadow: 0 5px 15px -5px rgba(0,123,255,0.5);
  color: #fff;
}

/* Error / Success messages */
.contact-form .form-message {
  font-size: 0.9rem;
  margin-top: 10px;
  display: none;
}
.contact-form .form-message.success {
  color: #28a745;
}
.contact-form .form-message.error {
  color: #dc3545;
}
