/* Spotify Clone Project Specific Styles */
/* Importar estilos base del CV */
@import url('../../styles.css');

/* Project color scheme */
:root {
    --spotify-primary: #6c5ce7;
    --spotify-secondary: #1ed760;
    --spotify-accent: #1db954;
    --spotify-dark: #191414;
    --spotify-light: #ddd6fe;
    --spotify-green: #1db954;
    --spotify-black: #000000;
    --spotify-gray: #535353;
    --spotify-light-gray: #b3b3b3;
}

/* General section styles (removed - using base CSS) */
/* Hero section enhancements */
.hero {
    background: linear-gradient(135deg, var(--spotify-dark), var(--spotify-primary));
    color: white;
}

.hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.hero .hero-description {
    color: rgba(255, 255, 255, 0.8);
}

.hero .gradient-text {
    background: linear-gradient(135deg, var(--spotify-green), var(--spotify-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features section */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* Technology section */
.technology {
    padding: 100px 0;
}

/* Demo section */
.demo {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* Details section */
.details {
    padding: 100px 0;
}

/* Spotify Interface Showcase */
.spotify-showcase {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    padding: 2rem;
}

.spotify-interface {
    background: var(--spotify-black);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    height: 350px;
    display: flex;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.spotify-sidebar {
    width: 200px;
    background: var(--spotify-black);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
}

.sidebar-logo i {
    color: var(--spotify-green);
    font-size: 1.5em;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item, .playlist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 12px;
    color: var(--spotify-light-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.menu-item:hover, .playlist-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.menu-item.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.menu-item i, .playlist-item i {
    width: 16px;
    text-align: center;
}

.playlists-section {
    border-top: 1px solid #282828;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spotify-main {
    flex: 1;
    background: linear-gradient(180deg, #3e3e3e 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
}

.main-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-buttons button {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: var(--spotify-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8em;
    font-weight: bold;
}

.main-content {
    padding: 0 20px 20px;
    color: white;
}

.main-content h2 {
    margin-bottom: 15px;
    font-size: 1.8em;
}

.recent-played {
    display: flex;
    gap: 15px;
}

.album-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.9em;
}

.album-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

.album-cover {
    width: 40px;
    height: 40px;
    background: var(--spotify-green);
    border-radius: 4px;
}

/* Player Bar */
.player-bar {
    background: #181818;
    border-radius: 0 0 12px 12px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #282828;
    width: 100%;
    max-width: 500px;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.track-image {
    width: 40px;
    height: 40px;
    background: var(--spotify-green);
    border-radius: 4px;
}

.track-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.track-name {
    color: white;
    font-size: 0.9em;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name {
    color: var(--spotify-light-gray);
    font-size: 0.8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-icon {
    color: var(--spotify-light-gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.player-icon:hover {
    color: white;
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-buttons i {
    color: var(--spotify-light-gray);
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 0.9em;
}

.control-buttons i:hover {
    color: white;
}

.play-btn {
    background: white;
    color: black;
    border-radius: 50%;
    padding: 8px;
    font-size: 0.8em !important;
}

.progress-section {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.time {
    color: var(--spotify-light-gray);
    font-size: 0.75em;
    min-width: 35px;
    text-align: center;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #535353;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 35%;
    background: white;
    border-radius: 2px;
}

.volume-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}

.volume-controls i {
    color: var(--spotify-light-gray);
    font-size: 0.9em;
}

.volume-bar {
    width: 60px;
    height: 4px;
    background: #535353;
    border-radius: 2px;
    overflow: hidden;
}

.volume-fill {
    height: 100%;
    width: 70%;
    background: white;
    border-radius: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--spotify-green), var(--spotify-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--spotify-dark);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Technology Stack */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.tech-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-category h3 {
    color: var(--spotify-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateX(5px);
    background: #e9ecef;
}

.tech-item i {
    font-size: 2rem;
    min-width: 40px;
}

.tech-info h4 {
    color: var(--spotify-dark);
    margin-bottom: 0.5rem;
}

.tech-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Demo Section */
.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.demo-spotify {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.demo-header h3 {
    color: var(--spotify-dark);
    font-size: 1.5rem;
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--spotify-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-demo {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-demo:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.feature-demo i {
    font-size: 2rem;
    color: var(--spotify-green);
    margin-bottom: 1rem;
}

.feature-demo h4 {
    color: var(--spotify-dark);
    margin-bottom: 0.5rem;
}

.feature-demo p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-demo {
    background: var(--spotify-green);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: var(--spotify-accent);
    transform: scale(1.05);
}

.demo-output {
    min-height: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-placeholder {
    text-align: center;
    color: #666;
}

.demo-placeholder i {
    font-size: 3rem;
    color: var(--spotify-green);
    margin-bottom: 1rem;
}

/* Details Section */
.details-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.detail-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-section h3 {
    color: var(--spotify-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.detail-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
    line-height: 1.6;
}

.detail-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--spotify-green);
    font-weight: bold;
}

.functionality-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.func-group {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.func-group h4 {
    color: var(--spotify-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.func-group ul {
    list-style: none;
    padding: 0;
}

.func-group li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.func-group li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--spotify-green);
}

/* Project Stats */
.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--spotify-green), var(--spotify-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--spotify-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--spotify-green);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #b3b3b3;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--spotify-green);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #b3b3b3;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .spotify-interface {
        height: 280px;
        max-width: 350px;
    }
    
    .spotify-sidebar {
        width: 140px;
        padding: 15px 10px;
    }
    
    .sidebar-logo {
        font-size: 0.9em;
    }
    
    .sidebar-logo span {
        display: none;
    }
    
    .menu-item span, .playlist-item span {
        display: none;
    }
    
    .player-bar {
        padding: 10px 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .player-controls {
        order: -1;
    }
    
    .control-buttons {
        gap: 20px;
    }
    
    .progress-section {
        width: 250px;
    }
    
    .demo-features {
        grid-template-columns: 1fr;
    }
    
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }
    
    .functionality-list {
        grid-template-columns: 1fr;
    }
    
    .project-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .spotify-showcase {
        padding: 1rem;
    }
    
    .spotify-interface {
        max-width: 300px;
        height: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
    }
}