/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Header styles */
header {
    text-align: center;
    padding: 3rem 1rem 2rem;
    color: white;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.hero h2 {
    font-size: 2.5rem;
    color: #4a5568;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Content section */
.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card h3 {
    color: #4a5568;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: #666;
    margin-bottom: 1rem;
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card li {
    color: #666;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.card li:before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.card strong {
    color: #4a5568;
}

/* Project sections */
.project {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.project:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.project h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Social links */
.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f7fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.social-links a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.social-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Skill sections */
.skill-section {
    margin-bottom: 1.5rem;
}

.skill-section:last-child {
    margin-bottom: 0;
}

.skill-section h4 {
    color: #4a5568;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: white;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .content {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 2rem 1rem 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .hero {
        padding: 1.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .construction-content {
        padding: 2rem 1rem;
    }
    
    .construction-content h1 {
        font-size: 2rem;
    }
    
    .construction-details ul {
        text-align: left;
    }
}

/* Under Construction Overlay */
.construction-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    /* animation: fadeIn 1s ease-out; */
}

.construction-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.construction-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.construction-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.construction-content > p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.construction-details {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.construction-details p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.construction-details ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.construction-details li {
    padding: 0.5rem 0;
    font-size: 1rem;
    opacity: 0.9;
}

.construction-footer {
    margin-top: 2rem;
}

.construction-footer p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.construction-footer small {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Blurred background content */
.main-content.blurred {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
