/* Projects Page Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: black;
    color: white;
    line-height: 1.6;
}

.projects-section {
    padding: 80px 20px;
    text-align: center;
    margin-top: 50px;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3.5rem;
    color: purple;
    margin-bottom: 40px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background-color: aqua;
    transform: translateX(-50%);
    border-radius: 2px;
}

.projects-filter {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background-color: #333;
    color: white;
    border: 1px solid aqua;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: aqua;
    color: black;
}

.filter-btn.active {
    background-color: aqua;
    color: black;
    border-color: aqua;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 0;
    margin: 0 auto;
    justify-items: center;
}

.project-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: left;
    padding: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 850px;
    height: 200px;
    border: 1px solid transparent;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
    border-color: aqua;
}

.project-card:active {
    border-color: aqua;
}

.project-icon {
    font-size: 5rem;
    color: aqua;
    margin-bottom: 0;
    margin-right: 25px;
    text-align: center;
    flex-shrink: 0;
}

.project-info {
    margin-top: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.project-info h3 {
    color: purple;
    font-size: 1.8rem;
    margin: 0;
    line-height: 1.2;
    margin-bottom: 5px;
}

.project-info p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 10px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 10px;
}

.project-tech span {
    background-color: #333;
    color: aqua;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.btn.github {
    background-color: #333;
    color: white;
    border: 1px solid white;
}

.btn.github:hover {
    background-color: white;
    color: black;
    border-color: white;
}

.btn.github:active {
    background-color: aqua;
    color: black;
    border-color: aqua;
}

.btn.live {
    background-color: aqua;
    color: black;
    border: 1px solid aqua;
}

.btn.live:hover {
    background-color: transparent;
    color: aqua;
    border-color: aqua;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-card {
        width: 750px;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .projects-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 20px 0;
        gap: 20px;
    }

    .project-card {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .project-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .project-info {
        margin-top: 0;
    }

    .project-info h3 {
        margin-bottom: 10px;
    }

    .project-info p {
        margin-bottom: 15px;
    }

    .project-tech {
        margin-bottom: 15px;
    }

    .project-links {
        margin-top: auto;
        padding-top: 15px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .projects-section {
        padding: 40px 10px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .filter-btn {
        font-size: 0.8rem;
    }

    .projects-grid {
        padding: 15px 0;
        gap: 15px;
    }

    .project-card {
        width: 100%;
        padding: 15px;
    }

    .project-icon {
        font-size: 4rem;
    }

    .project-info h3 {
        font-size: 1.5rem;
    }

    .project-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Navigation Bar */
/* Removed all navbar styles */

.red-icon {
    color: red;
}

.project-img-icon {
    height: 7rem; /* Increased height for AWS logo */
    width: auto;
} 