/*
Theme Name: CRIME24
Description: Canal de televisión especializado en crimen, misterio e investigación. Diseño profesional con estilo sobrio y elegante en colores negro, rojo y blanco.
Author: CRIME24 Team
Version: 1.0
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

/* CSS Variables - CRIME24 Design System */
:root {
    /* Colors */
    --background: hsl(0 0% 0%);
    --foreground: hsl(0 0% 100%);
    --card: hsl(0 0% 3%);
    --card-foreground: hsl(0 0% 100%);
    --primary: hsl(0 100% 35%);
    --primary-foreground: hsl(0 0% 100%);
    --secondary: hsl(0 0% 8%);
    --secondary-foreground: hsl(0 0% 90%);
    --muted: hsl(0 0% 10%);
    --muted-foreground: hsl(0 0% 60%);
    --border: hsl(0 0% 15%);
    --input: hsl(0 0% 12%);
    
    /* Crime TV Brand Elements */
    --crime-red: hsl(0 100% 35%);
    --crime-red-dark: hsl(0 100% 25%);
    --crime-red-light: hsl(0 100% 45%);
    --crime-glow: hsl(0 100% 35%);
    
    /* Shadows */
    --shadow-crime: 0 10px 30px -10px hsl(0 100% 35% / 0.3);
    --shadow-glow: 0 0 20px hsl(0 100% 35% / 0.4);
    
    --radius: 0.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--foreground);
    font-weight: 700;
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1rem;
}

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

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--foreground);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    margin-right: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--crime-red), var(--crime-red-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--foreground);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: var(--card);
    border-top: 1px solid var(--border);
    padding: 1rem;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background-color: rgba(179, 0, 0, 0.1);
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--background) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-logo-icon {
    width: 64px;
    height: 64px;
    color: var(--primary);
    margin-right: 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-title .brand-text {
    background: linear-gradient(90deg, var(--crime-red), var(--crime-red-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .brand-number {
    color: var(--primary);
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(179, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: var(--crime-red-dark);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-icon {
    margin-right: 0.5rem;
}

/* Crime Effect Classes */
.crime-glow {
    text-shadow: 0 0 10px rgba(179, 0, 0, 0.5);
}

.crime-hover {
    transition: all 0.3s ease;
}

.crime-hover:hover {
    background-color: rgba(179, 0, 0, 0.1);
    border-color: var(--crime-red);
    box-shadow: var(--shadow-glow);
}

.investigation-grid {
    background-image: 
        linear-gradient(rgba(179, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(179, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Cards */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-crime);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%, transparent 100%);
}

.card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-time {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.card-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-muted {
    background-color: rgba(10, 10, 10, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* Footer */
.site-footer {
    background-color: var(--background);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    margin-right: 8px;
}

.footer-text {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .grid-md-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-md-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .grid-lg-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-lg-cols-3 { grid-template-columns: repeat(3, 1fr); }
}