/* ==========================================================================
   1. FONTS, VARIABLES & GLOBAL RESETS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --bg-dark: #120526;       
    --accent-bright: #7F1DFF; 
    --accent-pink: #A3299E;   
    --text-white: #FFFFFF;
    --text-muted: #BDB7C5;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.12);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 10% 20%, rgba(127, 29, 255, 0.12) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(163, 41, 158, 0.12) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 70px;
}

h1, h2, h3, h4, p, li, span, a {
    color: var(--text-white);
}

.pink-slash, .pink-text {
    color: var(--accent-pink) !important;
    font-weight: 800 !important;
}

.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   2. NAVIGATION BAR
   ========================================================================== */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 5, 38, 0.94);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 12px 0;
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-white);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-pink);
}

.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-icons a {
    color: var(--text-white);
    display: flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
    color: var(--accent-pink);
    transform: translateY(-2px);
}

/* ==========================================================================
   3. HERO SECTION & DNA ANIMATION
   ========================================================================== */
.hero-terminal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 60px 0 40px 0;
    width: fit-content;
    margin: 0 auto;
}

.hero-left {
    width: 40px;
    height: 150px;
    flex-shrink: 0;
    position: relative;
}

.hero-right {
    text-align: left;
}

.typing-header {
    font-size: 2.6rem;
    margin: 0 0 4px 0;
    display: inline-flex;
    align-items: center;
    font-weight: 800;
}

.typing-header strong {
    font-weight: 800;
}

/* Permanent Neon Pink Cursor */
.custom-cursor {
    display: inline-block !important;
    width: 3px !important;
    height: 2.2rem !important;
    background-color: var(--accent-pink) !important;
    box-shadow: 0 0 10px var(--accent-pink) !important;
    margin-left: 6px !important;
    animation: blink-cursor 0.75s infinite !important;
    vertical-align: middle !important;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 0 4px 0;
}

.location-tag {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dna-wrapper-vertical {
    position: relative;
    width: 40px;
    height: 150px;
}

.dna-wrapper-vertical .dna-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-bright);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-bright);
    left: 15px;
    top: calc(4px + (var(--i) - 1) * 24px);
    animation: dna-twist-vertical 2s ease-in-out infinite;
    animation-delay: var(--d);
}

.dna-wrapper-vertical .second-strand {
    background: var(--accent-pink);
    box-shadow: 0 0 10px var(--accent-pink);
    animation-name: dna-twist-vertical-reverse;
}

@keyframes dna-twist-vertical {
    0%, 100% { transform: translateX(-18px) scale(1.2); opacity: 1; }
    50% { transform: translateX(18px) scale(0.7); opacity: 0.4; }
}

@keyframes dna-twist-vertical-reverse {
    0%, 100% { transform: translateX(18px) scale(0.7); opacity: 0.4; }
    50% { transform: translateX(-18px) scale(1.2); opacity: 1; }
}

.glow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    background-color: var(--accent-bright);
    box-shadow: 0 0 15px rgba(127, 29, 255, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(127, 29, 255, 0.85);
}

/* Container for the Creative Portfolio & VSCO buttons */
.project-actions-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Violet Glow Button */
.glow-btn.violet {
    background-color: var(--accent-bright) !important;
    box-shadow: 0 0 15px rgba(127, 29, 255, 0.5) !important;
}

.glow-btn.violet:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 25px rgba(127, 29, 255, 0.85) !important;
}

/* Pink Glow Button */
.glow-btn.pink {
    background-color: var(--accent-pink) !important;
    box-shadow: 0 0 15px rgba(163, 41, 158, 0.5) !important;
}

.glow-btn.pink:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 25px rgba(163, 41, 158, 0.85) !important;
}

/* ==========================================================================
   4. SECTIONS & ABOUT ME (SQUARE PHOTO FRAMING)
   ========================================================================== */
