@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

:root {
  --primary-color: #663399;
  --secondary-color: #F5A623;
  --background-color: #FFFFFF;
  --text-color: #333333;
  --light-gray: #f9f9f9;
  --dark-gray: #333;
}

body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 1em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

nav li {
  display: inline-block;
  margin: 0 1.5em;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--secondary-color);
}

.hamburger-menu {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

#hero {
  position: relative;
  color: white;
  padding: 6em 2em;
  text-align: center;
  overflow: hidden;
}

.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2em;
  border-radius: 8px;
}

.carousel-toggle-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

#hero h1 {
  font-size: 3.5em;
  margin-bottom: 0.5em;
}

.app-store-badge {
  display: inline-block;
  height: 50px;
  width: 150px;
  margin-top: 1em;
}

.app-store-badge img {
  height: 100%;
  width: 100%;
}

.app-store-badge-bottom-left {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 150px;
  height: auto;
  z-index: 2;
}

#features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  padding: 4em 2em;
  max-width: 900px;
  margin: 0 auto;
}

.feature {
  display: flex;
  align-items: flex-start;
  background-color: var(--light-gray);
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.feature img {
  width: 60px;
  margin-right: 1.5em;
}

.feature h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.in-app-purchase-note {
  font-size: 0.7em;
  display: block;
  margin-top: 0.5em;
}

footer {
  background-color: var(--dark-gray);
  color: white;
  padding: 2em;
  text-align: center;
}

.faq-section {
  padding: 4em 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-section h1 {
  text-align: center;
  margin-bottom: 2em;
  color: var(--primary-color);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
}

.faq-item {
  background-color: var(--light-gray);
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item h2 {
  color: var(--primary-color);
  margin-top: 0;
}

.privacy-section {
  padding: 4em 2em;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.privacy-section h1 {
  color: var(--primary-color);
  margin-bottom: 1em;
}

.privacy-content {
  background-color: var(--light-gray);
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.press-section {
  padding: 4em 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.press-section h1 {
  text-align: center;
  margin-bottom: 1em;
  color: var(--primary-color);
}

.press-intro {
  text-align: center;
  margin-bottom: 3em;
  font-size: 1.1em;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
}

.press-item {
  background-color: var(--light-gray);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  overflow: hidden;
  text-align: center;
}

.press-item img {
  width: 100%;
  height: auto;
  display: block;
}

.press-item p {
  padding: 1em;
  margin: 0;
  color: #555;
}

.contact-section {
  padding: 4em 2em;
  max-width: 800px;
  margin: 0 auto;
}

.contact-section h1 {
  text-align: center;
  margin-bottom: 1em;
  color: var(--primary-color);
}

.contact-intro {
  text-align: center;
  margin-bottom: 3em;
  font-size: 1.1em;
}

.contact-form {
  background-color: var(--light-gray);
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5em;
}

.form-group label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 700;
  color: #555;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: 4px;.
  box-sizing: border-box;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 1em 2em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #502779;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .hamburger-menu {
    display: block;
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    flex-direction: column;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .nav-links.is-open {
    display: flex;
  }

  nav li {
    margin: 1em 0;
  }

  #hero {
    padding: 4em 1em;
  }

  #hero h1 {
    font-size: 2.5em;
  }

  .app-store-badge-bottom-left {
    left: 1em;
  }

  .carousel-toggle-btn {
    right: 1em;
  }

  #features {
    grid-template-columns: 1fr;
    padding: 2em 1em;
  }

  .feature {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .feature img {
    margin: 0 auto 1em auto;
  }

  .faq-grid,
  .press-grid {
    grid-template-columns: 1fr;
  }

  .privacy-section,
  .contact-section {
    padding: 2em 1em;
  }
}
