/* css/style.css */
/* Modern CSS Reset & Variables */
:root {
  --color-bg-start: #0a0f1d; /* Deep navy */
  --color-bg-end: #161b33; /* Midnight blue */
  --color-primary: #9b8cce; /* Soft purple / Muted lavender */
  --color-primary-light: #b8aee0;
  --color-text-main: #f0f0f5;
  --color-text-muted: #a0a5b5;
  --color-card-bg: rgba(22, 27, 51, 0.6);
  --color-card-border: rgba(155, 140, 206, 0.2);
  --glow-shadow: 0 0 20px rgba(155, 140, 206, 0.3);
  --transition-speed: 0.3s;
  --font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background: linear-gradient(135deg, var(--color-bg-start), var(--color-bg-end));
  background-attachment: fixed;
  color: var(--color-text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-speed);
}

.header.scrolled {
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  text-shadow: 0 0 10px rgba(155, 140, 206, 0.4);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  font-size: 16px;
  transition: color var(--transition-speed);
}

.nav-links li a:hover {
  color: var(--color-primary-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-link {
  font-size: 14px;
  border: 1px solid var(--color-primary);
  padding: 4px 12px;
  border-radius: 20px;
  transition: all var(--transition-speed);
}

.lang-link:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--glow-shadow);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--color-text-main);
  transition: 0.3s;
}

/* Sections */
section {
  padding: 100px 5%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-top: 60px;
  min-height: calc(100vh - 60px);
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff, var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.cta-group {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #7a6ba8);
  color: #fff;
  box-shadow: 0 4px 15px rgba(155, 140, 206, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  box-shadow: 0 6px 20px rgba(155, 140, 206, 0.7);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(22, 27, 51, 0.4); /* subtle midnight blue tint */
  color: var(--color-text-main);
  border: 1px solid var(--color-card-border);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  background: rgba(155, 140, 206, 0.1);
  color: var(--color-primary-light);
  box-shadow: var(--glow-shadow);
  transform: translateY(-2px);
}

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

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  filter: blur(120px);
  opacity: 0.08;
  border-radius: 50%;
  z-index: 0;
}

.hero-image {
  max-width: 100%;
  height: auto;
  z-index: 1;
  border-radius: 20px;
  background: rgba(255,255,255,0.05); /* Placeholder styling */
  min-height: 300px; /* Fallback if no image */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* About Section */
.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-primary-light);
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--color-text-muted);
  font-size: 18px;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-speed);
  backdrop-filter: blur(5px);
  opacity: 0; /* For scroll animation */
  transform: translateY(20px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: var(--glow-shadow);
}

.feature-icon {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(155, 140, 206, 0.08);
  border-radius: 50%;
  color: var(--color-primary);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 15px;
}

/* Story Section */
.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-card-bg);
  padding: 60px;
  border-radius: 30px;
  border: 1px solid var(--color-card-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.story-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-main);
  margin-bottom: 20px;
}

/* Contact Section */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-card-border);
  border-radius: 10px;
  color: var(--color-text-main);
  font-family: var(--font-family);
  font-size: 16px;
  transition: border var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255,255,255,0.08);
  box-shadow: var(--glow-shadow);
}

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

#form-message {
  text-align: center;
  margin-top: 15px;
  color: var(--color-primary-light);
  font-weight: 500;
  display: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.05);
}

footer .footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

footer p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding-top: 80px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .cta-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 15, 29, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: 0.3s ease-in-out;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li a {
    font-size: 24px;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .story-content {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .cta-group {
    flex-direction: column;
    gap: 15px;
  }
  section {
    padding: 80px 5%;
  }
}
