/* Enhanced Visual Elements */

/* Improved Typography */
body {
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, #3498db, #8e44ad);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../assets/dots-pattern.svg');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Improved Buttons */
.cta-button {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.cta-button:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Card Enhancements */
.project-item {
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #6dd5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-item:hover::after {
    transform: scaleX(1);
}

/* Enhanced Profile Picture */
.profile-picture img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.profile-picture img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Form Enhancements */
form input, form textarea {
    transition: border 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
}

form input:focus, form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

/* Animated underline for nav links */
.nav-list li a::after {
    height: 2px;
    bottom: 5px;
    transform-origin: center;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    transform: scaleX(0);
    opacity: 0;
}

.nav-list li a:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Dark mode enhancements */
.dark-mode .project-item {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.dark-mode .project-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Enhanced Sections */
section {
    padding: 60px 20px;
    position: relative;
}

/* Hover animation for social icons */
.footer-content a {
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-content a:hover {
    transform: translateY(-3px) scale(1.2);
}

/* Subtle background pattern for sections */
.about, .projects {
    background-image: radial-gradient(circle at 1px 1px, #f0f0f0 1px, transparent 0);
    background-size: 20px 20px;
}

.dark-mode .about, .dark-mode .projects {
    background-image: radial-gradient(circle at 1px 1px, #2a2a2a 1px, transparent 0);
}