/* ========================================
   PREMIUM PORTFOLIO - LUXURY COLOR SCHEME
   Dark Blue + Gold + Silver Theme
   ======================================== */

:root {
    /* PRIMARY COLORS - Gold & Blue */
    --primary-gold: #d4af37;
    --primary-blue: #0a1428;
    --secondary-gold: #b8860b;
    --accent-silver: #c0c0c0;
    
    /* SECONDARY COLORS */
    --gradient-primary: linear-gradient(135deg, #d4af37, #b8860b);
    --gradient-secondary: linear-gradient(135deg, #c0c0c0, #a9a9a9);
    
    /* BACKGROUNDS */
    --bg-primary: #0a1428;
    --bg-secondary: #121f3b;
    --bg-tertiary: #1a2a47;
    --card-bg: rgba(26, 42, 71, 0.6);
    --glass-bg: rgba(212, 175, 55, 0.05);
    
    /* TEXT COLORS */
    --text-light: #f8f9fa;
    --text-muted: #b0b9c6;
    --text-dark: #0a1428;
    
    /* BORDERS */
    --border-color: rgba(212, 175, 55, 0.2);
    --border-light: rgba(192, 192, 192, 0.1);
    
    /* SHADOWS */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(212, 175, 55, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

body.light-mode {
    --primary-gold: #b8860b;
    --bg-primary: #f5f5f5;
    --bg-secondary: #e8e8e8;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-light: #0a1428;
    --text-muted: #555555;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

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

/* ========== ANIMATIONS ========== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* ========== SCROLL PROGRESS ========== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    width: 0;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ========== NAVBAR ========== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 20, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.6s ease-out;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.logo-icon {
    font-size: 1.8rem;
    animation: rotateIcon 8s infinite linear;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

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

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

.nav-link:hover {
    color: var(--primary-gold);
}

#themeToggle {
    background: none;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 1.2rem;
    padding: 0.5rem 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#themeToggle:hover {
    background: var(--primary-gold);
    color: var(--bg-primary);
    box-shadow: var(--glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 5px 0;
    transition: 0.3s ease;
    border-radius: 2px;
}

/* ========== HERO SECTION ========== */

.hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(192, 192, 192, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    animation: float 15s infinite ease-in-out;
    border-radius: 50%;
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 50%;
    animation: pulse 3s infinite ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-weight: 600;
    animation: slideInRight 0.8s ease-out 0.2s both;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(2rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.hero-roles {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.role-badge {
    padding: 0.6rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* ========== BUTTONS ========== */

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.social-icon {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: rgba(212, 175, 55, 0.08);
    color: var(--primary-gold);
    text-decoration: none;
    border-radius: 30px;
    border: 1.5px solid var(--border-color);
    transition: all 0.3s ease;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: var(--primary-gold);
    color: var(--text-dark);
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* ========== SECTIONS ========== */

section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3.5rem;
    font-weight: 900;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: var(--gradient-primary);
    margin: 1.5rem auto;
    border-radius: 3px;
    animation: slideInLeft 0.6s ease-out 0.2s both;
    box-shadow: var(--glow);
}

/* ========== ABOUT SECTION ========== */

.about {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(192, 192, 192, 0.02) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content > div:first-child {
    animation: slideInLeft 0.8s ease-out;
}

.about-content h3 {
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.8rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
    animation: scaleIn 0.6s ease-out;
    backdrop-filter: blur(10px);
}

.highlight-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.highlight-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-gold);
    animation: pulse 2s ease-in-out infinite;
}

.highlight-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.8rem;
    font-weight: 600;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s ease-out;
}

/* ========== PROFILE IMAGE STYLES ========== */

.profile-image {
    position: relative;
    width: 320px;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25);
    border: 3px solid rgba(212, 175, 55, 0.3);
    animation: float 5s ease-in-out infinite;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: all 0.3s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-image:hover {
    box-shadow: 0 30px 70px rgba(212, 175, 55, 0.35);
}

.image-fallback {
    font-size: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.image-placeholder {
    width: 320px;
    height: 360px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25);
    animation: float 5s ease-in-out infinite;
    position: relative;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.image-placeholder:hover {
    box-shadow: 0 30px 70px rgba(212, 175, 55, 0.35);
}

@media (max-width: 768px) {
    .profile-image {
        width: 250px;
        height: 280px;
    }
    
    .image-fallback {
        font-size: 5rem;
    }

    .image-placeholder {
        width: 250px;
        height: 280px;
        font-size: 5rem;
    }
}

/* ========== EDUCATION SECTION ========== */

.education {
    background: var(--bg-secondary);
}

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

.education-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 3rem;
}

.timeline-item:nth-child(odd) {
    margin-right: 50%;
    padding-right: 3rem;
    text-align: right;
}

.timeline-date {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.timeline-content {
    background: var(--card-bg);
    padding: 1.8rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}

.timeline-content h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.degree-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

/* ========== PROJECTS SECTION ========== */

.projects {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.02) 0%, rgba(192, 192, 192, 0.01) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: all 0.5s ease;
}

.project-card:hover::before {
    top: -50%;
    left: -50%;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.project-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.project-card h3 {
    font-size: 1.6rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-weight: 800;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.7;
}

.project-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-features li {
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.project-features li:hover {
    color: var(--primary-gold);
}

.project-tags {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-gold);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tag:hover {
    transform: scale(1.1);
    background: rgba(212, 175, 55, 0.25);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* ========== SKILLS SECTION ========== */

.skills {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--card-bg);
    padding: 2.2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: scaleIn 0.6s ease-out;
    backdrop-filter: blur(10px);
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.skill-category h4 {
    font-size: 1.4rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    color: var(--text-muted);
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.skill-category li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.skill-category li:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
}

/* ========== IDENTITY SECTION ========== */

.identity {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(192, 192, 192, 0.02) 100%);
}

.identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.identity-block {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1.5px solid var(--border-color);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    backdrop-filter: blur(10px);
    text-align: center;
}

.identity-block:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.identity-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.identity-block h3 {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-weight: 800;
}

.identity-block p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ========== CONTACT SECTION ========== */

.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.contact-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    animation: float 2s ease-in-out infinite;
}

.contact-card h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-silver);
    text-decoration: underline;
}

.contact-cta {
    text-align: center;
    padding: 2.5rem;
    background: var(--glass-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    animation: scaleIn 0.6s ease-out;
    backdrop-filter: blur(10px);
}

.contact-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ========== FOOTER ========== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-weight: 800;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: var(--primary-gold);
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }

    .about-content {
        gap: 2.5rem;
    }

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

    .identity-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.85rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 3rem);
    }

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

    .education-timeline::before {
        display: none;
    }

    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        margin: 0;
        padding: 0;
        text-align: left;
    }

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

    .highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

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

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

    .section-title::after {
        width: 80px;
    }

    .project-card {
        padding: 1.5rem;
    }

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

    .profile-image {
        width: 200px;
        height: 240px;
    }

    .image-fallback {
        font-size: 4rem;
    }

    .about-content h3 {
        font-size: 1.6rem;
    }
}
