/* === General Styles === */
body {
    font-family: Georgia, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #ffffff;
    background-color: #121212;
}

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



/* === Header Styles === */

.header {
    background: #000;
    padding: 1rem 0;
}

.header .logo a {
    color: #f0eded;
    text-decoration: none;
    font-size: 1.5rem;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

.navbar ul li {
    margin-left: 1rem;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.header {
    background-color: #121212;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

/* Header Section */
.header {
    background-color: #121212;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute space between elements */
}

.logo a {
    font-size: 1.5rem;
    color: #e63946;
    text-decoration: none;
    font-weight: bold;
}

.nav {
    flex-grow: 1; /* Push the navigation to occupy space */
    display: flex;
    justify-content: flex-end; /* Align buttons to the right */
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem; /* Spacing between nav links */
    margin: 0;
    padding: 0;
}

.nav ul li a {
    text-decoration: none;
    font-size: 1rem;
    color: #ddd;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: #e63946;
}

/* Resume Button */
.resume-btn {
    display: inline-block;
    background-color: #e63946;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-left: 2rem; /* Adds space between nav and button */
    transition: background-color 0.3s ease;
}

.resume-btn:hover {
    background-color: #d62839;
}

/* Sticky Header Behavior */
.header.sticky {
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
}




/* === Hero Section === */
.hero {
    background: url('assets/hero-background.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 5rem 0;
}

.hero .btn {
    padding: 0.5rem 1rem;
    background: #e63946;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
}

/* === Portfolio Section === */
.portfolio .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.portfolio .grid-item {
    background: #222;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.portfolio img {
    max-width: 100%;
    border-radius: 5px;
}



/* Portfolio Section */
.portfolio {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.portfolio h2 {
    font-size: 2rem;
    color: #e63946;
    margin-bottom: 2rem;
}

/* Additional Details for Project Cards */
.project-info .role {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e63946;
    margin-bottom: 0.5rem;
}

.project-info .description {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-info .tools,
.project-info .team,
.project-info .length,
.project-info .platforms {
    font-size: 0.9rem;
    color: #aaa;
}

.project-info .tools strong,
.project-info .team strong,
.project-info .length strong,
.project-info .platforms strong {
    color: #fff;
}

.download-link {
    color: #e63946; /* Match the theme color */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.download-link:hover {
    color: #ff6b6b; /* Brighter shade on hover */
    text-decoration: underline;
}


/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.project-info {
    padding: 1rem;
    text-align: left;
}

.project-info h3 {
    font-size: 1.5rem;
    color: #e63946;
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.project-card a {
    display: block;
    text-decoration: none;
    color: inherit; /* Keeps text colors consistent */
}

.project-card {
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer; /* Indicates clickability */
}

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

.download-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #e63946; /* Button background color */
    color: #fff; /* Text color */
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 0.5rem;
    transition: background-color 0.3s, transform 0.3s;
}

.download-button:hover {
    background-color: #ff6b6b; /* Lighter shade on hover */
    transform: translateY(-3px); /* Slightly lift the button */
}




/* Current Work/Blogging Section */
.blog-gallery {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.blog-gallery h2 {
    font-size: 2.5rem;
    color: #e63946;
    margin-bottom: 1rem;
}

.blog-gallery p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
}

/* Large Gallery Button */
.gallery-button {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #e63946;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.5);
}

.button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.button-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.button-description {
    font-size: 1.2rem;
    font-style: italic;
    color: #ffcccc;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .gallery-button {
        padding: 1.5rem;
    }

    .button-title {
        font-size: 1.5rem;
    }

    .button-description {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact-section {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 1rem; /* Adds space inside the section */
    text-align: center;
    width: 100%; /* Ensures the section spans the full page width */
    box-sizing: border-box; /* Includes padding within width calculations */
    display: flex; /* Flexbox to center content */
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center-align content horizontally */
    justify-content: center; /* Center-align content vertically */
}


/* Header Alignment Fix */
.contact-section h2 {
    font-size: 2.5rem;
    color: #e63946;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 1.5rem; /* Even spacing between icons/links */
    margin: 2rem 0; /* Adds vertical space */
}


.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    background-color: #222;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-link img {
    width: 30px;
    height: 30px;
    margin-right: 1rem;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Form */
.contact-form {
    max-width: 600px; /* Restricts form width for better readability */
    margin: 0 auto; /* Centers the form */
    text-align: left; /* Aligns text to the left */
}

.contact-form h3 {
    font-size: 1.8rem;
    color: #e63946;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    font-size: 1rem;
}

.contact-form button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e63946;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #ff6b6b;
}


/* About Section Styles */
.about {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    color: #e63946;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0.5rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section Styles */
.services {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    color: #e63946;
    margin-bottom: 2rem;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Service Card */
.service-card {
    background-color: #222;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.service-card .icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #e63946;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
}



/* personal Section */
/* === Personal Projects Section === */
.personal-projects {
    background-color: #1a1a1a; /* Same as portfolio for consistency */
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.personal-projects h2 {
    font-size: 2.5rem;
    color: #e63946;
    margin-bottom: 2rem;
}

/* Project Grid Layout */
.personal-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
}

/* Project Card Styling */
.personal-project-card {
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

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

/* Project Information */
.personal-project-info {
    padding: 1rem;
    text-align: left;
}

.personal-project-info h3 {
    font-size: 1.5rem;
    color: #e63946;
    margin-bottom: 0.5rem;
}

.personal-project-info p {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 1rem;
}

/* Additional Details */
.personal-project-info .tools {
    font-size: 0.9rem;
    color: #aaa;
}

.personal-project-info .tools strong {
    color: #fff;
}

/* Download or View More Button */
.personal-download-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #e63946;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 0.5rem;
    transition: background-color 0.3s, transform 0.3s;
}

.personal-download-button:hover {
    background-color: #ff6b6b;
    transform: translateY(-3px);
}

