/* CRYSTAL SALON CSS */
:root {
  /* Primary Palette - No black allowed */
  --primary-900: #1a1a2e;
  --primary-800: #16213e;
  --primary-700: #0f3460;
  --primary-600: #1e3a5f;
  --primary-500: #2a4b7c;
  
  /* Crystal/Cyan Accents */
  --crystal-100: rgba(224, 247, 250, 0.1);
  --crystal-200: rgba(178, 235, 242, 0.2);
  --crystal-300: rgba(128, 222, 234, 0.3);
  --crystal-400: rgba(77, 208, 225, 0.6);
  --crystal-500: rgba(38, 198, 218, 0.8);
  --crystal-glow: 0 0 20px rgba(38, 198, 218, 0.5);
  
  /* Metallic Gold Accents */
  --gold-100: rgba(245, 233, 203, 0.1);
  --gold-200: rgba(236, 219, 179, 0.3);
  --gold-300: rgba(227, 205, 155, 0.5);
  --gold-400: rgba(218, 191, 131, 0.7);
  --gold-500: rgba(209, 177, 107, 0.9);
  
  /* Background Gradients */
  --bg-gradient-1: linear-gradient(135deg, #0c0c1d 0%, #1a1a2e 50%, #16213e 100%);
  --bg-gradient-2: radial-gradient(circle at 50% 0%, rgba(30, 58, 95, 0.4) 0%, transparent 70%);
  --bg-gradient-3: linear-gradient(45deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
  
  /* Glass Morphism */
  --glass-bg: rgba(22, 33, 62, 0.25);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glass-blur: blur(10px);
  
  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --font-decorative: 'Cinzel', serif;
  
  /* Spacing */
  --space-3d: 20px;
  --border-radius-3d: 12px;
  
  /* Animations */
  --cubic-bezier: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-3d: all 0.5s var(--cubic-bezier);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: #e0e0e0;
  background: var(--bg-gradient-1);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(38, 198, 218, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(209, 177, 107, 0.1) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* Container */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation - 3D Glass Effect */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-3d);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-crystal {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  perspective: 1000px;
}

.crystal-shape {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--crystal-400), var(--crystal-500));
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: crystalFloat 6s ease-in-out infinite;
  box-shadow: var(--crystal-glow);
  position: relative;
}

.crystal-shape::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 30%;
  height: 30%;
  background: rgba(255, 255, 255, 0.3);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  filter: blur(2px);
}

.logo-text {
  font-family: var(--font-decorative);
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--crystal-400), var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.logo-subtitle {
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--crystal-300);
  margin-top: 0.2rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  transition: var(--transition-3d);
  border-radius: var(--border-radius-3d);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crystal-500), transparent);
  transition: transform 0.3s var(--cubic-bezier);
}

.nav-link:hover {
  color: var(--crystal-400);
  background: rgba(38, 198, 218, 0.1);
  transform: translateY(-2px);
}

.nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
}

/* Language Selector - Cyberpunk Style */
.language-selector select {
  background: var(--primary-900);
  color: var(--crystal-300);
  border: 1px solid var(--crystal-400);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-3d);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition-3d);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2326c6da'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 35px;
}

.language-selector select:hover {
  box-shadow: 0 0 15px var(--crystal-400);
  border-color: var(--crystal-500);
  transform: translateY(-1px);
}

/* Hero Section - Parallax 3D Effect */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    var(--bg-gradient-2),
    radial-gradient(circle at 50% 100%, rgba(209, 177, 107, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-title {
    font-family: var(--font-decorative);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transform: translateZ(50px);
    white-space: pre-wrap; 
}

.hero-title .highlight {
    margin-left: 6px; 
    display: inline-block;
}

/* Spacing in hero title */
.hero-title br {
  display: block;
  margin: 0.3rem 0;
}

.highlight {
  background: linear-gradient(135deg, var(--crystal-500), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--crystal-500), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  animation: highlightUnderline 3s var(--cubic-bezier) infinite;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--crystal-300);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* CTA Button - Holographic Effect */
.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius-3d);
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-3d);
  border: 1px solid transparent;
  background-clip: padding-box;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--crystal-500), var(--gold-500), var(--crystal-500));
  z-index: -1;
  border-radius: calc(var(--border-radius-3d) + 2px);
  opacity: 0;
  transition: opacity 0.3s var(--cubic-bezier);
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 10px 30px rgba(38, 198, 218, 0.3),
    0 0 0 1px rgba(38, 198, 218, 0.2);
}

