:root {
  --primary: #ffffff;
  --secondary: #666666;
  --accent: #222222;
  --bg-light: #ffffff;
  --text-dark: #000000;
  --border-color: #dddddd;
  --solid-bg: #f5f5f5;
  --hover-bg: #e0e0e0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

body.loaded {
  opacity: 1;
}

.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--bg-light);
}

.glass-card {
  background: var(--solid-bg);
  border: 1px solid var(--border-color);
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.glass-nav {
  background: #000000 !important;
  border-bottom: 1px solid var(--border-color);
}

.glass-nav .navbar-brand,
.glass-nav .nav-link {
  color: #ffffff !important;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-link.active {
  color: #ffc107 !important;
  border-bottom: 2px solid #cccccc;
}

.text-accent {
  color: var(--accent);
}

.hero-title {
  font-weight: 800;
  font-size: 4rem;
  letter-spacing: -1px;
}

.btn-custom {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--accent);
  padding: 10px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background: var(--accent);
  color: var(--bg-light);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.btn-primary-custom {
  background: var(--accent);
  color: var(--bg-light);
  font-weight: 600;
  border: 1px solid var(--accent);
  padding: 10px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-light);
}

.progress {
  background-color: var(--solid-bg);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.progress-bar {
  background-color: var(--accent);
}

.accordion-item {
  background: transparent;
  border: none;
  margin-bottom: 1rem;
}

.accordion-button {
  background: var(--solid-bg);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px !important;
}

.accordion-button:not(.collapsed) {
  background: var(--hover-bg);
  color: var(--accent);
  box-shadow: none;
  border-color: var(--accent);
}

.accordion-body {
  background: var(--bg-light);
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.accordion-body.text-light {
  color: var(--text-dark) !important;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.form-control {
  background: var(--solid-bg);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.form-control:focus {
  background: var(--hover-bg);
  border-color: var(--accent);
  color: var(--text-dark);
  box-shadow: none;
}

.form-control::placeholder {
  color: #888;
}

.text-light {
  color: var(--text-dark) !important;
}

.text-muted {
  color: var(--secondary) !important;
}