/* Custom Elegant & Minimal Styles for Dark Professional Site */

:root {
  /* Color Palette - Dark Professional Elegance */
  --primary-dark: #1a1a2e;
  --secondary-dark: #16213e;
  --background-dark: #0f3460;
  --footer-bg: #0f0f1e;
  --accent-gold: #ffd700;
  --accent-gold-hover: #e6c200;
  --text-light: #f8f9fa;
  --text-muted: #adb5bd;
  --text-gold: #ffd700;
  
  /* Typography - Elegant Serif for Headings */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  
  /* Spacing - Generous Whitespace */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  
  /* Borders & Radius */
  --border-radius-pill: 9999px;
  --border-radius-small: 0.5rem;
  --border-subtle: 1px solid rgba(255, 215, 0, 0.1);
  
  /* Shadows - Minimal and Elegant */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-gold-glow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--background-dark);
  color: var(--text-light);
  line-height: 1.7;
  font-weight: var(--font-weight-normal);
  margin: 0;
  padding: 0;
}

/* Typography Hierarchy - Serif Headings */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 var(--spacing-md) 0;
  color: var(--text-light);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-weight-light);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-medium);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-medium);
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
  margin: 0 0 var(--spacing-sm) 0;
  color: var(--text-light);
}

/* Paragraphs and Text */
p {
  margin: 0 0 var(--spacing-md) 0;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: var(--font-weight-light);
  color: var(--text-light);
}

/* Links - Elegant Minimal */
a {
  color: var(--text-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  padding-bottom: 2px;
}

a:hover, a:focus {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
  transform: translateY(-1px);
}

a:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Section Layouts */
section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.section-dark {
  background: var(--primary-dark);
}

.section-darker {
  background: var(--secondary-dark);
}

.section-bg {
  background: var(--background-dark);
}

/* Container - Clean Spacing */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: 1400px;
}

.container-narrow {
  max-width: 800px;
}

/* Buttons - Elegant Pill Design */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 48px;
  line-height: 1;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--secondary-dark);
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover, .btn-primary:focus {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-glow);
  color: var(--secondary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text-gold);
  border: 2px solid var(--text-gold);
}

.btn-secondary:hover, .btn-secondary:focus {
  background: var(--text-gold);
  color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-glow);
}

.btn-ghost {
  background: rgba(255, 215, 0, 0.1);
  color: var(--text-gold);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover, .btn-ghost:focus {
  background: rgba(255, 215, 0, 0.2);
  transform: translateY(-1px);
}

/* Cards - Minimal Elegant Design */
.card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-small);
  padding: var(--spacing-lg);
  backdrop-filter: blur(10px);
  border: var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(255, 215, 0, 0.2);
}

.card-header {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
  color: var(--text-gold);
  margin-bottom: var(--spacing-xs);
}

.card-content {
  color: var(--text-muted);
}

/* Forms - Elegant Minimal */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-xs);
  color: var(--text-light);
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

/* Header - Clean Professional */
.site-header {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: var(--font-weight-medium);
  color: var(--text-gold);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background: var(--accent-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover, .nav-link:focus {
  color: var(--text-gold);
}

.nav-link:hover::after, .nav-link:focus::after {
  width: 100%;
}

/* Footer - Minimal Dark */
.site-footer {
  background: var(--footer-bg);
  padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
  margin-top: var(--spacing-xxl);
}

.footer-content {
  display: grid;
  gap: var(--spacing-lg);
}

.footer-section {
  padding: var(--spacing-md) 0;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-gold);
  margin-bottom: var(--spacing-md);
}

.footer-text {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Utility Classes */
.text-gold {
  color: var(--text-gold);
}

.text-light {
  color: var(--text-light);
}

.text-muted {
  color: var(--text-muted);
}

.bg-primary {
  background: var(--primary-dark);
}

.bg-secondary {
  background: var(--secondary-dark);
}

.bg-accent {
  background: var(--accent-gold);
}

/* Spacing Utilities */
.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Layout Utilities */
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .header-nav {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .nav-menu {
    gap: var(--spacing-md);
  }
  
  section {
    padding: var(--spacing-xl) 0;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .card {
    padding: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.95rem;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Focus and Accessibility */
*:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: var(--accent-gold);
  color: var(--secondary-dark);
}

::-moz-selection {
  background: var(--accent-gold);
  color: var(--secondary-dark);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold-hover);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Print Styles */
@media print {
  .btn,
  .nav-menu,
  .site-header,
  .site-footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}


/* 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;
    }
}