/* Skills Summary Section */
.skills-summary {
    margin-top: 30px;
    background-color: rgba(74, 144, 226, 0.05);
    padding: 20px;
    border-radius: 5px;
    border-left: 3px solid var(--accent-color);
}

.skills-summary ul {
    list-style-type: none;
    padding: 0;
}

.skills-summary li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.skills-summary li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Page Background */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000000;
    overflow: hidden;
    pointer-events: auto; /* Changed to allow interaction with background */
}

/* Wave Background Container */
.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    padding: 20px 0;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

.resume-container {
    position: relative;
    z-index: 2;
    background-color: transparent;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
    display: flex;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    min-height: calc(100vh - 40px);
}

.sidebar {
    background-color: #3c3c3c;
    position: relative;
    overflow: hidden;
    width: 30%;
    color: var(--sidebar-text);
    padding: 40px 30px;
}

.main-content {
    background-color: rgba(255, 255, 255, 1);
    flex: 1;
    padding: 40px;
}

/* Modern Resume Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sidebar-bg: #3c3c3c;
    --sidebar-text: #ffffff;
    --main-bg: #ffffff;
    --main-text: #333333;
    --accent-color: #4a90e2;
    --timeline-dot: #4a90e2;
    --timeline-line: #e0e0e0;
    --heading-color: #333333;
    --skill-bar-bg: #e0e0e0;
    --skill-level-bg: #4a90e2;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--main-text);
    background-color: transparent;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Profile Section Styles */
.profile-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: #555;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#my-photo {
    background-image: url('images/IMG_4814.jpeg');
    background-position: 100% 5%;
    background-size: 160%;
}

.profile-section h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    line-height: 1.2;
}

.profile-section h2 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
}

.sidebar-section p {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 10px;
}

.personal-details .detail-item {
    margin-bottom: 10px;
}

.detail-label {
    display: block;
    font-size: 12px;
    color: #aaa;
}

.detail-value {
    font-size: 14px;
}

.language-item {
    margin-bottom: 12px;
}

.language-item span {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.language-bar {
    height: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.language-level {
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skills-list span {
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 3px;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-item i {
    width: 20px;
    margin-right: 10px;
    color: var(--accent-color);
}

.contact-item a {
    color: var(--sidebar-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Main Content Styles */
.main-content {
    width: 70%;
    background-color: var(--main-bg);
    padding: 40px;
}

.main-content section {
    margin-bottom: 40px;
}

.main-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--heading-color);
    letter-spacing: 1px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--timeline-line);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--timeline-line);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--timeline-dot);
    z-index: 1;
}

.timeline-date {
    margin-bottom: 10px;
}

.company {
    font-size: 16px;
    font-weight: 600;
}

.location {
    font-size: 14px;
    color: #777;
}

.period {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 500;
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.timeline-content p {
    font-size: 14px;
    color: #555;
}

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

.skill-bar-container {
    margin-bottom: 15px;
}

.skill-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.skill-bar {
    height: 10px;
    background-color: var(--skill-level-bg);
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: var(--skill-level-bg);
    width: 100% !important;
}

/* Responsive Design */
@media (max-width: 900px) {
    .resume-container {
        flex-direction: column;
        width: 95%;
    }
    
    .sidebar, .main-content {
        width: 100%;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    body {
        padding: 0;
    }
    
    .page-wrapper {
        padding: 10px 0;
    }
    
    .resume-container {
        width: 100%;
        margin: 0;
        box-shadow: none;
        min-height: auto;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .sidebar {
        padding: 30px 15px;
    }
    
    .timeline {
        margin-left: 15px;
    }
    
    .timeline-dot {
        left: -18px;
        width: 12px;
        height: 12px;
    }
    
    .timeline::before {
        left: -12px;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
}