/* 
======================
  Coral & Mint Theme Customizations
======================
*/

/* Hero section with gradient background */
#home {
    background: linear-gradient(135deg, var(--dark-color), #333333, #222222);
    color: #fff;
    position: relative;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 107, 107, 0.1), transparent 60%);
    z-index: 0;
}

/* Make scroll indicator match our theme */
.scroll-indicator .mouse {
    border-color: var(--accent-color);
}

.scroll-indicator .mouse:before {
    background-color: var(--accent-color);
}

/* Update underlines to use the mint accent */
.underline {
    background: var(--accent-color);
    height: 4px;
}

/* Section alternating colors with gradients */
#about {
    background: linear-gradient(135deg, var(--light-color), #F8F9FA, #FFFFFF);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle at bottom right, rgba(181, 234, 215, 0.15), transparent 70%);
    z-index: 0;
}

#skills {
    background: linear-gradient(135deg, #FEFAFA, var(--light-color));
    position: relative;
}

#contact {
    background: linear-gradient(to bottom, var(--dark-color), #333333);
    color: #fff;
    position: relative;
}

#contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(255, 158, 122, 0.15), transparent 60%);
    z-index: 0;
    pointer-events: none;
}

#education {
    background: linear-gradient(135deg, #FEFAFA, #FFFFFF);
}

#experience {
    background: linear-gradient(135deg, #F8F9FA, #FEFAFA);
}

#projects {
    background: linear-gradient(135deg, #FEFAFA, #F8F9FA);
    position: relative;
    overflow: hidden;
}

#projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle at top left, rgba(255, 107, 107, 0.1), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Nav links active state use accent color */
.nav-links a.active::after {
    background: var(--accent-color);
}

/* Skill items hover state */
.skill-item:hover {
    background-color: rgba(181, 234, 215, 0.2);
}

.skill-item:hover i {
    color: var(--primary-color) !important;
}

/* Project card hover effect */
.project-card:hover {
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.15);
    border-top: 3px solid var(--primary-color);
}

/* Secondary buttons */
.btn-secondary {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Form inputs focus state */
input:focus, textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(181, 234, 215, 0.3);
}

/* Progress bars with mint background */
.progress-bar {
    background-color: rgba(181, 234, 215, 0.3);
}

.progress-bar .progress {
    background-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
}

/* Sticky nav with subtle mint accent */
.sticky {
    border-bottom: 3px solid var(--accent-color);
}

/* Custom selection color */
::selection {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Project filter buttons */
.project-filter-btn.active {
    color: var(--primary-color);
}

.project-filter-btn:after {
    background-color: var(--accent-color);
}

/* Contact section styling */
.contact-info-item {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.contact-info-item a {
    color: #fff;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--accent-color);
}

#contact h2, #contact .underline {
    position: relative;
    z-index: 1;
}

#contact .section-header h2 {
    color: #fff;
}

#contact .container {
    position: relative;
    z-index: 1;
}

/* Particles background with enhanced gradient */
#particles-js {
    background: linear-gradient(145deg, var(--dark-color), #333333);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Make sure hero content is above particles */
.hero-content {
    position: relative;
    z-index: 1;
}

/* Add a subtle glow to profile image */
.profile-img {
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.profile-img:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

/* Make sections properly contain their content */
section {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
}

/* Make content stand out from backgrounds */
.section-header h2 {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
