/* 
  Cosmic Trading - Custom Stylesheet
  A modern, minimal website design with a dark, cosmic aesthetic
  Website: Cosmic Trading
  Language: es-AR (Spanish - Argentina)
  Framework: Tailwind CSS (utility classes)
  Style: Elegant & Minimal with a futuristic flair
*/

/* CSS Variables */
:root {
  /* Colors */
  --primary-color: #00f0ff;
  --secondary-color: #7000ff;
  --background-color: #050510;
  --footer-background-color: #020205;
  --button-color: #00f0ff;

  --section-bg-color-1: #050510;
  --section-bg-color-2: #0a0a1a;
  --section-bg-color-3: #050510;

  --text-color: #e0e0e0;
  --text-dark: #050510;
  --text-white: #ffffff;
  --text-muted: #a0a0a0;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);

  /* Fonts */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 3rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.5), 0 1px 2px -1px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-glow-primary: 0 0 20px rgba(0, 240, 255, 0.4);
  --shadow-glow-secondary: 0 0 20px rgba(112, 0, 255, 0.4);

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-smooth: 0.3s ease-in-out;
}

/* Global Styles */
html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--background-color);
  font-family: var(--font-sans);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container,
.container-fluid {
  max-width: 100% !important; /* Override Bootstrap/Tailwind max-width for full-width sections */
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em; /* Elegant, tight letter spacing for headings */
}

h1 {
  font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem);
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
}

.lead {
  font-size: 1.125rem;
  color: var(--text-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-white {
  color: var(--text-white) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 4px; /* Underlined links as per style guide */
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary-color);
  text-decoration-color: var(--secondary-color);
}

a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

/* Buttons - Pill-shaped */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-smooth);
  font-family: var(--font-sans);
}

.btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--button-color);
  color: var(--text-dark);
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  background-color: #00d4e0; /* Slightly darker shade of primary for hover */
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-primary), var(--shadow-soft);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-dark);
  box-shadow: var(--shadow-glow-primary);
}

/* Cards */
.card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  transition: all var(--transition-smooth);
}

.card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.card .card-title {
  color: var(--text-white);
  margin-bottom: var(--spacing-sm);
}

.card .card-text {
  color: var(--text-muted);
}

/* Utility Classes for Sections */
.section-full {
  width: 100%;
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.section-dark-1 {
  background-color: var(--section-bg-color-1);
}

.section-dark-2 {
  background-color: var(--section-bg-color-2);
}

.section-dark-3 {
  background-color: var(--section-bg-color-3);
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-padding-lg {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

/* Header */
.navbar {
  background-color: transparent !important; /* Overlay header style */
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  transition: background-color var(--transition-smooth), padding var(--transition-smooth);
}

.navbar.scrolled {
  background-color: rgba(5, 5, 16, 0.8) !important; /* Semi-transparent background when scrolled */
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-white) !important;
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  margin-left: var(--spacing-md);
  transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border-color: transparent !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Footer */
footer {
  background-color: var(--footer-background-color);
  color: var(--text-muted);
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* Subtle radial gradient for cosmic feel */
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(112, 0, 255, 0.15) 0%, rgba(5, 5, 16, 0) 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Misc */
hr {
  border-color: var(--border-color);
  margin: var(--spacing-xl) 0;
}

.small {
  font-size: 0.875rem;
}

.center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }

  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-padding-lg {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}