/* Potty Pal Website Styles */

:root {
  --primary-color: #4A90E2;
  --secondary-color: #50C878;
  --text-dark: #333333;
  --text-light: #666666;
  --background: #FFFFFF;
  --background-light: #F8F9FA;
  --border-color: #E0E0E0;
  --error-color: #E74C3C;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

header h1 {
  font-size: 28px;
  font-weight: 700;
}

header nav a {
  color: white;
  text-decoration: none;
  margin-left: 30px;
  font-weight: 500;
  transition: opacity 0.3s;
}

header nav a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--text-dark);
}

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

.feature-item {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-item p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Content Section */
.content {
  padding: 60px 0;
}

.content h1 {
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.content h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.content h3 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.content p {
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

.content ul, .content ol {
  margin: 20px 0 20px 30px;
  color: var(--text-light);
  line-height: 1.8;
}

.content li {
  margin-bottom: 10px;
}

.content a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.content a:hover {
  border-bottom-color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: white;
  padding: 40px 0;
  margin-top: 80px;
}

footer .container {
  text-align: center;
}

footer p {
  margin-bottom: 15px;
  opacity: 0.8;
}

footer nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

footer nav a:hover {
  opacity: 1;
}

/* Contact Section */
.contact-info {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 12px;
  margin: 30px 0;
}

.contact-info h3 {
  margin-top: 0 !important;
}

.contact-info a {
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 22px;
  }

  header nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  header nav a {
    margin: 5px 0;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .features h2 {
    font-size: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .content h1 {
    font-size: 28px;
  }

  .content h2 {
    font-size: 24px;
  }

  footer nav {
    display: flex;
    flex-direction: column;
  }

  footer nav a {
    margin: 5px 0;
  }
}
