/*
 * Global styles for the redesigned syntasoft.com landing page.
 *
 * The design uses modern CSS features like flexbox and custom
 * properties to provide a responsive, clean layout while keeping
 * the aesthetics of the original site. Feel free to tweak the
 * variables in :root to adjust the color scheme.
 */

:root {
  --primary: #0b1220;
  --secondary: #15233c;
  --accent: #7aa7ff;
  --light: #ffffff;
  --text: #e8eefc;
  --muted: #b9c4e3;
  --radius: 16px;
}

/* reset some defaults */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("assets/sky_background.png") no-repeat center/cover;
  color: var(--light);
}

/* dark overlay for readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem 2rem;
}

.logo {
  display: block;
  margin: 0 auto 1rem;
  max-width: 200px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.scroll-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.8rem 1.4rem;
  color: var(--light);
  text-decoration: none;
  border: 2px solid var(--light);
  border-radius: var(--radius);
  transition: background 0.3s ease, color 0.3s ease;
  font-weight: 600;
}

.scroll-link:hover {
  background: var(--light);
  color: var(--primary);
}

/* About section */
.about {
  padding: 4rem 1rem;
  background: var(--primary);
}

.about .container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about .text {
  flex: 1 1 320px;
  min-width: 300px;
}

.about .text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about .text p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.about .image {
  flex: 1 1 320px;
  min-width: 300px;
  text-align: center;
}

.about .image img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Download section */
.download {
  padding: 4rem 1rem;
  text-align: center;
  background: var(--secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.download h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.download p {
  margin-bottom: 2rem;
  color: var(--muted);
}

.store-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.store-buttons img {
  max-width: 180px;
  width: 100%;
  transition: transform 0.2s ease;
}

.store-buttons img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  padding: 1.5rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .about .container {
    flex-direction: column;
    text-align: center;
  }
  .about .text, .about .image {
    flex: 1 1 100%;
    min-width: unset;
  }
  .store-buttons img {
    max-width: 160px;
  }
}