@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Base */
:root {
  --font-main: 'Inter', sans-serif;
  --bg-color: #ffffff;
  --text-color: #1a1a1a;
  --dark-bg: #121212;
  --dark-text: #f0f0f0;
  --gray: #888888;
  --border-color: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bg-dark {
  background-color: var(--dark-bg);
}

.text-light {
  color: var(--dark-text);
}

.text-gray {
  color: var(--gray);
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.w-full {
  width: 100%;
}

.section-padding {
  padding: 6rem 5%;
}

.max-w-lg {
  max-width: 500px;
}

.max-w-2xl {
  max-width: 800px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .btn-arrow {
  transform: translate(3px, -3px);
}

.btn-dark {
  background: var(--text-color);
  color: white;
}

.btn-dark:hover {
  background: #333;
}

.btn-outline {
  border-color: var(--border-color);
  color: var(--text-color);
}

.btn-outline:hover {
  border-color: var(--text-color);
}

.round-btn {
  padding: 0.8rem 2rem;
}

.icon-btn {
  display: inline-flex;
  padding: 0.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  margin-left: 0.5rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: 2.5rem;
}

.section-subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.body-text {
  font-size: 1.1rem;
  color: #aaa;
  line-height: 1.8;
  font-weight: 300;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10005;
  border-bottom: 1px solid transparent;
  color: #111;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: #111;
  text-transform: uppercase;
}

.logo.small {
  font-size: 1rem;
}

.logo br {
  display: block;
}

.nav-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.menu-wrapper {
  position: relative;
}

.icon-btn.menu-btn {
  background: #f5f5f5;
  border-color: #eee;
  padding: 0.7rem;
  transition: all 0.3s ease;
}

.icon-btn.menu-btn:hover {
  background: #eee;
  transform: scale(1.05);
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  padding: 8rem 5% 6rem;
  gap: 6rem;
  overflow: hidden;
  background-color: #faf9f6;
  /* Soft Studio Cream */
  position: relative;
}

.hero-badge-container {
  flex: 0 0 450px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rotating-badge {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  animation: rotate 20s linear infinite;
  transform: scale(1.05);
}

.badge-text-svg text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  fill: var(--text-color);
}

.badge-image {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 6.8rem;
  margin-bottom: 3rem;
  letter-spacing: -0.03em;
  line-height: 1.0;
  font-weight: 600;
  color: #111;
}

.hero-title span.italic-accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  display: inline-block;
  color: #111;
  margin-right: 0.1em;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 5rem;
}

/* Premium Universal Buttons */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 1.2rem 2rem;
  border-radius: 60px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid #111;
}

.btn-premium.dark {
  background: #111;
  color: #fff;
}

.btn-premium.outline {
  background: transparent;
  color: #111;
}

.btn-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.btn-premium.dark:hover {
  background: #000;
}

.btn-premium.outline:hover {
  background: #111;
  color: #fff;
}

.hero-thumbnails {
  display: flex;
  gap: 1.5rem;
}

.rounded-thumb {
  width: auto;
  height: 120px;
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  cursor: pointer;
  animation: floatUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.rounded-thumb:nth-child(1) {
  animation-delay: 0.2s;
}

.rounded-thumb:nth-child(2) {
  animation-delay: 0.3s;
}

.rounded-thumb:nth-child(3) {
  animation-delay: 0.4s;
}

.rounded-thumb:nth-child(4) {
  animation-delay: 0.5s;
}

.rounded-thumb:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Marquee */
.marquee-section {
  padding: 2rem 0 4rem;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.marquee-text {
  font-size: 9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #eaeaea;
  padding-right: 2rem;
  letter-spacing: -0.02em;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* About Section */
.about-section {
  padding: 0 !important;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.about-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  padding: 6rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Recent Work */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 500;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

.filter-btn:hover {
  background: #f0f0f0;
  border-color: #ccc;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

.work-card .img-wrapper {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card:hover .img-wrapper img {
  transform: scale(1.05);
}

.img-wrapper.square,
.img-wrapper.portrait,
.img-wrapper {
  aspect-ratio: 1/1;
}

.work-card h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.work-card p {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.circle-graphic {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.arrows {
  font-size: 1.2rem;
  letter-spacing: 1rem;
  margin-left: 0.5rem;
  color: var(--gray);
}

.work-card {
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform-origin: top center;
}

.work-card.hide {
  display: none !important;
  opacity: 0;
  transform: scale(0.8);
}

/* Blog Section */
.bg-light {
  background: #f9f9f9;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.blog-card .img-wrapper {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.blog-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-color);
}

.blog-card .meta {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Services Section */
.services-section {
  background: #ffffff;
}

.services-section h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-size: 2.2rem;
  color: #111;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.service-item {
  background: #faf9f6; /* Soft Studio Cream */
  padding: 2.2rem;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0,0,0,0.03);
  text-align: left;
}

.service-item:nth-child(odd) {
  background: #ffffff;
  border: 1px solid #f0f0f0;
}

.service-item:nth-child(even) {
  background: #faf9f6; /* Soft Studio Cream */
  border: 1px solid rgba(0,0,0,0.03);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: #d48a60;
}

.service-icon-box {
  width: 65px;
  height: 65px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  color: #111; /* Matched to theme */
}

.service-item:nth-child(odd) .service-icon-box {
  background: #faf9f6;
}

.service-item:nth-child(even) .service-icon-box {
  background: #ffffff;
}

.service-item h5 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #111;
}

.service-item p {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
}

.service-link {
  margin-top: auto;
  font-size: 1rem;
  font-weight: 700;
  color: #111; /* Matched to theme */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.service-link svg {
  transition: transform 0.3s ease;
}

.service-link:hover {
  gap: 0.8rem;
  opacity: 0.7;
}

.service-link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
  
/* --- Services Slider (Matches Testimonial CSS) --- */
.services-slider-section {
  overflow: hidden;
  position: relative;
  background: #fbfbfb; /* Light Background */
}

.services-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 20px 0 20px 5%;
}

@media (max-width: 768px) {
  .services-carousel-wrapper {
    padding: 10px 0; /* Removed left padding to allow centering */
  }
}

.services-carousel {
  display: flex;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: max-content;
  gap: 24px;
  padding: 20px 0;
}

.service-slide {
  flex: 0 0 380px;
  flex-shrink: 0;
  width: 380px;
  height: auto; /* Allow content to dictate height */
  min-height: 620px;
  position: relative;
  display: flex;
  flex-direction: column; /* Stack vertically: Image then Text */
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
}

@media (max-width: 1300px) {
  .service-slide {
    flex: 0 0 350px;
    width: 350px;
  }
}

@media (max-width: 1100px) {
  .service-slide {
    flex: 0 0 calc((100vw - 10%) / 2 - 15px);
    width: calc((100vw - 10%) / 2 - 15px);
    max-width: none;
  }
}

@media (max-width: 768px) {
  .services-slider-section {
    padding: 3rem 0 !important;
  }
  .services-slider-section .testimonials-header {
    padding: 0 5% !important;
    margin-bottom: 2rem !important;
  }
  .service-slide {
    flex: 0 0 85vw !important;
    width: 85vw !important;
    min-height: 480px !important;
    height: auto !important;
    /* margin-right: 15px removed to prevent centering offset issues */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
  }
  .service-slide .testimonial-image {
    aspect-ratio: 4/3 !important;
    height: auto !important;
    display: block !important;
    visibility: visible !important;
  }
  .service-slide .testimonial-content {
    padding: 1.5rem !important; /* Less padding on mobile */
    display: flex !important;
    visibility: visible !important;
  }
  .service-slide .testimonial-quote {
    font-size: 1.4rem !important;
    margin-bottom: 0.75rem !important;
  }
  .service-slide p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
  }
}

/* Desktop Grid for Services (4 in a row) */
@media (min-width: 1101px) {
  .services-carousel-wrapper {
    padding: 0 5%;
    overflow: visible; /* Show all cards */
  }
  .services-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 30px;
    padding: 40px 0;
    transform: none !important; /* Force reset for any JS carousel logic */
    transition: none !important;
  }
  .service-slide {
    flex: none;
    width: 100%;
    min-height: 0;
    margin: 0;
  }
  /* Hide carousel controls only for services on desktop */
  .services-carousel-wrapper .testimonial-controls {
    display: none !important;
  }
}


/* Responsive Header */
@media (max-width: 768px) {
  .services-slider-section .section-title {
    font-size: 2.2rem !important;
    margin-top: 0 !important;
  }
  .services-slider-section .body-text {
    font-size: 0.95rem !important;
    max-width: 90% !important;
  }
}

.service-slide:hover {
  transform: translateY(-10px);
}

.service-slide .testimonial-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  height: auto;
  overflow: hidden;
  background: #f5f5f5;
  z-index: 1;
}

.service-slide .testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1);
  transition: transform 0.8s ease;
  pointer-events: none; /* Disable click/lightbox on service images */
  cursor: default;
}

.service-slide:hover .testimonial-image img {
  transform: scale(1.04);
}

.service-slide .testimonial-overlay {
  display: none !important; /* Ensure overlay is hidden */
  background: none !important; /* Remove any dark gradient */
}

.service-slide .testimonial-content {
  text-align: left !important;
  padding: 2.5rem 2rem !important;
  width: 100% !important;
  background: #ffffff !important;
  position: relative !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  z-index: 10 !important;
}

.service-slide .service-icon-box {
  margin: 0 0 1.5rem 0 !important; /* Left aligned icon */
  justify-content: flex-start !important;
  display: flex !important;
  color: #d48a60 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.service-slide .testimonial-quote {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  font-style: italic !important;
  color: #111 !important;
  margin-bottom: 1.25rem !important;
  letter-spacing: -0.01em !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-align: left !important;
  line-height: 1.2 !important;
}

.service-slide p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  color: #333 !important;
  line-height: 1.8 !important;
  margin-bottom: 2rem !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-align: left !important;
  flex: 1 !important;
  font-weight: 400 !important;
}

