/* 
 * DreamNoos Main Styles
 * Author: DreamNoos Team
 * Version: 1.0
 */

/* General Styles */
body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: #2c3e50;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #2980b9;
  text-decoration: none;
}

.btn-primary {
  background-color: #3498db;
  border-color: #3498db;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: #3498db;
  transform: translateX(-50%);
}

/* Header Styles */
.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;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #3498db, #8e44ad);
  color: #fff;
  padding: 80px 0;
  margin-top: -2px;
}

.hero-content {
  padding: 30px 0;
}

.hero-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.dream-form textarea {
  border-radius: 8px;
  border: none;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: #fff;
}

.feature-box {
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 20px;
  color: #3498db;
  font-size: 48px;
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
  transform: scale(1.2);
}

.feature-box h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.feature-box p {
  color: #7f8c8d;
}

/* Popular Dreams Section */
.popular-dreams {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.dream-category {
  text-align: center;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.dream-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dream-category img {
  max-width: 100px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.dream-category:hover img {
  transform: scale(1.1);
}

.dream-category h4 {
  font-size: 20px;
  margin-bottom: 0;
}

/* Symbol Search Section */
.symbol-search {
  padding: 80px 0;
  background-color: #fff;
}

.symbol-search-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.symbol-search-box h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.symbol-search-box p {
  color: #7f8c8d;
  margin-bottom: 25px;
}

.popular-symbols {
  margin-top: 20px;
}

.popular-symbols span {
  display: inline-block;
  margin-right: 10px;
  color: #7f8c8d;
}

.popular-symbols a {
  display: inline-block;
  margin: 5px;
  padding: 5px 15px;
  background-color: #e0f3ff;
  border-radius: 20px;
  color: #3498db;
  transition: all 0.3s ease;
}

.popular-symbols a:hover {
  background-color: #3498db;
  color: #fff;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.testimonial-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.testimonial-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-text p {
  position: relative;
  padding: 0 20px;
}

.testimonial-text p:before,
.testimonial-text p:after {
  content: '"';
  font-size: 30px;
  color: #3498db;
  position: absolute;
}

.testimonial-text p:before {
  left: 0;
  top: -5px;
}

.testimonial-text p:after {
  right: 0;
  bottom: -20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 15px;
}

.testimonial-author h5 {
  margin-bottom: 5px;
}

.testimonial-author span {
  font-size: 14px;
  color: #95a5a6;
}

/* Call to Action Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #3498db, #8e44ad);
  color: #fff;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer Styles */
.footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 70px 0 0;
}

.footer-about h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-about p {
  margin-bottom: 25px;
  color: #bdc3c7;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin-right: 10px;
  color: #fff;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #3498db;
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 25px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #bdc3c7;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: #3498db;
  padding-left: 5px;
}

.footer-newsletter h4 {
  font-size: 18px;
  margin-bottom: 25px;
  color: #fff;
}

.footer-newsletter p {
  margin-bottom: 20px;
  color: #bdc3c7;
}

.footer-newsletter form {
  position: relative;
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border: none;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.footer-newsletter input::placeholder {
  color: #bdc3c7;
}

.footer-newsletter button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  border: none;
  background-color: #3498db;
  color: #fff;
  border-radius: 0 50px 50px 0;
  transition: all 0.3s ease;
}

.footer-newsletter button:hover {
  background-color: #2980b9;
}

.copyright {
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-menu {
  text-align: right;
}

.footer-menu a {
  display: inline-block;
  margin-left: 15px;
  color: #bdc3c7;
}

.footer-menu a:hover {
  color: #3498db;
}

/* Page Banner */
.page-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, #3498db, #8e44ad);
  color: #fff;
  text-align: center;
}

.page-banner h1 {
  font-size: 48px;
  margin-bottom: 15px;
  color: #fff;
}

.page-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .navbar-collapse {
    background-color: rgba(52, 152, 219, 0.95);
    padding: 20px;
    border-radius: 5px;
    margin-top: 15px;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .hero-content h2 {
    font-size: 36px;
  }

  .feature-box {
    margin-bottom: 40px;
  }

  .footer {
    padding: 50px 0 0;
  }

  .footer-about,
  .footer-links,
  .footer-newsletter {
    margin-bottom: 40px;
  }

  .copyright {
    text-align: center;
  }

  .footer-menu {
    text-align: center;
    margin-top: 15px;
  }

  .footer-menu a {
    margin: 0 10px;
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 30px;
  }

  .hero-content h2 {
    font-size: 30px;
  }

  .cta-content h2 {
    font-size: 30px;
  }

  .page-banner h1 {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 60px 0;
  }

  .features,
  .popular-dreams,
  .symbol-search,
  .testimonials {
    padding: 60px 0;
  }

  .dream-category {
    margin-bottom: 20px;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-author img {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

.dream-interpretation-modern .related-symbol-item .btn-outline-primary {
  background-color: #3498db !important;
  color: #fff !important;
  border-color: #3498db !important;
}

.dream-interpretation-modern .related-symbol-item .btn-outline-primary:hover {
  background-color: #2980b9 !important;
  color: #fff !important;
  border-color: #2980b9 !important;
}