.cta-button:hover::before {
  opacity: 1;
  animation: hologramBorder 2s linear infinite;
}

/* Crystal Animation Elements */
.hero-crystals {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.crystal {
  position: absolute;
  background: linear-gradient(135deg, var(--crystal-400), transparent);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: crystalFloat 6s ease-in-out infinite;
}

.crystal-1 {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.crystal-2 {
  width: 40px;
  height: 40px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.crystal-3 {
  width: 30px;
  height: 30px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

/* About Section */
.about {
  padding: 6rem 0;
  position: relative;
  background: var(--bg-gradient-3);
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 70% 30%, rgba(38, 198, 218, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(209, 177, 107, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-decorative);
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--crystal-500), var(--gold-500));
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--crystal-400), transparent);
}

.divider-crystal {
  width: 8px;
  height: 8px;
  background: var(--crystal-500);
  transform: rotate(45deg);
  animation: crystalPulse 2s ease-in-out infinite;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: #d0d0d0;
  line-height: 1.8;
}

.highlight-text {
  color: var(--crystal-400);
  font-weight: 600;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--border-radius-3d);
  border: 1px solid var(--glass-border);
  transition: var(--transition-3d);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(38, 198, 218, 0.1), transparent);
  transition: left 0.6s var(--cubic-bezier);
}

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--crystal-400);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(38, 198, 218, 0.2);
}

.feature:hover::before {
  left: 100%;
}

.feature i {
  font-size: 2rem;
  color: var(--crystal-400);
  margin-bottom: 1rem;
  display: inline-block;
}

.feature h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--crystal-300);
}

.about-image {
  position: relative;
  perspective: 1000px;
}

.image-frame {
  position: relative;
  border-radius: var(--border-radius-3d);
  overflow: hidden;
  transform-style: preserve-3d;
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-3d);
  transform: translateZ(30px);
  transition: transform 0.6s var(--cubic-bezier);
}

.image-frame:hover .about-img {
  transform: translateZ(50px) scale(1.05);
}

.frame-decoration {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(38, 198, 218, 0.3);
  border-radius: calc(var(--border-radius-3d) - 5px);
  pointer-events: none;
  z-index: 1;
}

/* Services Section - Interactive 3D Cards */
.services {
  padding: 6rem 0;
  background: var(--bg-gradient-1);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(38, 198, 218, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(209, 177, 107, 0.03) 0%, transparent 50%);
  animation: bgRotate 60s linear infinite;
  pointer-events: none;
}

.section-subtitle {
  color: var(--crystal-300);
  font-size: 1.1rem;
  margin-top: 1rem;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  perspective: 1000px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-3d);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-3d);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--crystal-500), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--cubic-bezier);
}

.service-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  border-color: var(--crystal-400);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(38, 198, 218, 0.2),
    inset 0 0 20px rgba(38, 198, 218, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-3d);
}

.service-card:hover .service-icon {
  transform: translateY(-5px) scale(1.1);
  background: linear-gradient(135deg, var(--crystal-500), var(--primary-700));
  box-shadow: 0 0 20px var(--crystal-400);
}

.service-icon i {
  font-size: 1.8rem;
  color: var(--crystal-400);
}

.service-card h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: #d0d0d0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.service-price {
  font-family: var(--font-decorative);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-400);
  position: relative;
  z-index: 1;
}

.package-card {
  border: 2px solid transparent;
  background: linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
              linear-gradient(135deg, var(--crystal-500), var(--gold-500)) border-box;
}

