/* Custom CSS Variables */
:root {
    --primary-color: #06b6d4;
    --primary-dark: #0891b2;
    --bg-dark: #0f172a99;
    --bg-dark-subtle: #1e293b;
    --text-light: white;
    --text-muted: white;
    --border-color: #334155;
}

/* Global Styles */
body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 150vh;
}

.logo-container img {
    border-radius: 50%;
    width: 200px;
    height: auto;
}


/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-switcher .btn {
    border: 2px solid var(--primary-color);
    color: #e4f3f5;
    background-color: rgb(6, 181, 212);
    transition: all 0.3s ease;
}

.language-switcher .btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    margin-top: 60px;
}

.logo-container {
    animation: float 3s ease-in-out infinite;
}

.logo-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.5));
    animation: glow 2s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
    .logo-image {
        width: 100px;
        height: 100px;
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Social Links */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-dark-subtle);
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.social-link i {
    font-size: 1.25rem;
}

/* Cards */
.bg-dark-subtle {
    background-color: var(--bg-dark-subtle) !important;
    border: 2px solid !important;
}

.card {
    transition: all 0.3s ease;
}

/* Project Cards */
.project-card {
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.2);
}

.project-card .btn {
    transition: all 0.3s ease;
}

.project-card:hover .btn {
    transform: translateX(5px);
}

/* Skill Icons */
.skill-icon {
    width: 80px;
    height: 80px;
    padding: 1rem;
    background: var(--bg-dark-subtle);
    border: 2px solid var(--primary-color);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.skill-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* YouTube Section */
.youtube-section iframe {
    border-radius: 1rem;
    border: 2px solid var(--primary-color);
}


footer p {
    color: white;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.5));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.8));
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .diamond-icon {
        font-size: 3rem;
    }
    
    .social-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
    }
}

/* Smooth transitions for language change */
[data-es], [data-en] {
    transition: opacity 0.2s ease;
}
