/* public/css/portfolio.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-base: #0a0e17;
    --bg-surface: #111827;
    --bg-surface-light: #1f2937;
    --bg-glass: rgba(17, 24, 39, 0.7);
    
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-cyan: #06b6d4;
    --accent-cyan-hover: #0891b2;
    --accent-amber: #f59e0b;
    --accent-amber-hover: #d97706;
    --accent-gradient: linear-gradient(135deg, var(--accent-cyan), #3b82f6);
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(6, 182, 212, 0.5);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.15);
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-cyan-hover);
}

img {
    max-width: 100%;
    display: block;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Typography Utilities */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: -2rem auto 4rem auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 4rem;
}

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

.hero-content h1 {
    font-size: 4rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

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

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    z-index: 10;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.7s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

/* Highlight Section (Branding) */
.highlight-section {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.branding-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.branding-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.branding-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.branding-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.toolkit {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.tool-tag {
    background: var(--bg-surface-light);
    border: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-focus);
    box-shadow: var(--shadow-glow);
}

.project-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-light);
}

.project-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* Leadership & Certifications */
.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    height: 100%;
}

.card-glass h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-glass p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cert-list {
    list-style: none;
}

.cert-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.cert-list li:last-child {
    border-bottom: none;
}

.cert-icon {
    color: var(--accent-amber);
    font-size: 1.5rem;
}

.leadership-image {
    width: 100%;
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

/* About Me */
.about-section {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
}

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

.about-image {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

/* Footer & Contact */
footer {
    padding: 6rem 0 3rem 0;
    border-top: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-full);
    background: var(--bg-surface-light);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-control {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    padding: 1rem;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
}

/* Background Elements */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(10, 14, 23, 0) 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid,
    .branding-grid,
    .leadership-grid,
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .branding-grid,
    .about-grid {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.skill-category {
    text-align: center;
}

.skill-category h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.skills-list .tech-tag {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: var(--bg-surface-light);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.skills-list .tech-tag:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--border-focus);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

