/* 
   ==========================================================================
   JC ENCOMPASS ALL LLC - Premium Custom Style Guide & Stylesheet
   Theme: Luxury Dark Mode (Gold, Charcoal & Silver)
   Author: Antigravity AI
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Root variables defining the luxurious color palette --- */
:root {
  --bg-dark: #0b0b0d;
  --bg-dark-accent: #111114;
  --card-dark: #16161b;
  --card-dark-hover: #1e1e24;
  
  /* Gold Palette (Metals) */
  --gold-primary: #dfb743;
  --gold-secondary: #c5a028;
  --gold-light: #f2d274;
  --gold-dark: #917215;
  --gold-glow: rgba(223, 183, 67, 0.25);
  --gold-gradient: linear-gradient(135deg, #dfb743 0%, #c5a028 100%);
  --gold-gradient-hover: linear-gradient(135deg, #f2d274 0%, #dfb743 100%);
  
  /* Silver & Grays */
  --silver-primary: #f5f6f8;
  --silver-secondary: #a1a1aa;
  --silver-muted: #71717a;
  --border-light: rgba(255, 255, 255, 0.05);
  --border-gold: rgba(223, 183, 67, 0.15);
  --border-gold-hover: rgba(223, 183, 67, 0.4);
  
  /* Accents */
  --whatsapp-color: #25d366;
  --whatsapp-glow: rgba(37, 211, 102, 0.3);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-in-out;
}

/* --- Document Defaults --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* Offset for sticky header */
}

body {
  background-color: var(--bg-dark);
  color: var(--silver-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--silver-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800;
}

.text-gold {
  color: var(--gold-primary) !important;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-silver-muted {
  color: var(--silver-secondary);
}

.section-title-container {
  margin-bottom: 3.5rem;
}

.section-subtitle {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.section-title.text-start::after {
  left: 0;
  transform: none;
}

/* --- General Layout Components --- */
section {
  padding: 6.5rem 0;
  position: relative;
}

.bg-dark-accent {
  background-color: var(--bg-dark-accent);
}

/* --- Navigation & Topbar --- */
.top-bar {
  background-color: #050506;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--silver-secondary);
  padding: 0.5rem 0;
  font-weight: 500;
}

.top-bar a {
  color: var(--silver-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.top-bar a:hover {
  color: var(--gold-primary);
}

.navbar {
  background-color: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  transition: var(--transition-smooth);
  z-index: 1030;
}

.navbar-shrink {
  padding: 0.5rem 0;
  background-color: rgba(7, 7, 8, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
  max-height: 54px;
  transition: var(--transition-smooth);
}

.navbar-shrink .navbar-brand img {
  max-height: 42px;
}

.navbar-brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--silver-primary);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.navbar-brand-text span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 500;
  margin-top: -2px;
}

.nav-link {
  font-family: var(--font-heading);
  color: var(--silver-primary);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0.5rem;
  padding: 0.5rem 0.25rem !important;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary) !important;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: 1px solid var(--border-gold);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem var(--gold-glow);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(223, 183, 67, 0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Custom Premium Buttons --- */
.btn-gold {
  background: var(--gold-gradient);
  color: #0b0b0d !important;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--gold-primary);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(223, 183, 67, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(223, 183, 67, 0.35);
  border-color: var(--gold-light);
}

.btn-gold:hover::before {
  width: 100%;
}

.btn-outline-gold {
  background: transparent;
  color: var(--silver-primary) !important;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--gold-primary);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-gold:hover {
  background: rgba(223, 183, 67, 0.08);
  color: var(--gold-light) !important;
  transform: translateY(-2px);
  border-color: var(--gold-light);
  box-shadow: 0 8px 25px rgba(223, 183, 67, 0.1);
}

/* --- Hero Section --- */
.hero-section {
  min-height: 90vh;
  position: relative;
  background-image: linear-gradient(180deg, rgba(11, 11, 13, 0.4) 0%, rgba(11, 11, 13, 0.95) 100%), url('../assets/images/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.hero-content {
  max-width: 750px;
}

.hero-subtitle {
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-descr {
  font-size: 1.15rem;
  color: var(--silver-secondary);
  margin-bottom: 2.5rem;
  max-width: 620px;
}

/* --- Trust Cards Bar --- */
.trust-cards-row {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}

.trust-card {
  background: var(--card-dark);
  border: 1px solid var(--border-gold);
  padding: 2rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
  height: 100%;
}

.trust-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px rgba(223, 183, 67, 0.1);
}

.trust-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(223, 183, 67, 0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold-primary);
  font-size: 1.5rem;
  border: 1px solid rgba(223, 183, 67, 0.2);
  transition: var(--transition-smooth);
}

.trust-card:hover .trust-icon-box {
  background: var(--gold-gradient);
  color: #0b0b0d;
  border-color: var(--gold-primary);
}

.trust-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.trust-card p {
  font-size: 0.9rem;
  color: var(--silver-secondary);
  margin-bottom: 0;
}

/* --- About Section --- */
.about-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold-primary);
  border-radius: 8px;
  transform: translate(12px, 12px);
  z-index: -1;
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover::after {
  transform: translate(6px, 6px);
}

.about-img {
  border-radius: 8px;
  width: 100%;
  height: 720px;
  object-fit: cover;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-light);
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.03);
}

.feature-list {
  padding-left: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.feature-list li i {
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: var(--gold-primary);
  font-size: 1.1rem;
}

.feature-list li strong {
  color: var(--silver-primary);
}

/* --- Services Section --- */
.service-card {
  background: var(--card-dark);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-hover);
  box-shadow: 0 20px 40px rgba(223, 183, 67, 0.08);
}

.service-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(360deg, var(--card-dark) 0%, rgba(22, 22, 27, 0) 50%);
  z-index: 2;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-content {
  padding: 2rem 1.75rem;
  position: relative;
  z-index: 3;
}

.service-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  transition: var(--transition-fast);
}

.service-card:hover h3 {
  color: var(--gold-primary);
}

.service-card p {
  color: var(--silver-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-bullet-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.service-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--silver-secondary);
}

.service-bullet-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-weight: 700;
}

/* --- Contact & Quote Section --- */
.contact-info-panel {
  background: var(--card-dark);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  height: auto;
}

.contact-info-item {
  display: flex;
  margin-bottom: 2rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(223, 183, 67, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.25rem;
  margin-right: 1.25rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-info-text p, .contact-info-text a {
  color: var(--silver-secondary);
  margin-bottom: 0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.contact-info-text a:hover {
  color: var(--gold-primary);
}

/* Glassmorphism Form */
.quote-form-wrapper {
  background: rgba(22, 22, 27, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--silver-primary);
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  background-color: rgba(11, 11, 13, 0.8) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--silver-primary) !important;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 0 0.25rem var(--gold-glow) !important;
}

.form-control::placeholder {
  color: var(--silver-muted);
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dfb743' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

/* --- Review Card Slider Section --- */
.review-card {
  background: var(--card-dark);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  transition: var(--transition-smooth);
}

.review-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
}

.quote-icon {
  font-size: 2.5rem;
  color: rgba(223, 183, 67, 0.08);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.stars-rating {
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
}

.review-text {
  font-style: italic;
  color: var(--silver-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 45px;
  height: 45px;
  background: var(--gold-gradient);
  color: #0b0b0d;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-right: 0.9rem;
}

.author-details h5 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
  font-weight: 600;
}

.author-details span {
  font-size: 0.8rem;
  color: var(--silver-muted);
}

/* --- Footer --- */
footer {
  background-color: #050506;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--silver-secondary);
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--silver-primary);
  margin-bottom: 1rem;
}

.footer-logo-img {
  max-height: 54px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.footer-logo span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
  margin-top: -3px;
}

.footer-desc {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--silver-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: var(--card-dark);
  border: 1px solid var(--border-light);
  color: var(--silver-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--gold-gradient);
  color: #0b0b0d;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 4rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--silver-muted);
}

.footer-bottom a {
  color: var(--silver-muted);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--silver-secondary);
}

/* --- WhatsApp Pulsing Floating Widget --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1040;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-icon-btn {
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  box-shadow: 0 10px 25px var(--whatsapp-glow);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

/* Pulsing rings around the widget */
.whatsapp-icon-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: pulse-ring 2.2s infinite cubic-bezier(0.66, 0, 0, 1);
  z-index: -1;
}

.whatsapp-tooltip {
  background: #ffffff;
  color: #1a1a1a;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 12px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  pointer-events: none;
  white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float:hover .whatsapp-icon-btn {
  transform: scale(1.08) rotate(8deg);
  background-color: #20ba5a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* --- Custom animations --- */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Zoom-in effect for elements */
.zoom-in-effect {
  overflow: hidden;
}

.zoom-in-effect img {
  transition: var(--transition-smooth);
}

.zoom-in-effect:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   PORTFOLIO & WORK GALLERY STYLES
   ========================================================================== */

#portfolio {
  background-color: var(--bg-dark) !important;
  border-top: 1px solid var(--border-light);
}

/* Filter buttons styled with subtle glass backgrounds and premium gold active states */
.portfolio-filters {
  background: rgba(17, 17, 20, 0.5);
  padding: 0.6rem;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  display: inline-flex !important;
}

@media (max-width: 768px) {
  .portfolio-filters {
    display: flex !important;
    border-radius: 12px;
    padding: 0.8rem;
  }
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  border: 1px solid transparent;
  color: var(--silver-secondary);
  background: transparent;
  transition: var(--transition-smooth);
  cursor: pointer;
}

@media (max-width: 768px) {
  .filter-btn {
    flex-grow: 1;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 6px;
  }
}

.filter-btn:hover {
  color: var(--gold-light);
  border-color: rgba(223, 183, 67, 0.3);
  background-color: rgba(223, 183, 67, 0.04);
}

.filter-btn.active {
  background: var(--gold-gradient);
  color: #0b0b0d !important;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(223, 183, 67, 0.2);
}

/* Portfolio grid list sizing and transition animation */
.portfolio-grid {
  transition: opacity 0.4s ease;
}

.portfolio-item {
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  transform: scale(1);
  opacity: 1;
}

/* Hidden elements shift down slightly and dissolve from flow */
.portfolio-item.hide-item {
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}

/* Luxury card with aspect ratio alignment */
.portfolio-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-dark);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  aspect-ratio: 4 / 3;
  width: 100%;
}

