/* Bandera.Bond - Absolute Cinema Styles */

:root {
  --blue: #0057B7;
  --yellow: #FFD700;
  --dark: #0a0a0f;
  --darker: #050508;
  --light: #f5f5f5;
  --gold: #d4af37;
  --red: #c41e3a;
  --accent: #00d4ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--darker);
  color: var(--light);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header / Nav */
header {
  background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(10,10,15,0.9) 100%);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--yellow);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--blue);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s;
  position: relative;
}

nav a:hover, nav a.active {
  color: var(--yellow);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s;
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: 
    linear-gradient(135deg, rgba(0,87,183,0.3) 0%, rgba(0,0,0,0.8) 50%, rgba(255,215,0,0.2) 100%),
    radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0f 70%);
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffd700' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--yellow), #fff, var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { filter: drop-shadow(0 0 10px rgba(255,215,0,0.3)); }
  to { filter: drop-shadow(0 0 30px rgba(255,215,0,0.6)); }
}

.hero .tagline {
  font-size: 1.5rem;
  color: var(--yellow);
  font-style: italic;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow), #e6c200);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(255,215,0,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,215,0,0.6);
}

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

.btn-secondary:hover {
  background: var(--yellow);
  color: var(--dark);
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--yellow);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  margin: 0.5rem auto 0;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: linear-gradient(145deg, #12121a, #0d0d14);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,215,0,0.4);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.card h3 {
  color: var(--yellow);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.card p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.card a:hover {
  text-decoration: underline;
}

/* Biography specific */
.bio-content {
  max-width: 900px;
  margin: 0 auto;
}

.bio-content h2 {
  color: var(--yellow);
  margin: 2.5rem 0 1rem;
  font-size: 1.8rem;
  border-left: 4px solid var(--blue);
  padding-left: 1rem;
}

.bio-content p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.bio-content ul {
  margin: 1rem 0 1.5rem 2rem;
}

.bio-content li {
  margin-bottom: 0.6rem;
}

.timeline-item {
  background: rgba(0,87,183,0.1);
  border-left: 4px solid var(--yellow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.timeline-item .year {
  color: var(--yellow);
  font-weight: 800;
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Blog */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-post {
  background: linear-gradient(145deg, #12121a, #0d0d14);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s;
}

.blog-post:hover {
  border-color: rgba(255,215,0,0.4);
}

.blog-post h2 {
  color: var(--yellow);
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.blog-meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.blog-post p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.blog-post .read-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* Gadgets */
.gadget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gadget {
  background: #12121a;
  border: 1px solid rgba(0,87,183,0.3);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.gadget-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.gadget h3 {
  color: var(--yellow);
  margin-bottom: 0.8rem;
}

/* Footer */
footer {
  background: #050508;
  border-top: 2px solid var(--yellow);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

footer p {
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

footer .disclaimer {
  font-size: 0.85rem;
  color: #666;
  max-width: 700px;
  margin: 1.5rem auto 0;
}

/* Status bar */
.status-bar {
  background: linear-gradient(90deg, var(--blue), #003d82);
  padding: 0.6rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.status-bar span {
  color: var(--yellow);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 3rem 1.2rem;
  }
}

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

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