@import url('https://fonts.googleapis.com/css2?family=Bellefair&family=Assistant:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ==========================================================================
   Design Tokens & Variables
   ========================================================================== */
:root {
  /* Color Palette - Premium Light Alabaster/Pearl & Gold */
  --bg-obsidian: #faf9f6; /* Soft pearl wall background */
  --bg-card: #ffffff; /* Pure white for content containers */
  --bg-card-hover: #fcfaf7; /* Warm gold tint hover */
  --bg-nav: rgba(250, 249, 246, 0.85); /* Frosted glass navigation */
  
  --text-pure: #101216; /* Deep charcoal for headers/logos */
  --text-primary: #1f2226; /* Primary charcoal body text */
  --text-muted: #5e6268; /* Muted gray/charcoal */
  
  --accent-gold: #b0883f; /* Rich Premium Gold */
  --accent-gold-rgb: 176, 136, 63;
  --accent-gold-light: #cfa860;
  --accent-gold-dark: #916c2c;
  --accent-teal: #007acc; /* Ocean blue contrast */
  
  --border-glow: rgba(176, 136, 63, 0.2);
  --border-muted: rgba(0, 0, 0, 0.08);
  
  /* Typography */
  --font-serif: 'Bellefair', 'Playfair Display', serif;
  --font-sans: 'Assistant', sans-serif;
  
  /* Layout & Spacing */
  --container-max-width: 1200px;
  --header-height: 80px;
  
  /* Effects */
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.04);
  --glass-blur: blur(12px);
  
  /* Transition timings */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   Base & Reset Settings (Hebrew RTL Optimized)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  scroll-behavior: smooth;
  direction: rtl; /* Set default text direction to Hebrew RTL */
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
  border: 2px solid var(--bg-obsidian);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Selection highlight */
::selection {
  background-color: rgba(var(--accent-gold-rgb), 0.3);
  color: var(--text-pure);
}

/* ==========================================================================
   Typography & Headers
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-pure);
  font-weight: 500;
  line-height: 1.25;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
  margin: 1rem auto 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-nav);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-muted);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  background-color: rgba(10, 11, 13, 0.95);
  box-shadow: var(--shadow-lg);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

header.scrolled .logo-text {
  background: linear-gradient(135deg, #ffffff 45%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

header.scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.75);
}

header.scrolled .nav-links a:hover,
header.scrolled .nav-links a.active {
  color: var(--accent-gold-light);
}

header.scrolled .mobile-toggle {
  color: #ffffff;
}

@media (max-width: 768px) {
  header.scrolled .nav-links {
    background-color: rgba(18, 21, 26, 0.98);
    border-left-color: rgba(255, 255, 255, 0.1);
  }
}

.nav-container {
  max-width: var(--container-max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 1px;
  line-height: 1;
}

.logo-svg {
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.logo-container:hover .logo-svg {
  transform: rotate(15deg) scale(1.05);
}

.logo-text {
  background: linear-gradient(135deg, var(--text-pure) 45%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--accent-gold);
}

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

.nav-links a.active {
  color: var(--accent-gold);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Page Layout & Common Elements
   ========================================================================== */
main {
  flex: 1;
  padding-top: var(--header-height);
}

section {
  padding: 6rem 2rem;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--bg-obsidian);
  border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.3);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.45);
  color: var(--text-pure);
  border: 1px solid var(--accent-gold);
}

.btn-outline:hover {
  background-color: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.3);
}

/* Footer styling */
footer {
  background-color: #f2efe9;
  border-top: 1px solid var(--border-muted);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.footer-col p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom p a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom p a:hover {
  color: var(--accent-gold-light);
  text-decoration: underline;
}

.levitate-logo {
  height: 16px;
  width: 16px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.6s ease;
}

.footer-bottom p a:hover .levitate-logo {
  transform: scale(1.3) rotate(360deg);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.85);
}

/* Globe Transition Overlay */
.globe-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(18, 21, 26, 0.97);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.globe-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.globe-transition-icon {
  font-size: 3rem;
  color: #00f0ff;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.8), 0 0 40px rgba(0, 240, 255, 0.4);
  transform: scale(0);
  transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-transition-overlay.active .globe-transition-icon {
  transform: scale(70);
}

/* ==========================================================================
   Home Page Styling
   ========================================================================== */
.hero {
  height: calc(100vh - var(--header-height));
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 2rem;
}

/* Semi-transparent overlay to keep text readable */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(250, 249, 246, 0.3) 0%, rgba(250, 249, 246, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h2 {
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Home Categories section */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.category-card {
  position: relative;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-muted);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(10,11,13,0.9) 95%);
  z-index: 1;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.category-info {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  padding: 2rem;
  z-index: 2;
}

.category-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.category-info p {
  color: var(--accent-gold);
  font-size: 0.95rem;
  font-weight: 500;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 20px rgba(var(--accent-gold-rgb), 0.1);
}

.category-card:hover img {
  transform: scale(1.08);
}

/* Featured Section */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

/* ==========================================================================
   About Page Styling
   ========================================================================== */
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-img {
  flex: 1;
  max-width: 480px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-gold-rgb), 0.2);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent-gold);
  border-radius: 8px;
  margin: 1rem;
  pointer-events: none;
  opacity: 0.5;
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-img:hover img {
  transform: scale(1.03);
}