.section-block {
    padding: 45px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header.center {
    justify-content: center;
}

.section-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.social-badge {
    border: 1px solid var(--accent-pink);
    color: var(--text-white);
    padding: 4px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.social-badge:hover {
    background: var(--accent-pink);
    box-shadow: 0 0 12px rgba(163, 41, 158, 0.5);
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.about-row {
    display: flex;
    gap: 30px;
    align-items: center;
}

.about-row.reverse {
    flex-direction: row;
}

.about-text {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.7;
    background: transparent !important;
}

.about-photo-frame {
    width: 280px;
    height: 280px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.responsive-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    border: 1px dashed var(--glass-border);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
}

/* ==========================================================================
   5. EXPERIENCE SECTION
   ========================================================================== */
.exp-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.exp-tabs-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 180px;
    flex-shrink: 0;
}

.exp-pill {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    text-align: left;
    font-weight: 500;
    transition: all 0.2s ease;
}

.exp-pill:hover, .exp-pill.active {
    border-color: var(--accent-pink);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(163, 41, 158, 0.4);
    transform: translateY(-2px);
}

.exp-card {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.8rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.exp-card:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(163, 41, 158, 0.3);
    transform: translateY(-3px);
}

.exp-pane { display: none; }
.exp-pane.active { display: block; }

.sub-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: -4px 0 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sub-location svg {
    color: var(--accent-pink);
    flex-shrink: 0;
}

/* ==========================================================================
   6. SERVICE SECTION
   ========================================================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.8rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(163, 41, 158, 0.3);
    transform: translateY(-4px);
}

.img-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Service Section Photo Slots (Taller) */
.mini-photo-slot {
    flex: 1;
    height: 120px; /* Increased from 70px */
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    overflow: hidden;
}

.full-photo-slot {
    margin-top: 15px;
    height: 160px; /* Increased from 90px */
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    overflow: hidden;
}

/* Projects Section Thumbnails (Taller) */
.project-thumb {
    width: 100%;
    height: 190px; /* Increased from 140px */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

/* ==========================================================================
   7. PROJECTS SECTION
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.project-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
}

.project-item:hover {
    transform: translateY(-4px);
}

.project-item:hover .project-thumb {
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(163, 41, 158, 0.35);
}

.project-caption {
    margin-top: 10px;
    font-weight: 600;
    color: var(--text-white);
}

.canva-card-wrapper {
    margin-top: 25px;
}

.canva-card {
    display: block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.canva-card:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(163, 41, 158, 0.35);
    transform: translateY(-3px);
}

/* ==========================================================================
   8. AWARDS & FOOTER (FLEXBOX NO-OVERLAP PILLS)
   ========================================================================== */
.awards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    width: 100%;
}

.award-pill {
    display: inline-flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    line-height: 1.4;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.2s ease;
    max-width: 100%;
    word-break: break-word;
}

.award-pill:hover {
    border-color: var(--accent-bright);
    box-shadow: 0 0 16px var(--accent-bright);
    transform: translateY(-2px);
}

.award-pill.clickable {
    cursor: pointer;
}

.award-pill.clickable:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 0 18px rgba(163, 41, 158, 0.5);
    color: var(--text-white);
}

.site-footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   8.5 CONTACT FORM (TURNSTILE & HONEYPOT)
   ========================================================================== */
.contact-form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 12px 16px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-pink);
    box-shadow: 0 0 14px rgba(163, 41, 158, 0.35);
}

.contact-form button {
    border: none;
    cursor: pointer;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

/* ==========================================================================
   9. MEDIA QUERIES (MOBILE RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 768px) {
    .about-row, .about-row.reverse {
        flex-direction: column;
    }
    .about-photo-frame {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .exp-wrapper { 
        flex-direction: column; 
    }
    .exp-tabs-column { 
        width: 100%; 
        flex-direction: row; 
        overflow-x: auto; 
    }
    .hero-terminal { 
        flex-direction: column; 
        text-align: center; 
    }
    .nav-links { 
        display: none; 
    }
}
