:root {
    /* Dark theme color palette */
    --primary-color: #3498db; /* Bright Blue */
    --secondary-color: #2ecc71; /* Emerald Green */
    --accent-color-1: #e74c3c; /* Coral Red */
    --accent-color-2: #f39c12; /* Orange */
    --accent-color-3: #9b59b6; /* Purple */
    --accent-color-4: #1abc9c; /* Turquoise */
    --background-color: #121212; /* Very Dark Gray */
    --card-bg-color: #1e1e1e; /* Dark Gray */
    --text-color: #ecf0f1; /* Nearly White */
    --subtext-color: #bdc3c7; /* Light Gray */
    --header-bg-start: #2c3e50; /* Dark Blue-Gray */
    --header-bg-end: #34495e; /* Darker Blue-Gray */
    --card-border-color: rgba(52, 152, 219, 0.3); /* Light blue border */
    --link-color: #3498db; /* Bright Blue */
    --link-hover-color: #2ecc71; /* Emerald Green */
    --heading-color: #3498db; /* Bright Blue */
    --subheading-color: #2ecc71; /* Emerald Green */
    --footer-text-color: #95a5a6; /* Medium Gray */
    --shadow-color: rgba(0, 0, 0, 0.3);
    --bullet-colors: var(--secondary-color), var(--accent-color-1), var(--accent-color-2), var(--accent-color-3), var(--accent-color-4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes colorPulse {
    0% { color: var(--primary-color); }
    50% { color: var(--secondary-color); }
    100% { color: var(--primary-color); }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    background-color: var(--background-color);
    color: var(--text-color);
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(52, 152, 219, 0.05) 2%, transparent 0%), 
        radial-gradient(circle at 75px 75px, rgba(46, 204, 113, 0.05) 2%, transparent 0%);
    background-size: 100px 100px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--header-bg-start), var(--header-bg-end));
    color: var(--text-color);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

/* Decorative elements for header */
header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 40px;
    background: radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

header h1 {
    margin: 0;
    font-size: 3em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

header p {
    margin: 10px 0;
    font-size: 1.1em;
    font-weight: 300;
    color: var(--text-color);
}

header a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
}

header a:hover {
    color: var(--link-hover-color);
    text-decoration: none;
    border-bottom: 1px solid var(--link-hover-color);
}

section {
    margin-bottom: 30px;
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-color);
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

/* Color-coded sections */
section#profile {
    border-left-color: var(--secondary-color);
}

section#skills {
    border-left-color: var(--accent-color-1);
}

section#experience {
    border-left-color: var(--accent-color-2);
}

section#education {
    border-left-color: var(--accent-color-3);
}

section#projects {
    border-left-color: var(--accent-color-4);
}

section#additional-info {
    border-left-color: var(--primary-color);
}

/* Stagger the animation for sections */
section:nth-of-type(1) { animation-delay: 0.1s; }
section:nth-of-type(2) { animation-delay: 0.2s; }
section:nth-of-type(3) { animation-delay: 0.3s; }
section:nth-of-type(4) { animation-delay: 0.4s; }
section:nth-of-type(5) { animation-delay: 0.5s; }
section:nth-of-type(6) { animation-delay: 0.6s; }

h2 {
    color: var(--heading-color);
    border-bottom: 2px solid;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 1.8em;
    position: relative;
    display: inline-block;
}

/* Decorative element for section headings */
h2::after {
    content: none;
}

h3 {
    margin-bottom: 10px;
    color: var(--subheading-color);
    font-size: 1.3em;
    font-weight: 600;
}

/* Remove the default bullet styling */
li::before {
    content: none;
    display: none;
}

/* Adjust li padding since bullets are gone */
li {
    padding-left: 0;
}

/* Remove the decorative dots in the footer */
footer::before {
    content: none;
}

/* Restore list styling with indentation but no bullet */
ul {
    padding-left: 10px;
}

/* Adjust padding for sections that had list styling */
#skills li, #projects li, #additional-info li, #experience li {
    margin-bottom: 14px;
    position: relative;
    padding-left: 10px;
    border-left: 3px solid transparent;
    transition: padding-left 0.3s ease, background-color 0.3s ease;
}

/* Preserve the color-coding with left borders instead of bullets */
#skills li:nth-child(1) { border-left-color: var(--secondary-color); }
#skills li:nth-child(2) { border-left-color: var(--accent-color-1); }
#skills li:nth-child(3) { border-left-color: var(--accent-color-2); }
#skills li:nth-child(4) { border-left-color: var(--accent-color-3); }

#experience li:nth-child(1) { border-left-color: var(--accent-color-2); }
#experience li:nth-child(2) { border-left-color: var(--accent-color-3); }
#experience li:nth-child(3) { border-left-color: var(--accent-color-4); }

#projects li:nth-child(1) { border-left-color: var(--secondary-color); }
#projects li:nth-child(2) { border-left-color: var(--accent-color-1); }
#projects li:nth-child(3) { border-left-color: var(--accent-color-2); }
#projects li:nth-child(4) { border-left-color: var(--accent-color-3); }
#projects li:nth-child(5) { border-left-color: var(--accent-color-4); }
#projects li:nth-child(6) { border-left-color: var(--primary-color); }

#additional-info li:nth-child(1) { border-left-color: var(--secondary-color); }
#additional-info li:nth-child(2) { border-left-color: var(--accent-color-1); }
#additional-info li:nth-child(3) { border-left-color: var(--accent-color-2); }

/* Update the hover effects for list items with darker background */
#skills li:hover, #projects li:hover, #additional-info li:hover, #experience li:hover {
    padding-left: 15px;
    background-color: rgba(52, 152, 219, 0.1);
}

strong {
    font-weight: 600;
    color: var(--primary-color);
    padding: 0 2px;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(52, 152, 219, 0.2);
    color: var(--footer-text-color);
    font-size: 0.9em;
    position: relative;
}

/* Add animation to the year in footer */
footer p span {
    display: inline-block;
    animation: colorPulse 4s infinite;
}

/* Adding floating decoration elements */
.header-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.2;
    z-index: 0;
}

.header-bg-decoration::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s infinite ease-in-out;
    left: 10%;
    top: 20%;
}

.header-bg-decoration::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: float 4s infinite ease-in-out;
    right: 10%;
    bottom: 20%;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Ensure header content is above decorations */
header h1, header p {
    position: relative;
    z-index: 1;
}

/* Add glow effect to icons - darker background needs brighter glow */
header i {
    margin-right: 5px;
    display: inline-block;
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 0px rgba(255, 255, 255, 0);
    }
    to {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
    }
}

/* Make project items interactive */
#projects li {
    transition: transform 0.2s ease, padding-left 0.3s ease;
}

#projects li:hover {
    transform: scale(1.01);
    padding-left: 30px;
}

/* Add subtle hover effect to skills */
#skills li {
    transition: background-color 0.3s ease;
    border-radius: 4px;
    padding: 5px 5px 5px 25px;
}

#skills li:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

/* Make footer more interactive */
footer i.fa-heart {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2.2em;
    }
    
    section {
        padding: 20px;
    }
} 