/**
 * Papye Lakay - Unified Theme
 * A consistent visual style for the entire application
 */

:root {
  /* Brand Colors */
  --primary-color: #d22226;      /* Red */
  --primary-dark: #b01c1f;       /* Darker red for hover states */
  --primary-light: #f8e5e5;      /* Light red for backgrounds */
  --secondary-color: #666666;    /* Grey */
  --secondary-dark: #444444;     /* Darker grey for hover states */
  --secondary-light: #f1f1f1;    /* Light grey for backgrounds */
  
  /* Neutral Colors */
  --dark: #333333;
  --text-color: #444444;
  --text-light: #555555;
  --light-bg: #f7f7f7;
  --divider: #e5e5e5;
  --white: #ffffff;
  
  /* Feedback Colors */
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  --info-color: #17a2b8;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

/* Global Styles */
body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--dark);
  margin-top: 0;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--secondary-dark);
  text-decoration: underline;
}

/* Section Styles */
.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-subheading {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Page Banner */
.page-banner {
  background-color: var(--primary-light);
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  margin-bottom: 15px;
}

.breadcrumbs {
  color: var(--text-light);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--primary-color);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
  font-size: 16px;
  border: none;
}

.btn:hover {
  text-decoration: none;
}

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

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

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

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

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

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

.btn-large {
  padding: 15px 40px;
  font-size: 18px;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 80px;
  width: auto;
  transition: all 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Cards and Container Styles */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Header & Footer */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.app-footer {
  background-color: var(--dark);
  color: #ddd;
}

.footer-primary {
  padding: 60px 0;
  background-color: #282828;
}

.footer-secondary {
  padding: 20px 0;
  background-color: #222;
  font-size: 0.9rem;
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--divider);
  border-radius: 6px;
  font-size: 16px;
  font-family: var(--font-secondary);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 57, 144, 0.1);
}

/* Service Cards Specific Styling */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  text-align: center;
  border: 2px solid transparent;
}

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

.service-card.selected {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(210, 34, 38, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-4 {
  margin-right: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.hidden {
  display: none !important;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* WhatsApp Support Button */
.wa-support {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 99;
}

.wa-support a {
  display: flex;
  align-items: center;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.wa-support a:hover {
  background-color: #128C7E;
  transform: scale(1.05);
  text-decoration: none;
}

.wa-support i {
  font-size: 24px;
  margin-right: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .page-banner {
    padding: 40px 0;
  }
  
  .btn-large {
    padding: 12px 30px;
    font-size: 16px;
  }
}
