/* ============================================
   MENAART — Light Theme: Bordeaux Luxury
   Bej + Bordeaux, Glassmorphism, Gold Accents
   ============================================ */

[data-theme="light"] {
  /* ── Brand Colors — Rich bordeaux palette ── */
  --color-orange: #6B1730;
  --color-orange-glow: #C9A86A;
  --color-orange-pale: #D4B896;
  --color-orange-deep: #4B1023;

  /* ── Base Palette — Warm bej tones ── */
  --color-cream: #4A312A;
  --color-cream-dim: #6B4D42;
  --color-dark: #F4EADF;
  --color-dark-2: #EADDCB;
  --color-dark-3: #E5D4C0;
  --color-dark-4: #DCC8B0;
  --color-white: #FBF7F2;

  /* ── Semantic Text — Rich warm contrast ── */
  --text-primary: #4A312A;
  --text-dim: rgba(74, 49, 42, 0.72);
  --text-dimmer: rgba(74, 49, 42, 0.5);
  --text-faint: rgba(74, 49, 42, 0.25);

  /* ── Surfaces — Glassmorphism with bej tint ── */
  --nav-bg: rgba(244, 234, 223, 0.7);
  --nav-bg-scrolled: rgba(244, 234, 223, 0.88);
  --card-bg: rgba(251, 247, 242, 0.7);
  --card-border: rgba(107, 23, 48, 0.08);
  --card-border-hover: rgba(107, 23, 48, 0.35);
  --overlay-strong: rgba(244, 234, 223, 0.96);
  --overlay-medium: rgba(244, 234, 223, 0.7);

  /* ── Inputs — Warm glass ── */
  --input-bg: rgba(107, 23, 48, 0.02);
  --input-border: rgba(107, 23, 48, 0.12);
  --input-border-focus: var(--color-orange);

  /* ── Shadows — Bordeaux-tinted glow system ── */
  --shadow-card: 0 4px 32px rgba(107, 23, 48, 0.06), 0 1px 4px rgba(75, 16, 35, 0.03);
  --shadow-card-hover: 0 20px 60px rgba(107, 23, 48, 0.12), 0 8px 24px rgba(201, 168, 106, 0.08);
  --shadow-glow: 0 0 40px rgba(107, 23, 48, 0.15), 0 0 80px rgba(201, 168, 106, 0.08);
  --shadow-nav: 0 1px 0 rgba(107, 23, 48, 0.05), 0 4px 20px rgba(107, 23, 48, 0.03);
}

/* ── Body: Animated gradient background ── */
[data-theme="light"] body {
  background: linear-gradient(
    135deg,
    #F4EADF 0%,
    #EADDCB 25%,
    #F4EADF 50%,
    #E5D4C0 75%,
    #F4EADF 100%
  );
  background-size: 400% 400%;
  animation: lightGradientShift 20s ease-in-out infinite;
}

/* ── Navigation — Frosted glass with bordeaux glow ── */
[data-theme="light"] .nav-header {
  border-block-end: 1px solid rgba(107, 23, 48, 0.06);
}

[data-theme="light"] .nav-header::after {
  background: linear-gradient(90deg, transparent, rgba(107, 23, 48, 0.8), #C9A86A, rgba(107, 23, 48, 0.8), transparent);
}

[data-theme="light"] .nav-header.scrolled {
  background: rgba(244, 234, 223, 0.85);
  backdrop-filter: blur(30px) saturate(2);
  -webkit-backdrop-filter: blur(30px) saturate(2);
  box-shadow: 0 4px 30px rgba(107, 23, 48, 0.06), 0 1px 0 rgba(107, 23, 48, 0.1);
}

[data-theme="light"] .nav-header.scrolled::after {
  opacity: 0.7;
}

[data-theme="light"] .nav__link:hover {
  text-shadow: 0 0 12px rgba(107, 23, 48, 0.2);
}

[data-theme="light"] .nav__link::after {
  background: linear-gradient(90deg, var(--color-orange), var(--color-orange-glow), var(--color-orange));
  box-shadow: 0 0 12px rgba(107, 23, 48, 0.5);
}

[data-theme="light"] .nav__link--cta {
  border-color: var(--color-orange);
  color: var(--color-orange);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .nav__link--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107, 23, 48, 0.08), transparent, rgba(201, 168, 106, 0.08));
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
  animation: lightGradientShift 4s ease-in-out infinite;
}

[data-theme="light"] .nav__link--cta:hover::before {
  opacity: 1;
}