.service-slide .round-btn {
  font-family: 'Inter', sans-serif !important;
  color: #d48a60 !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.service-slide .testimonial-author {
  margin-top: auto;
}

.service-slide .round-btn:hover {
  opacity: 0.8 !important;
}

.service-slide .round-btn::after {
  content: "→";
  transition: transform 0.3s ease;
}

.service-slide .round-btn:hover::after {
  transform: translateX(5px);
}

/* --- Services Slider Controls for Light Theme --- */
.services-slider-section .testi-btn {
  border-color: #ddd;
  color: #111;
}

.services-slider-section .testi-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.services-slider-section .dot {
  background: #ccc !important; /* Darker dots for visibility */
  width: 10px;
  height: 10px;
}

.services-slider-section .dot.active {
  background: #d48a60 !important;
  width: 12px;
  height: 12px;
}


/* --- Exhibition Section --- */
.exhibition-section {
  background: #fafafa;
}

.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 0 5%;
}

.exhibition-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16/20;
  background: #eee;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.exhibition-img {
  width: 100%;
  height: 100%;
  position: relative;
}

.exhibition-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.exhibition-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.exhibition-info h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  transform: translateY(10px);
  transition: transform 0.5s ease;
}

.exhibition-info p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(10px);
  transition: transform 0.5s ease 0.1s;
}

