@tailwind base;
@tailwind components;
@tailwind utilities;

/* Font Variables */
:root {
  --primary-color: #d97706; /* Amber-600 */
  --primary-dark: #b45309; /* Amber-700 */
  --secondary-color: #111827; /* Gray-800 */
  --text-color: #374151; /* Gray-700 */
  --light-gray: #f9fafb; /* Gray-50 */
  --medium-gray: #f3f4f6; /* Gray-100 */
  --dark-gray: #6b7280; /* Gray-500 */
  --transition: all 0.3s ease;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lexend", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--secondary-color);
}

/* Card Styles */
.card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.card-text {
  color: var(--dark-gray);
  margin-bottom: 15px;
}

/* Product Card */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  transform: translateY(0);
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* Navigation */
.nav-link {
  position: relative;
  padding-bottom: 5px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

/* Hero Section Improvements */
.hero-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--dark-gray);
}

/* Testimonial */
.testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 80px;
  color: var(--primary-color);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--secondary-color);
}

.testimonial-position {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* Blog */
.blog-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.blog-meta i {
  margin-right: 5px;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.blog-excerpt {
  color: var(--dark-gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.blog-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.blog-link:hover {
  color: var(--primary-dark);
}

.blog-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.blog-link:hover i {
  transform: translateX(5px);
}

/* FAQ */
.faq-item {
  background-color: white;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px 25px;
  background-color: white;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--light-gray);
}

.faq-question.active {
  color: var(--primary-color);
}

.faq-icon {
  transition: var(--transition);
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.active {
  max-height: 500px;
}

.faq-content {
  padding: 0 25px 20px;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-y: auto;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-gray);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--secondary-color);
}

.modal-body {
  padding: 25px;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

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

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 15px;
  }
}

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 40px 0;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Category Filter Active State */
.category-filter.active {
  background-color: var(--primary-color);
  color: white;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* Language Toggle */
.language-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  border-radius: 30px;
  background-color: var(--light-gray);
  transition: var(--transition);
}

.language-toggle:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Mobile Menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.active {
  max-height: 500px;
}

/* Product Modal Specifications */
.spec-list {
  list-style: none;
  padding: 0;
}

.spec-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
}

.spec-list li:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--secondary-color);
}

.spec-value {
  color: var(--dark-gray);
}

