/* 
 * Global CSS file
 * Contains base styles that apply to the entire website
 */

/* Global styles */
body, html {
  overflow-x: hidden;
  margin: 0;
  height: 100vh;
  background-color: #000;
}

body {
  overflow-y: scroll;
  scrollbar-width: none; /* For Firefox */
}

body::-webkit-scrollbar {
  display: none !important; /* For Chrome, Safari, and Opera */
}

/* Container styles */
.custom-container {
  width: 75%;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 1200px) {
  .custom-container {
    width: 100%;
  }
}

/* Main content area */
.main-content {
  padding-top: 0;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

@media (max-width: 1280px) {
  .main-content {
    padding-top: 40px !important;
  }
}

@media (max-width: 991.98px) {
  .custom-container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 767.98px) {
  .main-content {
    padding-top: 80px;
  }
}

/* Gradient text for headings */
.gradient-text {
  font-family: "Sequel Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 55px;
  line-height: 55px;
  letter-spacing: -0.02em;
  background: linear-gradient(
    102.95deg,
    #f15a2e 10.02%,
    #df9fae 48.79%,
    #d7115b 94.81%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Link styles */
a {
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #bcb4fa;
}

/* Section spacing helper */
.section-spacing {
  margin-bottom: 3rem;
  padding-top: 3rem;
}

/* Common Navbar Styles */
.navbar {
  background: #06010a !important;
  backdrop-filter: blur(20.3242px) !important;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.nav-item {
  margin: 0 25px;
}

.nav-item .nav-link {
  color: #ffffff;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
  color: #bcb4fa;
}

/* Offcanvas Mobile Menu Styles */
.offcanvas {
  background-color: #000000 !important;
  color: #ffffff;
  z-index: 1050;
  height: 100vh;
}

.offcanvas-header .btn-close {
  filter: invert(1);
}

.offcanvas-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1rem;
}

.offcanvas-body .navbar-nav {
  flex-grow: 1;
  overflow-y: auto;
  text-align: center;
}

.offcanvas-body .nav-link {
  color: #ffffff;
  font-size: 2.2rem !important;
  padding: 1rem 0;
  transition: color 0.3s ease;
}

.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link.active {
  color: #bcb4fa;
}

.offcanvas .nav-link {
  font-size: 30px !important;
  margin: 1.7rem 0;
}

/* Header styles */
header {
  height: 92px;
  position: fixed;
  width: 100%;
  top: 0;
  transition: transform 0.3s ease-in-out;
  background-color: black;
  z-index: 1000;
}

.header-hidden {
  transform: translateY(-100%);
}

.navbar-nav .nav-link {
  font-size: 16px;
  transition: font-size 0.3s ease;
}

/* Responsive header styles */
@media (max-width: 1399px) {
  .navbar-nav .nav-link {
    font-size: 14px;
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 1199px) {
  .navbar-nav .nav-link {
    font-size: 12px;
    padding: 0.5rem 0.5rem;
  }
}

@media (max-width: 991px) {
  .navbar-brand .logo-img {
    height: 30px;
  }

  .offcanvas .nav-link {
    font-size: 30px !important;
  }
  
  #mobileMenu {
    width: 100%;
  }
  
  .navbar-collapse {
    display: none;
  }
}

@media (min-width: 992px) {
  #mobileMenu {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .navbar-brand .logo-img {
    height: 25px;
  }
}

/* Footer styles */
.footer {
  background-color: #000000;
  padding: 20px 0;
  font-family: "Sequel Sans", sans-serif;
  position: relative;
}

.footer-container {
  max-width: 75%;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-social-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #ffffff;
  opacity: 0.6;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.footer-social a:hover {
  opacity: 1;
  border-color: #ffffff;
}

.privacy-policy,
.cookies-policy {
  color: #ffffff;
  opacity: 0.6;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.privacy-policy:hover,
.cookies-policy:hover {
  color: #BCB4FA;
  opacity: 1;
}

.social-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-text {
  color: #ffffff;
  opacity: 0.6;
  font-size: 14px;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1b1b1b;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  max-width: 320px;
  display: none; /* hidden by default */
  z-index: 999999;
  font-size: 14px;
  font-family: "Sequel Sans", sans-serif;
}

.cookie-popup.show {
  display: block;
}

.cookie-popup .cookie-popup-btn {
  background: #BCB4FA;
  color: #000;
  border: none;
  margin-top: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.cookie-popup .cookie-popup-btn:hover {
  background: #ffffff;
}

.cookie-popup a {
  color: #BCB4FA;
  text-decoration: underline;
}

/* Mobile footer styles */
@media (max-width: 768px) {
  .footer-container {
    max-width: 90%;
    padding: 0;
  }
  
  .footer-logo img {
    height: 30px;
  }
  
  .footer-social-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-social {
    gap: 10px;
  }
  
  .footer-social a {
    width: 28px;
    height: 28px;
  }
  
  .social-icon {
    width: 12px;
    height: 12px;
  }
  
  .footer-text {
    font-size: 12px;
    text-align: center;
  }
  
  .privacy-policy,
  .cookies-policy {
    font-size: 12px;
  }
}

/* RTL support */
[dir="rtl"] .navbar-nav {
  padding-right: 0;
}

[dir="rtl"] .navbar-toggler {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .offcanvas-header .btn-close {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .offcanvas-header .navbar-brand {
  margin-right: 0;
  margin-left: auto;
}

[dir="ltr"] .offcanvas-header {
  flex-direction: row;
}

[dir="ltr"] .offcanvas-header .btn-close {
  margin-left: auto;
  margin-right: 0;
}

[dir="ltr"] .offcanvas-header .navbar-brand {
  margin-right: auto;
  margin-left: 0;
}

[dir="rtl"] .navbar-brand {
  margin-right: 0 !important;
}

@media (max-width: 991px) {
  .offcanvas.offcanvas-start,
  .offcanvas.offcanvas-end {
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh;
  }
}

/* Utility classes */
.container-fluid {
  padding-left: 0;
  padding-right: 0;
}