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

html { scroll-behavior: smooth; }

body {
  font-family: 'Arial', 'Tahoma', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  direction: rtl;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s ease;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #d4af37;
  letter-spacing: 1px;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover { color: #d4af37; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="90" cy="40" r="1" fill="%23ffffff" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 3;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 4;
  position: relative;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease;
}

.hero h1 .highlight {
  color: #d4af37;
  font-weight: bold;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  color: #1a1a1a;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.6s both;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1a1a1a;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #d4af37;
}

/* About Section */
.about { background: #f8f9fa; }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text { font-size: 1.1rem; line-height: 1.8; }

.about-description {
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: #1a1a1a;
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.about-description h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

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

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover { transform: translateY(-10px); }

.service-icon {
  width: 80px; height: 80px;
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem; color: #1a1a1a;
}

.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #1a1a1a; }
.service-card p { color: #666; margin-bottom: 1rem; }
.price { font-size: 1.5rem; font-weight: bold; color: #d4af37; }

/* Gallery Section */
.gallery { background: #1a1a1a; color: white; }
.gallery .section-title { color: white; }

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

.gallery-item {
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: white;
  font-weight: bold;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(0,0,0,0.8));
  z-index: 1;
}

.gallery-item span {
  position: relative;
  z-index: 2;
  padding: 20px;
  font-size: 1.1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.gallery-item:hover { transform: scale(1.05); }

/* Contact Section */
.contact { background: #f8f9fa; }

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info,
.contact-buttons {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px; height: 50px;
  background: #d4af37;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-left: 1.5rem; color: #1a1a1a; font-size: 1.2rem;
}

.contact-buttons h3 {
  margin-bottom: 2rem;
  color: #1a1a1a;
  font-size: 1.8rem;
}

.contact-btn {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
}

.phone-btn {
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  color: #1a1a1a;
}

.whatsapp-btn {
  background: linear-gradient(45deg, #25d366, #128c7e);
  color: white;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Accessibility Widget (global) ===== */
.accessibility-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1100;
}

.accessibility-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  border: none;
  color: #1a1a1a;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}
.accessibility-btn:hover { transform: scale(1.06); }
.accessibility-btn:focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 3px;
}
.accessibility-btn svg { width: 28px; height: 28px; }

/* Menu panel */
.accessibility-menu {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 300px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  padding: 1rem;
  display: none;
}
.accessibility-menu.open { display: block; }

.accessibility-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.75rem;
}
.close-btn {
  background: transparent; border: none; font-size: 1.6rem; cursor: pointer;
}
.close-btn:focus-visible {
  outline: 3px solid #1a1a1a; outline-offset: 2px;
}

.accessibility-options { display: grid; gap: 8px; }
.accessibility-option {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: #f6f6f6; border: none; padding: 10px 12px;
  border-radius: 8px; cursor: pointer; font: inherit;
}
.accessibility-option:hover { background: #eee; }
.accessibility-option:focus-visible {
  outline: 3px solid #d4af37; outline-offset: 2px;
}
.accessibility-option.active {
  box-shadow: inset 0 0 0 2px #d4af37;
}

/* ===== Site-wide a11y utility classes triggered by the widget ===== */
.high-contrast, .high-contrast * {
  color: #000 !important; background: #fff !important;
}

.invert-colors {
  filter: invert(1) hue-rotate(180deg);
  
}

/* Cancel inversion just for the accessibility widget */
.invert-colors .accessibility-widget,
.invert-colors .accessibility-widget * {
  filter: invert(1) hue-rotate(180deg);
}

.underline-links a, .underline-links a:visited {
  text-decoration: underline !important;
}

.readable-font {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, Tahoma, sans-serif !important;
  letter-spacing: 0.2px;
}

/* Focus styles for interactive elements */
a:focus-visible, button:focus-visible {
  outline: 3px solid #d4af37;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: -60px; background: #1a1a1a; color: #fff; padding: 10px 14px;
  border-radius: 8px; z-index: 1200; transition: top 0.15s ease;
}
.skip-link:focus { top: 10px; }

/* Mobile */
@media (max-width: 768px) {
  .accessibility-widget { bottom: 15px; right: 15px; }
  .accessibility-btn { width: 52px; height: 52px; }
  .accessibility-btn svg { width: 22px; height: 22px; }
  .accessibility-menu { width: 280px; right: -8px; }

  .nav-links { display: none; }

  .hero h1 { font-size: 2.5rem; }

  .about-content,
  .contact-content { grid-template-columns: 1fr; gap: 2rem; }

  .services-grid { grid-template-columns: 1fr; }
}
