/* 
* Dream Oracle - Main Stylesheet
* Author: Dream Oracle Team
*/

/* General Styles */
:root {
  --primary-color: #6c63ff;
  --secondary-color: #f5a9dc;
  --accent-color: #8b6cfd;
  --light-color: #f8f9fa;
  --dark-color: #2d3436;
  --text-color: #4a4a4a;
  --bg-color: #ffffff;
  --light-purple: #e0deff;
  --light-pink: #fff0f9;
  --border-radius: 10px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease-in-out;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--dark-color);
  line-height: 1.3;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.btn {
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  text-transform: capitalize;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.btn-light:hover {
  background-color: transparent;
  color: white;
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-title p {
  font-size: 18px;
  color: var(--text-color);
}

section {
  padding: 80px 0;
}

/* Header */
.header {
  background: linear-gradient(135deg, #3498db, #8e44ad) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  position: relative;
  z-index: 1000;
}

.navbar {
  padding: 15px 0;
}

.navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff !important;
}

.navbar-brand i {
  margin-right: 8px;
  font-size: 28px;
}

.navbar-light .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Logo stilleri */
.logo-img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: linear-gradient(
    135deg,
    var(--light-purple) 0%,
    var(--light-pink) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/pattern.svg");
  opacity: 0.05;
}

.hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-color);
}

