/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: 
        linear-gradient(rgba(0, 50, 0, 0.85), rgba(0, 80, 0, 0.85)),
        url('guardia-civil-bg.jpg') center/cover no-repeat fixed,
        linear-gradient(135deg, #0d4f0d 0%, #1a5c1a 100%);
    min-height: 100vh;
}

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

/* Header */
.header {
    background: linear-gradient(45deg, #0d4f0d 0%, #1a5c1a 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid #FFD700;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2.5rem;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav a:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 50, 0, 0.7), rgba(0, 80, 0, 0.7)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="police" patternUnits="userSpaceOnUse" width="20" height="20"><rect width="20" height="20" fill="%23003300"/><circle cx="10" cy="10" r="2" fill="%23ffd700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23police)"/></svg>');
    color: white;
    padding: 100px 0;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: pulse 2s infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-style: italic;
}

.alert-box {
    background: linear-gradient(45deg, #2d5a2d, #1a4d1a);
    padding: 20px;
    border-radius: 10px;
    margin: 30px auto;
    border: 2px solid #FFD700;
    max-width: 600px;
    border: 3px solid #ffd700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: blink 1.5s infinite;
}

.alert-box i {
    font-size: 1.5rem;
    margin-right: 10px;
    color: #ffd700;
}

.cta-button {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    margin-top: 30px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.6);
}

.cta-button i {
    margin-right: 10px;
    animation: spin 2s linear infinite;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #001122;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

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

.service-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    animation: shine 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
    margin: 20px 0 10px;
}

.service-card small {
    opacity: 0.8;
    font-style: italic;
}

/* Cases Section */
.cases {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.cases h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffd700;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.case-file {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.case-file:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.case-number {
    background: #ffd700;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status.solved {
    background: #27ae60;
    color: white;
}

.status.pending {
    background: #f39c12;
    color: white;
}

.status.cold {
    background: #95a5a6;
    color: white;
}

.case-file h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.case-file p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.case-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-style: italic;
    opacity: 0.9;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

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

.gallery-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid #ffd700;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
    border-color: #ff0000;
}

.fake-image {
    font-size: 4rem;
    margin-bottom: 20px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 2px solid #666;
}

.gallery-item h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.gallery-item p {
    font-style: italic;
    line-height: 1.5;
    font-weight: bold;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.stats h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #001122;
}

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

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* Manifesto Section */
.manifesto {
    padding: 80px 0;
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
}

.manifesto h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.manifesto-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.manifesto-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #ffd700;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.manifesto-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
    border-color: #ff0000;
}

.manifesto-item h3 {
    color: #ffd700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.manifesto-item p {
    line-height: 1.6;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffd700;
}

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

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.quote::before,
.quote::after {
    content: '"';
    font-size: 2rem;
    color: #ffd700;
    font-weight: bold;
}

.author {
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
}

.rating {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: linear-gradient(45deg, #0d4f0d 0%, #1a5c1a 100%);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.social-links a:hover {
    color: #ffd700;
    transform: translateX(10px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Navegación móvil */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffd700;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(45deg, #0d4f0d 0%, #1a5c1a 100%);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 2px solid #ffd700;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
        text-align: center;
        font-size: 1rem;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .nav {
        position: relative;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .logo p {
        font-size: 0.7rem;
    }
    
    .logo small {
        font-size: 0.6rem;
    }
    
    .services-grid,
    .cases-grid,
    .stats-grid,
    .testimonials-grid,
    .gallery-grid,
    .manifesto-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        align-items: center;
    }
    
    .alert-box {
        padding: 15px;
        max-width: 90%;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .service-card,
    .case-file,
    .gallery-item,
    .stat-item,
    .testimonial,
    .manifesto-item {
        padding: 20px 15px;
    }
    
    .case-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .services,
    .cases,
    .stats,
    .testimonials {
        padding: 60px 0;
    }
    
    .service-card,
    .case-file,
    .testimonial {
        padding: 25px 20px;
    }
}

/* Efectos especiales para el tema policial */
.police-tape {
    background: repeating-linear-gradient(
        45deg,
        #ffd700,
        #ffd700 10px,
        #000 10px,
        #000 20px
    );
    height: 5px;
    width: 100%;
    margin: 20px 0;
}

/* Cursor personalizado para el tema */
body {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="%23ffd700" stroke="%23000" stroke-width="2"/><text x="10" y="14" text-anchor="middle" font-size="12" fill="%23000">🚨</text></svg>'), auto;
}

.cta-button:hover {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="%23ff0000" stroke="%23000" stroke-width="2"/><text x="10" y="14" text-anchor="middle" font-size="12" fill="%23fff">👮</text></svg>'), pointer;
}

/* Floating alert styles para móvil */
.floating-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px;
    border-radius: 10px;
    border: 3px solid #ffd700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    font-weight: bold;
    max-width: 280px;
    text-align: center;
    font-size: 0.9rem;
    animation: slideIn 0.5s ease, pulse 1s infinite;
}

@media (max-width: 480px) {
    .floating-alert {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 12px;
        font-size: 0.8rem;
    }
}