/* Contact Form Success Message */
.form-message {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

.form-message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-message.active {
  display: block;
}

/* Blog Sidebar Widget */
.sidebar-widget {
  background-color: var(--light-gray);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.recent-post {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.recent-post:last-child {
  margin-bottom: 0;
}

.recent-post-image {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 15px;
  flex-shrink: 0;
}

.recent-post-content {
  flex: 1;
}

.recent-post-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--secondary-color);
  line-height: 1.4;
}

.recent-post-date {
  font-size: 0.85rem;
  color: var(--dark-gray);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-size: 16px;
}

.newsletter-button {
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-button:hover {
  background-color: var(--primary-dark);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-10 {
  gap: 10px;
}

.gap-15 {
  gap: 15px;
}

.gap-20 {
  gap: 20px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.pt-10 {
  padding-top: 10px;
}

.pt-20 {
  padding-top: 20px;
}

.pt-30 {
  padding-top: 30px;
}

.pb-10 {
  padding-bottom: 10px;
}

.pb-20 {
  padding-bottom: 20px;
}

.pb-30 {
  padding-bottom: 30px;
}
/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Image Hover Effects */
.image-hover {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.image-hover:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
/* Consistent Image Styling */
.img-consistent {
  filter: saturate(0.9) contrast(1.05);
  transition: filter 0.3s ease;
}

.img-consistent:hover {
  filter: saturate(1) contrast(1.1);
}

/* WhatsApp Button Animation */
.whatsapp-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Back to Top Button */
.back-to-top {
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.logo-js {
  width: 55px;
  margin-right: 6px;
}
.text-js {
  color: #d97706;
}

/* Product Image Gallery */
.product-image-container {
  position: relative;
  overflow: hidden;
}

.product-image-container img {
  transition: opacity 0.3s ease;
}

.product-image-container img:hover {
  transform: scale(1.05);
}

/* Image Thumbnails */
.image-thumbnails {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.image-thumbnail {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  overflow: hidden;
}

.image-thumbnail:hover {
  transform: scale(1.1);
}

.image-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active Image Indicator */
.image-number {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 8px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
}

/* Ring Effect for Active Image */
.ring-2 {
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.5);
}

.ring-amber-500 {
  --tw-ring-color: rgb(245 158 11);
}

.bg-amber-600 {
  background-color: #d97706 !important;
}
.text-amber-600 {
  color: #d97706 !important;
}

/* Product Card Hover Effects */
.product-card:hover .image-thumbnail {
  opacity: 1;
}

.product-card:hover .image-number {
  opacity: 1;
}

/* Fade Transition */
.fade-transition {
  transition: opacity 0.3s ease-in-out;
}

/* Pastikan warna link aktif sama dengan warna hover di desktop */
.menu-item-active > a {
  color: #d97706; /* Warna amber-600 */
  font-weight: bold;
}

/* Pastikan warna link aktif sama dengan warna hover di mobile */
#mobile-menu .menu-item-active > span > a {
  color: #d97706; /* Warna amber-600 */
  font-weight: bold;
}

/* Jika Anda ingin garis bawah (underline) sebagai penanda tambahan */
.menu-item-active > a:not(.block) {
  /* Hanya untuk desktop */
  font-weight: bold;
  padding-bottom: 5px;
}

/* =================================================================
   PORTFOLIO STYLES
   ================================================================= */

/* Portfolio Filter Buttons */
.portfolio-filter {
  background-color: #f3f4f6; /* gray-200 */
  color: #374151; /* gray-700 */
  border: none;
  cursor: pointer;
}

.portfolio-filter:hover {
  background-color: #e5e7eb; /* gray-300 */
}

.portfolio-filter.active {
  background-color: #d97706; /* amber-600 */
  color: white;
}

/* Portfolio Card */
.portfolio-card {
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Portfolio Gallery */
#portfolio-gallery .gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

#portfolio-gallery .gallery-item img {
  transition: transform 0.5s ease;
}

#portfolio-gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/* Portfolio Lightbox */
#portfolio-lightbox {
  backdrop-filter: blur(5px);
}

#portfolio-lightbox img {
  max-height: 90vh;
  max-width: 90vw;
}

#close-lightbox,
#prev-image,
#next-image {
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#close-lightbox:hover,
#prev-image:hover,
#next-image:hover {
  background: rgba(217, 119, 6, 0.9); /* amber-600 */
  transform: scale(1.1);
}

#lightbox-counter {
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
}

/* Video Container - Responsive 16:9 */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Line Clamp Utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2; /* Standard property for compatibility */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Aspect Ratio Square */
.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Portfolio Info Sidebar Sticky */
@media (min-width: 1024px) {
  .sticky {
    position: sticky;
  }
  
  .top-24 {
    top: 6rem;
  }
}

/* Portfolio Responsive Adjustments */
@media (max-width: 768px) {
  .portfolio-filter {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  
  #prev-image,
  #next-image {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  #close-lightbox {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
  
  #lightbox-counter {
    font-size: 0.875rem;
    padding: 6px 12px;
  }
}

/* Smooth Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-card {
  animation: fadeIn 0.5s ease-out;
}

/* Portfolio Category Badge */
.portfolio-card .bg-amber-600 {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Portfolio Detail Page Breadcrumb */
nav a {
  transition: color 0.2s ease;
}

/* Portfolio Info Icons */
.bg-amber-100 {
  transition: all 0.3s ease;
}

.bg-amber-100:hover {
  background-color: #fef3c7; /* amber-50 */
  transform: scale(1.05);
}

/* Masonry Column Layout for Gallery */
.columns-1 {
  column-count: 1;
}

@media (min-width: 768px) {
  .columns-2 {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .columns-3 {
    column-count: 3;
  }
}

.break-inside-avoid {
  break-inside: avoid;
  page-break-inside: avoid;
}

/* Gallery Item Hover Enhancement */
.gallery-item {
  display: inline-block;
  width: 100%;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* Debug Message Styling */
section[class*="bg-yellow-50"],
section[class*="bg-blue-50"],
section[class*="bg-red-50"] {
  font-family: 'Lexend', sans-serif;
}

section[class*="bg-yellow-50"] code,
section[class*="bg-blue-50"] code,
section[class*="bg-red-50"] code {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
}
/* Hide reCAPTCHA Badge but keep functional */
.grecaptcha-badge { 
  visibility: hidden !important; 
}
