/* AI Premium Theme overrides */

body {
  background-color: #0d1117 !important;
  color: #c9d1d9 !important;
  font-family: 'Inter', 'Poppins', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

/* Glassmorphism for cards */
.features .item, .trending .item {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
  border-radius: 20px !important;
  transition: all 0.4s ease !important;
  overflow: hidden;
}

.features .item:hover, .trending .item:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 12px 40px 0 rgba(0, 113, 248, 0.4) !important;
  border-color: rgba(0, 113, 248, 0.5) !important;
}

.features .item h4, .trending .item h4 {
  color: #e6edf3 !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

.trending .item .down-content {
  background: transparent !important;
}

.trending .item .thumb img {
  border-radius: 20px 20px 0 0 !important;
}

/* Glowing effects for AI theme */
.main-button a {
  background: linear-gradient(135deg, #0071f8, #ee626b) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 113, 248, 0.4) !important;
  color: #ffffff !important;
}

.main-button a:hover {
  background: linear-gradient(135deg, #ee626b, #0071f8) !important;
  box-shadow: 0 6px 20px rgba(238, 98, 107, 0.5) !important;
}

/* Main Banner tweaks */
.main-banner {
  background-image: linear-gradient(to bottom, rgba(13, 17, 23, 0.8), #0d1117), url('../images/banner-bg.jpg') !important;
  border-radius: 0 0 50px 50px !important;
}

.main-banner .caption h2 {
  text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
  background: -webkit-linear-gradient(#fff, #a5c9ff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.main-banner .caption p {
  color: #b1baca !important;
}

.header-area .main-nav .logo h1, .header-area .main-nav .nav li a {
  color: #ffffff !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
}

.header-area .main-nav .nav li a:hover,
.header-area .main-nav .nav li a.active {
  color: #0071f8 !important;
  background-color: transparent !important;
  text-shadow: 0 0 10px rgba(0, 113, 248, 0.4) !important;
}

.header-area .main-nav .nav li:last-child a {
  background: linear-gradient(135deg, #0071f8, #ee626b) !important;
  box-shadow: 0 4px 15px rgba(0, 113, 248, 0.4) !important;
  color: #fff !important;
  border-radius: 25px !important;
  padding: 0 25px !important;
}

.header-area .main-nav .nav li:last-child a:hover {
  background: linear-gradient(135deg, #ee626b, #0071f8) !important;
  color: #fff !important;
}

.background-header {
  background-color: rgba(13, 17, 23, 0.95) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
}

.page-heading {
  background-image: linear-gradient(to bottom, rgba(13, 17, 23, 0.8), #0d1117), url('../images/banner-bg.jpg') !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-color: #161b22 !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 0 0 50px 50px !important;
  padding: 120px 0 80px 0 !important;
}

.page-heading h3 {
  text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
  background: -webkit-linear-gradient(#fff, #a5c9ff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.page-heading .breadcrumb {
  color: #b1baca !important;
}

.page-heading .breadcrumb a {
  color: #0071f8 !important;
}

.trending-filter li a {
  color: #c9d1d9 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.trending-filter li a.is_active, .trending-filter li a:hover {
  background: linear-gradient(135deg, #0071f8, #ee626b) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* Footer tweaks */
footer {
  background-image: linear-gradient(to top, rgba(13, 17, 23, 0.95), rgba(13, 17, 23, 0.8)), url('../images/banner-bg.jpg') !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-color: #0d1117 !important;
  border-top: 1px solid rgba(0, 113, 248, 0.3) !important;
  margin-top: 50px !important;
  border-radius: 50px 50px 0 0 !important;
  padding: 60px 0 20px 0 !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5) !important;
}

.footer-widget h4 {
  color: #fff !important;
  font-size: 20px !important;
  margin-bottom: 25px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

.footer-widget p {
  color: #b1baca !important;
  line-height: 28px !important;
}

.footer-widget ul li {
  margin-bottom: 15px !important;
  color: #8b949e !important;
}

.footer-widget ul li a {
  color: #8b949e !important;
  transition: all 0.3s ease !important;
}

.footer-widget ul li a:hover {
  color: #0071f8 !important;
  padding-left: 5px !important;
}

.footer-bottom {
  margin-top: 40px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  text-align: center !important;
}

.footer-bottom p {
  color: #8b949e !important;
  font-size: 14px !important;
}

/* Form tweaks */
.main-banner .caption form input {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.main-banner .caption form input::placeholder {
  color: #8b949e !important;
}

/* Shopping Bag Icon background fix */
.trending .item .down-content a {
  background-color: rgba(0, 113, 248, 0.2) !important;
  color: #0071f8 !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.trending .item .down-content a:hover {
  background-color: #0071f8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(0, 113, 248, 0.6) !important;
}

/* Additional premium styles */
.section-heading h2 {
  color: #ffffff !important;
}
.section-heading h6 {
  color: #0071f8 !important;
  text-shadow: 0 0 10px rgba(0, 113, 248, 0.4) !important;
}
.cta {
  background: rgba(255, 255, 255, 0.02) !important;
  padding: 80px 0 !important;
  border-radius: 30px !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
}
.cta .shop {
  background: transparent !important;
}

.cta h2 {
  color: #ffffff !important;
}

.cta p {
  color: #8b949e !important;
}

/* Subscribe Section Fixes */
.cta::after {
  /* To change the background image of this section, replace 'cta-bg.jpg' with your new image filename */
  background-image: url('../images/cta-bg.jpg') !important;
}

.cta .subscribe {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.cta .subscribe form input {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.cta .subscribe form input::placeholder {
  color: #8b949e !important;
}

.cta .subscribe form button {
  background: linear-gradient(135deg, #0071f8, #ee626b) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 113, 248, 0.4) !important;
  color: #fff !important;
  transition: all 0.3s ease !important;
}

.cta .subscribe form button:hover {
  background: linear-gradient(135deg, #ee626b, #0071f8) !important;
  box-shadow: 0 6px 20px rgba(238, 98, 107, 0.5) !important;
}

/* Contact Us & About Us Page Styles */
.contact-page .left-text {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 40px !important;
  border-radius: 20px !important;
}

.contact-page .left-text p {
  color: #b1baca !important;
}

.contact-page .left-text ul li {
  color: #c9d1d9 !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.contact-page .left-text ul li span {
  color: #0071f8 !important;
  font-weight: 600 !important;
}

#contact-form input, #contact-form textarea {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-radius: 10px !important;
}

#contact-form input::placeholder, #contact-form textarea::placeholder {
  color: #8b949e !important;
}

#contact-form .orange-button {
  background: linear-gradient(135deg, #0071f8, #ee626b) !important;
  border: none !important;
  border-radius: 25px !important;
  color: #fff !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 113, 248, 0.4) !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
}

#contact-form .orange-button:hover {
  background: linear-gradient(135deg, #ee626b, #0071f8) !important;
  box-shadow: 0 6px 20px rgba(238, 98, 107, 0.5) !important;
}

/* Pagination */
.pagination li a {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #c9d1d9 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  margin: 0 5px !important;
}

.pagination li a.is_active, .pagination li a:hover {
  background: linear-gradient(135deg, #0071f8, #ee626b) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 10px rgba(0, 113, 248, 0.4) !important;
}

/* Mobile Menu Dark Theme Fix */
@media (max-width: 767px) {
  .header-area .main-nav .nav {
    background-color: #161b22 !important;
    border-radius: 15px !important;
    padding: 10px 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    margin-top: 20px !important;
  }
  .header-area .main-nav .nav li {
    background-color: #161b22 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 0 !important;
  }
  .header-area .main-nav .nav li:first-child {
    border-top: none !important;
  }
  .header-area .main-nav .nav li a {
    color: #ffffff !important;
    background-color: transparent !important;
  }
  .header-area .main-nav .nav li a:hover,
  .header-area .main-nav .nav li a.active {
    color: #0071f8 !important;
  }
  .header-area .main-nav .nav li:last-child a {
    margin: 10px 20px !important;
    text-align: center !important;
    border-radius: 25px !important;
  }
  .header-area .main-nav .menu-trigger span,
  .header-area .main-nav .menu-trigger span:before,
  .header-area .main-nav .menu-trigger span:after {
    background-color: #ffffff !important;
  }
}
