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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navigation */
nav {
    background: #9feeec;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

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

nav .nav-links li {
    margin-left: 20px;
}

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

nav .nav-links a:hover {
    color: #007BFF;
}


/* Active Navigation Link Style */
.nav-links a.active {
    color: #007BFF; /* Highlight color */
    font-weight: bold; /* Optional: Makes the active link bold */
    border-bottom: 2px solid #007BFF; /* Optional: Adds an underline */
    transition: color 0.2s ease, border-bottom 0.2s ease;
}



/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #333;
    margin-bottom: 4px;
    border-radius: 5px;
    transition: all 0.3s ease;
}




/* Hero Section */
#hero {
    background: url('pexels_gelgas.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 60px; /* To offset the fixed nav */
}

#hero h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
}

.btn {
    display: inline-block !important;
    padding: 10px 25px !important;
    background: #9feeec !important;
    color: #100f0f !important;
    text-decoration: none !important;
    border-radius: 25px !important;
    transition: background 0.3s ease !important;
}

.btn:hover {
    background: #136d6a !important;
}


/* Positioning the text container */
#hero p {
    position: relative !important;
    margin-bottom: 30px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}







/* About Section */
#about {
    padding: 80px 0;
    text-align: center;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.about-content img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid black;
}

.about-text {
    max-width: 600px;
    margin-left: 30px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-text .btn {
    margin-top: 10px;
}




/* About Section */
.about-content {
    display: flex;
    justify-content: space-between; /* Add this line */
    align-items: center; /* Aligns  */
   
}

.about-text {
    flex: 1; /* Allows the about text to take up one side */
    max-width: 50%; /* Restricts the width of the About Me text */
}

.skills {
    flex: 1; /* Allows the skills section to take up the other side */
    max-width: 40%; /* Restricts the width of the Skills section */
    margin-left: 20px; /* Add some space between the two blocks */
}

.skills h3 {
    margin-bottom: 10px; /* Spacing for skills title */
}

.skills ul {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
}

.skills li {
    margin: 5px 0; /* Space between list items */
    display: flex; /* Align icon and text */
    align-items: center; /* Center align icon and text */
}

.skills i {
    margin-right: 10px; /* Space between icon and text */
    font-size: 2.5rem;
}







/* Projects Section */
#projects {
    background: url('pjBackground.jpg') no-repeat center center/cover;
    padding: 80px 0;
    text-align: center;
}

#projects h2 {
    color: #e5ebec;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.project-info a {
    text-decoration: none;
    color: #007BFF;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-info a:hover {
    color: #0056b3;
}




/* Contact Section */
#contact {
    background: url('pexels_cat.jpg') no-repeat center center/cover;
    padding: 80px 0;
    text-align: center;
    
}

#contact h2 {
    color: #eaeaea;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact input,
#contact textarea {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    font-size: 1rem;
    resize: none;
}

#contact button {
    padding: 15px;
    background: #9feeec;
    color: #0b0a0a;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

#contact button:hover {
    background: #136d6a;
}

/* Footer */
footer {
    background: #313030;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer .social-links {
    margin-top: 10px;
}

footer .social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #007BFF;
}




/* Form status message styles */
#form-status {
    margin-top: 15px;
    min-height: 32px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
}

#form-status .text-success {
    color: #198754;
    background: #e6f9ec;
    border: 1px solid #b6e2cc;
    border-radius: 6px;
    padding: 10px 18px;
    display: inline-block;
}

#form-status .text-danger {
    color: #b02a37;
    background: #fdeaea;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    padding: 10px 18px;
    display: inline-block;
}



/* Responsive Styles */
@media (max-width: 768px) {
    nav .nav-links {
        position: absolute;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background: #fff;
        width: 100%;
        transition: left 0.3s ease;
    }

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

    nav .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        margin-left: 0;
        margin-top: 20px;
    }
}


/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    .about-text, .skills {
        max-width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
    .skills {
        margin-top: 0;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        align-items: flex-start;
    }
    nav .nav-links {
        position: absolute;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background: #fff;
        width: 100%;
        transition: left 0.3s ease;
        z-index: 1001;
    }
    nav .nav-links.active {
        left: 0;
    }
    nav .nav-links li {
        margin: 15px 0;
        text-align: center;
    }
    .hamburger {
        display: flex;
    }
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    .about-text, .skills {
        max-width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    #hero h1 {
        font-size: 2rem;
    }
    #hero h2 {
        font-size: 1.2rem;
    }
    #hero {
        padding-top: 80px;
        height: auto;
        min-height: 60vh;
    }
    .project-card img {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 98%;
        padding: 0 5px;
    }
    #hero h1 {
        font-size: 1.3rem;
    }
    #hero h2 {
        font-size: 1rem;
    }
    .about-content img {
        width: 120px;
        height: 120px;
    }
    .project-card img {
        height: 100px;
    }
    .project-info h3 {
        font-size: 1.1rem;
    }
    .project-info p {
        font-size: 0.95rem;
    }
    #contact h2 {
        font-size: 1.3rem;
    }
}


/* Modal styles */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content img {
    max-width: 100%;
    margin-top: 10px;
    border-radius: 8px;
}



.close-modal:hover {
    opacity: 0.7;
}


.modal-fullscreen {
    max-width: 100%;
    width: 100%;
}

.modal-body {
    text-align: center;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 15px;
    }
}




html {
    scroll-behavior: smooth;
}



