/*
Theme Name: SKYONE Robotic
Theme URI: https://skyonerobotic.com
Author: SKYONE Technology
Author URI: https://skyonerobotic.com
Description: A professional, cyber-styled WordPress theme for SKYONE Robotic Technology and Standards
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skyone-robotic
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.2
*/

:root {
  --primary-color: #0a0e27;
  --secondary-color: #1a1f3a;
  --accent-color: #00d4ff;
  --accent-alt: #7c3aed;
  --text-light: #e0e0e0;
  --text-dark: #0a0e27;
  --border-color: #00d4ff;
  --success-color: #10b981;
  --danger-color: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--primary-color);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-light);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.2rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.6rem;
  color: var(--accent-color);
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

a:hover {
  color: var(--accent-alt);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
  border-bottom: 1px solid var(--accent-color);
}

/* Header */
.site-header {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(26, 31, 58, 0.95));
  border-bottom: 2px solid var(--accent-color);
  padding: 0;
  position: relative;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.header-background {
  position: relative;
  height: 350px;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1935 100%);
  background-image: url('assets/images/header-bg.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.15) 0%,
    rgba(124, 58, 237, 0.15) 50%,
    rgba(0, 212, 255, 0.1) 100%
  );
  pointer-events: none;
}

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
}

.site-title {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
  animation: glowPulse 2s ease-in-out infinite;
}

.site-description {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-top: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
  }
  50% {
    text-shadow: 0 0 50px rgba(0, 212, 255, 0.6);
  }
}

/* Navigation */
.main-navigation {
  background-color: var(--secondary-color);
  padding: 0;
  border-top: 1px solid var(--accent-color);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.main-navigation ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-light);
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  position: relative;
}

.main-navigation a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-alt));
  transition: width 0.3s ease;
}

.main-navigation a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

.main-navigation a:hover::before {
  width: 100%;
}

.main-navigation .current-menu-item > a {
  color: var(--accent-color);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

.main-navigation .current-menu-item > a::before {
  width: 100%;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

/* Main Content */
.site-main {
  min-height: 60vh;
}

.page-content,
.post-content {
  background-color: var(--secondary-color);
  padding: 2.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

.entry-title {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.entry-meta {
  font-size: 0.9rem;
  color: var(--accent-color);
  opacity: 0.8;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  padding-bottom: 1rem;
}

/* Buttons */
.btn,
button,
input[type="button"],
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-alt));
  color: var(--text-dark);
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.btn:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.6);
  transform: translateY(-3px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-alt), var(--accent-color));
}

/* Cards */
.card,
.feature-card,
.standard-card {
  background-color: var(--secondary-color);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.card:hover,
.feature-card:hover,
.standard-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 15px 50px rgba(0, 212, 255, 0.3);
  transform: translateY(-5px);
}

.card h3,
.feature-card h3,
.standard-card h3 {
  margin-bottom: 1rem;
}

/* Grid Sections */
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.9), rgba(26, 31, 58, 0.9)),
              url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 5rem 2rem;
  text-align: center;
  border-bottom: 2px solid var(--accent-color);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* Robot Showcase Sections */
.robot-showcase-section {
  padding: 4rem 2rem;
  background-color: var(--primary-color);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.robot-showcase-section.alt {
  background-color: var(--secondary-color);
}

.robot-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.robot-showcase-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
  transition: all 0.3s ease;
}

.robot-showcase-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
  border: 1px solid var(--accent-color);
}

.robot-image-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.8), rgba(26, 31, 58, 0.8));
}

.robot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.robot-showcase-item:hover .robot-image {
  transform: scale(1.05);
}

.robot-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.3) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.robot-showcase-item:hover .robot-overlay {
  opacity: 1;
}

.robot-overlay h4 {
  color: var(--accent-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin: 0;
  font-size: 1.3rem;
}

/* Large Robot Showcase Grid */
.robot-showcase-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin: 2rem 0;
}

.robot-showcase-item-large {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.robot-showcase-item-large:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 70px rgba(0, 212, 255, 0.4);
  border-color: var(--accent-color);
}

.robot-showcase-item-large .robot-image-container {
  height: 350px;
}

.robot-overlay-large {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.robot-showcase-item-large:hover .robot-overlay-large {
  opacity: 1;
}

.robot-overlay-large h3 {
  color: var(--accent-color);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.robot-overlay-large p {
  color: var(--text-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive Robot Showcases */
@media (max-width: 768px) {
  .robot-image-container {
    height: 250px;
  }

  .robot-showcase-grid {
    grid-template-columns: 1fr;
  }

  .robot-showcase-grid-large {
    grid-template-columns: 1fr;
  }

  .robot-showcase-item-large .robot-image-container {
    height: 280px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

/* Sections */
.section {
  padding: 4rem 2rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.section h2 {
  margin-bottom: 2rem;
}

.section-content {
  max-width: 900px;
}

/* Features Section */
.features-section {
  background-color: var(--secondary-color);
}

.feature-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-left: 4px solid var(--accent-color);
  background-color: rgba(0, 212, 255, 0.05);
  border-radius: 4px;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.feature-content h3 {
  margin-top: 0;
}

/* Standards Section */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.standard-item {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  border-top: 3px solid var(--accent-color);
  transition: all 0.3s ease;
}

.standard-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 212, 255, 0.3);
  border-top-color: var(--accent-alt);
}

.standard-item h4 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.standard-version {
  font-size: 0.9rem;
  color: var(--accent-color);
  opacity: 0.8;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  border-top: 2px solid var(--accent-color);
  padding: 3rem 2rem 1rem;
  margin-top: 3rem;
  box-shadow: 0 -5px 30px rgba(0, 212, 255, 0.15);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--text-light);
  opacity: 0.8;
  transition: all 0.3s ease;
  border: none;
}

.footer-column a:hover {
  color: var(--accent-color);
  opacity: 1;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.site-footer-bottom {
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-light);
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

/* Sidebar */
.sidebar {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 5px 20px rgba(0, 212, 255, 0.1);
}

.widget {
  margin-bottom: 2rem;
}

.widget-title {
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.widget ul {
  list-style: none;
}

.widget li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
  .header-background {
    height: 250px;
  }

  .site-title {
    font-size: 2.5rem;
  }

  .site-description {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .main-navigation a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .page-content,
  .post-content {
    padding: 1.5rem;
  }

  .feature-item {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Code Blocks */
code,
pre {
  background-color: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--accent-color);
  font-family: 'Courier New', Courier, monospace;
}

code {
  padding: 0.2rem 0.5rem;
  font-size: 0.9rem;
}

pre {
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

pre code {
  border: none;
  background: none;
  padding: 0;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-light);
  opacity: 0.9;
  font-style: italic;
}

/* WordPress specific */
.wp-caption {
  background-color: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--accent-color);
  padding: 0.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.wp-caption-text {
  font-size: 0.9rem;
  color: var(--accent-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.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;
  margin-bottom: 1rem;
}

/* Comments */
.comments-area {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  margin-top: 2rem;
}

.comment-list {
  list-style: none;
}

.comment {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: rgba(0, 212, 255, 0.05);
  border-radius: 4px;
  border-left: 3px solid var(--accent-alt);
}

.comment-meta {
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.comment-author {
  font-weight: 600;
  color: var(--text-light);
}
