/*
Theme Name: ElectroFuture
Theme URI: https://example.com/electro-future
Author: Antigravity
Author URI: https://example.com
Description: A modern, technical, academic, and futuristic electrical & electronics engineering theme. Features dark mode, cyan accents, and glassmorphism.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: electro-future
*/

:root {
  --bg-color: #0b132b; /* Dark blue */
  --bg-color-light: #1c2541; /* Lighter blue */
  --accent-cyan: #00f0ff; /* Electric cyan */
  --accent-cyan-glow: rgba(0, 240, 255, 0.4);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --glass-bg: rgba(28, 37, 65, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 20px;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px var(--accent-cyan-glow);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-shadow: 0 0 8px var(--accent-cyan-glow);
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-navigation a {
  color: var(--text-primary);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
}

.main-navigation a:hover,
.main-navigation .current_page_item a {
  color: var(--accent-cyan);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-cyan);
  transition: var(--transition);
  box-shadow: 0 0 5px var(--accent-cyan);
}

.main-navigation a:hover::after,
.main-navigation .current_page_item a::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-color);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.btn-solid {
  background: var(--accent-cyan);
  color: var(--bg-color);
}

.btn-solid:hover {
  background: transparent;
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Layout */
.site-content {
  margin-top: 80px; /* Space for fixed header */
  padding: 40px 5%;
  min-height: calc(100vh - 160px);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Section Headings */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--accent-cyan);
  bottom: -10px;
  left: 25%;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
}

.data-table th, .data-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.data-table th {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Footer */
.site-footer {
  padding: 40px 5%;
  border-top: 1px solid var(--glass-border);
  margin-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-widget {
  flex: 1;
  min-width: 250px;
}

.footer-widget h3 {
  color: var(--accent-cyan);
  margin-bottom: 15px;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: var(--text-secondary);
}

.footer-widget a:hover {
  color: var(--accent-cyan);
}

/* Specific Page Styles */

/* Hero */
.hero {
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at center, var(--bg-color-light) 0%, var(--bg-color) 70%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Project Card */
.project-card {
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  border-bottom: 1px solid var(--accent-cyan);
  background: #000;
}

.project-info {
  padding: 20px;
}

/* Calendar */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.calendar-day-header {
  text-align: center;
  font-weight: 600;
  color: var(--accent-cyan);
  padding: 10px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: var(--border-radius);
}

.calendar-day {
  aspect-ratio: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.calendar-date {
  position: absolute;
  top: 5px;
  right: 10px;
  font-weight: bold;
  opacity: 0.5;
}

.calendar-event {
  margin-top: auto;
  font-size: 0.75rem;
  background: rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
  padding: 4px 8px;
  border-radius: 4px;
  border-left: 2px solid var(--accent-cyan);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { flex-direction: column; gap: 20px; }
  .site-header { flex-direction: column; gap: 10px; }
  .main-navigation ul { flex-wrap: wrap; justify-content: center; }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-day-header { display: none; }
}
