/* ==========================================================================
   CLEAN & MINIMALIST BUTTON DESIGN SYSTEM
   ========================================================================== */

.btn-style-regular,
.btn-style-four,
.btn-border,
button[type="submit"] {
  background: transparent !important;
  color: #111 !important;
  border: 1.5px solid #111 !important;
  border-radius: 50px !important;
  padding: 12px 35px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

/* Modern Fill Animation for Global Buttons */
.btn-style-regular::before,
.btn-style-four::before,
.btn-border::before,
button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #111;
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

.btn-style-regular:hover,
.btn-style-four:hover,
.btn-border:hover,
button[type="submit"]:hover {
  color: #fff !important;
  border-color: #111 !important;
}

.btn-style-regular:hover::before,
.btn-style-four:hover::before,
.btn-border:hover::before,
button[type="submit"]:hover::before {
  width: 100%;
}

/* ==========================================================================
   SPECIFIC NAVBAR "LET'S TALK" BUTTON FIX
   ========================================================================== */

/* The navbar button should be WHITE background, BLACK text, ORANGE on hover */
.navbar .attr-nav li.button a,
.navbar-sticky .attr-nav li.button a,
.navbar-default .attr-nav li.button a,
.navbar .attr-right .attr-nav li.button a {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #111111 !important;
  border: 1.5px solid #eeeeee !important;
  border-radius: 50px !important;
  padding: 12px 35px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  margin-left: 15px !important;
  text-decoration: none !important;
  overflow: hidden !important;
  z-index: 10 !important;
}

/* Hover State: ORANGE background, WHITE text */
.navbar .attr-nav li.button a:hover,
.navbar-sticky .attr-nav li.button a:hover,
.navbar .attr-right .attr-nav li.button a:hover {
  background-color: #FF7E16 !important;
  background: #FF7E16 !important;
  color: #ffffff !important;
  border-color: #FF7E16 !important;
  box-shadow: 0 8px 25px rgba(255, 126, 22, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* Remove any theme pseudo-elements or arrows */
.navbar .attr-nav li.button a::after,
.navbar .attr-nav li.button a i {
  display: none !important;
}

/* Reveal Animations helper */
.reveal-text {
  overflow: hidden;
}

.reveal-text span {
  display: block;
  transform: translateY(100%);
  animation: reveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes reveal {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(0);
  }
}

/* Base Layout & Spacing */
#home.banner-style-one-area {
  padding-top: 160px;
  padding-bottom: 100px;
}

/* ============================================================== 
   PREMIUM PORTFOLIO SHOWCASE SYSTEM
   =================================================================== */

#portfolio {
  background-color: #f8f9fa !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.gallery-items {
  display: grid;
  /* Wider columns for better visibility - 2 columns on typical desktops */
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 40px;
  /* Increased gap for cleaner look */
}

@media (max-width: 768px) {
  .gallery-items {
    grid-template-columns: 1fr;
  }
}

.gallery-style-one {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  /* Slightly reduced radius for wider cards */
  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  /* Softer, larger shadow */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: auto;
  /* Allow natural height */
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  /* Ensures no bottom whitespace */
  flex-direction: column;
}

.gallery-style-one:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.gallery-style-one img {
  width: 100%;
  height: auto;
  /* distinct "real size" ratio */
  display: block;
  /* Removes inline-block whitespace */
  object-fit: contain;
  /* Ensures full image is visible */
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-style-one:hover img {
  transform: scale(1.03);
  /* Subtle zoom */
}

/* Glassmorphism Info Overlay */
/* Clean Info Overlay - Visible on Hover */
.gallery-style-one .info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  /* Gradient only on bottom to make text readable */
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.6) 40%,
      transparent 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  /* Hidden by default */
  opacity: 0;
  transform: translateY(20px);
}

.gallery-style-one:hover .info {
  opacity: 1;
  transform: translateY(0);
}

/* Tags Styling */
.pf-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.pf-tags li a {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  padding: 6px 16px !important;
  border-radius: 100px !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-weight: 700 !important;
  backdrop-filter: none;
  /* Removed blur */
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pf-tags li a:hover {
  background: #FF7E16 !important;
  border-color: #FF7E16 !important;
  color: #fff !important;
}

/* Title Styling */
.gallery-style-one .info h4 {
  margin: 0;
}

.gallery-style-one .info h4 a {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  display: block;
}

/* Share/Action Icon */
.gallery-style-one .overlay .icon {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-style-one:hover .overlay .icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-style-one .overlay .icon a {
  width: 45px;
  height: 45px;
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-style-one .overlay .icon a:hover {
  background: #FF7E16;
  color: #fff;
}

/* Project Number - Clean & Minimal */
.gallery-style-one .project-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 14px;
  font-weight: 800;
  color: #111;
  letter-spacing: 0;
  z-index: 2;
  background: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  backdrop-filter: none;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-family: inherit;
}

/* External Link Alt Icon fix */
.fas.fa-external-link-alt {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

/* Premium UI Enhancements */
html {
  scroll-behavior: smooth;
}

::selection {
  background: #000;
  color: #fff;
}

/* Contact Form Specifics */
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
  border-color: #000;
}