/* ==========================================================
   VARIABLES
========================================================== */
:root {
  --main-red: #e53935;
  --main-red-dark: #b71c1c;
  --main-blue: #1976d2;
  --main-blue-light: #2196f3;
  --main-bg: #f4f8fb;
  --main-text: #222;
}

.m-top[
  padding-top: 40px !important;
]

/* ==========================================================
   BASE / GLOBAL STYLES
========================================================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--main-bg);
  color: var(--main-text);
  margin: 0;
  padding: 0;
}

/* ==========================================================
   UTILITY CLASSES
========================================================== */
.bg-dark {
  background-color: #fff !important;
  color: var(--main-text) !important;
}
.text-light {
  color: var(--main-text) !important;
}
.bg-black {
  background-color: #fff !important;
  color: var(--main-text) !important;
}

/* ==========================================================
   TOP BAR
========================================================== */
.top-bar-container {
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: var(--main-blue);
  color: #fff;
  border-bottom: 1px solid #e0e0e0;
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-family: 'Roboto Mono', monospace;
  font-weight: 600;
  font-size: 14px;
  user-select: none;
  justify-content: center;
  position: relative;
}
.top-bar-container i,
.slider-texts {
  color: #fff;
}
.top-bar-container i {
  cursor: pointer;
  user-select: none;
  width: 20px;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.top-bar-container i:hover {
  opacity: 1;
}
.top-bar-container .left-chevron {
  left: 1rem;
}
.top-bar-container .right-chevron {
  right: 1rem;
}
.slider-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  height: 38px;
  position: relative;
  text-align: center;
}
.slider-texts {
  white-space: nowrap;
  display: inline-block;
  position: relative;
  left: 0;
  font-weight: 600;
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  line-height: 38px;
  user-select: none;
  transition: left 0.5s ease;
  min-width: 300px;
}

/* ==========================================================
   NAVBAR
========================================================== */
nav.navbar {
  background-color: #fff !important;
  position: sticky;
  top: 0;
  z-index: 1100;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav.navbar .logo {
  height: 40px;
  cursor: pointer;
}
.nav-links {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
  align-items: center;
}
.nav-links a,
.phone-link {
  color: black !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a:focus,
.phone-link:hover,
.phone-link:focus {
  color: var(--main-red) !important;
  outline: none;
}
.phone-link {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.hamburger {
  font-size: 1.8rem;
  color: black !important;
  cursor: pointer;
  display: none;
  flex-shrink: 0;
}

/* ==========================================================
   MOBILE MENU
========================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 75%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--main-blue);
  color: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,0.7);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: left 0.3s ease;
  z-index: 1200;
}
.mobile-menu.open {
  left: 0;
}
.mobile-menu .close-btn {
  align-self: flex-end;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu nav a {
  color: #fff;
  border-bottom: 1px solid var(--main-blue-light);
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.mobile-menu nav a:hover,
.mobile-menu nav a:focus {
  color: #000000;
  outline: none;
}

/* ==========================================================
   HERO SECTION
========================================================== */
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-style: italic;
  color: #222;
}
.hero-bottom-section {
  background-color: #fff;
  color: #222;
  padding: 40px 15px 60px 15px;
}
.hero-bottom-section h3 {
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 15px;
  margin-top: 15px;
  text-transform: none;
  text-align: center;
}
.hero-bottom-section p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 0;
  text-align: center;
}

/* ==========================================================
   SECTION TITLES
========================================================== */
.section-title {
  font-weight: 800;
  font-size: 2.5rem;
  border-bottom: 3px solid var(--main-blue);
  padding-bottom: 10px;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  text-align: center;
}

/* ==========================================================
   SERVICES SECTION
========================================================== */
.service-item:hover {
  box-shadow: 0 0 20px #ffc107;
}
.service-icon {
  font-size: 3rem;
  color: #ffc107;
  margin-bottom: 15px;
  display: block;
  text-align: center;
}
.service-title {
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 15px;
  text-align: center;
  color: #ffc107;
}
.service-description {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  line-height: 1.5;
}

/* ==========================================================
   GALLERY SECTION
========================================================== */
.gallery-title {
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

  p {
    margin-top: 0;
    margin-bottom: 3rem;
  }

.gallery-text {
  color: #6B7280;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
  display: block;
}
.img-cover:hover {
  transform: scale(1.05);
}
.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem;
  height: 100%;
}
.view-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(30, 41, 59, 0.18);
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.35rem 1.2rem;
  border-radius: 2rem;
  user-select: none;
  pointer-events: none;
  opacity: 0.5;
  letter-spacing: 0.08em;
  box-shadow: none;
  transition: opacity 0.2s;
}
.image-wrapper:hover .view-overlay {
  opacity: 0.7;
}
.large-img {
  height: 360px;
}
.grid-left {
  height: 360px;
}
.grid-small {
  height: 175px;
}

