/* CSS Variables */
:root {
    --purple-dark: #6B2D8B;
    --purple-main: #8B3FA8;
    --purple-light: #9B4FB8;
    --orange-main: #FF4D2A;
    --orange-light: #FF6B4A;
    --orange-dark: #E03D1A;
    --black: #0A0A0A;
    --dark-gray: #1A1A1A;
    --gray: #2A2A2A;
    --light-gray: #888888;
    --white: #FFFFFF;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: 2px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--orange-main);
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 77, 42, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo .logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--white);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--orange-main);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--black) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(139, 63, 168, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 77, 42, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero-logo {
    max-width: 400px;
    width: 90%;
    height: auto;
    margin-bottom: 30px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.tagline {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Social Links Section */
.social-section {
    background: var(--purple-dark);
    padding: 40px 0;
}

.social-links-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 28px;
    height: 28px;
}

.social-link:hover {
    color: var(--orange-main);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--dark-gray);
}

/* Venn Diagram Container */
.venn-diagram-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* SVG Venn Diagram */
.venn-diagram {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

/* Left Circle (Nick - Purple) */
.venn-circle-left {
    fill: #8B3FA8;
    fill-opacity: 0.8;
    stroke: #8B3FA8;
    stroke-width: 3;
    transition: all 0.3s ease;
}

.venn-circle-left:hover {
    fill-opacity: 1;
}

/* Right Circle (Jamie - Orange) */
.venn-circle-right {
    fill: #FF4D2A;
    fill-opacity: 0.8;
    stroke: #FF4D2A;
    stroke-width: 3;
    transition: all 0.3s ease;
}

.venn-circle-right:hover {
    fill-opacity: 1;
}

/* Text Styles */
.venn-initials {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 3px;
    text-anchor: middle;
    fill: var(--white);
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.8);
    stroke-width: 2;
}

.venn-name-small {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    text-anchor: middle;
    fill: var(--white);
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.8);
    stroke-width: 1.5;
}

.venn-skill-unique {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 2px;
    text-anchor: middle;
    fill: var(--white);
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.8);
    stroke-width: 1.5;
}

.venn-skill-shared {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 2px;
    text-anchor: middle;
    fill: var(--white);
    paint-order: stroke fill;
    stroke: rgba(0, 0, 0, 0.9);
    stroke-width: 2;
}

.venn-description {
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 0.5px;
    text-anchor: middle;
    fill: var(--light-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .venn-diagram {
        max-width: 600px;
    }

    .venn-initials {
        font-size: 36px;
    }

    .venn-name-small {
        font-size: 16px;
    }

    .venn-skill-unique {
        font-size: 18px;
    }

    .venn-skill-shared {
        font-size: 20px;
    }

    .venn-description {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .venn-diagram {
        max-width: 100%;
    }

    .venn-initials {
        font-size: 28px;
    }

    .venn-name-small {
        font-size: 13px;
    }

    .venn-skill-unique {
        font-size: 15px;
    }

    .venn-skill-shared {
        font-size: 16px;
    }

    .venn-description {
        font-size: 9px;
    }
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--dark-gray);
}

.project-section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--orange-main);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 60px 0 40px 0;
    text-align: center;
}

.project-section-title:first-of-type {
    margin-top: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

.project-card {
    background: var(--gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-thumbnail {
    height: 180px;
    background: linear-gradient(135deg, var(--purple-dark), var(--purple-main));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.editing-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--orange-main);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 77, 42, 0.4);
}

.project-card.in-editing {
    cursor: pointer;
}

.project-card.in-editing:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-placeholder {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--orange-main);
    letter-spacing: 3px;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.project-description {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-credits {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.credits-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--orange-main);
    letter-spacing: 1px;
}

.project-credits p {
    color: var(--light-gray);
    font-size: 0.85rem;
    margin-top: 5px;
}

.view-details-hint {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--orange-main);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.project-info:hover {
    cursor: pointer;
}

.project-info:hover .view-details-hint {
    color: var(--white);
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card:hover .project-overlay {
    pointer-events: auto;
}

.play-icon {
    font-size: 4rem;
    color: var(--orange-main);
    margin-bottom: 15px;
}

.watch-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    right: -40px;
    top: 0;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    color: var(--orange-main);
}

.modal-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Credits Container */
.credits-container {
    margin-top: 30px;
    padding: 25px;
    background: var(--gray);
    border-radius: 10px;
    color: var(--white);
    max-height: 400px;
    overflow-y: auto;
}

.credits-container h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--orange-main);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.credits-section {
    margin-bottom: 20px;
}

