/*
COLOR PALETTE

void maroon     #170005     "primary & background"
neon aqua       #69e6f8     "headers"
chrome static   #d6d6d6     "text"
pulse red       #ff003c     "links & extras"
nightcore       #0a0a0a     "footer"
*/

/* 

*/

/* GLOBAL STYLES
--------------------------------------------------*/
html {
    box-sizing: border-box;
    font-size: 62.5%;
}

/* * {
    cursor: none !important;
} */

*,
*:before,
*:after {
    box-sizing: inherit;
}

html,
body {
    height: 100%;
}

body {
    background: #170005;
    color: #d6d6d6;
    margin: 0;
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.6rem;
    line-height: 1.4;
}

h1, h2, h3 {
    color: #69e6f8;
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-style: normal;
    margin: 0;
}

h1 {
    font-size: 7rem;
    line-height: 0.85;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

/* links */
a {
    color: #ff003c;
}

a:hover {
    text-decoration: none;
}

.btn {
    background: #ff003c;
    color: #69e6f8;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    padding: 7px;
    letter-spacing: 0.1em;
    line-height: 1;
    border-radius: 4px;
}

.content-wrapper {
    margin: 0 auto;
    padding: 30px;
    max-width: 900px;
}

.gif-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gif-container figcaption {
    margin-top: 10px;
    font-size: 1.4rem;
}

.image-layout {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 100%;
}

.left-column {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.left-column img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  display: block;
}

.right-column {
  flex: 1;
}

.right-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #0a0a0a;
}

.logo a {
    text-decoration: none;
    font-size: 24px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s, text-decoration 0.3s, background-color 0.3s;
    padding: 5px 10px;
}

.nav-links a:hover,
.nav-links a.active {
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    /* cursor: pointer; */
}

.menu-toggle .bar {
    background-color: #ff003c;
    height: 3px;
    width: 25px;
    margin: 5px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #0a0a0a;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }
}

/* HOME
--------------------------------------------------*/
.home {
    background: url(../images/red_blood.jpg) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.home .content-wrapper {
    flex: 1 0 auto;
}

.content-bg {
    background: rgb(10 10 10  / 0.9);
    padding: 30px;
}

.home-project-link {
    display: block;
    /* cursor: pointer; */
    transition: all 0.3s;
}

.home-project-link:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.home-project-link img {
    display: block;
    width: 100%;
    height: auto;
}

@media screen and (max-width:650px) {
    .home .content-wrapper {
        padding: 10px;
    }
    .content-bg {
        padding: 20px;
    }
}

/* RESUME
--------------------------------------------------*/
.resume header::before {
    background: url(../images/red_blood.jpg) top;
    background-size: cover;
    content: "";
    display: block;
    height: 375px;
}

.resume-section {
    margin-bottom: 50px;
}

.resume-section h2 {
    border-bottom: 2.5px dashed #ff003c;
}

.download-link {
    position: fixed;
    top: 5px;
    left: 5px;
}

@media screen and (max-width:1200px) {
    .download-link {
        position: absolute;
    }
}

@media screen and (max-width:500px) {
    .resume header::before {
        height: 200px;
    }
    h1 {
        font-size: 5rem;
    }
    h2 {
        font-size: 2.6rem;
    }
}

/* Profile
-------------------------*/

/* Projects
-------------------------*/
.project-item {
    margin: 30px 0;
}

.project-item img {
    width: 300px;
}

@media screen and (min-width:860px) {
    .project-item {
        display: flow-root;
    }
    .project-item img {
        float: left;
        margin-right: 20px;
    }
}

@media screen and (min-width:650px) and (max-width:859px) {
    .project-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
    }
    .project-item img {
        width: 100%;
    }
}

