@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&family=Open+Sans:wght@300;400&family=Poppins:wght@400;600&family=Roboto:wght@400;500&display=swap');

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #CBC3E3;
    color: #000;
}

section {
    background-color: #CBC3E3;
}

/* Typography and Headings */
h1 {
    font-size: 5.3rem;
    margin: 0;
}

h2 {
    font-size: 4.1rem;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-size: 3.1rem;
    text-align: center;
}

p {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 300;
}

.subtext {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

/* Nav Styles */
nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

ul {
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    font-size: 1.5rem;
    padding: 0;
}

li {
    display: flex;
    list-style-type: none;
    gap: 20px;
    padding: 0;
    margin: 0;
    margin-left: auto;
}

li:hover a {
    color: #483983;
}

.navbar {
    background-color: transparent;
    padding: 10px 5vw;
}

.navbar .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-links {
    display: flex;
    list-style-type: none;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav-links li a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #483983;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: chocolate;
}

.logo {
  width: 150px; /* Adjust this value to make the logo smaller or larger */
  height: auto; /* This keeps the image proportional */
  /* You can also add other styles here, like margins:  margin-top: 10px;*/
}

/* Hero Section */
.hero {
    background-color: #C3B1E1;
    height: 100vh;
    color: rgb(0, 0, 0);
    font-size: 2.5rem;
}

.hero-area {
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    margin-left: 5vw;
    margin-bottom: 12rem;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background-color: chocolate;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.button:hover {
    background-color: #C3B1E1;
    color: #483983;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.button a:hover {
    color: #3e2b8a;
    background: none;
}

.button:active {
    background-color: #a7cfb3;
    color: #808080;
}

/* Socials & Icons */
.socials {
    padding-bottom: 12rem;
}

.icons {
    margin: 20px;
}

.socials .icons i {
    font-size: 3rem;
    color: #1a1610;
    width: 100px;
    height: 80px;
    padding-right: 15px;
}

/* About Section */
.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.headshot-container {
    flex: 0 0 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.headshot {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #483983;
}

.information {
    max-width: 600px;
    margin-top: 20px;
}

.information a {
    display: inline-block;
    background: chocolate;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 60px;
    border: 2px solid #a193c5;
    transition: all 0.3s ease;
}

.information a:hover {
    color: #3e2b8a;
    background: none;
}

/* Project Section */
.sub-section-alternative {
    background-color: #f8f9fa;
    color: #343a40;
    padding: 60px 20px;
    text-align: center;
}

.project-category-wrapper {
    margin-bottom: 50px;
}

.project-category-wrapper h3 {
    text-align: center;
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #343a40;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card {
    width: 300px;
    min-height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.project-card h3 {
    font-size: 1.5rem;
    color: #343a40;
    text-align: center;
}

.project-card .subtext {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    flex-grow: 1;
}

.tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.tag {
    background-color: #e2e6ea;
    color: #495057;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 15px;
}

/* Filter Buttons */
.filter-buttons {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    border: 2px solid #ccc;
    background-color: #fff;
    color: #333;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.filter-btn:hover {
    background-color: #eee;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Certifications */
#certifications {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 5vw;
}

.certification-card h3 {
    font-size: 1.5rem;
    margin: 10px 0 5px;
    color: #343a40;
}

.certification-card .subtext {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 5px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: left;
    padding: 0 15px;
}

.certification-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.certification-card {
    width: 300px;
    height: 500px;
    box-shadow: 5px 5px 20px rgb(104, 96, 96);
    margin: 10px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-5px);
}

.certification-image {
    margin-top: 25px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #a46614;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.certification-link {
    text-decoration: none;
    color: #a46614;
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
    color: #333;
}

.footer-container h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon {
    font-size: 1.5rem;
    color: #a46614;
}

.footer a {
    color: #a46614;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer span {
    font-weight: bold;
}

.footer .copyright {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #777;
}

/* Responsive Breakpoints */
/* Tablets */
@media (min-width: 600px) and (max-width: 899px) {
    .hero-text {
        margin-left: 40px;
        margin-bottom: 8rem;
        font-size: 2.5rem;
    }

    .project-card {
        width: 45%;
    }

    .about-container,
    .certification-container {
        gap: 30px;
    }

    .sub-section,
    .sub-section-alternative,
    #certifications {
        padding: 40px;
    }
}

/* Desktop */
@media (min-width: 900px) {
    .hero-area {
        flex-direction: row;
    }

    .project-card {
        width: 300px;
    }

    .about-container {
        flex-direction: row;
    }

    .footer-grid {
        flex-direction: row;
    }
}

/* Mobile Nav */
@media only screen and (max-width: 1000px) {
    .hamburger {
        display: block;
        border: 0;
        background-color: transparent;
        color: black;
        font-size: 2rem;
        margin: 20px;
        align-self: flex-end;
    }

    ul {
        display: none;
        flex-direction: column;
        background-color: #4e5064;
        margin: 0;
    }

    ul.show {
        display: block;
    }

    nav {
        flex-direction: column-reverse;
        background-color: #a6a9cb;
    }

    .logo {
        display: none;
    }
}

/* Dark Mode Styles */
.dark-mode {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.dark-mode .hero {
    background-color: #2c2c2c;
    color: #fff;
}

.dark-mode nav {
    background-color: #3a3a4a;
}

.dark-mode a,
.dark-mode .information a {
    color: #ffd700;
}

.dark-mode .information a:hover {
    color: #fff;
    background: #483983;
}

.dark-mode .sub-section,
.dark-mode .sub-section-alternative,
.dark-mode .footer,
.dark-mode #certifications {
    background-color: #1e1e2f;
    color: #f2f2f2;
}

.dark-mode h3 {
    color: #f0f0f0;
}

.dark-mode .project-card {
    background-color: #333;
    color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.dark-mode .project-card h3,
.dark-mode .project-card .subtext {
    color: #f0f0f0;
}

.dark-mode .tag {
    background-color: #555;
    color: #eee;
}

.dark-mode .certification-card {
    background-color: #2b2b40;
    color: #f0f0f0;
    box-shadow: 3px 3px 15px rgba(255, 255, 255, 0.1);
}

.dark-mode .certification-link,
.dark-mode .certification-card .subtext,
.dark-mode #certifications h2,
.dark-mode #certifications p {
    color: #f0f0f0;
}

.dark-mode .certification-details hr {
    border-color: #777;
}

.dark-mode .certification-card .subtext {
    color: #bbb;
}

.dark-mode .certification-image {
    border: 2px solid #ffd700;
}

.dark-mode .project-container {
    background-color: #2a2a3b;
}

.dark-mode .footer {
    background-color: #1e1e2f;
    color: #f2f2f2;
}

.dark-mode .footer a {
    color: #ffd700;
}

.dark-mode .footer-icon {
    color: #ffd700;
}

.dark-mode .filter-btn {
    color: #f0f0f0;
    border-color: #555;
}

.dark-mode .filter-btn.active, .dark-mode .filter-btn:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.dark-mode .project-category-wrapper h3 {
    color: #f0f0f0;
}

/* Smooth Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
