:root {
  --primary: #a6813d; /* Darkened from #c5a059 for better contrast */
  --primary-rgb: 166, 129, 61;
  --primary-hover: #8e6d33;
  --bg-dark: #ffffff;
  --bg-card: #fefefe;
  --text-primary: #111111;
  --text-secondary: #444444; /* Darkened from #555555 */
  --nav-bg: rgba(255, 255, 255, 0.7);
  --border-color: rgba(0, 0, 0, 0.05);
  --hero-overlay: rgba(0, 0, 0, 0.45);
  --hero-bg: url('hero_bg.jpg');
  --font-serif: "Playfair Display", serif;
  --font-sans: "Montserrat", sans-serif;
  --transition-premium: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --lightbox-bg: rgba(255, 255, 255, 0.98);
}

html[data-theme="dark"], :root[data-theme="dark"] {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --nav-bg: rgba(10, 10, 10, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --hero-overlay: rgba(0, 0, 0, 0.65);
  --lightbox-bg: rgba(10, 10, 10, 0.98);
}

/* Unified Branding Logic */
.logo-img {
    height: 80px; /* Refined for elegant boutique presence */
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

/* Responsive Logo Sizing */
@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }
}

.navbar.scrolled .logo-img {
    height: 60px;
}

@media (max-width: 768px) {
    .navbar.scrolled .logo-img {
        height: 45px;
    }
}

/* Visibility classes removed for single-asset stability */
.logo-dark-only, .logo-light-only { display: block !important; }

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; } /* Increased from 300 */
a { color: inherit; text-decoration: none; transition: var(--transition-smooth); }

.golden-text {
  color: var(--primary) !important;
  font-weight: 400; /* Increased */
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.shine {
  position: relative;
  overflow: hidden;
}

.shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
}

