:root {
  --primary-color: #42B883; /* Vibrant green for fresh/grocery theme */
  --primary-dark: #379e70; /* Darker green for hover states */
  --secondary-color: #347474; /* Teal for accents */
  --accent-color: #FF7E67; /* Coral accent for CTAs */
  --dark-color: #333333; /* Dark gray for text */
  --darker-color: #222222; /* Very dark gray for footer */
  --text-color: #333333; /* Dark gray for main text */
  --text-light: #666666; /* Medium gray for secondary text */
  --light-color: #F9F9F9; /* Light gray for backgrounds */
  --white: #FFFFFF;
  --border-color: #E0E0E0;
  --success-color: #28A745;
  --warning-color: #FFC107;
  --error-color: #DC3545;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --font-family: 'Nunito', sans-serif;
  --font-family-heading: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-family-heading);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 50px;
}

.center {
  text-align: center;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-color);
}

.navbar-brand img {
  margin-right: 10px;
  border-radius: 0;
}

.brand-name span {
  color: var(--primary-color);
}

.navbar-nav {
  display: flex;
  align-items: center;
}

.nav-item {
  margin-left: 25px;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark-color);
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-family-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.hero-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
  padding: 60px 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-family-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
}

/* About Section */
.about {
  background-color: var(--light-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-color);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}

.about-feature {
  display: flex;
  align-items: center;
}

.about-feature i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 20px;
}

/* Categories Section */
.categories {
  background-color: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--dark-color);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  color: var(--dark-color);
}

.category-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.category-card h3 {
  font-family: var(--font-family-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.category-card p {
  color: var(--text-light);
}

/* Entertainment Section */
.entertainment {
  background-color: var(--light-color);
}

.entertainment-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.entertainment-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.entertainment-card h3 {
  font-family: var(--font-family-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.entertainment-card p {
  margin-bottom: 15px;
  color: var(--text-color);
}

.entertainment-card a {
  font-weight: 600;
}

/* App Features Section */
.app-features {
  background-color: var(--white);
}

.app-features-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.app-features-text h2 {
  margin-bottom: 20px;
}

.app-features-text > p {
  margin-bottom: 30px;
  color: var(--text-color);
}

.app-feature-list {
  margin-bottom: 30px;
}

.app-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.app-feature-item i {
  font-size: 24px;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 3px;
}

.app-feature-item h3 {
  font-family: var(--font-family-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.app-feature-item p {
  color: var(--text-light);
}

.app-buttons {
  display: flex;
  gap: 15px;
}

.app-button {
  display: flex;
  align-items: center;
  background-color: var(--dark-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.app-button:hover {
  background-color: var(--darker-color);
  color: var(--white);
  transform: translateY(-2px);
}

.app-button i {
  font-size: 24px;
  margin-right: 10px;
}

.app-button div {
  display: flex;
  flex-direction: column;
}

.app-button span {
  font-size: 12px;
}

.app-button strong {
  font-size: 16px;
}

.app-features-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
  background-color: var(--light-color);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.contact-info h3, .contact-form h3 {
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
}

.contact-info-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.contact-info-text h4 {
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

/* Footer */
.footer {
  background-color: var(--darker-color);
  color: var(--white);
  padding-top: 70px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-about {
  margin-right: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  margin-right: 10px;
  border-radius: 0;
}

.footer-logo span {
  font-family: var(--font-family-heading);
  font-size: 20px;
  font-weight: 700;
}

.footer-logo span span {
  color: var(--primary-color);
}

.footer-about p {
  margin-bottom: 20px;
  color: #aaa;
}

.footer-social {
  display: flex;
  gap: 15px;
}

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

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

.footer-links h3 {
  font-family: var(--font-family-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #aaa;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #aaa;
}

/* Media Queries */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .entertainment-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero .container,
  .about-content,
  .app-features-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .navbar-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .navbar-nav.active {
    left: 0;
  }
  
  .nav-item {
    margin: 0 0 20px;
  }
  
  .app-features-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .app-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .features-grid,
  .categories-grid,
  .entertainment-cards {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .hero-title {
    font-size: 32px;
  }
}
