/* Resume Section - Fullscreen with Metallic Gradient */
.resume-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Ensures full-screen height */
    width: 100%;
    background: #111; /* Base Dark Background */
    color: white;
    position: relative; /* Ensures gradient stays inside */
    overflow: hidden; /* Prevents background elements from overflowing */
    z-index: 1; /* Ensures content appears above the gradient */
}

.resumequote-container {
    margin-bottom: 40px; /* Increase spacing */
}

/* Metallic Gradient Background */
.resume-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 400%;
    background: repeating-linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 10%,
        rgba(0, 0, 0, 0.2) 20%,
        rgba(255, 255, 255, 0.3) 30%
    );
    background-size: 200% 200%;
    animation: metallicMove 8s infinite linear;
    z-index: -1; /* Keeps it behind content */
}

/* Metallic Reflection Animation */
@keyframes metallicMove {
    0% {
        background-position: 0% 100%;
    }
    50% {
        background-position: 100% 0%;
    }
    100% {
        background-position: 0% 100%;
    }
}

/* Resume Card - Add Glow Effect */
.resume-card {
    width: 100%;
    height: 40vh;
    max-width: none;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent effect */
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    position: relative; /* Needed for absolute glow positioning */
}

/* Indenting the Heading */
.resume-card h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    padding-left: 10vw; /* Moves the heading to the right */
}

/* Resume Content */
.resume-content {
    padding-left: 15vw;
}

/* Resume Details */
.resume-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Resume Preview Image */
.resume-link img {
    width: 120px; /* Slightly larger */
    height: auto;
    display: block;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
}

/* Hover Effect on Resume Image */
.resume-link img:hover {
    transform: scale(1.1);
}

/* View Resume Link */
.view-resume {
    color: #4ea8de;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
}

.view-resume:hover {
    text-decoration: underline;
    color: #7bc3f8;
}

/* Soft Glow Above and Below */
.resume-card::before,
.resume-card::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: radial-gradient(rgba(255, 255, 255, 0.5), transparent);
    filter: blur(10px);
    z-index: -1;
}

/* Glow Above */
.resume-card::before {
    top: -25px;
}

/* Glow Below */
.resume-card::after {
    bottom: -25px;
}

/* ✅ Responsive Fixes */
@media (max-width: 768px) {
    .resume-card {
        width: 95%; /* Keep it slightly smaller on mobile */
        max-width: 600px;
        padding: 30px;
    }

    .resume-card h2 {
        font-size: 1.8rem;
    }

    .resume-content {
        padding: 0 3%;
    }

    .resume-link img {
        width: 90px;
    }

    .view-resume {
        font-size: 0.9rem;
    }
}

/* ✅ Extra Small Screens */
@media (max-width: 475px) {
    .resume-card {
        width: 90%;
        max-width: 400px;
        padding: 25px;
    }

    .resume-card h2 {
        font-size: 1.6rem;
    }

    .resume-content {
        padding: 0 2%;
    }

    .resume-link img {
        width: 80px;
    }

    .view-resume {
        font-size: 0.85rem;
    }
}


/* ✅ Media Query for 2560px Screens (4K) */
@media (min-width: 2560px) {
    /* ✅ Increase Section Spacing */
    .resume-section {
        height: 100vh; /* Keep full screen height */
        padding-bottom: 120px; /* Ensures proportional spacing */
    }

    /* ✅ Adjust Quote Positioning */
    .resumequote-container {
        margin-bottom: 60px; /* Slightly more space for better balance */
    }

    /* ✅ Make Resume Card Bigger */
    .resume-card {
        width: 85%;
        max-width: 1400px; /* Bigger for 4K screens */
        height: 50vh; /* Taller for better proportions */
        padding: 70px; /* More padding for a spacious feel */
        display: flex;
        flex-direction: row; /* Align elements horizontally */
        justify-content: flex-start;
        align-items: center;
        position: relative;
    }

    /* ✅ Adjust Heading Size */
    .resume-card h2 {
        font-size: 3rem; /* Bigger heading for visibility */
        padding-left: 5vw; /* Keep consistent spacing */
    }

    /* ✅ Adjust Content */
    .resume-content {
        padding-left: 7vw; /* More spacing from the left */
    }

    .resume-card p {
        font-size: 1.6rem; /* Bigger text for better readability */
    }

    /* ✅ Make Resume Preview Image Bigger */
    .resume-link img {
        width: 200px; /* Enlarged preview */
        height: auto;
        transition: transform 0.3s ease-in-out;
    }

    .resume-link img:hover {
        transform: scale(1.2);
    }

    /* ✅ Adjust View Resume Link */
    .view-resume {
        font-size: 1.4rem;
        margin-top: 30px;
    }

    /* ✅ Ensure the Metallic Background Stays Proportional */
    .resume-gradient {
        width: 300%;
        height: 300%;
        background-size: 150% 150%;
    }

    /* ✅ Adjust Glow Effects */
    .resume-card::before,
    .resume-card::after {
        width: 85%;
        height: 25px;
        filter: blur(15px);
    }

    /* ✅ Glow Above */
    .resume-card::before {
        top: -30px;
    }

    /* ✅ Glow Below */
    .resume-card::after {
        bottom: -30px;
    }
}

/* ✅ Media Query for 2560px Screens (4K) */
@media (min-width: 2560px) {
    /* ✅ Increase Section Spacing */
    .resume-section {
        padding-bottom: 130px; /* Ensures spacing is balanced */
    }

    /* ✅ Scale Resume Card */
    .resume-card {
        width: 90%; /* Expands width for a larger appearance */
        height: 50vh; /* More height for proportional scaling */
        max-width: 1600px; /* Keeps it from becoming too wide */
        padding: 65px; /* More padding for proper spacing */
    }

    /* ✅ Increase Heading Size */
    .resume-card h2 {
        font-size: 3rem; /* Enlarged for 4K screens */
        padding-left: 6vw; /* Keeps spacing consistent */
    }

    /* ✅ Adjust Content */
    .resume-content {
        padding-left: 8vw; /* Keeps it visually structured */
    }

    /* ✅ Scale Resume Text */
    .resume-card p {
        font-size: 1.8rem; /* Larger font for easy readability */
    }

    /* ✅ Scale Resume Preview */
    .resume-link img {
        width: 180px; /* Increases preview size */
        height: auto;
        transition: transform 0.3s ease-in-out;
    }

    /* ✅ Hover Effect for Resume Preview */
    .resume-link img:hover {
        transform: scale(1.15);
    }

    /* ✅ Increase View Resume Link */
    .view-resume {
        font-size: 1.5rem; /* Bigger for better visibility */
        margin-top: 25px;
    }

    /* ✅ Ensure the Metallic Background Stays Proportional */
    .resume-gradient {
        width: 250%;
        height: 250%;
        background-size: 140% 140%;
    }

    /* ✅ Adjust Glow Effects */
    .resume-card::before,
    .resume-card::after {
        width: 90%;
        height: 28px;
        filter: blur(12px);
    }

    /* ✅ Glow Above */
    .resume-card::before {
        top: -28px;
    }

    /* ✅ Glow Below */
    .resume-card::after {
        bottom: -28px;
    }
}
