/* Windows Galore - Custom CSS
   Material Design theme with Windows-inspired colors
   Modernized late 90s tech site aesthetic */

:root {
  /* Primary Colors - Windows blue with purple accents */
  --primary-blue: #0078d4;
  --primary-purple: #673AB7;
  --primary-dark: #512DA8;
  --accent-teal: #00ACC1;

  /* Neutrals */
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-700: #616161;
  --gray-900: #212121;

  /* Semantic */
  --success: #4CAF50;
  --warning: #FF9800;
  --error: #F44336;
  --info: #2196F3;
}

/* Override Materialize primary colors */
.primary-color {
  background-color: var(--primary-blue) !important;
}

nav {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav .brand-logo {
  font-weight: 700;
  font-size: 1.8rem;
}

nav ul a {
  font-weight: 500;
}

/* Hero sections with gradient backgrounds */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  color: white;
  padding: 80px 0 60px;
  margin-bottom: 0;
}

.hero h1 {
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero .lead {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.95;
  line-height: 1.8;
}

/* Content sections */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  color: var(--primary-purple);
  font-weight: 600;
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.content-section h3 {
  color: var(--primary-dark);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

/* Cards with Material Design elevation */
.card {
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}

.card-title {
  color: var(--primary-purple) !important;
  font-weight: 600 !important;
}

.card-action a {
  color: var(--primary-blue) !important;
  font-weight: 500;
}

/* Buttons */
.btn, .btn-large {
  background-color: var(--primary-blue);
  border-radius: 4px;
  text-transform: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,120,212,0.3);
  transition: all 0.3s ease;
}

.btn:hover, .btn-large:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0,120,212,0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--accent-teal);
}

.btn-secondary:hover {
  background-color: #0097A7;
}

/* Icon styling */
.material-icons {
  vertical-align: middle;
}

i.left {
  margin-right: 8px;
}

i.right {
  margin-left: 8px;
}

/* Lists with icons */
.icon-list {
  list-style: none;
  padding-left: 0;
}

.icon-list li {
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
}

.icon-list li i {
  color: var(--success);
  margin-right: 12px;
  margin-top: 2px;
}

/* Code blocks for tech content */
code {
  background-color: var(--gray-200);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--primary-dark);
  font-family: 'Courier New', monospace;
}

pre {
  background-color: var(--gray-900);
  color: #00ff00;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  border-left: 4px solid var(--primary-blue);
}

pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* Tables - tech documentation style */
table {
  border-radius: 8px;
  overflow: hidden;
}

table.striped > tbody > tr:nth-child(odd) {
  background-color: var(--gray-50);
}

table thead {
  background-color: var(--primary-purple);
}

/* Chips for tags/labels */
.chip {
  background-color: var(--gray-200);
  color: var(--gray-900);
  font-weight: 500;
}

.chip.primary {
  background-color: var(--primary-blue);
  color: white;
}

/* Alerts/Notices */
.alert {
  padding: 20px;
  border-radius: 8px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.alert i {
  margin-right: 16px;
  font-size: 28px;
}

.alert.info {
  background-color: #E3F2FD;
  color: #1565C0;
  border-left: 4px solid var(--info);
}

.alert.warning {
  background-color: #FFF3E0;
  color: #E65100;
  border-left: 4px solid var(--warning);
}

.alert.success {
  background-color: #E8F5E9;
  color: #2E7D32;
  border-left: 4px solid var(--success);
}

/* Footer */
.page-footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-dark) 100%);
  padding-top: 40px;
}

.page-footer h5 {
  font-weight: 600;
  margin-bottom: 20px;
}

.page-footer a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

.page-footer a:hover {
  color: white;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero-image {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Section dividers */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
  margin: 60px 0;
}

/* Breadcrumbs */
.breadcrumb {
  color: rgba(255,255,255,0.8);
}

.breadcrumb:before {
  color: rgba(255,255,255,0.6);
}

.breadcrumb:last-child {
  color: white;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive adjustments */
@media only screen and (max-width: 992px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .lead {
    font-size: 1.1rem;
  }

  .content-section h2 {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 600px) {
  .hero {
    padding: 40px 0 30px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .content-section {
    padding: 40px 0;
  }

  .content-section h2 {
    font-size: 1.6rem;
  }

  .content-section h3 {
    font-size: 1.3rem;
  }
}

/* Windows-style keyboard shortcuts display */
.keyboard-shortcut {
  display: inline-block;
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 4px 8px;
  margin: 0 2px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Feature icons in circular containers */
.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(0,120,212,0.3);
}

.feature-icon i {
  font-size: 40px;
  color: white;
}

/* Collapsible sections */
.collapsible {
  border: none;
  box-shadow: none;
}

.collapsible-header {
  background-color: var(--gray-100);
  border-bottom: 1px solid var(--gray-300);
  font-weight: 600;
  color: var(--primary-purple);
}

.collapsible-header:hover {
  background-color: var(--gray-200);
}

.collapsible-header i {
  color: var(--primary-blue);
}

/* Progress bars for skill levels, etc */
.progress {
  background-color: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.determinate {
  background-color: var(--primary-blue);
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Sidenav for mobile */
.sidenav {
  background-color: white;
}

.sidenav li > a {
  color: var(--gray-900);
  font-weight: 500;
}

.sidenav li > a:hover {
  background-color: var(--gray-100);
}

.sidenav li > a > i {
  color: var(--primary-blue);
}