.about-text {
  flex: 1.2;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Values Grid */
.values-section {
  background-color: var(--bg-card);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.value-card {
  padding: 3rem 2rem;
  background-color: var(--bg-obsidian);
  border-radius: 6px;
  border: 1px solid var(--border-muted);
  text-align: center;
  transition: var(--transition-smooth);
}

.value-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
}

.value-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.value-card h3 {
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-muted);
}

/* ==========================================================================
   Gallery Page Styling
   ========================================================================== */
.gallery-controls {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-filter-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 0.8rem 1.2rem 0.8rem 2.5rem; /* adjusted for RTL search icon position */
  background-color: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(var(--accent-gold-rgb), 0.15);
}

.search-box i {
  position: absolute;
  top: 50%;
  left: 1.2rem; /* placed on the left in RTL */
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-select {
  padding: 0.8rem 2.5rem 0.8rem 1.2rem; /* padding adjusted for custom arrow in RTL */
  background-color: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%239aa0a6' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: left 0.8rem center; /* arrow on the left for RTL */
  min-width: 160px;
}

.filter-select:focus {
  border-color: var(--accent-gold);
}

.gallery-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 1rem;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  background-color: var(--bg-card);
  border: 1px solid var(--border-muted);
  transition: var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background-color: var(--accent-gold);
  color: var(--bg-obsidian);
  border-color: var(--accent-gold);
}

/* Grid Layout for Paintings */
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  min-height: 300px;
}

.art-card {
  background-color: var(--bg-card);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-muted);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.art-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 20px rgba(var(--accent-gold-rgb), 0.12);
}

.art-card-img-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.art-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.art-card:hover .art-card-img-wrapper img {
  transform: scale(1.05);
}

.art-card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 11, 13, 0.4);
  opacity: 0;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-card:hover .art-card-overlay {
  opacity: 1;
}

.art-card-overlay-btn {
  background-color: var(--text-pure);
  color: var(--bg-obsidian);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

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

.art-card-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
}

.art-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.art-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.art-card-category {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.art-card-price {
  font-weight: 700;
  font-size: 1.1rem;
}

.art-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
  line-height: 1.4;
}

/* ==========================================================================
   Details Modal Dialog Styling
   ========================================================================== */
dialog.art-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background-color: var(--bg-card);
  color: var(--text-primary);
  max-width: 1150px;
  width: 95%;
  height: 80vh;
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 2000;
  display: none;
  flex-direction: column;
}

