/* Bistrochat Theme CSS - Matching main website styling */

/* Base styles to match main Bistrochat website */
body {
  background: #030116;
  font-family: 'Inter', sans-serif;
  color: #fff;
}

/* Header styling to match main site */
header.header {
  width: 100%;
  background: rgba(3, 1, 23, 0.06);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  padding: 21px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1625px;
  width: 100%;
  margin: 0 auto;
}

.logo a {
  display: flex;
  align-items: center;
}

/* Override Tailwind h-10 class for logo to maintain consistent size */
.site-header .logo img.h-10,
.header .logo img.h-10,
img.h-10.w-auto {
  height: 20px !important;
  width: auto !important;
  max-height: 20px !important;
  min-height: 20px !important;
}

.menu-link ul {
  display: flex;
  align-items: center;
  gap: 99px;
}

.menu-link ul li a {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  display: flex;
  align-items: center;
}

.menu-link ul li a.active {
  color: #2b59e3;
}

.header-right ul {
  display: flex;
  align-items: center;
  gap: 92px;
}

.demo-btn {
  border-radius: 50px;
  background: linear-gradient(96deg, #2d3753 0%, #2c4aa1 50%, #3166fe 100%);
  height: 39px;
  display: inline-flex;
  align-items: center;
  color: #e3e3e3;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  padding: 0 24px;
  min-width: fit-content;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.3s ease;
}

.demo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(45, 55, 83, 0.4);
  color: #ffffff;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
}

.whatsapp-btn img {
  height: 33px;
  width: 33px;
}

/* Responsive WhatsApp button sizing */
@media screen and (max-width: 991px) {
  .whatsapp-btn img {
    height: 28px;
    width: 28px;
  }
}

/* Banner section styling */
.banner-sec {
  position: relative;
  padding: 160px 0 105px;
  z-index: 1;
}

.banner-sec::after {
  position: absolute;
  content: "";
  left: 50%;
  transform: translate(-50%, 0);
  top: 0;
  width: 1151px;
  height: 1175px;
  border-radius: 1151px;
  opacity: 0.48;
  background: radial-gradient(50% 50% at 50% 50%, #2c4aa1 0%, #01041a 100%);
  filter: blur(20px);
}

.banner-inner {
  text-align: center;
  position: relative;
  z-index: 100;
}

.banner-inner .text-box {
  margin-bottom: 32px;
}

.banner-inner .text-box h1 {
  color: #fff;
  font-weight: 500;
  font-size: 46px;
  line-height: 78px;
  margin-bottom: 10px;
}

/* Blog specific styles */
.blog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 50px;
  background: linear-gradient(96deg, #2d3753 0%, #2c4aa1 50%, #3166fe 100%);
  color: #e3e3e3;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 0 10px;
}

.blog-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

/* Post styling */
.post-header {
  padding-top: 120px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(93deg, #2d3753 0%, #2c4aa1 50%, #3166fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.post-content {
  position: relative;
  z-index: 1;
}

.post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(16, 16, 41, 0.5);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(85, 85, 85, 0.2);
}

.post-featured-image {
  margin-bottom: 2rem;
}

.post-featured-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.post-body {
  line-height: 1.8;
}

.post-body h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: #fff;
}

.post-body h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
  color: #fff;
}

.post-body p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.post-body ul, .post-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-body li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.post-body ol li {
  list-style-type: decimal;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.post-tag {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 50px;
  background: rgba(49, 102, 254, 0.2);
  color: #3166fe;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.post-tag:hover {
  background: rgba(49, 102, 254, 0.4);
  color: #fff;
}

.post-share {
  margin-top: 1.5rem;
}

.post-share h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Footer styling */
footer {
  background: rgba(3, 1, 23, 0.8);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
  margin-top: 100px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.footer-nav, .footer-social {
  flex: 0 0 48%;
  max-width: 48%;
}

.footer-nav h4, .footer-social h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-nav ul li a:hover {
  color: #3166fe;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #3166fe;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Language switcher styling */
.language-switcher {
  position: relative;
}

.lang-dropdown {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.lang-current:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(16, 16, 41, 0.95);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 120px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.lang-options.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: all 0.3s ease;
}

.lang-option:hover {
  background: rgba(49, 102, 254, 0.2);
  color: #fff;
}

/* Mobile menu toggle styling - Cleaned up version */
@media screen and (max-width: 991px) {
  .mobile-menu-toggle,
  .burger-menu-button,
  .burger-menu-button.mobile-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 30px !important;
    height: 39px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    position: fixed !important;
    top: 22px !important;
    transform: none !important;
    right: 20px !important;
    z-index: 10000 !important;
    padding: 0 !important;
  }

  .mobile-menu-toggle span,
  .burger-menu-button span,
  .burger-menu-button.mobile-menu-toggle span {
    display: block !important;
    height: 3px !important;
    width: 25px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 2px 0 !important;
    position: relative !important;
  }

  .mobile-menu-toggle.active span:nth-child(1),
  .burger-menu-button.active span:nth-child(1),
  .burger-menu-button.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2),
  .burger-menu-button.active span:nth-child(2),
  .burger-menu-button.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3),
  .burger-menu-button.active span:nth-child(3),
  .burger-menu-button.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
}

/* Responsive styles */
@media (min-width: 768px) {
  .footer-logo {
    flex: 0 0 30%;
    max-width: 30%;
    margin-bottom: 0;
  }
  
  .footer-links {
    flex: 0 0 65%;
    max-width: 65%;
  }
}

/* Tablet-specific adjustments for demo button */
@media (min-width: 768px) and (max-width: 991px) {
  .demo-btn {
    font-size: 13px;
    padding: 0 22px;
  }
}

@media (max-width: 991px) {
  .post-title {
    font-size: 2rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .post-container {
    padding: 1.5rem;
  }
  
  .header-inner {
    padding: 0 15px;
  }
  
  .menu-link {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(3, 1, 23, 0.95);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9;
  }
  
  .menu-link.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .menu-link ul {
    flex-direction: column;
    gap: 20px;
  }
  
  .header-right ul {
    display: none;
  }
  
  .mobile-menu-toggle,
  .burger-menu-button,
  .burger-menu-button.mobile-menu-toggle {
    display: flex !important;
  }
  
  .demo-btn {
    font-size: 13px;
    padding: 0 20px;
    height: 36px;
    min-width: fit-content;
  }
}

/* Desktop hide hamburger menu - Override for larger screens */
@media (min-width: 992px) {
  .mobile-menu-toggle,
  .burger-menu-button,
  .burger-menu-button.mobile-menu-toggle {
    display: none !important;
  }
}

/* MOBILE BURGER MENU OVERRIDE - Clean styles */
@media (max-width: 991px) {
  .mobile-menu-toggle,
  .burger-menu-button,
  .burger-menu-button.mobile-menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    padding: 8px !important;
    cursor: pointer !important;
    position: static !important; /* Force normal flow */
    top: auto !important;
    right: auto !important;
    z-index: auto !important; /* Remove high z-index */
    transition: background-color 0.3s ease !important;
    border-radius: 0.375rem !important;
  }
  
  .mobile-menu-toggle:hover,
  .burger-menu-button:hover,
  .burger-menu-button.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
  }
  
  .mobile-menu-toggle.active,
  .burger-menu-button.active,
  .burger-menu-button.mobile-menu-toggle.active {
    background-color: rgba(49, 102, 254, 0.2) !important;
  }
}