[data-theme="light"] .nav__link--cta:hover {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-deep));
  color: #FBF7F2;
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(107, 23, 48, 0.4), 0 0 60px rgba(201, 168, 106, 0.15);
}

/* ── Cards — Glass + warm glow ── */
[data-theme="light"] .art-card {
  background: rgba(251, 247, 242, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(107, 23, 48, 0.06);
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .art-card:hover {
  border-color: rgba(107, 23, 48, 0.2);
  box-shadow: var(--shadow-card-hover);
}

[data-theme="light"] .art-card img {
  filter: saturate(1.05) contrast(1.02) brightness(1.02);
}

[data-theme="light"] .art-card:hover img {
  filter: saturate(1.15) contrast(1.05) brightness(1);
}

[data-theme="light"] .art-card__overlay {
  background: linear-gradient(
    to top,
    rgba(244, 234, 223, 0.95) 0%,
    rgba(244, 234, 223, 0.6) 40%,
    transparent 100%
  );
}

[data-theme="light"] .art-card__price {
  color: var(--color-orange-deep);
}

/* ── Buttons — Gradient + gold glow ── */
[data-theme="light"] .btn--primary {
  background: linear-gradient(135deg, #6B1730, #4B1023);
  color: #FBF7F2;
  box-shadow: 0 4px 16px rgba(107, 23, 48, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .btn--primary:hover {
  background: linear-gradient(135deg, #7D1E3A, #6B1730);
  box-shadow: 0 8px 32px rgba(107, 23, 48, 0.35), 0 0 40px rgba(201, 168, 106, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #FBF7F2;
}

[data-theme="light"] .btn--outline {
  border: 1.5px solid rgba(107, 23, 48, 0.25);
  color: var(--color-orange);
  background: rgba(107, 23, 48, 0.02);
}

[data-theme="light"] .btn--outline:hover {
  border-color: var(--color-orange);
  background: rgba(107, 23, 48, 0.06);
  box-shadow: 0 4px 20px rgba(107, 23, 48, 0.12), 0 0 30px rgba(201, 168, 106, 0.08);
  color: var(--color-orange-deep);
}

/* ── Hero — Warm glow atmosphere ── */
[data-theme="light"] .hero__title {
  background: linear-gradient(135deg, #4A312A 30%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero__title em {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero__eyebrow {
  color: var(--color-orange);
  text-shadow: 0 0 20px rgba(107, 23, 48, 0.15);
}

/* ── Section Labels & Titles ── */
[data-theme="light"] .section-label {
  color: var(--color-orange);
}

[data-theme="light"] .section-label::before {
  background: linear-gradient(90deg, var(--color-orange), transparent);
}

[data-theme="light"] .section-title {
  color: #4A312A;
}

/* ── About — Warm accents ── */
[data-theme="light"] .about__text--highlight {
  color: var(--color-orange-deep);
  border-inline-start-color: var(--color-orange);
  background: rgba(107, 23, 48, 0.03);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

[data-theme="light"] .about__text--closing {
  color: #4A312A;
}

[data-theme="light"] .about__portrait-frame::before {
  background: conic-gradient(
    from var(--portrait-angle, 0deg),
    #6B1730,
    #C9A86A,
    #D4B896,
    #4B1023,
    #6B1730
  );
  opacity: 1;
}

[data-theme="light"] .about__portrait-border {
  border-color: var(--color-orange);
  opacity: 0.6;
  box-shadow: 0 0 30px rgba(107, 23, 48, 0.15);
}

[data-theme="light"] .about__portrait-accent {
  opacity: 0.4;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.4) 0%, transparent 70%);
}

[data-theme="light"] .about__portrait-img {
  box-shadow: 0 20px 60px rgba(107, 23, 48, 0.12), 0 8px 24px rgba(75, 16, 35, 0.05);
}

[data-theme="light"] .about__portrait-frame:hover .about__portrait-img {
  box-shadow: 0 30px 80px rgba(107, 23, 48, 0.2), 0 12px 32px rgba(201, 168, 106, 0.1);
}

/* ── Forms — Glass inputs ── */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  background: rgba(251, 247, 242, 0.8);
  border-color: rgba(107, 23, 48, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #4A312A;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
  border-color: var(--color-orange);
  background: rgba(251, 247, 242, 0.95);
  box-shadow: 0 0 0 3px rgba(107, 23, 48, 0.08), 0 4px 16px rgba(107, 23, 48, 0.06);
}

[data-theme="light"] .form-group input:focus ~ label,
[data-theme="light"] .form-group input:not(:placeholder-shown) ~ label,
[data-theme="light"] .form-group textarea:focus ~ label,
[data-theme="light"] .form-group textarea:not(:placeholder-shown) ~ label {
  background: var(--color-dark);
  color: var(--color-orange);
}

[data-theme="light"] .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B1730' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* ── Newsletter — Gradient border ── */
[data-theme="light"] .newsletter__input-group {
  border-color: rgba(107, 23, 48, 0.15);
  background: rgba(251, 247, 242, 0.7);
  box-shadow: 0 4px 20px rgba(107, 23, 48, 0.04);
}

[data-theme="light"] .newsletter__input-group:focus-within {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(107, 23, 48, 0.06), 0 8px 30px rgba(107, 23, 48, 0.08);
}

[data-theme="light"] .newsletter__input-group input {
  background: transparent;
  color: #4A312A;
}

[data-theme="light"] .newsletter__input-group button {
  background: linear-gradient(135deg, #6B1730, #4B1023);
  color: #FBF7F2;
}

/* ── Contact Info ── */
[data-theme="light"] .contact__detail-value {
  color: #4A312A;
}

[data-theme="light"] .contact__detail-value--available {
  color: var(--color-orange);
  font-weight: var(--fw-semibold);
}

/* ── Footer — Warm luxury ── */
[data-theme="light"] .footer {
  background: linear-gradient(180deg, rgba(234, 221, 203, 0.5), rgba(229, 212, 192, 0.8));
  border-block-start-color: rgba(107, 23, 48, 0.1);
}

[data-theme="light"] .footer::before {
  background: linear-gradient(90deg, transparent, rgba(107, 23, 48, 0.9), #C9A86A, rgba(107, 23, 48, 0.9), transparent);
  background-size: 200% 100%;
  height: 2px;
}

[data-theme="light"] .footer::after {
  background: radial-gradient(ellipse at 50% 0%, rgba(107, 23, 48, 0.06) 0%, transparent 50%);
}

[data-theme="light"] .footer__heading {
  color: #4A312A;
}

[data-theme="light"] .footer__heading::after {
  background: linear-gradient(90deg, var(--color-orange), var(--color-orange-glow), transparent);
  opacity: 0.7;
}

[data-theme="light"] .footer__social-link {
  border-color: rgba(107, 23, 48, 0.15);
  color: var(--text-dim);
  background: rgba(251, 247, 242, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

[data-theme="light"] .footer__social-link:hover {
  border-color: transparent;
  color: #FBF7F2;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-deep));
  box-shadow: 0 8px 24px rgba(107, 23, 48, 0.35), 0 0 40px rgba(201, 168, 106, 0.15);
}

[data-theme="light"] .footer__bottom {
  border-block-start-color: rgba(107, 23, 48, 0.08);
}

/* ── Lightbox — Frosted glass ── */
[data-theme="light"] .lightbox {
  background: rgba(244, 234, 223, 0.92);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
}

[data-theme="light"] .lightbox__close,
[data-theme="light"] .lb-close,
[data-theme="light"] .lb-prev,
[data-theme="light"] .lb-next {
  background: rgba(107, 23, 48, 0.08);
  color: var(--color-orange-deep);
  border: 1px solid rgba(107, 23, 48, 0.12);
}

[data-theme="light"] .lightbox__close:hover,
[data-theme="light"] .lb-close:hover,
[data-theme="light"] .lb-prev:hover,
[data-theme="light"] .lb-next:hover {
  background: var(--color-orange);
  color: #FBF7F2;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(107, 23, 48, 0.3), 0 0 20px rgba(201, 168, 106, 0.1);
}

/* ── Lang Switcher — Glass ── */
[data-theme="light"] .lang-dropdown {
  background: rgba(251, 247, 242, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(107, 23, 48, 0.1);
  box-shadow: 0 12px 40px rgba(107, 23, 48, 0.08), 0 4px 12px rgba(75, 16, 35, 0.04);
}

[data-theme="light"] .lang-dropdown button:hover {
  background: rgba(107, 23, 48, 0.06);
  color: var(--color-orange);
}

[data-theme="light"] .lang-dropdown button.active {
  background: rgba(107, 23, 48, 0.1);
  color: var(--color-orange-deep);
}

/* ── Theme Toggle — Sun mode ── */
[data-theme="light"] .theme-toggle:hover {
  background: rgba(107, 23, 48, 0.06);
}

[data-theme="light"] .theme-orb {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-glow));
  box-shadow: 0 0 20px rgba(107, 23, 48, 0.4), 0 0 40px rgba(201, 168, 106, 0.3);
}

/* ── Canvas — Ink-in-Water layer ── */
[data-theme="light"] #bg-canvas {
  opacity: 1;
  mix-blend-mode: multiply;
}

/* ── Custom Cursor — Bordeaux on light ── */
[data-theme="light"] #cursor {
  background: var(--color-orange);
  mix-blend-mode: normal;
  box-shadow: 0 0 12px rgba(107, 23, 48, 0.4);
}

[data-theme="light"] #cursor-ring {
  border-color: var(--color-orange);
  mix-blend-mode: normal;
  box-shadow: 0 0 8px rgba(107, 23, 48, 0.2);
}

[data-theme="light"] #light-follower {
  background: radial-gradient(circle, rgba(201, 168, 106, 0.08) 0%, transparent 70%);
}

/* ── Scroll Reveal on Light ── */
[data-theme="light"] .reveal.visible,
[data-theme="light"] .reveal-left.visible,
[data-theme="light"] .reveal-right.visible,
[data-theme="light"] .reveal-scale.visible {
  filter: drop-shadow(0 4px 12px rgba(107, 23, 48, 0.03));
}

/* ── Mobile Nav — Frosted ── */
[data-theme="light"] .mobile-nav {
  background: rgba(244, 234, 223, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

[data-theme="light"] .mobile-nav__link {
  color: #4A312A;
}

[data-theme="light"] .mobile-nav__link--cta {
  color: var(--color-orange);
}

/* ── Hamburger Lines ── */
[data-theme="light"] .hamburger__line {
  background: #4A312A;
}

/* ── Scrollbar ── */
[data-theme="light"] ::-webkit-scrollbar-track {
  background: rgba(107, 23, 48, 0.02);
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(107, 23, 48, 0.2);
  border-radius: var(--radius-full);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: var(--color-orange);
}

/* ── Selection ── */
[data-theme="light"] ::selection {
  background-color: var(--color-orange);
  color: #FBF7F2;
}

/* ── Hover Shimmer Effect on Cards ── */
[data-theme="light"] .art-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(201, 168, 106, 0.06) 45%,
    rgba(201, 168, 106, 0.12) 50%,
    rgba(201, 168, 106, 0.06) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease-out-expo);
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}

[data-theme="light"] .art-card:hover::before {
  transform: translateX(100%);
}

/* ── Section Dividers — Gradient lines ── */
[data-theme="light"] section + section::before {
  content: '';
  display: block;
  width: 100%;
  max-width: 200px;
  height: 1px;
  margin: 0 auto calc(var(--space-section) * -0.5);
  background: linear-gradient(90deg, transparent, var(--color-orange-glow), transparent);
  opacity: 0.5;
}

/* ── Glow Dots Background Decoration ── */
[data-theme="light"] .hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(107, 23, 48, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: lightGlowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

[data-theme="light"] .hero::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: lightGlowPulse 6s ease-in-out infinite 2s;
  pointer-events: none;
}

/* ── Logo Theme Switching ── */
/* Hide all logos by default */
.nav__logo-img,
.footer__logo-img {
  display: none;
}

/* Dark theme: show dark logo */
[data-theme="dark"] .nav__logo-img--dark,
[data-theme="dark"] .footer__logo-img--dark {
  display: block;
}

/* Light theme: show light logo */
[data-theme="light"] .nav__logo-img--light,
[data-theme="light"] .footer__logo-img--light {
  display: block;
}

/* Dark theme: hero eyebrow bej color */
[data-theme="dark"] .hero__eyebrow {
  color: var(--color-cream);
}

/* Dark theme: button text bej color */
[data-theme="dark"] .btn--primary,
[data-theme="dark"] .btn--primary:hover,
[data-theme="dark"] .nav__link--cta:hover,
[data-theme="dark"] .newsletter__input-group button,
[data-theme="dark"] .art-card__inquire {
  color: var(--color-cream);
}

[data-theme="dark"] .nav__link--cta {
  color: var(--color-cream);
  border-color: var(--color-cream);
}

/* Light theme: dark text */
[data-theme="light"] .nav__logo-text,
[data-theme="light"] .footer__logo-text {
  color: var(--color-charcoal);
}
