@import url(basics.css);

.container {
    display: flex;
    flex-wrap: wrap; /* allow content to wrap on smaller screens */
    gap: 2rem;
    background-color: rgba(12, 9, 10, 0.5);
    margin: 40px auto;
    padding: 15px;
    border: 5px solid black;
    max-width: 1200px;  /* responsive max width */
    width: 90%;         /* take 90% of screen on mobile */
    top: auto;          /* remove fixed top offset for better stacking */
    position: relative;
}




.text-container{
    flex: 1;
    flex-direction: column;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    justify-content: center; /* centers vertically */
    min-width: 250px;
    gap: 1rem; /* spacing between h1 and p*/
    color: aliceblue;
}

.name-heading{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: xxx-large;
    color: wheat;
    margin: 0;
}

.about-me{
    font-size: large;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.profile_pic {
    width: clamp(150px, 25%, 250px); /* responsive width between 150-250px */
    height: auto;
    border-radius: 12px; /* optional: round corners for a modern look */
    margin: 0 auto; /* center on small screens */
}


.email-link{
    text-decoration: none;
    color: wheat;
}

.email-link:hover{
    text-decoration: underline;
}



.my_links {
    display: flex;
    gap: 20px;             /* Adds consistent spacing */
    padding-left: 0;       /* Remove default list padding */
    margin: 0;             /* Reset margin */
    transform: translateY(10px); /* Moves down 10px without affecting layout */
    width: 90px;
    height: 85px;

}

.my_links li {
    list-style: none;
    margin: 0; /* Remove manual margins */
}

.my_links li a {
    display: flex;       /* Helps with alignment */
    flex-direction: column;
    align-items: center;
    color: White;
    font-size: large;
}

.my_links img {
    display: flex;
    width: 90px; /* Force same width */
    height: 85px; /* Force same height */
    object-fit: contain; /* Prevents distortion */
    transition: transform 0.2s ease; /* Smooth hover animation */

}

.my_links img:hover {
    transform: scale(1.1); /* Slightly enlarge on hover (10%) */
}



/* Projects Section Content*/

.projects-grid {
    width: 95%;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    color: aliceblue;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card li{
    list-style: none;
}

.project-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.project-card h2 {
    color: wheat;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.project-card p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 10px;
}

.tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.project-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: wheat;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.project-btn:hover {
    background-color: gold;
}


/*Cave Page Content*/



.film_p{
    color: white;
    font-size: x-large;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px; /* Adjust as needed */
}

.media-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    position: relative;
    max-width: 710px;
    margin: 0 auto;
}

.media-scroller {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.media {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
}

.media-card {
    flex: 0 0 150px; /* Fixed width */
    height: 150px; /* Fixed height */
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    position: relative; /* For absolute positioning of title */
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will crop images to fit */
}

.media-card h3 {
    padding: 0.5rem;
    margin: 0;
    font-size: 1rem;
    text-align: center;
    background: rgba(0,0,0,0.7);
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.scroll-arrow {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 150px; /* Match card height */
    border-radius: 0;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resume-preview{
    display: flex;
    justify-content: center;
    margin: 80px 0;
}

.resume-preview {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.resume-box {
    position: relative;
    width: 400px;
    height: 500px;
    border: 2px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none; /* Prevents interacting with PDF inside preview */
}

.resume-box:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resume-box:hover .overlay {
    opacity: 1;
}

.download-button a {
    display: inline-block;
    background-color: wheat;
    color: black;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.download-button a:hover {
    background: linear-gradient(135deg, gold, orange);
    transform: translateY(-3px); /* lift effect */
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

/* Resume Section Layout */
.resume-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    padding: 2rem;
    background-color: rgba(12, 9, 10, 0.5);
    border: 5px solid black;
    max-width: 1200px;
    margin: 80px auto;
    border-radius: 15px;
}




.resume-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 250px;
    border: 2px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.resume-box:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resume-box:hover .overlay {
    opacity: 1;
}

/* Download Button Styling */
.download-button a {
    display: inline-block;
    background-color: wheat;
    color: black;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.download-button a:hover {
    background: linear-gradient(135deg, gold, orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}



.resume-content-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 10px;
    color: aliceblue;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.resume-content-card-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 40px;
    margin-top: 2rem;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.resume-content-card:hover{
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


.resume-content-card h2 {
    color: wheat;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.resume-content-card p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .resume-content-card-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .navbar ul {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}








