/* Dark Theme for the About Page */
body {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* The container that holds image and text side-by-side */
.about-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
    gap: 60px;
}

/* Image Styling */
.profile-pic {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Text Area Styling */
.text-content {
    flex: 1;
    max-width: 600px;
}

.main-heading {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1;
}

.sub-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ddd;
    border-bottom: 2px solid #333;
    display: inline-block;
    padding-bottom: 5px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cccccc;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .about-section .container {
        flex-direction: column;
        text-align: center;
    }

    .profile-pic {
        width: 250px;
        height: 250px;
        margin-bottom: 30px;
    }

    .main-heading {
        font-size: 3.5rem;
    }
}

/* =========================================
   WORK SAMPLES / PROJECT GRID STYLES
   ========================================= */

/* The Container for the Grid */
.work-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

/* The Grid System (Auto-responsive) */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* The Individual Card */
.project-card {
    background-color: #2a2a2a;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
    transform: translateY(-10px);
}

.card-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.placeholder-pink {
    background-color: #ffb7b2;
}

.placeholder-blue {
    background-color: #0047AB;
}

.placeholder-grey {
    background-color: #555;
}

.card-content {
    padding: 20px;
    color: white; 
    text-align: center; 
    display: flex;             
    flex-direction: column;   
    align-items: center;       
    height: 100%;             
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* The 'View Project' Button */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0047AB;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #003380;
}

/* =========================================
   TOP NAVIGATION BAR STYLES (UPDATED)
   ========================================= */

/* The Bar itself */
.top-nav {
    background-color: #2a2a2a;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* The "My Portfolio" Logo Text */
.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* The Container for the Links */
.nav-links {
    display: flex;
    gap: 30px;
    /* This removes default list bullets if you use <ul> tags */
    list-style: none; 
    padding: 0;
    margin: 0;
}

/* The Individual Links */
.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    
    /* ADDED: This helps align the bullet with the text */
    display: flex;
    align-items: center;
}

/* ADDED: This creates the Bullet Point before every link */
.nav-links a::before {
    content: "\2022"; /* The Code for a Bullet Point */
    color: #0047AB;   /* Your signature Blue color */
    font-size: 1.5rem; /* Make the dot slightly bigger */
    margin-right: 8px; /* Space between dot and text */
    line-height: 1;
}

/* Hover Effect */
.nav-links a:hover {
    color: white;
}

/* The "Active" Link (Shows which page you are on) */
.nav-links a.active {
    color: #0047AB;
    font-weight: bold;
    border-bottom: 2px solid #0047AB;
    padding-bottom: 5px;
}

/* =========================================
   MODAL / LIGHTBOX STYLES
   ========================================= */

/* The Modal background */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

/* The Image itself */
.modal-content {
    margin: 5% auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* The Close Button (X) */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 1001;
}

.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* On smaller screens, make the image wider */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 95%;
    }
}