/* Di.Ar.De Studios - Native Projects Gallery Styles */
:root {
  --drd-gold: #FFC300;
  --drd-gold-dark: #d4a000;
  --drd-dark: #2C2C2C;
  --drd-dark-card: #222222;
  --drd-gray-bg: #f9f9f9;
  --drd-border: #eaeaea;
}

/* Gallery Controls & Filter Tabs */
.drd-gallery-nav {
  margin-bottom: 35px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.drd-filter-btn {
  background: #ffffff;
  color: #444444;
  border: 1px solid #dcdcdc;
  padding: 8px 18px;
  border-radius: 30px;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  outline: none;
}

.drd-filter-btn:hover {
  background: #fff8dc;
  border-color: var(--drd-gold);
  color: #000;
  transform: translateY(-2px);
}

.drd-filter-btn.active {
  background: var(--drd-dark);
  color: #ffffff;
  border-color: var(--drd-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.drd-filter-btn.active .drd-tab-count {
  background: var(--drd-gold);
  color: var(--drd-dark);
}

.drd-tab-count {
  background: #eeeeee;
  color: #666666;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

/* Gallery Grid */
.drd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

@media screen and (max-width: 992px) {
  .drd-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 600px) {
  .drd-gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Project Card */
.drd-project-card {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.drd-project-card.drd-hidden {
  display: none !important;
}

.drd-project-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--drd-gold);
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: left;
}

.drd-project-card:hover::after {
  transform: scaleX(1);
}

.drd-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.drd-card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.drd-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.drd-project-card:hover .drd-card-img-wrap img {
  transform: scale(1.08);
}

.drd-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--drd-gold);
  color: var(--drd-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.drd-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.drd-project-card:hover .drd-card-overlay {
  opacity: 1;
}

.drd-btn-preview,
.drd-btn-inquire-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--drd-dark);
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Quicksand", Arial, sans-serif;
}

.drd-btn-preview:hover {
  background: var(--drd-gold);
  color: #000;
}

.drd-btn-inquire-card {
  background: var(--drd-gold);
  color: var(--drd-dark);
}

.drd-btn-inquire-card:hover {
  background: #ffffff;
  color: #000;
}

/* Card Information */
.drd-card-body {
  padding: 18px 20px;
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drd-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #888888;
  margin-bottom: 6px;
}

.drd-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.35;
  transition: color 0.2s ease;
  cursor: pointer;
}

.drd-card-title:hover {
  color: var(--drd-gold-dark);
}

.drd-card-desc {
  font-size: 13px;
  color: #666666;
  line-height: 1.55;
  margin-bottom: 12px;
}

.drd-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.drd-card-scope {
  font-size: 11.5px;
  color: #777;
}

.drd-card-link-action {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--drd-dark);
  text-decoration: none !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.drd-card-link-action:hover {
  color: var(--drd-gold-dark);
}

/* Lightbox Modal */
.drd-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.drd-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.drd-lightbox-content {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: drd-zoom-in 0.25s ease-out;
}

@keyframes drd-zoom-in {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.drd-lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}

.drd-lightbox-close:hover {
  background: var(--drd-gold);
  color: #000;
}

.drd-lightbox-media {
  position: relative;
  width: 100%;
  height: 480px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .drd-lightbox-media {
    height: 300px;
  }
}

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

.drd-lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.drd-lightbox-nav-btn:hover {
  background: var(--drd-gold);
  color: #000;
}

.drd-lightbox-prev { left: 15px; }
.drd-lightbox-next { right: 15px; }

.drd-lightbox-details {
  padding: 22px 26px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #f0f0f0;
}

@media screen and (max-width: 768px) {
  .drd-lightbox-details {
    flex-direction: column;
    align-items: flex-start;
  }
}

.drd-lightbox-info h3 {
  font-size: 19px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px 0;
  font-family: "Quicksand", sans-serif;
}

.drd-lightbox-info p {
  margin: 0;
  font-size: 13.5px;
  color: #555;
}

.drd-lightbox-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.drd-btn-inquire-lightbox {
  background: var(--drd-gold);
  color: var(--drd-dark);
  font-weight: 400;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Quicksand", Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.drd-btn-inquire-lightbox:hover {
  background: var(--drd-gold-dark);
  color: #000;
  transform: translateY(-1px);
}

/* Instagram Showcase Banner */
.drd-instagram-banner {
  background: var(--drd-dark);
  border-radius: 8px;
  padding: 30px;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 5px solid var(--drd-gold);
}

@media screen and (max-width: 768px) {
  .drd-instagram-banner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}

.drd-ig-content h3 {
  color: #ffffff;
  font-size: 20px;
  margin: 0 0 6px 0;
  font-family: "Quicksand", sans-serif;
}

.drd-ig-content p {
  color: #cccccc;
  margin: 0;
  font-size: 14px;
}

.drd-btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  font-weight: 400;
  font-family: "Quicksand", Arial, sans-serif;
  text-decoration: none !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.drd-btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.45);
}