.exhibition-item:hover .exhibition-img img {
  transform: scale(1.1);
}

.exhibition-item:hover .exhibition-overlay {
  opacity: 1;
}

.exhibition-item:hover .exhibition-info h4,
.exhibition-item:hover .exhibition-info p {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .exhibition-grid { grid-template-columns: 1fr; }
}

/* --- Clean Exhibition Grid --- */
.exhibition-section {
  background: #fafaf9;
  padding: 8rem 5%;
}

.exhibition-clean-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.exhibit-card {
  background: transparent;
  transition: transform 0.4s ease;
}

.exhibit-mini-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.exhibit-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.exhibit-info-clean h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  color: #111;
  text-transform: uppercase;
}

.exhibit-info-clean p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  font-weight: 400;
}

.exhibit-card:hover {
  transform: translateY(-8px);
}

.exhibit-card:hover .exhibit-mini-img img {
  transform: scale(1.08);
}

@media (max-width: 1100px) {
  .exhibition-clean-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .exhibition-clean-grid { grid-template-columns: 1fr; }
}

/* --- 3-2 Centered Grid for 5 items --- */
.exhibition-clean-grid.grid-5-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.exhibition-clean-grid.grid-5-centered .exhibit-card {
  flex: 0 0 calc(33.3333% - 1.666rem);
  max-width: calc(33.3333% - 1.666rem);
}

