/* PrestaShop Project Specific Styles */
/* Importar estilos base del CV */
@import url('../../styles.css');

/* Project color scheme */
:root {
    --prestashop-primary: #6c5ce7;
    --prestashop-secondary: #a29bfe;
    --prestashop-accent: #fd79a8;
    --prestashop-dark: #2d3436;
    --prestashop-light: #ddd6fe;
    --prestashop-blue: #25b9d7;
    --prestashop-orange: #ff6900;
}

/* General section styles (removed - using base CSS) */
/* Hero section enhancements */
.hero {
    background: linear-gradient(135deg, var(--prestashop-primary), var(--prestashop-secondary));
    color: white;
}

.hero .hero-title,
.hero .hero-subtitle,
.hero .hero-description {
    color: white;
}

/* Features section */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* Technology section */
.technology {
    padding: 100px 0;
}

/* Gallery section */
.gallery {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* Details section */
.details {
    padding: 100px 0;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff, var(--prestashop-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Browser mockup styles */
.browser-mockup {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.browser-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.browser-header {
    background: #f0f0f0;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.browser-buttons {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.url-bar {
    flex: 1;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9em;
}

.browser-content {
    padding: 0;
    height: 400px;
}

/* E-commerce interface styles */
.ecommerce-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.header-shop {
    background: var(--prestashop-primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.search-bar {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 300px;
    margin: 0 20px;
}

.cart-icon {
    position: relative;
    font-size: 1.2em;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--prestashop-accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: bold;
}

.products-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    flex: 1;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-img {
    height: 80px;
    background: linear-gradient(45deg, var(--prestashop-light), var(--prestashop-secondary));
}

.product-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-name {
    font-size: 0.9em;
    color: #333;
}

.product-price {
    font-weight: bold;
    color: var(--prestashop-primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 0;
}

.features-showcase {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.features-tabs {
    display: flex;
    background: #f8f9fa;
    padding: 0;
}

.tab-btn {
    flex: 1;
    padding: 20px 30px;
    border: none;
    background: transparent;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    background: white;
    color: var(--prestashop-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--prestashop-primary);
}

.tab-content {
    display: none;
    padding: 50px;
}

.tab-content.active {
    display: block;
}

.feature-highlight {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.feature-main {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--prestashop-primary), var(--prestashop-secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2em;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.8em;
    margin-bottom: 1rem;
    color: var(--prestashop-dark);
}

.feature-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.feature-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: bold;
    color: var(--prestashop-primary);
}

.stat-label {
    font-size: 0.9em;
    color: var(--text-secondary);
}

.integration-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.integration-item {
    background: var(--prestashop-light);
    color: var(--prestashop-primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.analytics-metrics {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.metric {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e8f5e8;
    padding: 10px 20px;
    border-radius: 25px;
    color: #27ae60;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    gap: 20px;
}

.mini-feature {
    background: #f8f9fa;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.mini-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mini-feature i {
    font-size: 2em;
    color: var(--prestashop-primary);
    margin-bottom: 15px;
    display: block;
}

.mini-feature h4 {
    margin-bottom: 10px;
    color: var(--prestashop-dark);
}

.mini-feature p {
    font-size: 0.9em;
    color: var(--text-secondary);
}

/* Technology Section */
.technology {
    background: linear-gradient(135deg, var(--prestashop-dark) 0%, #1a1a1a 100%);
    color: white;
    padding: 120px 0;
}

.technology .section-title,
.technology .section-subtitle {
    color: white;
}

.tech-architecture {
    max-width: 1200px;
    margin: 0 auto;
}

.architecture-layer {
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.layer-title {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: var(--prestashop-light);
    display: flex;
    align-items: center;
    gap: 15px;
}

.layer-title::before {
    content: '';
    width: 4px;
    height: 30px;
    background: var(--prestashop-primary);
    border-radius: 2px;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.tech-card.featured {
    border-color: var(--prestashop-primary);
    background: rgba(108, 92, 231, 0.1);
}

.tech-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--prestashop-primary);
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.tech-details h4 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: white;
}

.tech-type {
    color: var(--prestashop-secondary);
    font-size: 0.9em;
    display: block;
    margin-bottom: 15px;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-features span {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    color: var(--prestashop-light);
}

.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.metric-card i {
    font-size: 2.5em;
    color: var(--prestashop-primary);
    margin-bottom: 20px;
    display: block;
}

.metric-card h4 {
    margin-bottom: 10px;
    color: white;
}

.metric-card p {
    color: var(--prestashop-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .features-tabs {
        flex-direction: column;
    }
    
    .tab-content {
        padding: 30px 20px;
    }
    
    .feature-highlight {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-main {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .feature-stats {
        justify-content: center;
    }
    
    .tech-stack {
        grid-template-columns: 1fr;
    }
    
    .architecture-layer {
        padding: 25px 20px;
    }
    
    .performance-metrics {
        grid-template-columns: 1fr;
    }
}

/* Gallery section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--prestashop-primary), var(--prestashop-secondary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1em;
    gap: 1rem;
}

.gallery-placeholder i {
    font-size: 3em;
    opacity: 0.8;
}

/* Project details section */
.project-details {
    background: #f8f9fa;
    padding: 3rem 0;
}

.details-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.detail-section h3 {
    color: var(--prestashop-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(--prestashop-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .browser-mockup {
        transform: none;
        margin: 0 auto;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .details-content {
        grid-template-columns: 1fr;
    }
    
    .header-shop {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-bar {
        margin: 0;
        max-width: none;
    }
}