.credits-section h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--purple-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.credits-section p {
    color: var(--light-gray);
    font-size: 0.95rem;
    margin: 4px 0;
    line-height: 1.6;
}

.credits-section a {
    color: var(--orange-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.credits-section a:hover {
    color: var(--orange-light);
}

.credits-container::-webkit-scrollbar {
    width: 8px;
}

.credits-container::-webkit-scrollbar-track {
    background: var(--dark-gray);
    border-radius: 4px;
}

.credits-container::-webkit-scrollbar-thumb {
    background: var(--orange-main);
    border-radius: 4px;
}

.credits-container::-webkit-scrollbar-thumb:hover {
    background: var(--orange-light);
}

/* Project Pages */
.project-page-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.frame-section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--orange-main);
    margin-top: 20px;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.frameio-embed {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    background: var(--gray);
}

.project-page-description {
    color: var(--light-gray);
    line-height: 1.8;
}

.project-page-description p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.project-page-credits {
    margin-top: 20px;
}

.project-page-credits h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--orange-main);
    margin-top: 15px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.project-page-credits p {
    color: var(--light-gray);
    font-size: 1rem;
}

.project-page-placeholder {
    width: 100%;
    height: 600px;
    background: linear-gradient(135deg, var(--purple-dark), var(--gray));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.placeholder-icon {
    font-size: 5rem;
}

.project-page-placeholder p {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Media Section */
.media {
    padding: 100px 0;
    background: var(--black);
}

.media-subsection {
    margin-bottom: 80px;
    text-align: center;
}

.media-subsection:last-child {
    margin-bottom: 0;
}

.media-subtitle {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    letter-spacing: 2px;
}

.media-subtitle svg {
    width: 40px;
    height: 40px;
    fill: var(--orange-main);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.video-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: var(--gray);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.instagram-grid .instagram-media {
    margin: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    background: var(--gray);
    border-radius: 10px;
}

.media-cta {
    display: inline-block;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .video-grid,
    .video-grid-4,
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid,
    .video-grid-4,
    .instagram-grid {
        grid-template-columns: 1fr;
    }

    .media-subtitle {
        font-size: 1.5rem;
    }
}

/* Footer */
.footer {
    background: var(--dark-gray);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--orange-main);
}

.footer-social svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modal-close {
        right: 10px;
        top: -50px;
        font-size: 35px;
    }

    .modal-content {
        width: 95%;
    }

    .play-icon {
        font-size: 3rem;
    }

    .watch-text {
        font-size: 1.2rem;
    }

    .credits-container {
        margin-top: 20px;
        padding: 20px;
        max-height: 300px;
    }

    .credits-container h3 {
        font-size: 1.4rem;
    }

    .credits-section h4 {
        font-size: 1rem;
    }

    .credits-section p {
        font-size: 0.85rem;
    }

    .editing-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        top: 10px;
        right: 10px;
    }

    .frameio-embed,
    .project-page-placeholder {
        height: 400px;
    }

    .project-page-description p {
        font-size: 1rem;
    }

    .placeholder-icon {
        font-size: 3rem;
    }

    .project-page-placeholder p {
        font-size: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        align-items: center;
        padding: 30px;
        gap: 25px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .section-title {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.4rem;
    }

    .hero-logo {
        max-width: 280px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .venn-container {
        width: 300px;
        height: 240px;
    }

    .venn-circle {
        width: 160px;
        height: 160px;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .social-links-row {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .contact-form {
        padding: 25px;
    }
}
