/* ================================================
   SHA - Promotional Website Styles
   Modern, Premium Design with Glassmorphism
   ================================================ */

/* -------------------- CSS Variables -------------------- */
:root {
  /* Colors extracted from logo */
  --primary: #1A7B7E;
  --primary-dark: #145F61;
  --primary-light: #2D9B9B;
  --secondary: #1B5565;
  --accent-green: #8BC4A0;
  --accent-green-light: #A8D5BA;
  --accent-green-dark: #6BA582;

  /* Neutrals */
  --dark: #0F172A;
  --dark-soft: #1E293B;
  --gray: #64748B;
  --gray-light: #94A3B8;
  --light: #F1F5F9;
  --white: #FFFFFF;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-light) 100%);
  --gradient-hero: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--primary-light) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(26, 123, 126, 0.3);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 6rem;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

/* -------------------- Reset & Base -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* -------------------- Typography -------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* -------------------- Container -------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* -------------------- Navigation -------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.navbar.scrolled .nav-link {
  color: var(--dark);
}

.navbar.scrolled .nav-link:hover {
  color: var(--primary);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 60px;
  width: auto;
  background: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius-md);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: width var(--transition-base);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

.navbar.scrolled .lang-toggle {
  background: var(--light);
  color: var(--dark);
}

.navbar.scrolled .lang-toggle:hover {
  background: var(--primary);
  color: var(--white);
}

.lang-toggle .flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-toggle .arrow {
  width: 10px;
  height: 10px;
  transition: transform var(--transition-fast);
}

.lang-dropdown.open .lang-toggle .arrow {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  overflow: hidden;
  z-index: 100;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition-fast);
}

.lang-option:hover {
  background: var(--light);
}

.lang-option .flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Flag images as inline SVG backgrounds */
.flag-en {
  background: linear-gradient(to bottom, #012169 0%, #012169 33%, #fff 33%, #fff 40%, #C8102E 40%, #C8102E 60%, #fff 60%, #fff 67%, #012169 67%, #012169 100%);
  position: relative;
}

.flag-tr {
  background: #E30A17;
  position: relative;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
  background: var(--dark);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* -------------------- Hero Section -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: visible;
  padding-bottom: 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
  white-space: nowrap;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
  padding-bottom: 2rem;
}

/* Floating shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-green);
  top: -100px;
  right: -100px;
  animation-delay: -5s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--white);
  bottom: -50px;
  left: -50px;
  animation-delay: -10s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent-green-light);
  top: 50%;
  left: 10%;
  animation-delay: -15s;
}

/* -------------------- Section Styles -------------------- */
.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--accent-green-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray);
}

/* -------------------- Features Grid -------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  color: var(--white);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.feature-list {
  margin-top: 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.feature-list li::before {
  content: '✓';
  color: var(--accent-green-dark);
  font-weight: 700;
  flex-shrink: 0;
}

/* -------------------- Stats Section -------------------- */
.stats {
  background: var(--gradient-hero);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* -------------------- Highlight Cards -------------------- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.highlight-card {
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.highlight-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  color: var(--white);
}

.highlight-icon svg {
  width: 40px;
  height: 40px;
}

.highlight-card h3 {
  margin-bottom: 0.75rem;
}

/* -------------------- CTA Section -------------------- */
.cta {
  background: var(--gradient-hero);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* -------------------- Contact Section -------------------- */
.contact-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

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

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  color: var(--white);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item h4 {
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin: 0;
}

.contact-item a {
  color: var(--primary);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--primary-dark);
}

.contact-map {
  background: var(--light);
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* -------------------- Footer -------------------- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
  background: var(--white);
  padding: 6px 10px;
  border-radius: var(--radius-md);
}

.footer-brand p {
  color: var(--gray-light);
  font-size: 0.9375rem;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--gray-light);
  font-size: 0.875rem;
  margin: 0;
}

.footer-developer {
  display: flex;
  align-items: center;
}

.footer-developer img {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(0.7);
  transition: filter var(--transition-base);
  margin-left: 0.5rem;
  margin-right: 0;
}

.footer-developer:hover img {
  filter: brightness(0) invert(1);
}

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

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all var(--transition-base);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* -------------------- Page Header -------------------- */
.page-header {
  background: var(--gradient-hero);
  padding: 10rem 0 5rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

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

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

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(10px, -20px) rotate(5deg);
  }

  50% {
    transform: translate(-5px, 10px) rotate(-3deg);
  }

  75% {
    transform: translate(15px, 5px) rotate(3deg);
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- Responsive Design -------------------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 4rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition-base);
    box-shadow: var(--shadow-xl);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--dark);
    font-size: 1.125rem;
  }

  .nav-menu .nav-link:hover {
    color: var(--primary);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .nav-menu .lang-switch {
    background: var(--light);
    color: var(--dark);
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 3rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .page-header {
    padding: 8rem 0 3rem;
  }
}