dialog.art-modal[open] {
  display: flex;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

dialog::backdrop {
  background-color: rgba(10, 11, 13, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  opacity: 0;
  transition: opacity 0.3s ease;
}

dialog.art-modal[open]::backdrop {
  opacity: 1;
}

.modal-header {
  padding: 1.2rem 1.8rem;
  border-bottom: 1px solid var(--border-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.5rem;
}

.modal-close-btn {
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.modal-close-btn:hover {
  color: var(--accent-gold);
  background-color: var(--bg-obsidian);
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  gap: 3rem;
  padding: 2.5rem;
}

.modal-img-wrapper {
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-muted);
  background-color: var(--bg-obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-wrapper img {
  max-height: 55vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.modal-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-desc {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  white-space: pre-line; /* preserves Wix newline layout */
}

.modal-specs-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.modal-specs-list li {
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 0.5rem;
}

.modal-specs-list li span:last-child {
  color: var(--text-pure);
  font-weight: 500;
}

.modal-action-row {
  display: flex;
  gap: 1rem;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border: 1px solid #25d366;
  flex: 1;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background-color: transparent;
  color: #25d366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.25);
}

/* ==========================================================================
   Contact Page Styling
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-col h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info-col p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-text h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-text p, .contact-text a {
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-text a:hover {
  color: var(--accent-gold);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-btn:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-card {
  background-color: var(--bg-card);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--border-muted);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background-color: var(--bg-obsidian);
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(var(--accent-gold-rgb), 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 4px;
  display: none;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  display: block;
  background-color: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.form-status.error {
  display: block;
  background-color: rgba(255, 77, 77, 0.15);
  color: #ff4d4d;
  border: 1px solid rgba(255, 77, 77, 0.3);
}

/* ==========================================================================
   Animations & Transition Effects
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .about-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .about-img {
    margin: 0 auto;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .modal-body {
    flex-direction: column;
    padding: 1rem;
    gap: 1.2rem;
  }
  
  .modal-img-wrapper img {
    max-height: 28vh;
  }
  
  .modal-desc {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
  }
  
  .modal-specs-list {
    margin-bottom: 0.8rem;
    gap: 0.5rem;
  }
  
  .modal-specs-list li {
    font-size: 0.85rem;
    padding-bottom: 0.25rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .nav-container {
    position: relative;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  /* Mobile Navigation Toggle and Drawer */
  .mobile-toggle {
    display: block;
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 70%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-obsidian);
    border-left: 1px solid var(--border-muted);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .contact-form-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ==========================================================================
   Accessibility Helper Classes (IS 5568 AA / WCAG 2.1)
   ========================================================================== */
/* Font Sizes Toggles */
html.acc-text-small {
  font-size: 0.85rem !important;
}
html.acc-text-large {
  font-size: 1.15rem !important;
}
html.acc-text-xlarge {
  font-size: 1.3rem !important;
}

/* Grayscale */
html.acc-grayscale,
html.acc-grayscale img,
html.acc-grayscale video {
  filter: grayscale(100%) !important;
}

/* High Contrast */
html.acc-high-contrast {
  --bg-obsidian: #000000 !important;
  --bg-card: #000000 !important;
  --bg-card-hover: #111111 !important;
  --text-primary: #ffffff !important;
  --text-muted: #e6e7eb !important;
  --accent-gold: #ffff00 !important;
  --border-muted: #ffffff !important;
}

html.acc-high-contrast body,
html.acc-high-contrast main,
html.acc-high-contrast header,
html.acc-high-contrast footer,
html.acc-high-contrast section,
html.acc-high-contrast dialog {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

html.acc-high-contrast a,
html.acc-high-contrast button,
html.acc-high-contrast i,
html.acc-high-contrast span {
  color: #ffff00 !important;
}

/* Negative Contrast (Inverted Colors) */
html.acc-negative-contrast {
  filter: invert(100%) hue-rotate(180deg) !important;
}
html.acc-negative-contrast img,
html.acc-negative-contrast video,
html.acc-negative-contrast .hero,
html.acc-negative-contrast iframe {
  filter: invert(100%) hue-rotate(180deg) !important;
}

/* Readable Font Toggle */
html.acc-readable-font *,
html.acc-readable-font h1,
html.acc-readable-font h2,
html.acc-readable-font h3,
html.acc-readable-font h4,
html.acc-readable-font h5,
html.acc-readable-font h6,
html.acc-readable-font span,
html.acc-readable-font a {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Highlight Links */
html.acc-highlight-links a {
  text-decoration: underline !important;
  outline: 2px dashed #ffff00 !important;
  outline-offset: 2px !important;
  background-color: rgba(255, 255, 0, 0.15) !important;
}

/* ==========================================================================
   Cookie Consent Banner Styling
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  background-color: rgba(18, 21, 26, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 1.25rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
  text-align: right;
}

.cookie-consent-banner.show {
  bottom: 25px;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.cookie-content p a {
  color: var(--accent-gold);
  text-decoration: underline;
  font-weight: 500;
  transition: var(--transition-fast);
}

.cookie-content p a:hover {
  color: var(--accent-gold-light);
}

.cookie-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  white-space: nowrap;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    width: 95%;
    bottom: -280px;
    padding: 1.2rem 1rem;
  }
  
  .cookie-consent-banner.show {
    bottom: 15px;
  }
  
  .cookie-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-content p {
    font-size: 0.85rem;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Details Modal - Image Angles & Thumbnails
   ========================================================================== */
.modal-media-col {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.modal-thumbnails {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0.2rem;
  scrollbar-width: thin;
  justify-content: flex-start;
  direction: rtl; /* Right to left thumbnail flow */
}

/* Custom scrollbar for horizontal thumbnails list */
.modal-thumbnails::-webkit-scrollbar {
  height: 4px;
}
.modal-thumbnails::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
.modal-thumbnails::-webkit-scrollbar-thumb {
  background: var(--accent-gold-light);
  border-radius: 2px;
}

.modal-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--border-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  opacity: 0.6;
  flex-shrink: 0;
}

.modal-thumbnail:hover {
  opacity: 0.9;
  border-color: var(--accent-gold-light);
}

.modal-thumbnail.active {
  opacity: 1;
  border-color: var(--accent-gold);
  box-shadow: 0 0 8px rgba(var(--accent-gold-rgb), 0.25);
}

@media (max-width: 992px) {
  .modal-media-col {
    width: 100%;
  }
  .modal-thumbnails {
    justify-content: center;
  }
}

