/* PREMIUM PORTFOLIO - ADVANCED STYLES */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --bg-tertiary: #eef2f8;
    --text-primary: #0a1428;
    --text-secondary: #495057;
    --text-tertiary: #6c757d;
    --accent-blue: #0066ff;
    --accent-purple: #7c3aed;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

@media (max-width: 768px) {
    .container { padding: 0 20px; }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .nav-container { padding: 0 20px; }
}

/* BUTTONS */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-3px);
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* HERO */
.hero {
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
}

.hero-text h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-weight: 600;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* HERO IMAGE */
.hero-image {
    position: relative;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    transition: all 0.4s ease;
    background: var(--bg-secondary);
}

.image-frame:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.25);
    border-color: var(--accent-blue);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    pointer-events: none;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    border: 2px solid var(--accent-blue);
    padding: 14px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* ABOUT */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
}

.about-main h3 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 700;
}

.about-main p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.stat-box {
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    padding: 35px;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.stat-box:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 44px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.info-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--accent-blue);
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
}

.info-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* SKILLS */
.skills {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.skills-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .skills-showcase { grid-template-columns: 1fr; }
}

.skill-category {
    background: white;
    border: 2px solid var(--border-light);
    padding: 35px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-icon {
    font-size: 32px;
}

.category-header h3 {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    display: inline-block;
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-tag:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    transform: scale(1.08);
}

/* PROJECTS */
.projects {
    padding: 120px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

@media (max-width: 1024px) {
    .projects-grid { grid-template-columns: 1fr; }
}

.project-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.project-content {
    padding: 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-header h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.project-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.project-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--accent-blue);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    font-size: 13px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--accent-blue);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
}

.project-link {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.project-link:hover {
    gap: 12px;
    color: var(--accent-purple);
}

/* EXPERIENCE SECTION */
.experience {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
}

.timeline-item {
    position: relative;
    padding-left: 140px;
    margin-bottom: 50px;
}

.timeline-marker {
    position: absolute;
    left: -10px;
    top: 10px;
    width: 120px;
    height: 120px;
    background: white;
    border: 4px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    background: var(--accent-blue);
    box-shadow: var(--shadow-xl);
    transform: scale(1.1);
}

.timeline-content {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-company {
    font-size: 15px;
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-date {
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    list-style: none;
}

.timeline-desc li {
    padding: 8px 0;
}

.timeline-desc li::before {
    content: '✓ ';
    color: var(--accent-blue);
    font-weight: 700;
    margin-right: 8px;
}

/* TESTIMONIALS */
.testimonials {
    padding: 120px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* CONTACT */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

@media (max-width: 768px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 50px; }
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.contact-info p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    gap: 15px;
}

.detail-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.detail-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 5px;
}

.detail-item a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.detail-item a:hover {
    color: var(--accent-purple);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent-blue);
    background: var(--accent-blue);
    color: white;
    transform: translateY(-5px);
}

/* CONTACT FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    background: white;
    border: 2px solid var(--border-light);
    color: var(--text-primary);
    padding: 15px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.btn-submit {
    align-self: flex-start;
    margin-top: 10px;
}

.form-status {
    font-size: 15px;
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    min-height: 20px;
}

.form-status.success {
    color: #10b981;
}

.form-status.error {
    color: #ef4444;
}

/* FOOTER */
.footer {
    padding: 50px 0;
    background: var(--text-primary);
    color: white;
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 8px 0;
    opacity: 0.9;
}

/* ANIMATIONS */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

section {
    animation: slideInUp 0.8s ease forwards;
}

@media (max-width: 768px) {
    .hero-title { font-size: 48px; }
    .hero-subtitle { font-size: 22px; }
    .section-title { font-size: 36px; }
}