@media screen and (max-width:500px) {
    .project-item img {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Work Experience
-------------------------*/
.work-item {
    margin: 30px 0;
}

.work-details p {
    margin: 0;
}

@media screen and (min-width:860px) {
    .work-item {
        display: grid;
        grid-template-columns: 300px 2fr;
        column-gap: 20px;
    }
    .work-summary p:first-child {
        margin-top: 0;
    }
}

/* Education
-------------------------*/
.education-item {
    margin: 30px 0;
}

.education-item p {
    margin: 0;
}

/* FOOTER
--------------------------------------------------*/
footer {
    background: #0a0a0a;
}

.socials {
    list-style-type: none;
    padding: 0;
}

.socials li {
    display: inline-block;
    margin-left: 10px;
}

.socials img {
    width: 32px;
}

.socials img:hover {
    opacity: 0.7;
}

@media screen and (min-width:860px) {
    footer {
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
    }
}

@media screen and (max-width:859px) {
    footer {
        text-align: center;
        padding: 10px;
    }
}

/* PROJECTS
--------------------------------------------------*/
.projects .hero {
    position: relative;
    height: 40vh;
    background: url(../images/red_blood.jpg) top;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid #ff003c;
}

.projects .hero h1 {
    font-size: 70px;
    color: #69e6f8;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 20px #69e6f8;
}

.projects-container {
    max-width: 1400px;
    margin: 60px auto 80px;
    padding: 0 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #0a0a0a;
    border: 2px solid #ff003c;
    border-radius: 8px;
    overflow: hidden;
    /* cursor: pointer; */
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #69e6f8;
    box-shadow: 0 5px 20px rgba(105 230 248 / 0.3);
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ff003c;
}

.modal-meta-item {
    background: rgba(255, 0, 60, 0.1);
    border: 1px solid #ff003c;
    padding: 8px 15px;
    border-radius: 4px;
}

.modal-meta-label {
    color: #ff003c;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-meta-value {
    color: #69e6f8;
    font-size: 16px;
    margin-top: 2px;
}

.project-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 20px;
}

.project-title {
    text-align: center;
    font-size: 24px;
    color: #69e6f8;
    margin-bottom: 5px;
}

/* Modal Overlay */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10 10 10 / 0.95);
    z-index: 1000;
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.modal-overlay.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    position: relative;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 30px;
    background: #ff003c;
    color: #0a0a0a;
    border: none;
    padding: 15px 25px;
    font-family: "Rajdhani", sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* cursor: pointer; */
    border-radius: 4px;
    transition: all 0.3s;
    z-index: 1001;
}

.modal-close:hover {
    background: #69e6f8;
    box-shadow: 0 0 20px rgba(105 230 248 / 0.5);
}

.modal-image {
    width: 100%;
    border: 3px solid #ff003c;
    border-radius: 8px;
    margin-bottom: 30px;
}

.modal-video {
    width: 100%;
    border: 3px solid #ff003c;
    border-radius: 8px;
    margin-bottom: 30px;
    background: #000;
}

.modal-header {
    margin-bottom: 30px;
}

.modal-title {
    font-size: 42px;
    color: #69e6f8;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(105 230 248 / 0.5);
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section p {
    color: #d6d6d6;
    font-size: 18px;
    line-height: 1.8;
}

.modal-link {
    display: inline-block;
    background: #ff003c;
    color: #0a0a0a;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s;
    border: 2px solid #ff003c;
    margin-top: 10px;
}

.modal-link:hover {
    background: transparent;
    color: #ff003c;
    box-shadow: 0 0 20px rgba(255 0 60 / 0.5);
}

.modal-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.modal-series-item {
    text-align: center;
}

.modal-series-image {
    width: 100%;
    border: 2px solid #ff003c;
    border-radius: 8px;
    /* cursor: pointer; */
    transition: all 0.3s;
    margin-bottom: 10px;
}

.modal-series-image:hover {
    border-color: #69e6f8;
    box-shadow: 0 0 15px rgba(105, 230, 248, 0.5);
    transform: scale(1.02);
}

.modal-series-title {
    color: #69e6f8;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

@media screen and (max-width:768px) {
    .projects .hero h1 {
        font-size: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 20px;
        margin: 40px 20px;
    }
    
    .modal-title {
        font-size: 32px;
    }

    .modal-close {
        padding: 10px 20px;
        font-size: 14px;
    }
}