/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 100px 5%;
    display: flex;
    align-items: center;
    position: relative;
    background: url('assets/developer-bg.jpg') center/cover no-repeat;
    overflow: hidden;
}

/* Background Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(10, 25, 47, 0.75) 0%,
        rgba(10, 25, 47, 0.6) 100%
    );
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.hero-text {
    flex: 1.2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding-left: 2rem;
    text-align: right;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: right;
    white-space: nowrap;
}

.hero-text h1 .greeting {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
    margin-right: 0.5rem;
}

.hero-text h1 .name {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
}

.hero-text .btn {
    margin-left: auto;
    display: inline-block;
}

.hero-image {
    flex: 0.8;
    text-align: center;
    position: relative;
    padding: 20px;
    z-index: 2;
    margin-right: 2rem;
    order: -1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 30px;
    bottom: 10px;
    left: 30px;
    background: linear-gradient(135deg, rgba(255,65,108,0.15) 0%, rgba(255,75,43,0.15) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
    backdrop-filter: blur(3px);
}

.hero-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-image img:hover {
    transform: scale(1.03);
}

/* Button styling update for better visibility on image background */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.03);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* Responsive Hero Section */
@media (max-width: 1200px) {
    .hero-content {
        gap: 6rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 0 1rem;
    }

    .hero-image {
        flex: 1;
        margin-right: 0;
        order: 0;
    }

    .hero-text {
        flex: 1;
        padding-left: 0;
        text-align: center;
    }

    .hero-text h1, .hero-text p {
        text-align: center;
    }

    .hero-text .btn {
        margin: 0 auto;
    }

    .hero-image img {
        max-width: 300px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }
}

/* About Section */
.about {
    padding: 100px 5%;
    background: #fff;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.personal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-title {
    font-weight: bold;
    color: #3498db;
}

.info-value {
    color: #666;
}

.about-description ul {
    list-style: none;
    margin: 1rem 0;
    color: #666;
}

.about-description li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-description li::before {
    content: "•";
    color: #FF416C;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Responsive design for About section */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .personal-info {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

/* Projects Section */
.projects {
    padding: 100px 5%;
    background: #fff;
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 10px;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Skills Section */
.skills {
    padding: 100px 5%;
    background: #f8f9fa;
}

.skills h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.skill-category h3 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
}

.skill-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
}

.skill-item span {
    font-size: 0.9rem;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    background: white;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: none;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 4rem 5% 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #fcb045 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #3498db;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    width: 25px;
    color: #3498db;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #3498db;
    padding-left: 8px;
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icon:hover {
    transform: translateY(-5px);
}

/* Responsive Social Icons */
@media (max-width: 768px) {
    .social-links {
        gap: 1.5rem;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
    }
}

.footer-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info p {
        justify-content: center;
    }

    .social-links {
        align-items: center;
    }

    .social-icon {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        max-width: 300px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .hero::after {
        font-size: 1.5rem;
        letter-spacing: 10px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        margin-top: 1rem;
    }

    .social-links a {
        margin: 0 0.5rem;
    }
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Add animation to gradient texts */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.about h2:hover,
.projects h2:hover,
.skills h2:hover,
.contact h2:hover,
.hero-text h1:hover,
.hero-text span:hover {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
} 