.consultation-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
  border: 2px solid var(--gold-400);
}

.consultation-card:hover {
  box-shadow: 
    0 20px 40px rgba(209, 177, 107, 0.3),
    0 0 0 1px rgba(209, 177, 107, 0.2);
}

/* Gallery Section - 3D Carousel Effect */
.gallery {
  padding: 6rem 0;
  background: var(--bg-gradient-3);
  position: relative;
}

.gallery-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gallery-main {
  margin-bottom: 2rem;
  perspective: 1000px;
}

.main-image-container {
  position: relative;
  border-radius: var(--border-radius-3d);
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(38, 198, 218, 0.1);
}

#main-gallery-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--cubic-bezier);
  transform: translateZ(0);
}

.main-image-container:hover #main-gallery-image {
  transform: translateZ(20px) scale(1.02);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.9));
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s var(--cubic-bezier);
}

.main-image-container:hover .image-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-thumbnails {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.thumbnail {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: var(--transition-3d);
  border: 2px solid transparent;
}

.thumbnail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(38, 198, 218, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--cubic-bezier);
}

.thumbnail:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--crystal-400);
}

.thumbnail:hover::after {
  opacity: 1;
}

.thumbnail.active {
  border-color: var(--crystal-500);
  box-shadow: 0 0 20px var(--crystal-400);
  transform: translateY(-5px);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contact Section - Glass Map Interface */
.contact {
  padding: 6rem 0;
  background: var(--bg-gradient-1);
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.contact-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-3d);
  padding: 1.5rem;
  transition: var(--transition-3d);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--crystal-400);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(38, 198, 218, 0.2);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-icon i {
  color: var(--crystal-400);
  font-size: 1.2rem;
}

.contact-card h3 {
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.contact-card p {
  color: #d0d0d0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-note {
  font-size: 0.8rem;
  color: var(--crystal-300);
  margin-top: 0.5rem;
  font-style: italic;
}

.contact-instruction {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
  padding: 2rem;
  border-radius: var(--border-radius-3d);
  border: 1px solid var(--glass-border);
}

.contact-instruction h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

/* Map Container */
.map-container {
  position: relative;
  border-radius: var(--border-radius-3d);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transform-style: preserve-3d;
  height: 400px;
  width: 100%; 
}

#map {
  width: 100%;
  height: 100%; 
  position: relative;
  z-index: 1;
}

#map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) contrast(1.1) saturate(1.2);
  transition: filter 0.6s var(--cubic-bezier);
}

.map-container:hover #map iframe {
  filter: grayscale(0%) contrast(1.2) saturate(1.3);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--crystal-500), var(--gold-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pinPulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px var(--crystal-400);
}

.map-pin i {
  color: white;
  font-size: 1.2rem;
}

/* Footer - Futuristic Design */
.footer {
  padding: 3rem 0;
  background: linear-gradient(to bottom, var(--primary-900), #0c0c1d);
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--crystal-500), transparent);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-logo .logo-text {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--crystal-400), var(--gold-400));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-info p {
  color: var(--crystal-300);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crystal-400);
  text-decoration: none;
  transition: var(--transition-3d);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--crystal-500), var(--gold-500));
  opacity: 0;
  transition: opacity 0.3s var(--cubic-bezier);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 0 20px var(--crystal-400);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link i {
  position: relative;
  z-index: 1;
}

.social-link:hover i {
  color: white;
}

/* Go to Top Button - Cybernetic Style */
.go-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  border: 1px solid var(--crystal-400);
  border-radius: 50%;
  color: var(--crystal-400);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-3d);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.go-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.go-top-btn:hover {
  background: linear-gradient(135deg, var(--crystal-500), var(--primary-700));
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--crystal-400);
  color: white;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 2px;
  background: var(--crystal-400);
  transition: var(--transition-3d);
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Keyframe Animations */
@keyframes crystalFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