@media (max-width: 1100px) {
  .exhibition-clean-grid.grid-5-centered .exhibit-card {
    flex: 0 0 calc(50% - 1.25rem);
    max-width: calc(50% - 1.25rem);
  }
}

@media (max-width: 600px) {
  .exhibition-clean-grid.grid-5-centered .exhibit-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.service-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.service-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-dots .dot.active {
  background: #d48a60;
  transform: scale(1.3);
}

/* Luxury Split Contact Section Form (Light Theme) */
.contact-section {
  border-bottom: 1px solid var(--border-color);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 850px;
}

.contact-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  box-shadow: inset -10px 0 30px rgba(0, 0, 0, 0.5);
}

.contact-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.contact-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.overlay-text {
  color: #fff;
  font-size: 6vw;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-align: left;
  opacity: 0.9;
}

.contact-form-side {
  padding: 8rem 8% 8rem 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.light-premium-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0;
}

.light-theme-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.light-theme-form .form-group {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.light-theme-form label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  color: #555;
  transition: color 0.3s ease;
}

.light-theme-form .form-group:focus-within label {
  color: #000;
}

.light-premium-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  background: transparent;
  color: #000;
  font-family: inherit;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.light-premium-input::placeholder {
  color: #aaa;
  font-weight: 300;
}

.light-premium-input:focus {
  border-bottom-color: #000;
  background: #fafafa;
  padding-left: 0.5rem;
}

.light-select-wrapper {
  position: relative;
}

.light-select-wrapper::after {
  content: "â–¼";
  font-size: 0.6rem;
  color: #888;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.light-premium-input.select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2rem;
}

.light-premium-input.textarea {
  resize: vertical;
  min-height: 50px;
  border-bottom: 1px solid #ddd;
}

.light-submit-btn {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #000;
  color: #fff;
  padding: 1.4rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid #000;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.light-submit-btn svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  background: #fff;
  color: #000;
}

.light-submit-btn:hover svg {
  transform: translateX(8px);
}