.shine:hover::before {
  animation: shine-sweep 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shine-sweep {
  100% { left: 150%; }
}

/* Navbar */
.navbar {
  position: fixed; top: 0; width: 100%;
  padding: 2rem 0; z-index: 1000;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: var(--transition-premium);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: var(--nav-bg);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    transition: var(--transition-premium);
    transform: translateX(-50%);
}

.navbar.scrolled::after {
    width: 100%;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-trigger::after {
    content: '▾';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-trigger::after {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    min-width: 220px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.8rem 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary) !important;
    padding-left: 2.5rem;
}

.gold-nav-item {
    color: var(--primary) !important;
    font-weight: 600;
}

.nav-container {
  max-width: 1800px; margin: 0 auto; padding: 0 2rem;
  display: flex; justify-content: space-between; align-items: center;
}

.brand-logo { 
    display: flex; 
    align-items: center; 
    gap: 0; /* Logo includes spacing */
}
.brand-tagline { font-family: var(--font-sans); font-size: 0.65rem; letter-spacing: 0.3em; color: var(--text-primary); margin-top: 0.2rem; display: none; /* Tagline integrated into logo image */ }
.nav-links { 
    font-family: var(--font-sans); 
    display: flex; 
    gap: 1.2rem; 
    align-items: center; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    color: var(--text-primary); 
    font-weight: 500; 
    white-space: nowrap; 
}

@media (max-width: 1400px) {
    .nav-links { gap: 0.8rem; font-size: 0.75rem; }
    .cta-btn { padding: 0.6rem 1.2rem; }
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

.lang-selector {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 4px 8px;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 0;
    font-family: var(--font-sans);
    margin-left: 1.2rem;
    transition: var(--transition-smooth);
}

[dir="rtl"] .lang-selector {
    margin-left: 0;
    margin-right: 1.2rem;
}

.nav-links a:not(.cta-btn) { position: relative; }
.nav-links a:not(.cta-btn)::after {
  content: ''; position: absolute; width: 0; height: 1px; bottom: 1px; left: 0;
  background-color: var(--primary); transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:not(.cta-btn):hover { color: var(--primary); text-shadow: none; }
.nav-links a:not(.cta-btn):hover::after { width: 100%; }
.cta-btn { 
    border: 1px solid var(--primary); 
    padding: 0.8rem 1.8rem; /* Increased for luxury feel */
    color: var(--primary); 
    border-radius: 0; 
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}
.cta-btn:hover { background: var(--primary); color: #fff; transform: none; box-shadow: none; }

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    margin-left: 1.2rem;
}

[dir="rtl"] .theme-toggle {
    margin-left: 0;
    margin-right: 1.2rem;
}

.theme-toggle:hover {
    color: var(--primary);
    transform: rotate(15deg);
}

/* Hero */
.hero {
  height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  background-color: var(--bg-dark);
  border-bottom: 1px solid #2a2a2a;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    animation: ken-burns 20s ease infinite alternate;
    z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--hero-overlay);
  z-index: 1;
  transition: background 0.5s ease;
}
.hero-content { 
    position: relative; 
    z-index: 2; 
    padding: 2rem; 
    width: 100%; 
    max-width: 1000px; 
    box-sizing: border-box;
    animation: fadeIn 2s cubic-bezier(0.16, 1, 0.3, 1); 
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-title { 
    font-size: 5rem; 
    margin-bottom: 1.5rem; 
    text-transform: uppercase; 
    line-height: 1.1; 
    color: #ffffff; 
    font-weight: 500; /* Increased from 300 for better visibility */
    text-shadow: 0 4px 40px rgba(0,0,0,0.6); 
}
.hero-subtitle { 
    font-size: 1.4rem; /* Slightly larger */
    color: #ffffff; 
    margin-bottom: 3rem; 
    font-weight: 400; /* Increased from 300 */
    max-width: 750px; 
    margin-left: auto; 
    margin-right: auto; 
    text-shadow: 0 2px 15px rgba(0,0,0,0.6); 
}
.btn-primary { 
    background: var(--primary); 
    color: #fff; 
    border: 1px solid var(--primary); 
    padding: 1rem 2.5rem; 
    text-transform: uppercase; 
    letter-spacing: 0.15em; 
    font-size: 0.85rem; 
    font-weight: 500; 
    display: inline-block; 
    border-radius: 0; 
    transition: var(--transition-smooth); 
    cursor: pointer; 
    white-space: nowrap;
}
.btn-primary:hover { 
    background: transparent; 
    color: var(--primary); 
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary { 
    background: transparent; 
    color: #fff; 
    border: 1px solid rgba(255, 255, 255, 0.4); 
    padding: 1rem 2.5rem; 
    text-transform: uppercase; 
    letter-spacing: 0.15em; 
    font-size: 0.85rem; 
    font-weight: 400; 
    display: inline-block; 
    border-radius: 0; 
    transition: var(--transition-smooth); 
    cursor: pointer; 
    white-space: nowrap;
}
.btn-secondary:hover { 
    border-color: var(--primary); 
    color: var(--primary); 
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .btn-primary, .btn-secondary { padding: 1rem 2rem; width: 100%; max-width: 280px; white-space: normal; }
    .hero-actions { flex-direction: column; align-items: center; gap: 1rem; }
}

/* Sections */
.section { 
    padding: 8rem 2rem; 
    content-visibility: auto; 
    contain-intrinsic-size: 1px 800px;
}
.container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { font-size: 3rem; margin-bottom: 1rem; }
.section-header p { color: var(--text-secondary); font-size: 1.2rem; font-style: italic; font-family: var(--font-serif); letter-spacing: 0.05em; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem;
}
.gallery-card {
  background: var(--bg-card); border-radius: 0; overflow: hidden; transition: var(--transition-smooth); border: none;
  cursor: pointer; display: flex; flex-direction: column;
  will-change: transform, box-shadow;
}
.gallery-card:hover { border: none; transform: none; box-shadow: none; }
.card-image-wrapper {
  height: 400px; width: 100%; background: var(--bg-card); overflow: hidden; position: relative;
}
.card-image-wrapper img {
  width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease;
}
.gallery-card:hover .card-image-wrapper img { transform: none; opacity: 0.85; }
.placeholder-img { width: 100%; height: 100%; opacity: 0.5; }

.card-content { padding: 2.5rem; flex: 1; display: flex; flex-direction: column; text-align: center; }
.card-content h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #111; font-weight: 400; text-transform: uppercase; letter-spacing: 0.15em; }
.card-content p { font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.1em; }

.individual-piece {
  border: none;
  background: transparent;
}
.individual-piece .card-image-wrapper {
  height: 450px;
}
.individual-piece .card-content {
  padding: 1.5rem 0;
  text-align: left;
}

/* Origin Section */
.origin-section { border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.origin-section .section-header { margin-bottom: 3rem; }

/* Rare Gems Display */
#raregems { padding: 10rem 2rem; }

/* Master Profile Section */
.master-profile {
    position: relative;
    padding: 12rem 0;
    background: #050505;
    color: #fff;
    overflow: hidden;
}

.profile-bg-parallax {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 120%;
    background: url('brand-assets/process/crafting-1.jpg') center/cover no-repeat;
    opacity: 0.2;
    filter: grayscale(1);
    transform: translateY(-10%);
    transition: transform 0.1s linear;
}

.profile-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 70% 50%, transparent 20%, rgba(5,5,5,0.9) 80%);
}

.profile-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
}

.profile-content {
    max-width: 650px;
}

.profile-pre {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.master-profile .founder-name {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 2.5rem;
    color: #fff;
}

.award-badges {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.badge-icon-wrap {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    flex-shrink: 0;
}

.badge-icon {
    width: 20px;
    height: 20px;
}

.badge-text-wrap {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--primary);
    font-weight: 600;
}

.badge-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}

.brand-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Footer */
.footer { background: #fafafa; padding: 5rem 2rem; border-top: 1px solid rgba(0,0,0,0.05); text-align: center; transition: background-color 0.5s ease, border-color 0.5s ease; }
.footer-brand h2 { font-size: 2.5rem; margin-bottom: 0.5rem; letter-spacing: 0.05em; }

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

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

@media (max-width: 900px) {
  .hero-title { font-size: 3.5rem; }
  .section-header h2 { font-size: 2.2rem; }
  .master-profile { padding: 8rem 0; }
  .profile-container { justify-content: center; text-align: center; }
  .award-badges { flex-direction: column; gap: 2rem; align-items: center; }
  .badge-item { text-align: left; }
}

/* Multilingual Adjustments */
.lang-selector {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
}

.lang-selector option {
  background: var(--bg-dark);
  color: var(--text-primary);
}

/* Day/Night Theme Button Styles */
.theme-toggle {
    display: flex !important;
    background: var(--text-primary);
    color: var(--bg-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Avoid squishing in tight navbars */
    cursor: pointer;
    margin-left: 1.5rem;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* RTL Layout for Arabic */
html[dir="rtl"] {
  text-align: right;
}

html[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-subtitle {
  margin-right: auto;
  margin-left: auto;
}

html[dir="rtl"] .card-content, html[dir="rtl"] .brand-text-col, html[dir="rtl"] .modal-content {
  text-align: right;
}
html[dir="rtl"] .brand-image-col { text-align: left; }

/* Modal Styling */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 9999; display: flex; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none; transition: var(--transition-smooth);
}
.modal-overlay.active {
  opacity: 1; pointer-events: auto;
}
.modal-content {
  background: #222; border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 4px;
  padding: 3.5rem 3rem; max-width: 650px; width: 90%; max-height: 85vh; overflow-y: auto;
  position: relative; transform: translateY(30px); transition: var(--transition-smooth);
  box-shadow: 0 25px 60px rgba(0,0,0,0.9); text-align: left;
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; color: var(--text-secondary);
  background: none; border: none; cursor: pointer; transition: var(--transition-snappy);
}
.modal-close:hover { color: #fff; transform: scale(1.1); }

.modal-info-intro {
  font-size: 1.15rem; color: #d4af37; margin-bottom: 2.5rem; font-family: var(--font-serif); font-style: normal;
  border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 1.5rem; line-height: 1.6; letter-spacing: 0.03em;
}

.modal-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem;
}

.modal-info-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 2rem;
  border-radius: 4px; transition: var(--transition-snappy); display: flex; flex-direction: column;
}
.modal-info-card:hover {
  background: rgba(212, 175, 55, 0.05); border-color: rgba(212, 175, 55, 0.3); transform: translateY(-5px);
}

.product-name {
  font-family: var(--font-serif); font-size: 1.4rem; color: #fff; letter-spacing: 0.03em; margin-bottom: 0.6rem; font-weight: 400; line-height: 1.3;
}
.product-desc {
  font-family: var(--font-sans); color: #b3b3b3; font-size: 1.05rem; margin-bottom: 1.8rem; line-height: 1.7; font-weight: 300; letter-spacing: 0.02em;
}
.product-tag {
  background: rgba(212, 175, 55, 0.1); color: var(--primary); display: inline-block;
  padding: 0.5rem 1.2rem; border-radius: 30px; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(212, 175, 55, 0.2); margin-top: auto; align-self: flex-start; margin-bottom: 1.5rem;
}
.product-photos {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; width: 100%;
  scrollbar-width: thin; scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
}
.product-photos::-webkit-scrollbar { height: 6px; }
.product-photos::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.4); border-radius: 3px; }
.product-photos img {
  height: 200px; width: auto; border-radius: 4px; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.05); transition: var(--transition-smooth); cursor: pointer; flex-shrink: 0;
}
.product-photos img:hover {
  transform: scale(1.03); border-color: var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; padding: 10px;
}
.hamburger span {
  display: block; width: 25px; height: 2px; background: var(--text-primary); transition: var(--transition-smooth); border-radius: 0;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--text-primary); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--text-primary); }

