/* ========================================
   RESUME PAGE STYLES - MODERN DESIGN
   ======================================== */

:root {
    --primary: #00d4ff;
    --secondary: #ff006e;
    --accent: #8338ec;
    --dark-bg: #0f0f1e;
    --dark-card: #1a1a2e;
    --light-text: #e0e0e0;
    --light-gray: #b0b0b0;
    --border-color: rgba(0, 212, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--light-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

/* ========================================
   NAVBAR STYLING
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link i {
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover i {
    transform: translateX(3px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 1px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   RESUME CONTAINER
   ======================================== */

.resume-container {
    max-width: 900px;
    margin: 100px auto 50px;
    padding: 0 20px;
}

/* ========================================
   RESUME DOCUMENT
   ======================================== */

.resume-document {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Resume Header */
.resume-header {
    position: relative;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.header-content .title {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-gray);
    transition: all 0.3s ease;
}

.contact-info span i {
    color: var(--primary);
    font-size: 0.95rem;
}

.contact-info span:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.header-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

/* Header Profile Image */
.header-profile-image {
    flex-shrink: 0;
    position: relative;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.profile-pic:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.4);
    border-color: var(--secondary);
}

/* Resume Sections */
.resume-section {
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.section-title i {
    font-size: 1.3rem;
}

/* Professional Summary */
.resume-section > p {
    color: var(--light-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Experience Section */
.experience-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.experience-item:hover {
    background: rgba(0, 212, 255, 0.08);
    transform: translateX(5px);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 15px;
}

.exp-title h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.exp-title .company {
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

.exp-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--light-gray);
}

.exp-meta .date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.exp-meta .location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.exp-details {
    list-style: none;
    margin-top: 12px;
}

.exp-details li {
    padding-left: 25px;
    margin-bottom: 8px;
    position: relative;
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.6;
}

.exp-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-category h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(131, 56, 236, 0.15));
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(131, 56, 236, 0.25));
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Education Section */
.education-item {
    margin-bottom: 20px;
    padding: 18px;
    background: rgba(131, 56, 236, 0.05);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.education-item:hover {
    background: rgba(131, 56, 236, 0.08);
    transform: translateX(5px);
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.edu-header h3 {
    font-size: 1.05rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.edu-header .school {
    color: var(--secondary);
    font-size: 0.9rem;
}

.edu-header .date {
    color: var(--light-gray);
    font-size: 0.9rem;
    font-weight: 600;
}

.gpa {
    font-size: 0.85rem;
    color: var(--light-gray);
    margin-top: 8px;
}

/* Achievements Section */
.achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.achievement {
    display: flex;
    gap: 15px;
    padding: 18px;
    background: rgba(255, 0, 110, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.achievement:hover {
    background: rgba(255, 0, 110, 0.1);
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.achievement i {
    font-size: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.achievement h4 {
    color: var(--light-text);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.achievement p {
    color: var(--light-gray);
    font-size: 0.85rem;
}

/* ========================================
   ACTION BUTTONS
   ======================================== */

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-download,
.btn-normal,
.btn-print {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

/* Download Button */
.btn-download {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-download:active {
    transform: translateY(-1px);
}

/* Normal Resume Button */
.btn-normal {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
}

.btn-normal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.4);
}

.btn-normal:active {
    transform: translateY(-1px);
}

/* Print Button */
.btn-print {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.btn-print:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.2), 0 10px 30px rgba(0, 212, 255, 0.2);
}

.btn-print:active {
    transform: translateY(-1px);
}

/* ========================================
   NORMAL RESUME SECTION
   ======================================== */

.normal-resume-section {
    margin-top: 50px;
    padding: 40px;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    animation: slideInUp 0.6s ease forwards;
}

.normal-resume-section h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.normal-resume-content {
    text-align: center;
}

.placeholder-text {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    color: var(--light-gray);
    margin-bottom: 30px;
    font-size: 1rem;
}

.placeholder-text i {
    color: var(--accent);
    font-size: 1.2rem;
}

.resume-placeholder {
    padding: 50px 30px;
    background: rgba(0, 212, 255, 0.05);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.resume-placeholder:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
}

.resume-placeholder i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.resume-placeholder p {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.resume-placeholder small {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        right: 0;
        flex-direction: column;
        background: rgba(15, 15, 30, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 20px;
        gap: 15px;
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .resume-document {
        padding: 25px;
    }

    .resume-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
        flex-direction: column;
        align-items: center;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header-content .title {
        font-size: 1.1rem;
    }

    .contact-info {
        gap: 12px;
        font-size: 0.85rem;
    }

    .profile-pic {
        width: 160px;
        height: 160px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .exp-header {
        flex-direction: column;
        gap: 8px;
    }

    .exp-meta {
        flex-direction: column;
        gap: 5px;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-download,
    .btn-normal,
    .btn-print {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .achievements {
        grid-template-columns: 1fr;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .resume-container {
        margin-top: 70px;
        padding: 0 15px;
    }

    .resume-document {
        padding: 20px;
        border-radius: 8px;
    }

    .resume-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
        flex-direction: column;
        align-items: center;
    }

    .header-content h1 {
        font-size: 1.6rem;
    }

    .header-content .title {
        font-size: 0.95rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 8px;
        font-size: 0.8rem;
    }

    .profile-pic {
        width: 140px;
        height: 140px;
        border-width: 2px;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .skill-category h4 {
        font-size: 0.9rem;
    }

    .skill-tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .action-buttons {
        gap: 8px;
    }

    .btn-download,
    .btn-normal,
    .btn-print {
        padding: 10px 16px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .btn-download i,
    .btn-normal i,
    .btn-print i {
        font-size: 0.9rem;
    }

    .normal-resume-section {
        margin-top: 30px;
        padding: 25px;
    }

    .normal-resume-section h2 {
        font-size: 1.4rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    .navbar,
    .action-buttons,
    .normal-resume-section {
        display: none;
    }

    .resume-document {
        background: white;
        box-shadow: none;
        border: none;
        max-width: 100%;
        padding: 20px;
    }

    .resume-section {
        page-break-inside: avoid;
    }

    a {
        color: inherit;
    }
}
