/* MealFlow Home Page Styles */
:root {
  --primary: #ff6b6b;
  --primary-dark: #ee5253;
  --secondary: #4ecdc4;
  --dark: #2d3436;
  --light: #f9f9f9;
  --gray: #6c757d;
  --light-gray: #e9ecef;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navigation */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.navbar-brand img {
  height: 40px;
  margin-right: 0.75rem;
}

.nav-link {
  font-weight: 500;
  color: var(--dark);
  margin: 0 0.5rem;
  transition: color 0.3s;
}

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

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-weight: 800;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--gray);
}

.hero-buttons {
  margin-bottom: 2rem;
}

.hero-image {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s;
  border: 1px solid var(--light-gray);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 107, 107, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon i {
  color: var(--primary);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  background-color: var(--light);
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.step-number {
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* App Screenshots / Features Section */
.app-screenshots {
  padding: 5rem 0;
  background-color: white;
}

.screenshot-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 50%;
  height: 500%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.screenshot-container img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
  object-fit: cover;
  display: block;
}

.screenshot-container:hover img {
  transform: scale(1.02);
}

.feature-detail {
  padding: 1rem;
}

.feature-detail h3 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.feature-detail p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* Download Section */
.download {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, #ff9a8b 100%);
  color: white;
}

.download h2 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.download p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.download-btn {
  background-color: white;
  color: var(--primary);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: var(--light);
}

.download-btn i {
  margin-right: 0.75rem;
  font-size: 1.5rem;
}

.qr-code-container {
  background-color: white;
  padding: 1rem;
  border-radius: 10px;
  display: inline-block;
}

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

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

.footer-logo {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-links h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

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

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

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

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-image {
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

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

  .qr-code-container {
    margin-top: 2rem;
  }
}

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

  .hero p {
    font-size: 1.1rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .download-buttons {
    flex-direction: column;
  }

  .download-btn {
    width: 100%;
  }
}

/* Testimonials Section */
.testimonials {
  background-color: var(--light);
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.testimonial-rating {
  color: #ffc107;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: rgba(255, 107, 107, 0.1);
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  font-family: Georgia, serif;
}

.testimonial-avatar img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 2px solid var(--primary);
}
