/* style.css - Premium Design System for ASA Portfolio */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
    --bg-base: #000000;
    --bg-surface: #060608;
    --bg-surface-hover: #0d0d11;
    --border-color: rgba(255, 0, 60, 0.25);
    --border-active: #ff003c;
    
    --primary: #ff003c;         /* Vivid Neon Red */
    --primary-glow: rgba(255, 0, 60, 0.35);
    --secondary: #99001b;       /* Deep Crimson */
    --secondary-glow: rgba(153, 0, 27, 0.25);
    --accent: #ff3366;          /* Hot Pink/Light Red */
    
    --text-primary: #ffffff;
    --text-secondary: #cdd5dc;
    --text-muted: #7e8b96;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Dynamic Ambient Glows */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
}
.glow-1 {
    background: var(--primary);
    top: -200px;
    left: -200px;
    animation: floatGlow 15s infinite alternate ease-in-out;
}
.glow-2 {
    background: var(--secondary);
    bottom: -200px;
    right: -200px;
    animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Glassmorphism Panel Utilities */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

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

.cta-button {
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: 1px solid var(--primary);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px var(--primary-glow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--primary, #ff003c);
    background: var(--primary);
    color: #000;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 245, 212, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-secondary {
    text-decoration: none;
    color: #fff;
    border: 1px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition-smooth);
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(255, 0, 60, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.2), rgba(157, 78, 221, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-avatar {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-base);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 10;
}

.hero-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(8, 9, 13, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-badge span {
    font-size: 1.8rem;
}

.hero-badge div h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-badge div p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Portfolio Section */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--bg-base);
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

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

.portfolio-card {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.portfolio-img-container {
    width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
    border-radius: 15px 15px 0 0;
}

.portfolio-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img-container img {
    transform: scale(1.08);
}

.portfolio-info {
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

.portfolio-category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.portfolio-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.portfolio-card:hover {
    border-color: var(--border-active);
    box-shadow: 0 0 25px rgba(255, 0, 60, 0.15);
}

/* About / Timeline Section */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
}

.about-intro h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-intro p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.skills-wrapper {
    margin-top: 40px;
}

.skill-item {
    margin-bottom: 24px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 3px solid var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.timeline-date {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 32px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-text h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.contact-text p {
    font-size: 1.05rem;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    padding: 40px;
}

.form-group {
    position: relative;
    margin-bottom: 32px;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    padding: 10px 0;
    color: #fff;
    font-size: 1rem;
    outline: none;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-label {
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -18px;
    font-size: 0.8rem;
    color: var(--primary);
}

.form-input:focus {
    border-bottom-color: var(--primary);
}

textarea.form-input {
    min-height: 100px;
    resize: none;
}

.submit-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: #fff;
    padding: 14px 40px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--primary);
    background: var(--primary);
    color: #000;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 40px;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img-wrapper {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.lightbox-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-info h3 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.lightbox-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 0, 60, 0.1);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.lightbox-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.lightbox-metadata {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.meta-item h5 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.meta-item p {
    font-weight: 600;
}

.close-lightbox {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-lightbox:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-grid,
    .about-grid,
    .contact-container,
    .lightbox-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px 0;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-img-wrapper {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links, .cta-button {
        display: none; /* In production we would add a hamburger menu, for now simplified */
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Commission Pricelist Styles */
.commission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.commission-card {
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-surface);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.commission-card:hover {
    border-color: var(--border-active);
    box-shadow: 0 0 25px rgba(255, 0, 60, 0.2);
    transform: translateY(-5px);
}

.commission-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    font-family: var(--font-heading);
}

.commission-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 16px 0;
    font-family: var(--font-heading);
}

.commission-price span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.commission-features {
    list-style: none;
    margin: 20px 0 30px 0;
    width: 100%;
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.commission-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.commission-features li::before {
    content: '✦';
    color: var(--primary);
}

.commission-badge {
    position: absolute;
    top: 18px;
    right: -32px;
    background: var(--primary);
    color: #000;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 30px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

