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

:root {
    --primary-color: #818cf8;
    --secondary-color: #a78bfa;
    --accent-color: #f472b6;
    --text-color: #f3f4f6;
    --text-light: #d1d5db;
    --bg-color: #0f172a;
    --bg-secondary: #1e293b;
    --bg-light: #1e293b;
    --bg-card: #1e293b;
    --border-color: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --glow-primary: 0 0 20px rgba(129, 140, 248, 0.3);
    --glow-secondary: 0 0 30px rgba(167, 139, 250, 0.4);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(129, 140, 248, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(167, 139, 250, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-brand-icon {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(129, 140, 248, 0.5));
}

.nav-brand-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 12px rgba(129, 140, 248, 0.8));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    box-shadow: var(--glow-primary);
}

.nav-menu a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.5);
}

.nav-menu a:hover::after {
    width: 100%;
}

.admin-link {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 2rem;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.4), var(--glow-secondary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-link::after {
    display: none;
}

.admin-link::before {
    content: '⚙️';
    margin-right: 0.5rem;
    font-size: 0.9rem;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.admin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(167, 139, 250, 0.6), 0 0 30px rgba(244, 114, 182, 0.4);
    color: white !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #4c1d95 60%, #581c87 100%);
    color: white;
    padding: 8rem 0 6rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(129, 140, 248, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(167, 139, 250, 0.2) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 1;
    padding: 0 4rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 
        0 0 20px rgba(129, 140, 248, 0.5),
        0 0 40px rgba(167, 139, 250, 0.3),
        0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
    line-height: 1.7;
    max-width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(129, 140, 248, 0.4), var(--glow-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(129, 140, 248, 0.6), 0 0 40px rgba(167, 139, 250, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(129, 140, 248, 0.6);
}

.about {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background-color: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    position: relative;
    cursor: pointer;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--glow-primary);
    border-color: var(--primary-color);
}

.portfolio-item:hover::before {
    transform: scaleX(1);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #312e81, #4c1d95, #581c87);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.2), rgba(167, 139, 250, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image::after {
    opacity: 1;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.portfolio-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.portfolio-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.3);
    pointer-events: none;
    margin-top: 0.5rem;
}

.portfolio-item:hover .portfolio-link {
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(167, 139, 250, 0.6);
    transform: translateX(5px);
}

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: var(--bg-card);
    border-radius: 1rem;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl), 0 0 50px rgba(129, 140, 248, 0.3);
    border: 1px solid var(--border-color);
    z-index: 1;
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    line-height: 1;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.8);
    transform: rotate(90deg);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.modal-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    position: relative;
}

.modal-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #312e81, #4c1d95, #581c87);
}

.modal-body {
    padding: 2.5rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.3);
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    white-space: pre-wrap;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-link {
    text-decoration: none;
    pointer-events: auto;
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--bg-color);
    border-radius: 0 1rem 1rem 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
}

/* CV Section */
.cv {
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.cv-section {
    margin-bottom: 4rem;
}

.cv-section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.3);
    position: relative;
    padding-bottom: 1rem;
}

.cv-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(129, 140, 248, 0.5);
}

.cv-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cv-item {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 3rem;
}

.cv-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 0.5rem 0 0 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cv-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg), var(--glow-primary);
    border-color: var(--primary-color);
    background-color: rgba(129, 140, 248, 0.05);
}

.cv-item:hover::before {
    opacity: 1;
}

.cv-item-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.cv-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.cv-item-company {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.3);
}

.cv-item-duration {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.cv-item-description {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.cv-empty {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
    font-style: italic;
}

/* Skills Container */
/* CV PDF Section */
.cv-pdf-section {
    margin-bottom: 4rem;
}

.cv-pdf-card {
    background: linear-gradient(135deg, var(--bg-card), rgba(129, 140, 248, 0.1));
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cv-pdf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.cv-pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--glow-primary);
    border-color: var(--primary-color);
}

.cv-pdf-icon {
    font-size: 4rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.5));
}

.cv-pdf-content {
    flex: 1;
}

.cv-pdf-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.3);
}

.cv-pdf-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cv-pdf-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--bg-card), rgba(129, 140, 248, 0.2));
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(129, 140, 248, 0.4);
}

/* CV Viewer Modal */
.cv-viewer-content {
    max-width: 1000px;
    max-height: 95vh;
}

.cv-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cv-viewer-body {
    padding: 1.5rem 2.5rem 2.5rem;
}

.cv-viewer-body iframe {
    background-color: var(--bg-color);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-badge {
    background: linear-gradient(135deg, var(--bg-card), rgba(129, 140, 248, 0.1));
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.skill-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--glow-primary);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.15), rgba(167, 139, 250, 0.1));
}

.skill-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.skill-level {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(129, 140, 248, 0.3);
}

/* Contact Section */
.contact {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    font-size: 1.1rem;
    padding: 1.5rem;
    background-color: var(--bg-card);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg), var(--glow-primary);
    border-left-color: var(--secondary-color);
    background-color: rgba(129, 140, 248, 0.05);
}

.contact-item strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.4);
}

/* Footer */
.footer {
    background-color: #020617;
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Admin Page Styles */
.admin-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.admin-header h1 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(129, 140, 248, 0.5);
    filter: drop-shadow(0 2px 10px rgba(129, 140, 248, 0.3));
}

.admin-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.admin-section {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-section:hover {
    box-shadow: var(--shadow-lg), var(--glow-primary);
    border-color: var(--primary-color);
}

.admin-section:hover::before {
    opacity: 1;
}

.admin-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.625rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23818cf8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2), var(--glow-primary);
    transform: translateY(-1px);
    background-color: rgba(129, 140, 248, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2), var(--glow-primary);
    transform: translateY(-1px);
    background-color: rgba(129, 140, 248, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(129, 140, 248, 0.4), var(--glow-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(167, 139, 250, 0.6), 0 0 40px rgba(244, 114, 182, 0.4);
}

.btn-edit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(129, 140, 248, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.btn-edit:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(129, 140, 248, 0.5);
}

.btn-cancel {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(107, 114, 128, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    margin-left: 0.5rem;
}

.btn-cancel:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.5);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
}

.portfolio-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portfolio-item-admin {
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.portfolio-item-admin:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    background-color: rgba(129, 140, 248, 0.05);
}

.portfolio-item-admin h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.portfolio-item-admin p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.portfolio-item-actions {
    display: flex;
    gap: 0.5rem;
}

.success-message {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeInUp 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-brand-icon {
        width: 28px;
        height: 28px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }

    .admin-link {
        margin-top: 0.5rem;
    }

    .hero {
        padding: 5rem 1rem 4rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .portfolio-item-admin {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-item-actions {
        width: 100%;
        margin-top: 1rem;
    }

    .admin-section {
        padding: 1.5rem;
    }

    .cv-item {
        padding-left: 2rem;
    }

    .cv-item::before {
        width: 3px;
    }

    .cv-section-title {
        font-size: 1.5rem;
    }

    .cv-item-title {
        font-size: 1.25rem;
    }

    .skills-container {
        justify-content: center;
    }

    .portfolio-modal {
        padding: 1rem;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-image-container {
        height: 200px;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-description {
        font-size: 1rem;
    }
}
