/*
Theme Name: Alvin DevOps Consulting
Theme URI: https://example.com
Description: Premium DevOps consulting website with glassmorphic design system
Version: 1.0.1
Author: Alvin Consulting
Author URI: https://example.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alvin-devops
Domain Path: /languages
Requires at least: 6.0
Requires PHP: 7.4
*/

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

/*
  NOTE: This file intentionally contains plain CSS, not Tailwind's
  @tailwind / @apply directives. Those require a Node build step
  (Tailwind CLI/PostCSS) to compile into real CSS, which this theme
  does not run on the server. Utility classes used directly in the
  template files (bg-primary, flex, grid, etc.) are generated live by
  the Tailwind Play CDN script (see functions.php). The rules below
  are the hand-written equivalents of this theme's custom named
  components (.glass-card, .btn-primary, etc.) that Tailwind's CDN
  cannot generate on its own, since they never appear as literal
  class names.
*/

/* Base */
html,
body {
  margin: 0;
  padding: 0;
  background-color: #051424;
  color: #d4e4fa;
  overscroll-behavior: none;
}

main > :first-child {
  margin-top: 0 !important;
}

main > :last-child {
  margin-bottom: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #d4e4fa;
  font-family: 'Geist', sans-serif;
}

a {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

::-webkit-scrollbar {
  display: none;
}

::selection {
  background-color: #4d8eff;
  color: #00285d;
}

/* Typography convenience classes */
.text-display-hero {
  font-family: 'Geist', sans-serif;
  font-size: 64px;
  line-height: 72px;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.text-display-hero-mobile {
  font-family: 'Geist', sans-serif;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.03em;
  font-weight: 600;
}

/* Glass Card Component */
.glass-card {
  background-color: rgba(18, 33, 49, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
  background-color: rgba(28, 43, 60, 0.8);
  border-color: rgba(173, 198, 255, 0.4);
  box-shadow: 0 0 35px -5px rgba(77, 142, 255, 0.25);
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  background-image: linear-gradient(to right, #4d8eff, #4cd7f6, #4d8eff);
  color: #00285d;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(77, 142, 255, 0.35);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 0 28px rgba(77, 142, 255, 0.55);
}

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4e4fa;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: rgba(76, 215, 246, 0.4);
  color: #4cd7f6;
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: rgba(13, 28, 45, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.status-pill-active {
  box-shadow: 0 0 20px rgba(78, 222, 163, 0.15);
}

/* Input Styling */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background-color: #1c2b3c;
  color: #d4e4fa;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.form-input::placeholder {
  color: rgba(140, 144, 159, 0.6);
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #adc6ff;
}

.form-textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: #1c2b3c;
  color: #d4e4fa;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  resize: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.form-textarea::placeholder {
  color: rgba(140, 144, 159, 0.6);
}

.form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #adc6ff;
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse-glow {
  animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.animate-shimmer {
  animation: shimmer 2s infinite;
}

/* Responsive Spacing Utilities */
.px-margin {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .px-margin {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .pt-hero {
    padding-top: 1rem;
  }
  .pb-hero {
    padding-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .px-margin {
    padding-left: 5rem;
    padding-right: 5rem;
  }
  .pt-hero {
    padding-top: 2.5rem;
  }
  .pb-hero {
    padding-bottom: 2.5rem;
  }
}

.pt-hero {
  padding-top: 1rem;
}

.pb-hero {
  padding-bottom: 1rem;
}