@keyframes crystalPulse {
  0%, 100% {
    transform: rotate(45deg) scale(1);
    box-shadow: 0 0 0 0 rgba(38, 198, 218, 0.4);
  }
  50% {
    transform: rotate(45deg) scale(1.2);
    box-shadow: 0 0 20px 10px rgba(38, 198, 218, 0);
  }
}

@keyframes highlightUnderline {
  0%, 100% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(1);
  }
}

@keyframes hologramBorder {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

@keyframes bgRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pinPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

/* Phone Link Styling */
.phone-link {
    color: var(--crystal-400);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s var(--cubic-bezier);
    padding: 2px 5px;
    border-radius: 4px;
    position: relative;
    display: inline-block;
}

.phone-link:hover {
    color: white;
    background: rgba(38, 198, 218, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 198, 218, 0.3);
}

.phone-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--crystal-500), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--cubic-bezier);
}

.phone-link:hover::after {
    transform: scaleX(1);
}

/* Footer phone link styling */
.footer .phone-link {
    color: var(--crystal-300);
}

.footer .phone-link:hover {
    color: var(--crystal-400);
    background: transparent;
    box-shadow: 0 0 10px rgba(38, 198, 218, 0.3);
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .container {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary-900);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    transition: left 0.5s var(--cubic-bezier);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features,
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .go-top-btn {
    bottom: 1rem;
    right: 1rem;
  }
  
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-button {
    padding: 0.8rem 2rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

/* Accessibility & Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .cta-button,
  .go-top-btn,
  .map-container iframe {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --crystal-400: #00bcd4;
    --gold-400: #ff9800;
  }
  
  .service-card,
  .feature,
  .contact-card {
    border: 2px solid var(--crystal-400);
  }
}

/* Dark Mode Support (already dark, but for consistency) */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-900: #0a0a14;
    --primary-800: #141428;
  }
}

/* RTL Language Support */
[dir="rtl"] .logo-crystal {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-link::before {
  left: auto;
  right: 50%;
  transform: translateX(50%) scaleX(0);
}

[dir="rtl"] .nav-link:hover::before {
  transform: translateX(50%) scaleX(1);
}

/* Hero Title Spacing for LTR vs RTL */
.hero-title .highlight {
    display: inline-block;
}

/* For LTR languages (German, English) */
[dir="ltr"] .hero-title .highlight {
    margin-left: 6px;
}

/* For RTL languages (Arabic) - space AFTER highlight */
[dir="rtl"] .hero-title .highlight {
    margin-right: 6px;
}

/* Proper text direction */
[dir="rtl"] .hero-title {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .hero-title {
    font-size: 3.2rem; 
    line-height: 1.3;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--primary-900);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--crystal-500), var(--gold-500));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--crystal-400), var(--gold-400));
}

/* Selection Color */
::selection {
  background: rgba(38, 198, 218, 0.3);
  color: white;
}

::-moz-selection {
  background: rgba(38, 198, 218, 0.3);
  color: white;
}

/* Focus Styles for Accessibility */
:focus {
  outline: 2px solid var(--crystal-500);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--crystal-500);
  outline-offset: 2px;
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
  100% {
    left: 100%;
  }
}

/* 3D Transform Utilities */
.perspective-1000 {
  perspective: 1000px;
}

.transform-3d {
  transform-style: preserve-3d;
}

.translate-z-20 {
  transform: translateZ(20px);
}

.translate-z-50 {
  transform: translateZ(50px);
}

/* ===== GO TOP BUTTON LEFT SIDE FOR ARABIC ===== */
html[dir="rtl"] .go-top-btn {
    right: unset !important;
    left: 30px !important;
}

html[dir="rtl"] .go-top-btn.visible {
    right: unset !important;
    left: 30px !important;
}

@media (max-width: 768px) {
    html[dir="rtl"] .go-top-btn {
        left: 20px !important;
        right: unset !important;
    }
}

@media (max-width: 576px) {
    html[dir="rtl"] .go-top-btn {
        left: 15px !important;
        right: unset !important;
    }
}