/* ==========================================
   STROBIE - Lighting Designer Portfolio
   Monochromatic Theme
   ========================================== */

/* CSS Variables */
:root {
    --black: #000000;
    --dark-gray: #1a1a1a;
    --mid-gray: #333333;
    --light-gray: #666666;
    --lighter-gray: #999999;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --accent: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mid-gray);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

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

/* Strobe Icon */
.strobe-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

.filament {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, var(--white), transparent);
    position: relative;
    animation: flicker 3s ease-in-out infinite;
}

.filament::before,
.filament::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 1px;
    background: var(--white);
    left: -3px;
}

.filament::before {
    top: 25%;
}

.filament::after {
    bottom: 25%;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.6); }
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    45% { opacity: 1; }
    50% { opacity: 0.3; }
    55% { opacity: 1; }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
}

.strobe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: strobeShift 10s ease-in-out infinite;
}

@keyframes strobeShift {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-strobe {
    width: 120px;
    height: 120px;
    border: 3px solid var(--white);
    border-radius: 50%;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroStrobePulse 3s ease-in-out infinite;
}

.filament-hero {
    width: 4px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--white), transparent);
    position: relative;
    animation: flicker 4s ease-in-out infinite;
}

.filament-hero::before,
.filament-hero::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--white);
    left: -8px;
}

.filament-hero::before {
    top: 30%;
}

.filament-hero::after {
    bottom: 30%;
}

@keyframes heroStrobePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
                    inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 60px rgba(255, 255, 255, 0.8),
                    inset 0 0 40px rgba(255, 255, 255, 0.2);
    }
}

.hero h1 {
    font-size: 8rem;
    margin: 0;
    letter-spacing: 10px;
    animation: fadeInUp 1s ease-out;
}

.glitch {
    position: relative;
    color: var(--white);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin: 1rem 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.subtitle {
    font-size: 1rem;
    color: var(--lighter-gray);
    letter-spacing: 2px;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 700;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--white));
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(0); }
}

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

/* ==========================================
   SECTIONS
   ========================================== */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section-header h2 {
    font-size: 4rem;
    letter-spacing: 8px;
}

.strobe-icon-small {
    width: 30px;
    height: 30px;
    border: 2px solid var(--white);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filament-small {
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom, transparent, var(--white), transparent);
    position: relative;
    animation: flicker 3s ease-in-out infinite;
}

.filament-small::before,
.filament-small::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 1px;
    background: var(--white);
    left: -2px;
}

.filament-small::before {
    top: 25%;
}

.filament-small::after {
    bottom: 25%;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    background: var(--dark-gray);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.lead {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--off-white);
}

.about-text > p {
    font-size: 1.1rem;
    color: var(--lighter-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

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

.skill-item {
    border: 1px solid var(--mid-gray);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--white);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.skill-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.skill-item p {
    color: var(--lighter-gray);
    font-size: 0.9rem;
}

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */
.portfolio {
    background: var(--black);
}

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

.portfolio-item {
    border: 1px solid var(--mid-gray);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    border-color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.portfolio-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--mid-gray) 100%);
    position: relative;
    overflow: hidden;
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.strobe-effect {
    width: 80px;
    height: 80px;
    border: 2px solid var(--light-gray);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strobe-effect::before {
    content: '';
    width: 3px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--light-gray), transparent);
    position: absolute;
}

.portfolio-item:hover .strobe-effect {
    border-color: var(--white);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.portfolio-item:hover .strobe-effect::before {
    background: linear-gradient(to bottom, transparent, var(--white), transparent);
}

.portfolio-info {
    padding: 2rem;
    background: var(--dark-gray);
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.portfolio-info p {
    color: var(--lighter-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--mid-gray);
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid var(--light-gray);
}

/* ==========================================
   REFERENCES SECTION
   ========================================== */
.references {
    background: var(--dark-gray);
}

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

.reference-item {
    border: 1px solid var(--mid-gray);
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.reference-item:hover {
    border-color: var(--white);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.quote-mark {
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--light-gray);
    line-height: 1;
    margin-bottom: 1rem;
}

.reference-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--off-white);
    margin-bottom: 2rem;
    font-style: italic;
}

.reference-author {
    border-top: 1px solid var(--mid-gray);
    padding-top: 1rem;
}

.author-name {
    font-weight: 700;
    letter-spacing: 1px;
}

.author-title {
    color: var(--lighter-gray);
    font-size: 0.9rem;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    background: var(--black);
    text-align: center;
}

.contact-intro {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.contact-link {
    font-size: 2.5rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 3px;
    color: var(--white);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-link:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.contact-link:hover::after {
    transform: scaleX(1);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--dark-gray);
    border-top: 1px solid var(--mid-gray);
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.footer p {
    color: var(--lighter-gray);
    font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

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

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

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

    .cta-buttons {
        flex-direction: column;
    }

    .contact-link {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 3rem;
        letter-spacing: 5px;
    }

    .hero-strobe {
        width: 80px;
        height: 80px;
    }

    .tagline {
        font-size: 1.2rem;
    }

    section {
        padding: 4rem 0;
    }
}