.dream-form {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.dream-form textarea {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 15px;
  min-height: 150px;
  font-size: 16px;
}

.dream-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(108, 99, 255, 0.25);
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 90%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Features Section */
.features {
  background-color: var(--light-color);
}

.feature-box {
  background-color: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  margin-bottom: 30px;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-box p {
  margin-bottom: 0;
}

/* Popular Dreams */
.dream-category {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.dream-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dream-category img {
  max-width: 120px;
  margin-bottom: 20px;
}

.dream-category h4 {
  font-size: 20px;
  margin-bottom: 0;
}

/* Symbol Search */
.symbol-search {
  background: linear-gradient(
    135deg,
    var(--light-purple) 0%,
    var(--light-pink) 100%
  );
  position: relative;
}

.symbol-search-box {
  background-color: white;
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.symbol-search-box h2 {
  margin-bottom: 20px;
}

.popular-symbols {
  margin-top: 20px;
}

.popular-symbols span {
  font-weight: 500;
  margin-right: 10px;
}

.popular-symbols a {
  margin: 0 8px;
  color: var(--text-color);
  font-weight: 500;
}

.popular-symbols a:hover {
  color: var(--primary-color);
}

/* Testimonials */
.testimonial-box {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 30px;
  height: 100%;
}

.testimonial-text {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text p {
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-text:before {
  content: "\201C";
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(108, 99, 255, 0.1);
  position: absolute;
  top: -20px;
  left: -10px;
  z-index: -1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-author h5 {
  font-size: 18px;
  margin-bottom: 5px;
}

.testimonial-author span {
  font-size: 14px;
  color: #777;
}

/* CTA Section */
.cta {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  color: white;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/pattern-white.svg");
  opacity: 0.05;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-about h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 24px;
}

.footer-about p {
  margin-bottom: 25px;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

.footer-links h4 {
  color: white;
  margin-bottom: 25px;
  font-size: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-newsletter h4 {
  color: white;
  margin-bottom: 25px;
  font-size: 20px;
}

.footer-newsletter p {
  margin-bottom: 20px;
}

.footer-newsletter form {
  position: relative;
}

.footer-newsletter input {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter button {
  position: absolute;
  right: 5px;
  top: 5px;
  height: calc(100% - 10px);
  width: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  background-color: var(--accent-color);
}

.copyright {
  margin-top: 60px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-menu {
  text-align: right;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 20px;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: white;
}

/* Modal Styles */
.modal-content {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: 1px solid #f0f0f0;
  background-color: var(--light-color);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-footer {
  border-top: 1px solid #f0f0f0;
}

#dreamSymbols .symbol-tag {
  background-color: var(--light-purple);
  color: var(--primary-color);
  border-radius: 20px;
  padding: 5px 15px;
  margin: 5px;
  font-size: 14px;
  transition: var(--transition);
}

#dreamSymbols .symbol-tag:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Page Title Styles */
.page-title {
  padding: 150px 0 60px;
  background: linear-gradient(
    135deg,
    var(--light-purple) 0%,
    var(--light-pink) 100%
  );
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.breadcrumb {
  display: inline-flex;
  background: transparent;
  margin-bottom: 0;
  padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--dark-color);
}

.breadcrumb-item a {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--dark-color);
}

/* Dictionary Search */
.dictionary-search {
  padding: 50px 0;
  background-color: white;
}

.search-box {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.search-box h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

/* Dictionary Categories */
.dictionary-categories {
  background-color: white;
  padding-top: 0;
}

.category-box {
  display: block;
  background-color: white;
  padding: 25px 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  margin-bottom: 30px;
  transition: var(--transition);
  height: 100%;
}

.category-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.category-icon {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: var(--transition);
}

.category-box:hover .category-icon {
  color: var(--accent-color);
}

.category-box h3 {
  font-size: 18px;
  margin-bottom: 0;
  color: var(--dark-color);
  transition: var(--transition);
}

.category-box:hover h3 {
  color: var(--primary-color);
}

/* Dictionary Alphabet */
.dictionary-alphabet {
  background-color: var(--light-color);
  padding: 60px 0;
}

.alphabet-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.letter-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  color: var(--dark-color);
  margin: 5px;
  font-weight: 500;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.letter-link:hover {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
}

/* Dictionary Content */
.dictionary-content {
  padding-top: 60px;
}

.category-section {
  margin-bottom: 60px;
}

.category-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.category-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.category-header h2 i {
  color: var(--primary-color);
  margin-right: 10px;
}

.category-header p {
  color: var(--text-color);
  margin-bottom: 0;
}

.symbol-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  margin-bottom: 30px;
}

.symbol-item.symbol-visible {
  opacity: 1;
  transform: translateY(0);
}

.symbol-box {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  height: 100%;
  transition: var(--transition);
}

.symbol-box:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.symbol-box h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
  border-bottom: 1px solid #f5f5f5;
  padding-bottom: 10px;
}

.symbol-description p {
  margin-bottom: 20px;
}

.symbol-description h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.symbol-description ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.symbol-description ul li {
  margin-bottom: 10px;
}

.highlight-symbol {
  box-shadow: 0 0 0 3px var(--primary-color);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Newsletter */
.newsletter {
  background: linear-gradient(
    135deg,
    var(--light-purple) 0%,
    var(--light-pink) 100%
  );
  padding: 80px 0;
}

.newsletter-content {
  background-color: white;
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.newsletter-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.newsletter-content p {
  margin-bottom: 30px;
}

.newsletter-form .input-group {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-form input {
  padding: 15px 25px;
  border: none;
  font-size: 16px;
}

.newsletter-form button {
  padding: 0 30px;
  border: none;
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
}

.newsletter-form button:hover {
  background-color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero {
    padding: 150px 0 80px;
  }

  .hero-content h2 {
    font-size: 36px;
  }

  .hero-image {
    margin-top: 50px;
  }

  .feature-box,
  .dream-category {
    margin-bottom: 30px;
  }

  .symbol-search-box {
    padding: 30px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .page-title h1 {
    font-size: 36px;
  }

  .dictionary-content {
    padding-top: 40px;
  }

  .category-header h2 {
    font-size: 24px;
  }

  .symbol-box {
    padding: 20px;
  }

  .symbol-box h3 {
    font-size: 20px;
  }

  .newsletter-content {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  section {
    padding: 60px 0;
  }

  .footer {
    padding: 60px 0 0;
  }

  .footer-about,
  .footer-links,
  .footer-newsletter {
    margin-bottom: 40px;
  }

  .footer-menu,
  .copyright p {
    text-align: center;
  }

  .footer-menu a {
    margin: 0 10px;
  }

  .page-title {
    padding: 120px 0 40px;
  }

  .page-title h1 {
    font-size: 28px;
  }

  .alphabet-index {
    margin-top: 20px;
  }

  .letter-link {
    width: 35px;
    height: 35px;
    font-size: 14px;
    margin: 3px;
  }

  .category-section {
    margin-bottom: 40px;
  }

  .newsletter-content {
    padding: 25px;
  }

  .newsletter-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  .hero-content h2 {
    font-size: 24px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .page-title h1 {
    font-size: 24px;
  }

  .search-box h2 {
    font-size: 22px;
  }

  .newsletter-content h2 {
    font-size: 22px;
  }

  .newsletter-form .input-group {
    display: block;
  }

  .newsletter-form input {
    width: 100%;
    border-radius: 30px;
    margin-bottom: 15px;
  }

  .newsletter-form button {
    width: 100%;
    border-radius: 30px;
    padding: 15px;
  }
}
