/* WordPress Multi-sitio Project Specific Styles */
/* Importar estilos base del CV */
@import url('../../styles.css');

/* Project color scheme */
:root {
    --wordpress-primary: #6c5ce7;
    --wordpress-secondary: #00cec9;
    --wordpress-accent: #fdcb6e;
    --wordpress-dark: #2d3436;
    --wordpress-light: #ddd6fe;
    --wordpress-blue: #0073aa;
    --wordpress-gray: #464646;
}

/* General section styles (removed - using base CSS) */
/* Hero section enhancements */
.hero {
    background: linear-gradient(135deg, var(--wordpress-primary), var(--wordpress-secondary));
    color: white;
}

.hero-title,
.hero-subtitle,
.hero-description {
    color: white;
}

.hero-subtitle {
    opacity: 0.9;
}

.hero-description {
    opacity: 0.8;
}

/* Features section */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(108, 92, 231, 0.12);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.18);
    border-color: rgba(108, 92, 231, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--wordpress-secondary), var(--wordpress-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

/* Technology section */
.technology {
    padding: 100px 0;
    background: white;
}

.tech-details {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-category {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 16px;
    border: 1px solid rgba(108, 92, 231, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tech-category h3 {
    color: #2d3748;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tech-category h3 i {
    color: var(--wordpress-primary);
    font-size: 1.6rem;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 92, 231, 0.08);
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(108, 92, 231, 0.25);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--wordpress-primary);
    flex-shrink: 0;
}

.tech-info h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.tech-info p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Gallery section */
.gallery {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* Details section */
.details {
    padding: 100px 0;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

/* WordPress Dashboard Mockup */
.wordpress-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
}

.admin-dashboard {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-dashboard:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
    background: #0073aa;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wp-logo {
    font-size: 1.8em;
    display: flex;
    align-items: center;
}

.dashboard-title h4 {
    margin: 0;
    font-size: 1.1em;
}

.sites-count {
    font-size: 0.85em;
    opacity: 0.8;
}

.user-menu {
    font-size: 1.5em;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.user-menu:hover {
    opacity: 1;
}

.dashboard-content {
    padding: 20px;
}

.sites-overview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.site-card {
    background: #ffffff;
    border: 1px solid rgba(108, 92, 231, 0.1);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-card:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(108, 92, 231, 0.2);
}

.site-icon {
    font-size: 1.5em;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-info h5 {
    margin: 0;
    font-size: 0.95em;
    color: #2d3748;
    font-weight: 600;
}

.site-status {
    font-size: 0.8em;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.site-status.active {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.site-stats {
    margin-left: auto;
    font-size: 0.85em;
    color: #553c9a;
    font-weight: 600;
}

.quick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    background: #553c9a;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 100px;
    justify-content: center;
    font-weight: 500;
}

.action-btn:hover {
    background: #4c51bf;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(108, 92, 231, 0.3);
}

/* Features section */
.features {
    background: linear-gradient(180deg, #f7fafc, #ffffff);
}

/* Accessibility improvements */
.feature-card:focus,
.tech-item:focus,
.site-card:focus,
.action-btn:focus {
    outline: 2px solid #4299e1;
    outline-offset: 2px;
}

/* Better text contrast for better readability */
.section-title {
    color: #2d3748 !important;
    font-weight: 700;
}

/* Improve link visibility */
a {
    color: #553c9a;
}

a:hover {
    color: #4c51bf;
}

/* Better contrast for small text */
small,
.small-text {
    color: #4a5568;
}

.feature-card {
    background: white;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--wordpress-primary);
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--wordpress-dark);
}

/* Technology section */
.technology {
    background: #e5e5e58c;
    color: white;
}

.tech-category h3 {
    color: var(--wordpress-dark);
    margin-bottom: 2rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--wordpress-primary);
}

/* Showcase section */
.showcase {
    background: #f8f9fa;
    padding: 5rem 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.showcase-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-10px);
}

.showcase-preview {
    background: #f8f9fa;
    padding: 20px 20px 0;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #e9ecef;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

.preview-controls {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.preview-url {
    background: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #666;
    flex: 1;
}

.preview-content {
    background: white;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    height: 200px;
}

.site-mockup {
    height: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.logo {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--wordpress-primary);
}

.mockup-nav {
    display: flex;
    gap: 15px;
}

.mockup-nav span {
    font-size: 0.8em;
    color: #666;
    cursor: pointer;
}

.mockup-nav span:hover {
    color: var(--wordpress-primary);
}

/* Corporativo mockup */
.corporativo .mockup-hero {
    background: linear-gradient(135deg, var(--wordpress-primary), var(--wordpress-secondary));
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.corporativo .mockup-hero h3 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.corporativo .mockup-hero p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9em;
}

/* E-commerce mockup */
.ecommerce .search-bar {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    cursor: pointer;
}

.ecommerce .cart {
    background: var(--wordpress-accent);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    flex: 1;
}

.product {
    background: #f8f9fa;
    border-radius: 6px;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.product::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--wordpress-primary);
    border-radius: 4px;
    opacity: 0.3;
}

/* Blog mockup */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.post {
    background: #f8f9fa;
    height: 40px;
    border-radius: 4px;
    position: relative;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .tech-list {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .feature-icon {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .tech-category {
        padding: 1.5rem 1rem;
    }
    
    .tech-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .tech-item i {
        font-size: 2rem;
    }
    
    .admin-dashboard {
        max-width: 400px;
        transform: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .tech-details {
    grid-template-columns: repeat(1, 1fr);
    }
    .wordpress-showcase{
        padding: 0;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .tech-category h3 {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .admin-dashboard {
        max-width: 320px;
    }
    
    .dashboard-content {
        padding: 10px;
    }
    
    .site-card {
        padding: 8px;
    }
}

.post::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 3px;
    background: var(--wordpress-primary);
    opacity: 0.6;
    border-radius: 2px;
}

.showcase-info {
    padding: 2rem;
}

.showcase-info h4 {
    color: var(--wordpress-primary);
    margin-bottom: 1rem;
    font-size: 1.2em;
}

.showcase-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #666;
}

.showcase-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.showcase-stats span {
    background: var(--wordpress-light);
    color: var(--wordpress-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Project details section */
.project-details {
    background: #f8f9fa;
}

.details-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
}

.detail-section h3 {
    color: var(--wordpress-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3em;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 1.5rem;
}

.detail-section li:before {
    content: '→';
    color: var(--wordpress-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-dashboard {
        transform: none;
        max-width: 100%;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .sites-overview {
        gap: 8px;
    }
    
    .site-card {
        padding: 12px;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .action-btn {
        flex: none;
        min-width: none;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .details-content {
        grid-template-columns: 1fr;
    }
    
    .showcase-stats {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}