@media (max-width: 1024px) {
  .contact-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-image-wrapper {
    height: 500px;
  }

  .contact-form-side {
    padding: 5rem 5%;
  }

  .overlay-text {
    font-size: 4.5rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .light-theme-form .form-row {
    grid-template-columns: 1fr;
    gap: 0rem;
  }

  .contact-image-wrapper {
    height: 400px;
  }

  .overlay-text {
    font-size: 3.5rem;
  }
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: #f5f5f5;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* --- NEW PREMIUM FOOTER --- */
.main-footer {
  background-color: #110e0c; /* Dark brown/black */
  color: #fff;
  padding: 80px 5% 40px;
  font-family: var(--font-main);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
  text-transform: none;
  letter-spacing: normal;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.logo-icon-svg {
  width: 40px;
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
}

.brand-tag {
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: #aaa;
  margin-top: 4px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #999;
  margin-bottom: 30px;
  max-width: 350px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #fff;
}

.social-icon:hover {
  background: #d48a60; /* Gold accent */
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.newsletter-form {
  display: flex;
  position: relative;
  margin-top: 25px;
  margin-bottom: 40px;
}

.newsletter-form input {
  width: 100%;
  padding: 14px 20px;
  padding-right: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  color: #fff;
  outline: none;
  font-size: 0.9rem;
}

.newsletter-form button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 40px;
  height: 40px;
  background: #d48a60;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #c1784c;
  transform: scale(1.05);
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 18px;
  line-height: 1.5;
}

.contact-info svg {
  color: #d48a60;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #666;
}

.bottom-links {
  display: flex;
  gap: 25px;
}

.bottom-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bottom-links a:hover {
  color: #fff;
}

.copyright a {
  color: #d48a60;
  text-decoration: none;
  font-weight: 600;
}

/* Floating Buttons */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 45px;
  height: 45px;
  background: #d48a60;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-5px);
  background: #c1784c;
}

.whatsapp-btn-footer {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 999;
}

.whatsapp-btn-footer:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding-top: 2rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-thumbnails {
    justify-content: center;
    flex-wrap: wrap;
  }

  .work-grid,
  .blog-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding: 4rem 5%;
  }

  .footer-top {
    flex-direction: column;
    gap: 3rem;
    text-align: left;
  }

  .footer-contact.text-right {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .work-grid,
  .blog-grid,
  .services-grid,
  .gallery-split {
    grid-template-columns: 1fr;
  }

  .marquee-text {
    font-size: 4rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  /* Elite Product Filters - Structured Grid Layout */
  #collection .section-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem !important;
    padding-bottom: 2.5rem;
  }

  #collection .filter-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    width: 100% !important;
    max-width: 500px;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 0.6rem !important;
  }

  #collection .filter-btn {
    width: 100% !important;
    padding: 0.65rem 0.75rem !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
    background: #fff !important;
    color: #555 !important;
    border: 1.5px solid #ddd !important;
    transition: all 0.25s ease !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    cursor: pointer !important;
    min-height: 42px !important;
  }

  #collection .filter-btn:focus {
    outline: none !important;
    box-shadow: none !important;
  }

  #collection .filter-btn.active {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
  }

  #product-desc {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    max-width: 800px;
    margin: 0 auto;
    color: #777 !important;
  }
}

/* Scroll Animations (Safe Fallback) */
.reveal {
  opacity: 1;
  /* Always visible by default */
  transform: translateY(0);
  filter: blur(0);
}

body.js-loaded .reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  filter: blur(10px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-loaded .reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* Parallax Targets Base Setup */
.about-image-wrapper, .contact-image-wrapper {
  perspective: 1000px;
}

.hero-badge-container {
  transition: transform 0.1s linear;
}

/* Inline Interactive Components */
.search-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: transparent;
  padding-left: 0;
}

.search-wrapper.active {
  border-color: var(--border-color);
  background: white;
  padding-left: 1rem;
}

.search-inline-input {
  width: 0;
  opacity: 0;
  border: none;
  outline: none;
  background: transparent;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 0.9rem;
  margin: 0;
}

.search-wrapper.active .search-inline-input {
  width: 140px;
  opacity: 1;
  margin-right: 0.5rem;
}

.menu-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  display: flex;
  flex-direction: column;
}

