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

body {
    line-height: 1.6;
    background-color: #0E0E0E;
    color: #BABABA;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Paragraph Styles */
p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Navbar and Sidebar */
header {
    background-color: #0E0E0E;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    font-family: 'Jacquard 12';
    font-size: 1.4rem;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #975F8F;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    background-color: #0E0E0E;
}

/* Profile */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #0E0E0E;
    color: white;
    text-align: center;
    padding-top: 80px;
}

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

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    font-family: 'Jacquard 12';
    font-weight: 300;
}

.hero p {
    font-size: 1.5rem;
    line-height: 2;
    margin-bottom: 2.5rem;
    font-family: 'Jacques Francois';
}

.btn {
    display: inline-block;
    background: #975F8F;
    color: white;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    font-family: 'Jacquard 12';
    font-weight: 300;
}

.btn a {
    font-size: 1.2rem;
}

.btn:hover {
    background: #0E0E0E;
    transform: translateY(-3px);
    border: 1px solid white;
}

/* About  */
.about {
    padding: 5rem 0;
    background-color: #0E0E0E;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 5rem;
    font-family: 'Jacquard 12';
    font-weight: 300;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 400px;
}

.about-text p {
    font-size: 1.4rem;
    line-height: 1.9;
    font-family: 'Jacques Francois';
}

.about-image {
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid #975F8F;
}

/* Projects */
.projects {
    padding: 5rem 0;
    background-color: #0E0E0E;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    padding: 30px;
    background: #0E0E0E;
    border: 3px solid #975F8F;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    font-family: 'Jacques Francois';
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    border-radius: 8px;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: white;
    font-family: 'Jacquard 12';
    font-weight: 300;
}

.project-info p {
    font-size: 1.2rem;
    line-height: 1.7;
    font-family: 'Jacques Francois';  
}

.tech-stack {
    margin-bottom: 20px;
}

.project-info a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 20px;
    background-color: #0E0E0E;
    border: 3px solid #975F8F;
}

/* Skills */
.skills {
    padding: 5rem 0;
    background-color: #0E0E0E;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.skill-card {
    background: #975F8F;
    color: white;
    border: 3px solid #975F8F;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    width: 100%;
    font-family: 'Jacquard 12';
    font-weight: 300;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #0E0E0E;
    border: 3px solid white;
    color: white;
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #0E0E0E;
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 2rem;
}

.social-links li {
    margin: 0 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #975F8F;
}

.copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
    font-family: 'Jacques Francois';
    color: #BABABA;
}

.copyright p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Fade animation */
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsiveness */
/* Tablets */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(14, 14, 14, 0.95);
        backdrop-filter: blur(5px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    p {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 1.3rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.7;
        
    }

    .section-title {
        font-size: 4rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
    }

    p {
        font-size: 1rem;
    }

    .about-content {
        text-align: center;
    }

    .about-text p {
        font-size: 1rem;
        margin-right: 100px;
    }

    .skills {
        text-align: center;
    }

    .projects {
        text-align: center;
    }

    .project-info p {
        font-size: 1.1rem;
    }

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

    .copyright {
        text-align: center;
    }
}