/* Projects Page Specific Styles */
.projects-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.project-category {
    flex: 1 1 calc(33.333% - 2rem);
    background: rgba(13, 59, 102, 0.8);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fade-in 0.6s ease forwards;
    opacity: 0;
}

.project-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.project-category h3 {
    color: #ffdd57;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-category h3 i {
    font-size: 1.2em;
}

.project-category p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-button {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    background-color: #ffdd57;
    color: #0a1a33; /* Ensure text color is dark initially */
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #1a73e8;
    color: white; /* Ensure text color is white on hover */
}

/* Animation delays for staggered effect */
.project-category:nth-child(1) { animation-delay: 0.1s; }
.project-category:nth-child(2) { animation-delay: 0.2s; }
.project-category:nth-child(3) { animation-delay: 0.3s; }
.project-category:nth-child(4) { animation-delay: 0.4s; }
.project-category:nth-child(5) { animation-delay: 0.5s; }
.project-category:nth-child(6) { animation-delay: 0.6s; }

@keyframes fade-in {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .project-category {
        flex: 1 1 calc(50% - 2rem);
    }
}

@media (max-width: 600px) {
    .project-category {
        flex: 1 1 100%;
    }
}

.hero-section {
    text-align: center;
    padding: 2rem 0;
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffdd57;
}

body[data-theme="dark"] .project-category {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body[data-theme="light"] .project-category {
    background-color: #f5f5f5;
    color: #0a1a33;
}

body[data-theme="light"] {
    background: #ffffff;
    color: #000000;
}

body[data-theme="dark"] {
    background: #000000;
    color: #ffffff;
}

body[data-theme="dark"] .main-title,
body[data-theme="dark"] .cta-button,
body[data-theme="dark"] .project-category h3,
body[data-theme="dark"] .hero-section h2 {
    color: #ffffff;
}

body[data-theme="dark"] .main-title {
    color: #ffffff;
}

body[data-theme="dark"] .cta-button:first-child {
    background-color: #ffffff;
    color: #000000;
}

body[data-theme="dark"] .cta-button.secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

body[data-theme="dark"] .cta-button:first-child:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

body[data-theme="dark"] .cta-button.secondary:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

body[data-theme="light"] .main-title {
    color: #000000;
}

body[data-theme="light"] .cta-button:first-child {
    background-color: #000000;
    color: #ffffff;
}

body[data-theme="light"] .cta-button.secondary {
    background-color: transparent;
    border: 2px solid #000000;
    color: #000000;
}

body[data-theme="light"] .cta-button:first-child:hover {
    background-color: transparent;
    color: #000000;
    border-color: #000000;
}

body[data-theme="light"] .cta-button.secondary:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

body[data-theme="dark"] .project-category h3 {
    color: #ffffff;
}

body[data-theme="light"] .project-category h3 {
    color: #000000;
}

body[data-theme="dark"] .cta-button {
    background-color: #ffffff; /* Ensure button background is white in dark mode */
    color: #000000; /* Ensure text color is dark in dark mode */
}

body[data-theme="dark"] .cta-button:hover {
    background-color: #000000;
    color: #ffffff;
}

body[data-theme="light"] .cta-button {
    background-color: #000000;
    color: #ffffff; /* Ensure text is white initially */
}

body[data-theme="light"] .cta-button:hover {
    background-color: #ffffff;
    color: #000000;
}

body[data-theme="light"] .projects-content {
    color: #333;
}

body[data-theme="light"] .project-category {
    background: rgba(240, 240, 240, 0.9);
}

body[data-theme="light"] .project-category h3,
body[data-theme="light"] .hero-section h2 {
    color: #000000;
}

/* CONFLICT 2: Contradictory navbar comments and styles */
.navbar {
    /* ...existing code... */
    content: "Tehj Patel"; /* Re-add the name "Tehj Patel" */
}

/* Remove the name "Tehj Patel" */
.navbar h1 {
    display: block; /* Show the h1 heading "Tehj Patel" */
}