.menu-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-dropdown a {
  padding: 0.8rem 1.5rem;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.menu-dropdown a:hover {
  background: #f5f5f5;
  color: black;
}

/* --- PREMIUM POLISH --- */

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Custom Text Selection Highlight */
::selection {
  background: #d48a60;
  color: #fff;
}

/* Page Load Fade-In */
@keyframes fadeInPage {
  0% {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

body>main {
  animation: fadeInPage 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pulseWa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Footer Link Magnetic Underline (Premium Hover) */
.footer-links a {
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Blog Cards Ripple Hover */
.blog-card .img-wrapper img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .img-wrapper img {
  transform: scale(1.04);
}

/* Service Item Subtle Hover */
.service-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item:hover {
  transform: translateY(-5px);
}

/* --- LIGHTBOX & GALLERY NAVIGATION --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10006;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.lightbox-img {
  max-width: 85%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.9);
  border-radius: 6px;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  user-select: none;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 120px;
  right: 35px;
  color: #fff;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
  background: #d48a60;
  color: #000;
  transform: scale(1.1) rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.8rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-5px) scale(1.1);
}

.lightbox-next:hover {
  transform: translateY(-50%) translateX(5px) scale(1.1);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-cursor {
  cursor: zoom-in !important;
}

@media (max-width: 768px) {

  .lightbox-prev,
  .lightbox-next {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }

  .lightbox-img {
    max-width: 95%;
    max-height: 80vh;
  }
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #333;
}

.testimonials-header {
  position: relative;
  z-index: 10;
  padding-bottom: 2rem;
}

.testimonials-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.testimonials-carousel {
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: none;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 1s cubic-bezier(0.645, 0.045, 0.355, 1);
  transform: scale(0.95);
  z-index: 1;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
  transition-delay: 0.2s;
}

.testimonial-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Removed dark filter to restore image brightness */
  transform: scale(1.1);
  transition: transform 8s ease-out;
}

/* Ensure service section images are always visible from load */
.services-slider-section .reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.testimonial-slide.active .testimonial-image img {
  transform: scale(1);
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.3) 100%);
}

.testimonial-content {
  text-align: center;
  padding: 4.5rem 5rem;
  max-width: 900px;
  transform: translateY(40px);
  opacity: 0;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: none;
}

.testimonial-slide.active .testimonial-content {
  transform: translateY(0);
  opacity: 1;
}

.testimonial-quote {
  font-family: serif;
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow: none;
}

.testimonial-author h4 {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #d48a60;
}

.testimonial-author p {
  font-size: 0.85rem;
  color: #bbb;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.testi-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.testi-btn:hover {
  background: #fff;
  color: #000;
  transform: scale(1.1);
  border-color: #fff;
}

.testimonial-dots {
  display: flex;
  gap: 1rem;
}

.testimonial-dots .dot {
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-dots .dot.active {
  background: #d48a60;
  width: 50px;
}

@media (max-width: 768px) {
  .testimonial-quote {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
  }

  .testimonial-content {
    padding: 1.8rem 1.2rem;
    width: 95%;
  }

  .testimonials-carousel {
    min-height: 550px;
  }

  .quote-icon {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 0.8rem !important;
  }

  .testi-btn {
    width: 45px;
    height: 45px;
  }

  .testimonial-dots .dot {
    width: 20px;
  }

  .testimonial-dots .dot.active {
    width: 30px;
  }
}

/* --- COLLECTION INNER PAGE --- */
.collection-hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.3) 0%, rgba(18, 18, 18, 1) 100%), url('./images/texture art.webp') center/cover no-repeat fixed;
  border-bottom: 1px solid #333;
}

.collection-hero-content {
  z-index: 10;
  position: relative;
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.collection-gallery-section {
  background-color: var(--bg-color);
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-top: 2rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 4rem;
  display: block;
  width: 100%;
  text-align: left;
}

.masonry-item .img-wrapper {
  width: 100%;
  height: auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.95);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

/* --- Process Section --- */
.process-section {
  background: #fff;
  padding: 6rem 5% 0rem 5%; /* Removed bottom padding */
  border-top: 1px solid rgba(0,0,0,0.05);
}

.processing-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #111;
  margin-bottom: 3rem;
  text-transform: none;
  max-width: 900px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.process-item {
  padding: 2.2rem 1.8rem;
  background: #fff;
  border: 1px solid #111;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.process-item:hover {
  border-color: #111;
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.process-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.5rem;
  color: #111;
  opacity: 0.7;
}

.process-icon svg {
  width: 100%;
  height: 100%;
}

.process-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: #111;
}