@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .nav-links {
    display: flex;
    position: fixed; top: 0; right: -100%; width: 100%; max-width: 320px; height: 100vh;
    background: #ffffff; flex-direction: column; justify-content: center; align-items: center;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1); padding: 2rem; gap: 2rem; z-index: 1000;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.2rem; }
  
  /* Mobile Dropdown Adjustments */
  .nav-dropdown { width: 100%; text-align: center; }
  .dropdown-content {
      position: static;
      transform: none;
      opacity: 1;
      visibility: visible;
      box-shadow: none;
      background: transparent;
      border: none;
      padding: 0;
      display: none;
  }
  .nav-dropdown.active .dropdown-content {
      display: block;
  }
  .dropdown-trigger::after { display: none; }

  .hero-title { font-size: 3.5rem; }
  
  html[dir="rtl"] .nav-links { right: auto; left: -100%; box-shadow: 10px 0 30px rgba(0,0,0,0.1); }
  html[dir="rtl"] .nav-links.active { left: 0; }
}

@media (max-width: 768px) {
  .modal-content { padding: 2.5rem 1.5rem; }
  .hero-title { font-size: 2.8rem; }
  .section { padding: 5rem 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}

html[dir="rtl"] .modal-content { text-align: right; }
html[dir="rtl"] .modal-close { right: auto; left: 1.5rem; }

/* Collection Page Layout */
.collection-main { padding-top: 80px; min-height: 100vh; background: var(--bg-dark); }
.collection-header { text-align: center; padding: 6rem 2rem 4rem; background: var(--bg-dark); border-bottom: none; transition: var(--transition-smooth); }
.collection-header h1 { font-size: 3.5rem; margin-bottom: 1.5rem; letter-spacing: 0.05em; color: var(--text-primary); text-transform: uppercase; font-family: var(--font-sans); font-weight: 400; }
.collection-header p { color: var(--text-secondary); font-size: 1.15rem; max-width: 600px; margin: 0 auto; font-family: var(--font-sans); }
.products-list { display: flex; flex-direction: column; gap: 7rem; padding: 6rem 2rem; max-width: 1300px; margin: 0 auto; }
.product-full-section { display: grid; grid-template-columns: 350px 1fr; gap: 5rem; align-items: flex-start; border-bottom: 1px solid #eee; padding-bottom: 7rem; }
.product-full-section:last-child { border-bottom: none; padding-bottom: 0; }
.product-info-side { position: sticky; top: 120px; text-align: left; }
.product-info-side h2 { font-family: var(--font-sans); font-size: 2.8rem; margin-bottom: 0.8rem; color: var(--text-primary); transition: color 0.5s ease; font-weight: 400; text-transform: uppercase; }
.product-info-side .mat { color: var(--text-secondary); border: 1px solid #ddd; background: transparent; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 2rem; display: inline-block; padding: 0.4rem 1rem; border-radius: 0; }
.product-info-side p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 2.5rem; font-size: 1.05rem; }
.product-price { font-family: var(--font-sans); font-size: 1.4rem; color: var(--text-primary); font-weight: 300; margin-bottom: 2.5rem; letter-spacing: 0.05em; font-style: italic; }
.btn-inquire { display: inline-block; background: transparent; color: var(--primary); border: 1px solid var(--primary); padding: 1rem 2.5rem; text-transform: uppercase; font-weight: 400; letter-spacing: 0.1em; font-size: 0.85rem; transition: var(--transition-smooth); cursor: pointer; border-radius: 0; }
.btn-inquire:hover { background: var(--primary); color: #fff; transform: none; box-shadow: none; }
.product-images-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.product-images-side img { 
    width: 100%; 
    border-radius: 0; 
    object-fit: cover; 
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
    border: none; 
    box-shadow: none; 
    cursor: pointer;
}
.product-images-side img:hover { 
    transform: scale(1.02); 
    opacity: 0.9; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

/* Lightbox Base */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--lightbox-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: none; /* Controlled by JS */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active img {
    transform: scale(1);
}

/* Lightbox Controls */
.lightbox-close {
    position: absolute;
    top: 3rem;
    right: 3rem;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close span {
    position: absolute;
    width: 30px;
    height: 1px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.lightbox-close span:nth-child(1) { transform: rotate(45deg); }
.lightbox-close span:nth-child(2) { transform: rotate(-45deg); }

.lightbox-close:hover span {
    background: var(--primary);
    width: 35px;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.lightbox-prev::before, .lightbox-next::before {
    content: '';
    width: 20px;
    height: 20px;
    border-left: 1px solid var(--text-primary);
    border-bottom: 1px solid var(--text-primary);
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.lightbox-prev::before { transform: rotate(45deg); margin-left: 10px; }
.lightbox-next::before { transform: rotate(-135deg); margin-right: 10px; }

.lightbox-prev:hover::before, .lightbox-next:hover::before {
    border-color: var(--primary);
}

.lightbox-prev:hover { transform: translateY(-50%) translateX(-5px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(5px); }

.lightbox-prev { left: 3rem; }
.lightbox-next { right: 3rem; }

@media (max-width: 768px) {
    .lightbox img { max-width: 95%; }
    .lightbox-prev, .lightbox-next { padding: 1.5rem 1rem; }
}
@media (max-width: 900px) { .product-full-section { grid-template-columns: 1fr; gap: 3rem; } .product-info-side { position: relative; top: 0; text-align: left; } .product-images-side { grid-template-columns: 1fr; } }
html[dir="rtl"] .product-info-side { text-align: right; }

/* Overview Slideshow */
.overview-main {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none; /* Firefox */
}
.overview-main::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.slide {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.slide-content {
  height: 100%;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
  gap: 2vw;
}

.slide-info-side {
  flex: 0 0 40%;
  padding: 2rem;
  z-index: 10;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05); /* Very subtle layer */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.slide-series {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Redesigned Crafts Immersive Section */
.crafts-immersive {
    background: #050505;
    color: #fff;
    padding: 28rem 0 10rem 0;
    /* overflow: hidden removed to fix sticky behavior */
}

.crafts-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: start;
}

.crafts-sidebar {
    padding-right: 2rem;
}

.crafts-sidebar .section-header {
    text-align: left;
    margin-bottom: 4rem;
}

.crafts-scroll-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.craft-scroll-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    cursor: pointer;
    transition: var(--transition-premium);
    border-left: 2px solid transparent;
    opacity: 0.4;
    transform: translateX(-10px);
}

.craft-scroll-item:hover, .craft-scroll-item.active {
    opacity: 1;
    transform: translateX(0);
    background: rgba(255, 255, 255, 0.03);
    border-left-color: var(--primary);
}

.craft-number {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    opacity: 0.8;
}

.craft-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    color: #fff;
}

.craft-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #aaa;
    max-width: 450px;
}

.crafts-cta {
    margin-top: 4rem;
}

/* Sticky Visual Container */
.crafts-visual-sticky {
    position: sticky;
    top: 60%;
    transform: translateY(-50%);
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.craft-visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.craft-visual-item {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.1);
}

.craft-visual-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.craft-visual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.4) 100%);
}

.craft-focus-ring {
    position: absolute;
    width: 110%;
    height: 110%;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: rotate-slow 20s linear infinite;
}

.ring-dot {
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .crafts-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .crafts-visual-sticky {
        position: relative;
        top: 0;
        height: 50vh;
        order: -1;
    }
    .crafts-sidebar {
        padding-right: 0;
    }
}

/* Global Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Process Preview */
.process-preview-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 992px) {
    .process-preview-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .process-preview-steps {
        grid-template-columns: 1fr;
    }
}

.step-item {
    text-align: center;
    padding: 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.step-item.active {
    opacity: 1;
    transform: translateY(0);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: -1rem;
}

.step-item h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.slide-title {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 300;
  color: #111;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
  word-wrap: break-word;
  max-width: 100%;
}

.slide-mat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  border: 1px solid #eee;
  display: inline-block;
  padding: 0.5rem 1.2rem;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.slide.active .slide-series,
.slide.active .slide-title,
.slide.active .slide-mat {
  opacity: 1;
  transform: translateY(0);
}

.slide-image-side {
  flex: 0 0 55%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.08));
}

@media (max-width: 1024px) {
  .slide-content {
    flex-direction: column; /* Normal column: image top, text bottom */
    justify-content: flex-start;
    padding: 120px 1.5rem 60px;
    gap: 2rem;
    overflow-y: auto;
  }
  .slide-image-side {
    flex: 0 0 50vh;
    width: 100%;
  }
  .slide-info-side {
    flex: none;
    width: 100%;
    text-align: center;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
  }
  .slide-mat {
    align-self: center;
  }
  .slide-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
}

/* Slide Navigation Dots */
.slide-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #111;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slide-dot.active {
  background: #111;
  transform: scale(1.5);
}

/* Brand Story & Craftsmanship */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 4rem;
}
.story-card {
  background: #fff; border: 1px solid #eee; transition: var(--transition-smooth);
}
.story-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.story-image img { width: 100%; height: 400px; object-fit: cover; }
.story-content { padding: 2.5rem; text-align: left; }
.story-content h3 { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 1rem; color: #111; }
.story-content p { font-size: 1.05rem; line-height: 1.7; color: var(--text-secondary); }

.craft-layout {
  display: flex; gap: 4rem; align-items: center; padding: 4rem 0;
}
.craft-video-col { flex: 1.2; }
.brand-video { width: 100%; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.craft-text-col { flex: 1; }
.craft-text-col h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
.craft-text-col p { font-size: 1.15rem; line-height: 1.8; color: #ccc; margin-bottom: 3rem; }
.craft-steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.craft-steps-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; filter: grayscale(0.5); transition: 0.4s; }
.craft-steps-grid img:hover { filter: grayscale(0); transform: scale(1.05); }


@media (max-width: 1024px) {
  .story-grid, .craft-layout { grid-template-columns: 1fr; flex-direction: column; gap: 3rem; }
  .story-image img { height: 300px; }
  .craft-text-col h2 { font-size: 2.2rem; }
}

/* AI Advisor styles removed from here - fully handled in ai_advisor.css */

.ai-header {
    background: #1a1a1a;
    color: #fff;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Luxury Search Bar */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.search-toggle:hover {
    opacity: 1;
    transform: scale(1.1);
}

.search-input-wrapper {
    width: 0;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
    opacity: 0;
    display: flex;
    align-items: center;
}

.search-container.active .search-input-wrapper {
    width: 250px;
    opacity: 1;
    margin-left: 0.5rem;
}

.search-input {
    background: rgba(var(--bg-dark-rgb, 255, 255, 255), 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.6rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    transition: var(--transition-smooth);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.15);
}

[data-theme="dark"] .search-input {
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
    .search-container {
        margin-right: 0;
        margin-bottom: 30px;
        order: -1; /* Place at top in mobile menu */
    }
    .search-input-wrapper {
        width: 100%;
        opacity: 1;
    }
    .search-container.active .search-input-wrapper {
        width: 100%;
    }
    .search-toggle { display: none; } /* Show search bar always in mobile for better UX */
}

@media (max-width: 900px) { .product-full-section { grid-template-columns: 1fr; gap: 3rem; } .product-info-side { position: relative; top: 0; text-align: left; } .product-images-side { grid-template-columns: 1fr; } }
/* Custom Premium Cursor */
.custom-cursor, .custom-cursor-follower {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, transform 0.1s linear;
}

.custom-cursor {
    width: 8px; height: 8px;
    background: var(--primary);
    margin-left: -4px; margin-top: -4px;
}

.custom-cursor-follower {
    width: 40px; height: 40px;
    border: 1px solid var(--primary);
    opacity: 0.3;
    margin-left: -20px; margin-top: -20px;
}

.custom-cursor-follower.active {
    width: 80px; height: 80px;
    margin-left: -40px; margin-top: -40px;
    background: rgba(var(--primary-rgb), 0.1);
    border-color: transparent;
    opacity: 0.8;
}

.custom-cursor.active {
    transform: scale(1.5);
}

.custom-cursor-follower.clicking {
    transform: scale(0.85);
    background: rgba(var(--primary-rgb), 0.3);
}

@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-follower { display: none !important; }
}

body, a, button, input {
    cursor: none !important;
}

/* Glowing Link for AI Keywords */
.glowing-link {
    color: var(--primary) !important;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 0 2px;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.3);
    cursor: none !important; /* Custom cursor handles this */
}