/* ==========================================================
   MODAL STYLES
========================================================== */
.modal-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.5rem;
}
.modal-content {
  background: transparent;
  border: none;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.btn-close-custom {
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  color: white;
  font-size: 1.5rem;
  opacity: 1;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  transition: background 0.3s ease;
  z-index: 10;
}
.btn-close-custom:hover {
  background: rgba(0,0,0,0.8);
}

/* ==========================================================
   BUTTONS
========================================================== */
.btn-warning,
.btn-submit {
  background-color: var(--main-red);
  color: #fff;
  border: none;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-submit:hover,
.btn-submit:focus {
  background-color: var(--main-red-dark);
  color: #fff;
}
.btn-phone {
  margin-top: 15px;
  background-color: var(--main-red);
  color: #fff;
  border-color: var(--main-blue);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  font-size: 1.25rem;
  border-radius: 50px;
  letter-spacing: 0.05rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.btn-phone:hover,
.btn-phone:focus {
  background-color: var(--main-blue-light);
  color: #fff;
  border-color: var(--main-blue-light);
}
.btn-submit {
  border-radius: 50px;
  width: 100%;
}

/* ==========================================================
   FOOTER
========================================================== */
footer {
  background-color: var(--main-blue);
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.05rem;
  border-top: 1px solid #e0e0e0;
}

/* ==========================================================
   RESPONSIVE STYLES
========================================================== */

@media (max-width: 1200px) {

   .btn-close-custom {
    position: absolute;
   top: 3.5rem;
  right: -8.5rem
  }
}


@media (max-width: 991px) {
  .gallery-img {
    max-height: 200px;
  }

   .btn-close-custom {
    position: absolute;
    top: 2.5rem;
    right: -8.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .phone-link {
    display: none;
  }
  .hamburger {
    display: block;
  }
  nav.navbar .logo {
    height: 32px;
  }

  .btn-close-custom {
    position: absolute;
    top: 1.5rem;
    right: -3.5rem;
  }
  
}

@media (max-width: 576px) {
  .top-bar-container {
    font-size: 12px;
    padding: 0 0.75rem;
    height: 32px;
  }
  .slider-wrapper {
    max-width: 220px;
    height: 32px;
  }
  .slider-texts {
    font-size: 12px;
    line-height: 32px;
    min-width: 220px;
  }
  .top-bar-container i.left-chevron {
    left: 0.75rem;
  }
  .top-bar-container i.right-chevron {
    right: 0.75rem;
  }
  .row>*{
    margin-bottom: 15px;
  }
  #gallery {
    margin-top: 2rem !important;
    padding-top: 0px !important;
  }
  #services {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
  .section-title {
    font-size: 2rem;
  }
  #services .section-title {
    font-size: 2rem !important;
  }
  .services-section h2 {
    margin-top: 2.5rem !important;
  }
  .about-image{
    max-width: 100% ;
    height: auto;
  }
  .large-img,
  .grid-left,
  .grid-small {
    height: auto;
  }

  .btn-close-custom {
  top: 1.5rem;
  right: 3.5rem;  
  }

}

/* Show hamburger icon on mobile */
@media (max-width: 991px) {
  .hamburger {
    display: block !important;
  }
  .nav-links,
  .phone-link {
    display: none !important;
  }
}

/* Responsive text for mobile (applies to gallery page) */
@media (max-width: 576px) {
  .section-title {
    font-size: 1.5rem;
    padding-top: 18px;
    padding-bottom: 6px;
    margin-bottom: 24px;
    margin-top: 10px;
  }
  .mb-4,
  .view-overlay,
  .img-cover,
  .modal-img,
  .container,
  .footer,
  .image-wrapper,
  .gallery-description,
  .gallery-caption {
    font-size: 0.98rem !important;
  }
  .view-overlay {
    font-size: 0.95rem !important;
  }
  .modal-img {
    max-height: 220px;
    object-fit: contain;
  }
  .img-cover {
    max-height: 180px;
    object-fit: cover;
  }
}

/* ==========================================================
   MISC
========================================================== */
.row{
  margin-top: 15px;
}
.gallery-img {
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ffc107;
}

.mx-auto {
  margin-right: 50px !important;
  margin-left: 50px !important;
}

