/*
Theme Name: The Standard
Theme URI: https://www.scom2k7.com
Author: SCOM2K7
Author URI: https://www.scom2k7.com
Description: A modern, high-tech WordPress theme designed for SCOM2K7's enterprise software products. Features a dark mode aesthetic with gradients, clean typography, and a startup-inspired design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thestandard
Tags: dark, modern, business, e-commerce, blog, responsive, custom-menu
*/

:root {
  --color-dark-bg: #1a1a1a;
  --color-darker-bg: #0f0f0f;
  --color-primary: #007bff;
  --color-secondary: #6f42c1;
  --color-accent: #00d4ff;
  --color-light-text: #f8f9fa;
  --color-gray-text: #a0a0a0;
  --color-success: #28a745;
  --transition-speed: 0.3s;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--color-dark-bg);
  color: var(--color-light-text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #007bff, #6f42c1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.15em;
  overflow: visible;
}

h2 {
  font-size: 2.5rem;
  color: var(--color-light-text);
}

h3 {
  font-size: 1.75rem;
  color: var(--color-light-text);
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-gray-text);
}

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

a:hover {
  color: var(--color-accent);
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all var(--transition-speed);
  cursor: pointer;
  border: none;
  text-align: center;
  font-size: 1rem;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  text-decoration: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
  color: white !important;
}

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

.btn-secondary:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-speed);
  backdrop-filter: blur(10px);
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

/* Clickable card link styling */
.card-link {
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
}

.card-link h3 {
  color: var(--color-light-text);
}

.card-link:hover h3 {
  color: var(--color-primary);
}

.card-link .btn {
  pointer-events: none;
}

.gradient-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b4e 100%);
  position: relative;
  overflow: hidden;
}

.gradient-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(111, 66, 193, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   Customer Logos Section
   ========================================================================== */

.customer-logo-wrapper {
  transition: all 0.3s ease;
}

.customer-logo {
  opacity: 0.85;
  transition: all 0.3s ease;
  filter: brightness(1);
}

.customer-logo-wrapper:hover .customer-logo {
  opacity: 1;
  transform: scale(1.08);
  filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0, 123, 255, 0.3));
}

/* Ensure logos look good on dark background */
.customers-section {
  background: #1a1a1a;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .section {
    padding: 3rem 0;
  }
  .container {
    padding: 0 1rem;
  }
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-gray-text);
  margin-top: 0.5rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Comment Form Styles
   ========================================================================== */

.comment-respond {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-reply-title {
  font-size: 1.75rem;
  color: var(--color-light-text);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.comment-notes,
.logged-in-as {
  color: var(--color-gray-text);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.required {
  color: #ff6b6b;
}

.comment-form p {
  margin-bottom: 1.5rem;
}

.comment-form label {
  display: block;
  color: var(--color-light-text);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: var(--color-light-text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all var(--transition-speed);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.comment-form textarea {
  resize: vertical;
  min-height: 150px;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--color-primary);
}

.comment-form-cookies-consent label {
  margin-bottom: 0;
  font-weight: 400;
  color: var(--color-gray-text);
  font-size: 0.875rem;
}

/* Submit Button Styling */
.form-submit {
  margin-top: 2rem !important;
  margin-bottom: 0 !important;
}

.comment-form input[type="submit"],
.comment-form .submit {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white !important;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  font-family: 'Inter', sans-serif;
}

.comment-form input[type="submit"]:hover,
.comment-form .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #0056b3, #004085);
}

.comment-form input[type="submit"]:active,
.comment-form .submit:active {
  transform: translateY(0);
}

/* Comment List Styles */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.comment-body {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.comment-author {
  font-weight: 600;
  color: var(--color-light-text);
  margin-bottom: 0.5rem;
}

.comment-meta {
  font-size: 0.875rem;
  color: var(--color-gray-text);
  margin-bottom: 1rem;
}

.comment-content {
  color: var(--color-gray-text);
  line-height: 1.7;
}

.reply {
  margin-top: 1rem;
}

.comment-reply-link {
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-speed);
}

.comment-reply-link:hover {
  color: var(--color-accent);
}

/* Responsive Comment Form */
@media (max-width: 768px) {
  .comment-respond {
    padding: 1.5rem;
  }
  
  .comment-form input[type="submit"],
  .comment-form .submit {
    width: 100%;
    padding: 1rem;
  }
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer h4 {
  line-height: 1.5 !important;
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
  display: block;
}

.site-footer .text-xl {
  font-size: 1.25rem;
  line-height: 1.6;
}

.site-footer .text-lg {
  font-size: 1.125rem;
  line-height: 1.5;
}

.site-footer p {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.site-footer a {
  display: inline-block;
  line-height: 1.5;
}

/* Fix SVG icon alignment in footer */
.site-footer svg.inline {
  vertical-align: middle;
  margin-bottom: 2px;
}

.site-footer .flex.gap-4 {
  margin-top: 1rem;
}

/* Copyright section spacing */
.site-footer .border-t {
  margin-top: 2rem;
  padding-top: 2rem;
}
