/* ===========================
   Oskafamily — Modern Style Sheet
   Original Theme with Multi-language & Social Icons
   =========================== */

:root {
  --pink: #f472b6;
  --pink-light: #fce7f3;
  --pink-dark: #db2777;
  --blue: #38bdf8;
  --blue-light: #e0f2fe;
  --blue-dark: #0284c7;
  --blue-mid: #7dd3fc;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --gradient-main: linear-gradient(135deg, #e0f2fe 0%, #fce7f3 100%);
  --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #ec4899 100%);
  --gradient-dark: linear-gradient(135deg, #0284c7 0%, #db2777 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

/* Language Visibility Logic */
body.lang-ar { direction: rtl; }
body.lang-de { direction: ltr; }

body.lang-ar [lang="de"] { display: none !important; }
body.lang-ar [lang="ar"] { display: block; }
body.lang-ar span[lang="ar"], body.lang-ar strong[lang="ar"], body.lang-ar a[lang="ar"] { display: inline !important; }

body.lang-de [lang="ar"] { display: none !important; }
body.lang-de [lang="de"] { display: block; }
body.lang-de span[lang="de"], body.lang-de strong[lang="de"], body.lang-de a[lang="de"] { display: inline !important; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(2, 132, 199, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 15px;
}

.nav-links a {
  color: white;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  transition: 0.3s;
}

.lang-switcher {
  display: flex;
  gap: 5px;
  background: rgba(255,255,255,0.2);
  padding: 4px;
  border-radius: 50px;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: transparent;
  color: white;
}

.lang-btn.active {
  background: white;
  color: var(--blue-dark);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  color: white;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.shape-1 { width: 500px; height: 500px; background: white; top: -150px; left: -100px; }
.shape-2 { width: 300px; height: 300px; background: white; bottom: 100px; right: -80px; }

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
}

.highlight {
  background: rgba(255,255,255,0.25);
  padding: 4px 16px;
  border-radius: 12px;
}

.free-offer-badge {
  background: #ffeb3b;
  color: #333;
  padding: 6px 15px;
  border-radius: 8px;
  font-weight: 800;
  display: inline-block;
  margin: 15px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.hero-desc {
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-dark);
  color: white;
  box-shadow: 0 4px 20px rgba(233,30,99,0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-card {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: float 3s ease-in-out infinite;
  color: var(--gray-900);
}

.floating-card-1 { top: 30px; right: -20px; }
.floating-card-2 { bottom: 60px; left: -20px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Section General */
section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; background: var(--gradient-main); color: var(--blue-dark); padding: 6px 20px; border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; color: var(--gray-900); margin-bottom: 16px; }

/* About Grid */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-frame img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

/* Qual Card */
.qual-card { background: white; padding: 30px; border-radius: 20px; box-shadow: var(--shadow-sm); text-align: center; border: 1px solid var(--gray-100); }

/* Service Card */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.service-card { background: white; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: all 0.3s; border: 1px solid var(--gray-100); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--blue-mid); }

/* Contact & Social Links */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 15px;
  background: var(--gray-50);
  border-radius: 12px;
  transition: 0.3s;
}

.social-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.social-icon {
  font-size: 24px;
}

.social-icon.instagram { color: #E1306C; }
.social-icon.youtube { color: #FF0000; }
.social-icon.tiktok { color: #000000; }
.social-icon.email { color: var(--blue-dark); }

.social-link {
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

/* Footer */
.footer { background: var(--gray-900); color: white; padding: 80px 0 30px; text-align: center; }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-social a {
  color: white;
  font-size: 24px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: var(--blue-mid);
  transform: scale(1.2);
}

@media (max-width: 992px) {
  .hero-content, .about-grid, .contact-grid { grid-template-columns: 1fr; text-align: center; }
  .nav-links { display: none; }
  .hero-image { order: -1; }
  .hero-btns { justify-content: center; }
  .social-item { align-items: center; }
}