.portfolio-card:hover {
  border-color: var(--border-gold-hover);
  box-shadow: 0 20px 45px rgba(223, 183, 67, 0.1);
  transform: translateY(-5px);
}

.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

/* Glassmorphism description overlay slides in beautifully */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(360deg, rgba(11, 11, 13, 0.98) 0%, rgba(11, 11, 13, 0.75) 50%, rgba(11, 11, 13, 0.15) 100%);
  opacity: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem 2rem;
  z-index: 2;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.08);
}

/* Animating elements within overlay upon card hover */
.portfolio-tag {
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  display: block;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.portfolio-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--silver-primary);
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  transition-delay: 0.05s;
}

.portfolio-desc {
  font-size: 0.82rem;
  color: var(--silver-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.45;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  transition-delay: 0.1s;
}

.btn-zoom {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0b0b0d !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(223, 183, 67, 0.3);
  transform: translateY(25px) scale(0.8);
  opacity: 0;
  transition: var(--transition-smooth);
  transition-delay: 0.15s;
}

.btn-zoom:hover {
  background: var(--gold-gradient-hover);
  transform: scale(1.1) !important;
  box-shadow: 0 6px 16px rgba(223, 183, 67, 0.5);
}

.portfolio-card:hover .portfolio-tag,
.portfolio-card:hover h3,
.portfolio-card:hover .portfolio-desc {
  transform: translateY(0);
}

.portfolio-card:hover .btn-zoom {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ==========================================================================
   PREMIUM LIGHTBOX MODAL STYLES
   ========================================================================== */

.portfolio-lightbox-modal .modal-dialog {
  margin: 1.75rem auto;
  max-width: 1050px;
}

.portfolio-lightbox-modal .modal-content {
  background: rgba(17, 17, 20, 0.96) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-gold) !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.btn-close-lightbox {
  background: rgba(22, 22, 27, 0.85);
  border: 1px solid var(--border-light);
  color: var(--silver-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  outline: none;
}

.btn-close-lightbox:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  background: rgba(223, 183, 67, 0.08);
  transform: rotate(90deg);
}

.lightbox-content-row {
  min-height: 520px;
}

.lightbox-img-col {
  background: #060608;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: contain;
}

.lightbox-text-col {
  border-left: 1px solid var(--border-light);
  background-color: rgba(22, 22, 27, 0.4);
}

@media (max-width: 991.98px) {
  .lightbox-text-col {
    border-left: none;
    border-top: 1px solid var(--border-light);
    min-height: auto;
  }
  .lightbox-img {
    max-height: 400px;
  }
}

.lightbox-subtitle {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  display: block;
}

.lightbox-title {
  font-size: 1.75rem;
  line-height: 1.25;
}

.lightbox-accent-line {
  width: 45px;
  height: 2px;
  background: var(--gold-gradient);
  margin-bottom: 1.75rem;
  border-radius: 2px;
}

.lightbox-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--silver-secondary);
}

.portfolio-lightbox-modal .btn-gold {
  padding: 0.7rem 1.5rem;
  font-size: 0.88rem;
}

/* Myrotech footer logo styles */
.myrotech-logo {
  max-height: 20px;
  opacity: 0.55;
  transition: var(--transition-fast);
}

.myrotech-logo-link:hover .myrotech-logo {
  opacity: 1;
}