.process-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
  font-weight: 400;
}

.gallery-section {
  padding-top: 3rem !important; /* Reduce gap from process section */
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.masonry-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.masonry-item .work-info {
  padding-left: 0.5rem;
}

.masonry-item .work-info h4 {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--text-color);
  font-weight: 700;
}

.masonry-item .work-info p {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .collection-hero-section {
    background-attachment: scroll;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
    grid-template-columns: 1fr;
  }

  .masonry-item {
    margin-bottom: 3rem;
  }
}

/* Achievements Section */
.achievements-section {
  background: #fff;
  padding-top: 4rem;
  padding-bottom: 8rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1300px;
  margin: 4rem auto 0;
  padding: 0 5%;
}

.achievements-grid.four-cols {
  grid-template-columns: repeat(4, 1fr);
  max-width: none;
  width: 100%;
  gap: 1rem;
  padding: 0 20px;
}

.achievement-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.achievement-card:hover {
  transform: translateY(-10px);
}

.achievement-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.achievement-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.achievement-card:hover .achievement-frame img {
  transform: scale(1.05);
}

.achievement-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  position: relative;
  transition: all 0.3s ease;
}

.achievement-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: #111;
  transition: width 0.3s ease;
}

.achievement-card:hover .achievement-link {
  color: #d48a60;
}

.achievement-card:hover .achievement-link::after {
  width: 100%;
  background-color: #d48a60;
}

.achievement-info {
  text-align: left;
}

.achievement-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #111;
}

.achievement-info p {
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.exhibition-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* Dark mode support for Blog page */
.blog-category-section .achievement-info h3 {
  color: #fff;
}

.blog-category-section .exhibition-desc {
  color: #aaa;
}

/* Refined Exhibition Grid (Used on Home & Blog) */
.exhibition-clean-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
}

.exhibit-card {
  flex: 0 0 calc(25% - 1.875rem);
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}

.exhibit-mini-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.exhibit-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.exhibit-card:hover .exhibit-mini-img img {
  transform: scale(1.05);
}

.exhibit-info-clean {
  text-align: left;
}

.exhibit-info-clean h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: inherit;
}

.exhibit-info-clean p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.bg-dark .exhibit-info-clean p {
  color: #aaa;
}

@media (max-width: 1200px) {
  .exhibition-clean-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .exhibit-card {
    flex: 0 0 calc(50% - 1.25rem);
  }
}

@media (max-width: 600px) {
  .exhibit-card {
    flex: 0 0 100%;
  }
}

.blog-category-section .achievement-link {
  color: #d48a60;
  opacity: 0.8;
}

.blog-category-section .achievement-card:hover .achievement-link {
  opacity: 1;
}

@media (max-width: 1100px) {
  .achievements-grid.four-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .achievements-grid, .achievements-grid.four-cols {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Video Modal - Matched to Lightbox Experience */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  transition: opacity 0.4s ease;
  align-items: center;
  justify-content: center;
  padding-top: 100px; /* Space for the header */
}

.video-modal.active {
  display: flex;
  opacity: 1;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 10000;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1100px;
  background: #000;
  aspect-ratio: 16/9;
  z-index: 10001;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.9);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 120px; /* Lower than header, but higher on screen */
  right: 35px;
  color: #fff;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10002;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.video-modal-close:hover {
  background: #d48a60;
  color: #000;
  transform: scale(1.1) rotate(90deg);
}

