* {
    box-sizing: border-box;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    padding: 0px 20px;
    background-color: #fffdf8;
}

header {
    display: flex;
    width: 100%;
    height: fit-content;
    padding: 0px;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 40px 20px 5px;
    gap: 30px;
    width: 100%;
    position: sticky;
    top:0;
}

.nav-links, .nav-social-icons {
    display: none;
}

.hamburger-menu {
    display: block;
    width: 35px;
    height: 35px;
}

.mobile-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    background-color: #e98f5f;
    top: 0;
    left: 0;
    width: 75%;
    border-radius: 0px 20px 20px 0px;
    height: 100vh;
    padding: 80px 40px;
    gap: 40px;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.overlay-open {
    transform: translateX(0%);
}

.close-btn {
    position: absolute;
    top: 35px;
    left: 35px;
    width: 35px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
}

.mobile-nav-links a {
    font-family: "Montserrat", sans-serif;
    letter-spacing: 1px;
    font-size: 18px;
    font-weight: 300;
    color: #fffdf8;
    text-decoration: none;
}

.mobile-nav-links a.active {
    color:#393939;
}

.mobile-nav-social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.index-content-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 35%;
    padding: 30px 20px;
}

.hero-section h1{
    font-size: clamp(3rem, 8vw, 80px);
    line-height: 1.1;
    white-space: nowrap;
}

.personal-info-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 60%;
    padding: 30px 20px;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
}

.about-section, .skills-section, .contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.profile-img {
    width: 60%;
    border-radius: 20px;
}

.contact-section {
    padding: 250px 0px;
}

.contact-section h1 {
    font-size: 24px;
}

.about-title h1, .skills-title h1 {
    font-size: 24px;
}

.tag, .project-tag {
    border: 0.5px solid #393939;
    background-color: #fffdf8;
    padding: 5px 20px;
    border-radius: 50px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #e98f5f;
    font-family: "Betania Patmos", cursive;
    font-size: 16px;
    letter-spacing: 2px;
}

/*This is the Projects Page-Mobile CSS section*/

.content-container {
    width: 100%;
    height: 100vh;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
    scrollbar-width: none;
}

.category-tag {
    width:fit-content;
    padding: 5px 15px;
    border: 0.75px solid #393939;
    color: #393939;
    background-color: #fffdf8;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    border-radius: 50px;
    cursor: pointer;
}

.project-title h1 {
    font-size: 32px;
}

.project-thumbnail-grid, .presentation-grid{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px 40px;
    padding: 0px 0px 30px 0px;
}

.presentation-grid {
    padding: 0px;
}

.category-section {
    display: none;
}

.category-dropdown {
    display: block;
    position: relative;
    width: 100%;
}

.dropdown-trigger {
    width: 100%;
    padding: 10px 20px;
    border: 0.75px solid #393939;
    border-radius: 50px;
    background-color: #fffdf8;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #393939;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.2s ease;
}

.dropdown-trigger:hover,
.dropdown-trigger.open {
    border-color: #e98f5f;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.dropdown-trigger.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    list-style: none;
    padding: 8px 0;
    margin: 8px 0 0 0;
    background-color: #fffdf8;
    border: 0.75px solid #393939;
    border-radius: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
}

.dropdown-options.open {
    max-height: 400px;
    opacity: 1;
    padding: 8px 0;
}

.dropdown-options li {
    padding: 10px 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #393939;
    transition: background-color 0.2s ease, color 0.2s ease;
}


/*This is the Individual-Project Pages CSS section*/

.project-description-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.summary {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.project-information {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    gap: 50px;
    row-gap: 20px;
    width: 100%;
}

.project-tag {
    border: 0.5px solid #393939;
    background-color: #fffdf8;
    padding: 5px 15px;
    border-radius: 50px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
}

.project-title h1 {
    font-size: 24px;
}

.prev-next-project {
    padding: 0px 0px 30px 0px;
    display: flex;
    justify-content: space-between;
}

.prev-project, .next-project {
    display: flex;
    align-items: center;
}

.next-project a, .prev-project a{
    text-decoration: none;
    font-family: "Montserrat", san-serif;
    font-size: 16px;
    color: #e98f5f;
}

.next, .prev {
    display: flex;
    gap: 10px;
}

.next p {
    text-align: right;
}

.next img, .prev img {
    width: 18px;
}


