/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-light: #000000;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-gray: #f5f5f5;
    --text-primary: #0a0a0a;
    --text-secondary: #808080;
    --text-light: #ffffff;
    
    /* Accents - Verde Neon + Viola Cyberpunk */
    --cyan: #ADFF2F;
    --magenta: #9D00FF;
    --gradient-main: linear-gradient(135deg, #ADFF2F 0%, #9D00FF 100%);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1400px;
    --section-padding: 120px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    text-decoration: none;
    color: #ADFF2F;
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link[href="workflow.html"]::before {
    content: 'SLATE';
    position: absolute;
    top: -12px;
    right: -15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.5rem;
    font-weight: 900;
    color: #ADFF2F;
    background: rgba(173, 255, 47, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #ADFF2F;
    letter-spacing: 0.05em;
    pointer-events: none;
    z-index: 10;
}

.nav-link:hover {
    color: #ADFF2F;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #b1b1b1;
}

.hero > .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 85vh;
    position: relative;
    padding-bottom: 3rem;
}

.hero-keywords {
    position: absolute;
    top: 10rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-family: var(--font-body);
    font-size: 0.85 rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    text-align: right;
    z-index: 10;
}

.hero-keywords::before {
    content: '';
    position: absolute;
    top: 0;
    right: -0.5rem;
    width: 25px;
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
}

.hero-keywords::after {
    content: '';
    position: absolute;
    top: 0;
    right: -0.5rem;
    width: 1px;
    height: 25px;
    background: rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: absolute;
    right: 1%;
    bottom: 0;
    width: 55%;
    z-index: 2;
    line-height: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 90vh;
    object-fit: contain;
    object-position: bottom right;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: right;
    width: 42%;
    align-self: flex-end;
    position: absolute;
    bottom: 3rem;
    left: 25%;
    transform: translateX(-50%);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    font-weight: 800;
    line-height: 0.80   ;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    margin-top: -0.5rem;
}


.hero-gradient-text {
    color: #ADFF2F;
    -webkit-text-fill-color: #ADFF2F;
    -webkit-text-stroke: 2px #000000;
}

.gradient-text {
    color: #ADFF2F;
    -webkit-text-fill-color: #ADFF2F;
}

.accent-cyan {
    color: var(--cyan);
    font-weight: 600;
}

.hero-cta {
    margin-top: 0;
    margin-bottom: 0;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #ADFF2F;
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #0a0a0a;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-main);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
}

.scroll-arrow {
    width: 1px;
    height: 30px;
    background: var(--text-secondary);
    animation: scroll-bounce 2s ease-in-out infinite;
}

/* ========================================
   WORK SECTION
   ======================================== */

.work-section {
    padding: 2rem 0 4rem 0;
    background: #0a0a0a;
}

.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    margin-top: 0;
    padding-top: 0;
    color: #ffffff;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 2rem;
    border-radius: 10px;
}

.section-subtitle-clean {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Dynamic Gallery Grid - Masonry Style */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.large {
    grid-column: span 4;
    grid-row: span 2;
    height: 600px;
}

.project-card.medium {
    grid-column: span 4;
    height: 285px;
}

.project-card.small {
    grid-column: span 8;
    height: 285px;
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
}

.project-card:hover .placeholder-image {
    filter: brightness(0.3) grayscale(0.3);
    transform: scale(1.05);
}

.project-card:hover .project-image img {
    filter: brightness(0.3);
    transform: scale(1.05);
}
/* Project Overlay (appears on hover) */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    color: var(--text-light);
}

.project-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid var(--cyan);
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cyan);
}

/* Hover border effect */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 20px;
    transition: border-color 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.project-card:hover::before {
    border-color: var(--cyan);
}

/* ========================================
   ABOUT SNIPPET
   ======================================== */

.about-snippet {
    padding: 2rem 0 4rem 0;
    background: #0a0a0a;
    margin-top: 0;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.btn-secondary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 5rem 0 3rem 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-email {
    font-size: 1.5rem;
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--magenta);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

.about-hero {
    padding: 10rem 0 6rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--text-light);
    text-align: center;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.lead-text {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.about-main {
    padding: var(--section-padding) 0;
}

.about-grid {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 5rem;
}

.about-section .section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.about-section .section-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.about-section .section-content p {
    margin-bottom: 1.5rem;
}

.about-section .section-content p:last-child {
    margin-bottom: 0;
}

/* Highlight Section (SLATE) */
.highlight-section {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
    padding: 3rem;
    border-radius: 30px;
    border: 2px solid rgba(0, 217, 255, 0.2);
}

.methodology-intro {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.methodology-points {
    display: grid;
    gap: 2rem;
}

.methodology-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.methodology-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-item {
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.expertise-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.expertise-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Certifications */
.certifications {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.cert-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: 20px;
    align-items: flex-start;
}

.cert-icon {
    font-size: 3rem;
    line-height: 1;
}

.cert-details h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cert-org {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.cert-status {
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.9rem;
}

/* About CTA */
.about-cta {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .project-card.large,
    .project-card.medium,
    .project-card.small {
        grid-column: span 6;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .nav {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 100svh;
        padding: 6rem 0 3rem 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card.large,
    .project-card.medium,
    .project-card.small {
        grid-column: span 1;
        min-height: 350px;
    }

    .project-overlay {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}