/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #a3b5d0 100%);
  min-height: 100vh;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Navigation */
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #00ffff !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #00ffff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.p-1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  margin: 0;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.container {
  width: 100%;
}

.display-5 {
  font-weight: 300;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fs-4 {
  color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
  background: linear-gradient(45deg, #ff6b6b 0%, #ee5a24 100%);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
  background: linear-gradient(45deg, #ee5a24 0%, #ff6b6b 100%);
}

/* Quote Generator */
/* Inspire button + quote */
.quoteGenerator {
  text-align: center;
  margin-top: 1rem;
}

#quoteGeneratorBtn {
  background-color: #6c63ff;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#quoteGeneratorBtn:hover {
  background-color: #574bff;
}

#inspireQuotes {
  margin-top: 1rem;
  font-style: italic;
  color: #333;
}

/* Mood Cards */
.hover-scale {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 15px;
  overflow: hidden;
}

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

.card {
  border: none !important;
  transition: all 0.3s ease;
}

.card-body {
  padding: 2rem 1.5rem;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.bi {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  margin-top: 3rem;
  padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .display-5 {
    font-size: 2rem;
  }

  .card-body {
    padding: 1.5rem 1rem;
  }

  .bi {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Journal Styles (for future implementation) */
.journal-entry {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.journal-entry:hover {
  transform: translateY(-2px);
}

.journal-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states */
.btn:focus,
.nav-link:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
