/* Import Color Palette */
@import url('colors.css');

/* DevOps-themed CV Styles */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00cc66);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: var(--hero-bg-gradient);
    color: var(--text-light);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-links .btn {
    transition: all 0.3s ease;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-links .btn-light {
    background-color: rgba(255, 255, 255, 0.95);
    color: #4a5568;
}

.social-links .btn-light:hover {
    background-color: white;
    color: #2d3748;
}

.social-links .btn-warning {
    background-color: #fbbf24;
    color: #1a202c;
}

.social-links .btn-warning:hover {
    background-color: #f59e0b;
    color: #1a202c;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.skill-category {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-category-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-item {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 500;
    color: white;
}

.skill-low {
    background-color: var(--skill-low);
}

.skill-medium {
    background-color: var(--skill-medium);
    color: var(--dark-color);
}

.skill-high {
    background-color: var(--skill-high);
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    background: linear-gradient(90deg, #0066cc, #00cc66);
    border-radius: 4px;
}

/* Experience Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #0066cc;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00cc66;
    border: 3px solid #0066cc;
}

.experience-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.company-logo {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.company-name {
    color: #0066cc;
    font-weight: 600;
    font-size: 1.1em;
}

.position-title {
    font-weight: 700;
    color: #333;
    margin: 5px 0;
}

.experience-duration {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.experience-description {
    padding-left: 0;
}

.experience-description li {
    margin-bottom: 8px;
    color: #555;
}

.experience-clients, .experience-technologies {
    margin: 15px 0;
    color: #666;
    font-size: 0.95em;
}

.experience-clients strong, .experience-technologies strong {
    color: #0066cc;
    font-weight: 600;
}

.experience-technologies .tech-tags {
    margin-top: 8px;
}

.experience-technologies .tech-tag {
    display: inline-block;
    background: #f0f8ff;
    color: #0066cc;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    margin: 2px 4px 2px 0;
    border: 1px solid #cce7ff;
    font-weight: 500;
}

/* Education Section */
.education-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
}

.school-logo {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.degree {
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 10px;
}

.school-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.education-duration, .education-location {
    color: #666;
    font-size: 0.9em;
}

/* Projects Section */
.project-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.project-name {
    color: #0066cc;
    font-weight: 700;
    margin-bottom: 15px;
}

.project-description {
    color: #555;
    margin-bottom: 15px;
}

.project-tech {
    margin-bottom: 20px;
}

.tech-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #0066cc;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    margin: 2px;
    border: 1px solid #e9ecef;
}

.project-links .btn {
    margin-right: 10px;
}

/* Certifications Section */
.certification-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #00cc66;
}

.certification-logo {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.certification-name {
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 5px;
}

.certification-issuer {
    color: #666;
    margin-bottom: 10px;
}

.certification-details {
    font-size: 0.9em;
    color: #555;
}

/* Hide Projects Section Temporarily */
#projects {
    display: none;
}

/* Contact Section */
.contact-info p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -20px;
    }

    .section-title::after {
        width: 40px;
    }
}

/* Code-like elements for DevOps feel */
code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #d73a49;
}

pre {
    background: #f6f8fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #0066cc;
    overflow-x: auto;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation active state */
.navbar-nav .nav-link.active {
    color: #00cc66 !important;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}