/**
 * PIIN Website - Main Stylesheet
 * Pure Impacts Inspirational Network
 */

/* Root Variables */
:root {
  --primary-color: #0d5000ff;
  --secondary-color: #c20e4aff;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

a:hover {
  color: var(--secondary-color);
}

/* Section Spacing */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s;
  color: white;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(107, 44, 145, 0.3);
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  background: transparent;
  transition: all 0.3s;
}

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

.btn-light {
  background: white;
  color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  border: none;
}

.btn-light:hover {
  background: #f8f9fa;
  color: var(--secondary-color);
}

/* Cards */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  overflow: hidden;
  margin-bottom: 30px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Utility Classes */
.bg-light {
  background: var(--bg-light) !important;
}

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

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

.text-white {
  color: white !important;
}

/* Page Header */
.page-header {
  background: var(--primary-color);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  font-weight: 700;
  margin-bottom: 15px;
  padding: 20%;
}

.page-header .lead {
  font-size: 20px;
  opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 10px 0 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: white;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Color */
::selection {
  background: var(--primary-color);
  color: white;
}

::-moz-selection {
  background: var(--primary-color);
  color: white;
}

/* Focus Styles */
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

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

.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

/* Badge Styles */
.badge {
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 12px;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(107, 44, 145, 0.25);
}

/* Alert Styles */
.alert {
  border-radius: 8px;
  border: none;
  padding: 15px 20px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
}

/* Footer Styles */
footer {
  background: #2c2c2c;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

footer h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
}

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

footer a:hover {
  color: white;
}

footer .list-unstyled li {
  margin-bottom: 10px;
}

/* Social Links */
.social-links a {
  display: inline-block;
  margin-right: 15px;
  font-size: 24px;
  color: white;
  transition: all 0.3s;
}

.social-links a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}
