/* Base Styles */
:root {
  /* Colors */
  --color-bg: #121212;
  --color-text: #ffffff;
  --color-highlight: #d4af37;
  --color-purple-light: #9b30ff;
  --color-purple-dark: #3e0066;
  --color-dark-gray: #1a1a1a;
  --color-medium-gray: #2a2a2a;
  --color-light-gray: #3a3a3a;
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-error: #dc3545;
  
  /* Spacing (8px grid system) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-xxxl: 3rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: var(--font-size-xxxl);
}

h2 {
  font-size: var(--font-size-xxl);
}

h3 {
  font-size: var(--font-size-xl);
}

p {
  margin-bottom: var(--space-md);
}

.highlight {
  color: var(--color-highlight);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-purple-light), var(--color-highlight));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) 0;
  z-index: 1000;
  transition: background-color var(--transition-medium), padding var(--transition-medium);
}

#header.scrolled {
  background-color: rgba(18, 18, 18, 0.95);
  padding: var(--space-xs) 0;
  box-shadow: var(--shadow-md);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: var(--font-size-xl);
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: var(--color-highlight);
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a:hover {
  color: var(--color-highlight);
}

.nav-links a.active {
  color: var(--color-highlight);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-highlight);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-purple-dark), var(--color-purple-light));
  color: var(--color-text);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-highlight);
  color: var(--color-highlight);
}

.btn-secondary:hover {
  background-color: var(--color-highlight);
  color: var(--color-bg);
}

.btn-light {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-text {
  color: var(--color-highlight);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  display: inline-block;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-highlight);
  transition: width var(--transition-medium);
}

.btn-text:hover::after {
  width: 100%;
}

/* Page Banner */
.page-banner {
  padding: 120px 0 var(--space-xxl);
  text-align: center;
  background-color: var(--color-dark-gray);
}

/* Section Styling */
section {
  padding: var(--space-xxl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
}

/* CTA Banner */
.cta-banner {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, var(--color-purple-dark), var(--color-purple-light));
  text-align: center;
}

.cta-content h2 {
  margin-bottom: var(--space-sm);
}

.cta-content p {
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--color-dark-gray);
  padding-top: var(--space-xxl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-about {
  grid-column: span 1;
}

.footer-about .logo {
  margin-bottom: var(--space-sm);
}

.footer-about p {
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.8);
}

.social-icons {
  display: flex;
  gap: var(--space-sm);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-light-gray);
  transition: background-color var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--color-highlight);
}

.social-icons img {
  width: 18px;
  height: 18px;
}

.footer-links, .footer-services, .footer-contact {
  grid-column: span 1;
}

footer h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  color: var(--color-highlight);
}

footer ul li {
  margin-bottom: var(--space-xs);
}

footer ul li a:hover {
  color: var(--color-highlight);
}

.footer-contact p {
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
  color: var(--color-highlight);
}

.footer-bottom {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
  color: var(--color-highlight);
}

/* Center Button */
.center-btn {
  text-align: center;
  margin-top: var(--space-xl);
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-about, .footer-links, .footer-services, .footer-contact {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--color-dark-gray);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    transition: right var(--transition-medium);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
    box-shadow: var(--shadow-lg);
  }
  
  .footer-grid {
    gap: var(--space-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: var(--space-xl) 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-about, .footer-links, .footer-services, .footer-contact {
    grid-column: span 1;
  }
}