.glowing-link:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.8), 0 0 20px rgba(var(--primary-rgb), 0.4);
    background: rgba(var(--primary-rgb), 0.1);
}

.glowing-link::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 0; height: 1px;
    background: var(--primary);
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--primary);
}

.glowing-link:hover::after {
    width: 100%;
}

@keyframes glow-pulse {
    0% { text-shadow: 0 0 5px rgba(var(--primary-rgb), 0.2); }
    50% { text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.6); }
    100% { text-shadow: 0 0 5px rgba(var(--primary-rgb), 0.2); }
}

.ai-page-container .message.ai strong {
    animation: glow-pulse 3s infinite ease-in-out;
}

/* Rare Gems Section */
.raregems-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.raregems-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.raregem-card {
    position: relative;
    height: 600px;
    overflow: hidden;
    cursor: pointer;
}

.raregem-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.raregem-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.raregem-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    transform: translateY(20px);
    transition: var(--transition-premium);
}

.raregem-origin {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.raregem-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.raregem-spec {
    font-size: 0.9rem;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.raregem-card:hover .raregem-image-wrapper img {
    transform: scale(1.1);
}

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

@media (max-width: 1024px) {
    .raregems-grid { grid-template-columns: 1fr; }
    .raregem-card { height: 450px; }
}

/* Final Verification & Utility Polish */
.will-reveal { opacity: 0; }
.active.will-reveal { opacity: 1; transition: opacity 1s ease; }

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

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

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

/* Staggered Gallery Reveal */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.gallery-grid > .reveal {
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid > .reveal:nth-child(1) { transition-delay: 0.1s; }
.gallery-grid > .reveal:nth-child(2) { transition-delay: 0.2s; }
.gallery-grid > .reveal:nth-child(3) { transition-delay: 0.3s; }
.gallery-grid > .reveal:nth-child(4) { transition-delay: 0.4s; }
.gallery-grid > .reveal:nth-child(5) { transition-delay: 0.5s; }
.gallery-grid > .reveal:nth-child(6) { transition-delay: 0.6s; }

/* Concierge Floating Button */
.concierge-fab {
    position: fixed;
    bottom: 110px;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 15px 45px rgba(0,0,0,0.25);
    transition: var(--transition-smooth);
    color: var(--primary);
}

.concierge-fab:hover {
    transform: scale(1.05) translateY(-5px);
    background: var(--primary);
    color: #fff;
}

.concierge-fab svg {
    width: 28px;
    height: 28px;
}

.concierge-fab::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary);
    animation: concierge-pulse 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    z-index: -1;
}

@keyframes concierge-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Concierge Modal */
.concierge-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.concierge-modal.active {
    opacity: 1;
    visibility: visible;
}

.concierge-modal-content {
    background: var(--bg-card);
    padding: 4rem 3rem;
    max-width: 650px;
    width: 95%;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.concierge-modal-content::-webkit-scrollbar {
    width: 6px;
}

.concierge-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.concierge-modal.active .concierge-modal-content {
    transform: translateY(0);
}

.concierge-modal-close {
    position: absolute;
    top: 25px; right: 25px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.concierge-modal-close:hover { opacity: 1; transform: rotate(90deg); }

.concierge-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .concierge-options { grid-template-columns: 1fr; gap: 2rem; }
    .concierge-modal-content { padding: 3rem 1.5rem; max-height: 90vh; overflow-y: auto; }
}

.concierge-card.primary {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
}

.concierge-details {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.detail-item h4 {
    font-family: var(--font-serif);
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.detail-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .concierge-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.concierge-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.concierge-card:hover { border-color: var(--primary); }

.qr-wrapper {
    background: #fff;
    padding: 15px;
    margin-bottom: 1.5rem;
    width: 210px;
    height: 210px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
}

.wechat-qr-img {
    object-fit: contain !important;
    transform: none;
}

.whatsapp-qr-img {
    object-fit: cover !important;
    object-position: center 23% !important; /* Slightly adjusted down from 20% */
    transform: scale(1.4);
}

.contact-label {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-id {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 1rem;
    display: block;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: 0.3s;
}

.copy-btn:hover { background: var(--primary); color: #fff; }

.copy-btn.copied { background: #4CAF50; border-color: #4CAF50; color: #fff; }
/* --- Collection Landing Grid --- */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.collection-card {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    background: #000;
}

.col-card-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.col-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-card:hover .col-card-image img {
    transform: scale(1.08);
}

.col-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    transition: background 0.4s ease;
}

.collection-card:hover .col-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.2) 100%);
}

.col-card-info {
    color: #fff;
    max-width: 80%;
}

.col-category {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.col-card-info h3 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-weight: 400;
}

.col-card-info p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.col-explore {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.collection-card:hover .col-explore {
    gap: 15px;
}

@media (max-width: 1024px) {
    .collection-grid { grid-template-columns: 1fr; }
    .col-card-info h3 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .col-card-overlay { padding: 25px; }
    .col-card-info h3 { font-size: 1.75rem; }
    .col-card-info p { font-size: 0.9rem; }
}

/* --- Refined Product Full Section (Magazine Layout) --- */
.product-full-section {
    display: flex;
    min-height: 80vh;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 60px;
    background: var(--bg-card);
}

.product-full-section:nth-child(even) {
    flex-direction: row-reverse;
}

.product-info-side {
    flex: 1;
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info-side h2 {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.product-info-side .mat {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: block;
}

.product-info-side p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 500px;
}

.product-price {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.1em;
}

.btn-inquire {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    width: fit-content;
}

.btn-inquire:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.2);
}

.product-images-side {
    flex: 1;
    background: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-images-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.product-images-side img:hover {
    transform: scale(1.05);
}

/* For multi-image display in side */
.product-images-side img + img {
    margin-top: 0;
}

@media (max-width: 1200px) {
    .product-info-side { padding: 4rem; }
    .product-info-side h2 { font-size: 2.8rem; }
}

@media (max-width: 900px) {
    .product-full-section { flex-direction: column !important; }
    .product-info-side { padding: 3rem 1.5rem; text-align: center; align-items: center; }
    .product-info-side h2 { font-size: 2.2rem; }
    .product-info-side p { margin-left: auto; margin-right: auto; }
    .product-images-side { height: 60vh; }
}

/* --- Collection Hero Header --- */
.collection-header.has-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
    transition: all 0.6s ease;
    min-height: 50vh;
}

.collection-header.has-hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.collection-header.has-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.collection-header .back-link {
    transition: all 0.3s ease;
}

.collection-header.has-hero .back-link {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.collection-header.has-hero .back-link:hover {
    border-color: #fff;
}

@media (max-width: 768px) {
    .collection-header.has-hero h1 { font-size: 2.8rem; }
    .collection-header.has-hero p { font-size: 1rem; }
    .recognition-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}
