/* ========================================
   CUSTOM CSS FOR MODERN MINIMAL WEBSITE
   Framework: Bootstrap 5 Complementary
   Style: Elegant & Minimal
======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES (THEME COLORS)
======================================== */
:root {
  /* Core Colors */
  --primary-color: #0B0C15;
  --secondary-color: #00F0FF;
  --background-color: #050509;
  --footer-bg-color: #020204;
  --button-color: #7000FF;
  
  /* Section Backgrounds */
  --section-bg-1: #050509;
  --section-bg-2: #0B0C15;
  --section-bg-3: #11121E;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing & Layout */
  --container-max-width: 1200px;
  --section-padding: 5rem 0;
  --element-spacing: 3rem;
  
  /* Border Radius */
  --border-radius-pill: 9999px;
  --border-radius-small: 8px;
  --border-radius-medium: 16px;
  
  /* Shadows */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ========================================
   GOOGLE FONTS IMPORT
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========================================
   BASE STYLES & GLOBAL OVERRIDES
======================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background-color);
  color: #ffffff;
  line-height: 1.7;
  font-weight: 400;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Enhanced Typography Hierarchy */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #ffffff;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ========================================
   BOOTSTRAP CONTAINER ENHANCEMENTS
======================================== */
.container {
  max-width: var(--container-max-width);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* ========================================
   CUSTOM BUTTON STYLES
======================================== */
.btn-custom-primary {
  background: linear-gradient(135deg, var(--button-color), #8B5CF6);
  border: none;
  border-radius: var(--border-radius-pill);
  color: #ffffff;
  font-weight: 500;
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  letter-spacing: 0.025em;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-medium);
  text-transform: none;
  position: relative;
  overflow: hidden;
}

.btn-custom-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, #8B5CF6, var(--button-color));
  color: #ffffff;
  text-decoration: none;
}

.btn-custom-primary:active {
  transform: translateY(0);
}

.btn-custom-secondary {
  background: transparent;
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius-pill);
  color: var(--secondary-color);
  font-weight: 500;
  padding: 0.75rem 2.25rem;
  font-size: 1rem;
  letter-spacing: 0.025em;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-custom-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.3);
  text-decoration: none;
}

/* Link-style buttons */
.btn-link-style {
  color: var(--secondary-color);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: var(--transition-fast);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-link-style:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* ========================================
   SECTION STYLES WITH BACKGROUND VARIANTS
======================================== */
.section-primary {
  background-color: var(--section-bg-1);
  padding: var(--section-padding);
}

.section-secondary {
  background-color: var(--section-bg-2);
  padding: var(--section-padding);
}

.section-tertiary {
  background-color: var(--section-bg-3);
  padding: var(--section-padding);
}

/* ========================================
   CUSTOM CARD COMPONENTS
======================================== */
.card-custom {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-medium);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(0, 240, 255, 0.3);
}

.card-custom .card-title {
  font-family: var(--font-heading);
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.card-custom .card-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* ========================================
   HERO SECTION STYLES
======================================== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--section-bg-2) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 240, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* ========================================
   NAVIGATION ENHANCEMENTS
======================================== */
.navbar-custom {
  background: rgba(5, 5, 9, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius-pill);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--secondary-color) !important;
  background: rgba(0, 240, 255, 0.1);
}

/* ========================================
   FOOTER STYLES
======================================== */
.footer-custom {
  background-color: var(--footer-bg-color);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
}

.footer-title {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* ========================================
   FORM STYLES
======================================== */
.form-custom {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-medium);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-control-custom {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-small);
  color: #ffffff;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control-custom:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 240, 255, 0.25);
  color: #ffffff;
}

.form-control-custom::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-label-custom {
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: block;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-gradient {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.border-gradient {
  border: 1px solid;
  border-image: linear-gradient(135deg, var(--secondary-color), rgba(255, 255, 255, 0.2)) 1;
}

.spacer-xl {
  height: 6rem;
}

.spacer-lg {
  height: 4rem;
}

.spacer-md {
  height: 2rem;
}

/* ========================================
   ANIMATION & INTERACTION ENHANCEMENTS
======================================== */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effects for interactive elements */
.hover-lift {
  transition: var(--transition-smooth);
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
    --element-spacing: 2rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .card-custom {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .form-custom {
    padding: 1.5rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .btn-custom-primary,
  .btn-custom-secondary {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }
  
  .card-custom {
    padding: 1.25rem;
  }
  
  .footer-custom {
    padding: 3rem 0 1.5rem;
  }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for better accessibility */
*:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

button:focus,
.btn:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
  .navbar-custom,
  .footer-custom,
  .btn-custom-primary,
  .btn-custom-secondary {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .section-primary,
  .section-secondary,
  .section-tertiary {
    background: white;
    padding: 1rem 0;
  }
}


/* Cookie Banner Additional Styles for Bootstrap */
.cookie-banner-custom {
    z-index: 1060;
    backdrop-filter: blur(10px);
}

.cookie-banner-custom .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}