:root {
  --primary: #fed136;
  --dark-gray: #343a40;
  --light-gray: #f7f7f7;
}

/* Scroll padding for anchor links */
html {
  scroll-padding-top: 100px;
  scroll-behavior: smooth;
}

/* Add anchor targets before actual content */
section[id]::before {
  content: "";
  display: block;
  height: 100px;
  margin-top: -100px;
  visibility: hidden;
  pointer-events: none;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #212529;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #e9c025;
  border-color: #e9c025;
  color: #212529;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-light-gray {
  background-color: var(--light-gray);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 22%;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: white;
}

.feature-icon {
  background-color: var(--primary);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: #212529;
  position: relative;
}

.feature-icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.card {
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 30px 20px;
}

.card-title {
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

.card-text {
  text-align: center;
  color: #6c757d;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Screenshots Section */
.screenshots-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.app-screenshot {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.app-screenshot:hover {
  transform: scale(1.05);
}

/* Journey Section */
.journey-section {
  padding: 80px 0;
  background-color: white;
}

.journey-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.journey-card:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.journey-card h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
}

.journey-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

/* Quote Section */
.quote-section {
  background-color: var(--dark-gray);
  color: white;
  padding: 80px 0;
}

.quote-section blockquote {
  font-size: 1.25rem;
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

/* Privacy Section */
.privacy-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.privacy-feature {
  display: flex;
  align-items: start;
  margin-bottom: 25px;
}

.privacy-icon {
  color: var(--primary);
  font-size: 1.5rem;
  margin-right: 15px;
  min-width: 30px;
}

/* Languages Section */
.languages-section {
  padding: 60px 0;
  background-color: white;
}

.flag-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Download Section */
.download-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-gray) 0%, #1a1d20 100%);
  color: white;
}

.qr-code {
  width: 200px;
  height: 200px;
  background: white;
  padding: 15px;
  border-radius: 15px;
  margin: 20px auto;
}

.app-store-badge {
  height: 60px;
  margin: 10px;
  transition: transform 0.2s;
}

.app-store-badge:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info h4 {
  color: var(--dark-gray);
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-info a {
  color: #007bff;
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Footer */
footer {
  padding: 30px 0;
  background-color: var(--dark-gray);
  color: white;
}

footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--primary);
}

/* Navbar */
.navbar {
  background-color: var(--dark-gray);
  padding: 15px 0;
  transition: all 0.3s;
}

.navbar-brand {
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  margin-left: 20px;
  transition: color 0.3s;
}

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

/* Language Switcher */
.language-switcher {
  margin-left: 15px;
}

.language-btn {
  background: none;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s;
}

.language-btn:hover, .language-btn.active {
  color: var(--primary);
}

/* Section Headings */
.section-heading {
  margin-bottom: 50px;
}

.section-heading h2 {
  font-weight: 700;
  margin-bottom: 15px;
}

.section-heading p {
  color: #6c757d;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 60px;
  }

  .app-icon {
    width: 100px;
    height: 100px;
  }

  .features-section,
  .screenshots-section,
  .journey-section,
  .quote-section,
  .privacy-section,
  .download-section,
  .contact-section {
    padding: 60px 0;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 25px;
  }

  .quote-section blockquote {
    font-size: 1.1rem;
  }

  .nav-link {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .app-screenshot {
    max-width: 280px;
  }

  .qr-code {
    width: 150px;
    height: 150px;
  }
}