.video-responsive-container {
  width: 100%;
  height: 100%;
}

.video-responsive-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .video-modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
  .video-modal-content {
      width: 95%;
  }
}
/* --- Responsive Fixes --- */
@media (max-width: 1200px) {
  .hero-section {
    gap: 3rem;
    padding-top: 6rem;
  }
  .hero-title {
    font-size: 5rem;
  }
  .hero-badge-container {
    flex: 0 0 400px;
  }
  .rotating-badge {
    width: 350px;
    height: 350px;
  }
  .badge-image {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 1024px) {
  .section-padding {
    padding: 4rem 5%;
  }
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 4rem;
    padding-top: 4rem;
  }
  .hero-badge-container {
    flex: none;
    order: 1;
    margin-bottom: 2rem;
  }
  .hero-content {
    order: 2;
  }
  .hero-title {
    font-size: 4.5rem;
    margin-bottom: 2rem;
  }
  .hero-buttons {
    justify-content: center;
    margin-bottom: 3rem;
  }
  .hero-thumbnails {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    padding: 4rem 5%;
  }
  .about-image-wrapper {
    height: 400px;
  }
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Fix for Service Slide on Tablet */
  .service-slide {
    flex: 0 0 400px !important;
    width: 400px !important;
    min-width: 400px !important;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 5%;
  }
  .logo {
    font-size: 1rem;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .rotating-badge {
    width: 280px;
    height: 280px;
  }
  .badge-image {
    width: 160px;
    height: 160px;
  }
  .badge-text-svg text {
    font-size: 18px;
  }
  .marquee-text {
    font-size: 4rem;
  }
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title {
    font-size: 2.2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .contact-split {
    flex-direction: column;
    gap: 3rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .footer-contact {
    text-align: left;
  }
  .footer-huge-text h2 {
    font-size: 4rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .brand-col, .contact-col {
    grid-column: span 2;
  }
  
  .service-slide {
    flex: 0 0 85vw !important;
    width: 85vw !important;
    min-width: 85vw !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .btn-premium {
    width: 100%;
    min-width: 0;
  }
  .hero-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 320px;
    margin: 0 auto;
  }
  .rounded-thumb {
    width: 100%;
    height: 100px;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
      font-size: 2rem;
  }
  #floating-wa {
      width: 50px !important;
      height: 50px !important;
      bottom: 20px !important;
      right: 20px !important;
  }
  #floating-wa svg {
      width: 28px !important;
      height: 28px !important;
  }
}

.rotate-left {
  transform: rotate(-90deg) !important;
  transition: none !important;
  object-fit: cover !important;
}

/* Specifically prevent hover effects from destabilizing the rotation */
.work-card:hover .img-wrapper img.rotate-left,
.gallery-item:hover img.rotate-left,
.masonry-item:hover img.rotate-left {
  transform: rotate(-90deg) !important;
  scale: 1 !important;
}

/* --- LIGHTBOX CAPTION EXTENSIONS --- */
.lightbox-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 80%;
  max-height: 90vh;
  z-index: 10001;
}

.lightbox-img {
  max-width: 100% !important;
  max-height: 68vh !important; /* leave room for text below */
  width: auto !important;
  height: auto !important;
}

.lightbox-caption {
  margin-top: 1.5rem;
  text-align: center;
  color: #fff;
  max-width: 700px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(0, 0, 0, 0.6);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lightbox.active .lightbox-caption {
  opacity: 1;
  transform: translateY(0);
}

.lightbox-title {
  font-family: serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #d48a60;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.lightbox-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 768px) {
  .lightbox-wrapper {
    max-width: 90%;
    margin-top: 60px; /* Shift downward to clear mobile header */
  }
  .lightbox-img {
    max-height: 55vh !important;
  }
  .lightbox-title {
    font-size: 1.25rem;
  }
  .lightbox-desc {
    font-size: 0.8rem;
  }
}
