Spaces:
Running
Running
Download index.html from Oloud/anycoder-9e10d253: direct link, hf CLI and curl.
- Browser
- Download file 39.2 kB
-
https://huggingface.co/spaces/Oloud/anycoder-9e10d253/resolve/main/index.html
- Command line
-
hf download hf://spaces/Oloud/anycoder-9e10d253/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Oloud/anycoder-9e10d253/resolve/main/index.html
39.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ALEXANDER VANCE | Cinematographer & Director</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&display=swap" rel="stylesheet">
<!-- FontAwesome for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* =========================================
RESET & VARIABLES
========================================= */
:root {
--bg-color: #050505;
--surface-color: #121212;
--text-primary: #ffffff;
--text-secondary: #a0a0a0;
--accent-color: #d4af37; /* Muted Gold */
--accent-hover: #f9d868;
--spacing-unit: 1rem;
--transition-speed: 0.6s;
--easing: cubic-bezier(0.19, 1, 0.22, 1); /* Cinematic Ease */
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background-color: var(--bg-color);
color: var(--text-primary);
font-family: 'Inter', sans-serif;
overflow-x: hidden;
line-height: 1.6;
}
h1, h2, h3, h4 {
font-family: 'Cinzel', serif;
font-weight: 700;
letter-spacing: 0.05em;
}
a {
text-decoration: none;
color: inherit;
transition: color 0.3s ease;
}
ul {
list-style: none;
}
/* =========================================
UTILITIES & ANIMATIONS
========================================= */
.container {
max-width: 1400px;
margin: 0 auto;
padding: 0 2rem;
}
.section-title {
font-size: 3rem;
margin-bottom: 4rem;
text-align: center;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s var(--easing) forwards;
}
.section-title span {
display: block;
font-size: 1rem;
font-family: 'Inter', sans-serif;
color: var(--accent-color);
margin-bottom: 1rem;
letter-spacing: 0.2em;
text-transform: uppercase;
}
.btn {
display: inline-block;
padding: 1rem 2.5rem;
border: 1px solid var(--text-primary);
color: var(--text-primary);
text-transform: uppercase;
letter-spacing: 0.1em;
font-size: 0.8rem;
transition: all 0.4s var(--easing);
position: relative;
overflow: hidden;
background: transparent;
cursor: pointer;
}
.btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: var(--text-primary);
transition: left 0.4s var(--easing);
z-index: -1;
}
.btn:hover {
color: var(--bg-color);
}
.btn:hover::before {
left: 0;
}
/* Scroll Animation Classes */
.reveal {
opacity: 0;
transform: translateY(50px);
transition: all 1s var(--easing);
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
/* =========================================
HEADER & NAVIGATION
========================================= */
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
padding: 1.5rem 0;
transition: background 0.3s ease, padding 0.3s ease;
}
header.scrolled {
background: rgba(5, 5, 5, 0.95);
padding: 1rem 0;
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255,255,255,0.05);
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-family: 'Cinzel', serif;
font-size: 1.5rem;
font-weight: 700;
letter-spacing: 0.1em;
}
.nav-links {
display: flex;
gap: 3rem;
}
.nav-links a {
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.1em;
position: relative;
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 1px;
background: var(--text-primary);
transition: width 0.3s ease;
}
.nav-links a:hover::after {
width: 100%;
}
.menu-toggle {
display: none;
font-size: 1.5rem;
cursor: pointer;
}
/* =========================================
HERO SECTION
========================================= */
#home {
height: 100vh;
width: 100%;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.video-bg {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
transform: translate(-50%, -50%);
z-index: -2;
object-fit: cover;
filter: brightness(0.4);
}
.hero-content {
position: relative;
z-index: 1;
text-align: center;
max-width: 800px;
padding: 0 1rem;
}
.hero-title {
font-size: 5rem;
line-height: 1.1;
margin-bottom: 1.5rem;
opacity: 0;
animation: fadeInUp 1s 0.5s var(--easing) forwards;
}
.hero-subtitle {
font-size: 1.2rem;
color: var(--text-secondary);
margin-bottom: 3rem;
letter-spacing: 0.2em;
text-transform: uppercase;
opacity: 0;
animation: fadeInUp 1s 0.8s var(--easing) forwards;
}
.scroll-indicator {
position: absolute;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
animation: bounce 2s infinite;
opacity: 0.7;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
40% {transform: translateX(-50%) translateY(-10px);}
60% {transform: translateX(-50%) translateY(-5px);}
}
/* =========================================
ABOUT SECTION
========================================= */
#about {
padding: 8rem 0;
background-color: var(--bg-color);
}
.about-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.about-image {
position: relative;
overflow: hidden;
}
.about-image img {
width: 100%;
height: auto;
filter: grayscale(100%);
transition: filter 0.5s ease, transform 0.5s ease;
}
.about-image:hover img {
filter: grayscale(0%);
transform: scale(1.02);
}
.about-image::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 1px solid var(--accent-color);
opacity: 0;
transition: opacity 0.5s ease;
}
.about-image:hover::after {
opacity: 1;
}
.about-text p {
margin-bottom: 1.5rem;
color: var(--text-secondary);
font-size: 1.1rem;
}
.stats {
display: flex;
gap: 3rem;
margin-top: 2rem;
}
.stat-item h4 {
font-size: 2.5rem;
color: var(--accent-color);
}
.stat-item span {
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--text-secondary);
}
/* =========================================
PORTFOLIO SECTION
========================================= */
#portfolio {
padding: 8rem 0;
background-color: var(--surface-color);
}
.filter-nav {
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 4rem;
flex-wrap: wrap;
}
.filter-btn {
background: none;
border: none;
color: var(--text-secondary);
font-family: 'Inter', sans-serif;
font-size: 0.9rem;
cursor: pointer;
text-transform: uppercase;
letter-spacing: 0.1em;
padding-bottom: 0.5rem;
position: relative;
}
.filter-btn.active, .filter-btn:hover {
color: var(--text-primary);
}
.filter-btn.active::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background: var(--accent-color);
}
.portfolio-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 2rem;
}
.project-card {
position: relative;
overflow: hidden;
cursor: pointer;
aspect-ratio: 16/9;
group: 'project';
}
.project-card img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.8s var(--easing);
}
.project-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.7);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.4s ease;
backdrop-filter: blur(2px);
}
.project-card:hover img {
transform: scale(1.1);
}
.project-card:hover .project-overlay {
opacity: 1;
}
.project-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
transform: translateY(20px);
transition: transform 0.4s ease;
}
.project-cat {
font-size: 0.8rem;
color: var(--accent-color);
text-transform: uppercase;
letter-spacing: 0.1em;
transform: translateY(20px);
transition: transform 0.4s ease 0.1s;
}
.project-card:hover .project-title,
.project-card:hover .project-cat {
transform: translateY(0);
}
/* =========================================
SERVICES SECTION
========================================= */
#services {
padding: 8rem 0;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.service-card {
padding: 3rem 2rem;
border: 1px solid rgba(255,255,255,0.1);
transition: all 0.4s ease;
background: rgba(255,255,255,0.02);
}
.service-card:hover {
border-color: var(--accent-color);
background: rgba(255,255,255,0.05);
transform: translateY(-10px);
}
.service-icon {
font-size: 2rem;
color: var(--accent-color);
margin-bottom: 1.5rem;
}
.service-card h3 {
margin-bottom: 1rem;
font-size: 1.5rem;
}
.service-card p {
color: var(--text-secondary);
font-size: 0.95rem;
}
/* =========================================
CONTACT SECTION
========================================= */
#contact {
padding: 8rem 0;
background-color: var(--surface-color);
}
.contact-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6rem;
}
.contact-info h3 {
font-size: 2rem;
margin-bottom: 1.5rem;
}
.contact-info p {
color: var(--text-secondary);
margin-bottom: 2rem;
}
.contact-details div {
margin-bottom: 1.5rem;
display: flex;
align-items: center;
gap: 1rem;
}
.contact-details i {
color: var(--accent-color);
}
.social-links {
display: flex;
gap: 1.5rem;
margin-top: 2rem;
}
.social-links a {
width: 50px;
height: 50px;
border: 1px solid rgba(255,255,255,0.2);
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
transition: all 0.3s ease;
}
.social-links a:hover {
background: var(--accent-color);
border-color: var(--accent-color);
color: var(--bg-color);
}
.contact-form {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 1rem;
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.1);
color: var(--text-primary);
font-family: 'Inter', sans-serif;
font-size: 1rem;
transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--accent-color);
}
/* =========================================
FOOTER
========================================= */
footer {
padding: 2rem 0;
text-align: center;
border-top: 1px solid rgba(255,255,255,0.05);
font-size: 0.8rem;
color: var(--text-secondary);
}
.built-with {
margin-top: 0.5rem;
color: var(--text-secondary);
font-size: 0.75rem;
}
.built-with a {
color: var(--accent-color);
text-decoration: underline;
}
/* =========================================
MODAL (PROJECT DETAIL)
========================================= */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.9);
z-index: 2000;
opacity: 0;
visibility: hidden;
transition: all 0.5s var(--easing);
display: flex;
justify-content: center;
align-items: center;
padding: 2rem;
}
.modal-overlay.open {
opacity: 1;
visibility: visible;
}
.modal-content {
background: var(--bg-color);
width: 100%;
max-width: 1000px;
max-height: 90vh;
overflow-y: auto;
position: relative;
transform: translateY(50px);
transition: transform 0.5s var(--easing);
border: 1px solid rgba(255,255,255,0.1);
}
.modal-overlay.open .modal-content {
transform: translateY(0);
}
.close-modal {
position: absolute;
top: 1rem;
right: 1.5rem;
font-size: 2rem;
color: var(--text-primary);
cursor: pointer;
z-index: 10;
background: none;
border: none;
transition: color 0.3s ease;
}
.close-modal:hover {
color: var(--accent-color);
}
.modal-media {
width: 100%;
height: 400px;
background: #000;
position: relative;
}
.modal-media img, .modal-media video {
width: 100%;
height: 100%;
object-fit: cover;
}
.modal-info {
padding: 3rem;
}
.modal-tags {
display: flex;
gap: 1rem;
margin-bottom: 1.5rem;
}
.tag {
font-size: 0.75rem;
padding: 0.3rem 0.8rem;
border: 1px solid var(--text-secondary);
border-radius: 50px;
text-transform: uppercase;
color: var(--text-secondary);
}
.modal-info h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.modal-info p {
color: var(--text-secondary);
margin-bottom: 2rem;
}
.credits {
margin-top: 2rem;
padding-top: 2rem;
border-top: 1px solid rgba(255,255,255,0.1);
}
.credits h4 {
color: var(--accent-color);
margin-bottom: 1rem;
font-size: 1rem;
}
.credits ul li {
margin-bottom: 0.5rem;
color: var(--text-secondary);
font-size: 0.9rem;
}
/* =========================================
RESPONSIVE DESIGN
========================================= */
@media (max-width: 992px) {
.hero-title { font-size: 3.5rem; }
.about-grid, .contact-container { grid-template-columns: 1fr; gap: 3rem; }
.about-image { order: -1; }
}
@media (max-width: 768px) {
.menu-toggle { display: block; z-index: 1001; }
.nav-links {
position: fixed;
top: 0;
right: -100%;
width: 70%;
height: 100vh;
background: var(--bg-color);
flex-direction: column;
justify-content: center;
align-items: center;
transition: right 0.5s var(--easing);
box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.nav-links.active { right: 0; }
.hero-title { font-size: 2.5rem; }
.modal-content { width: 100%; height: 100%; max-height: 100vh; border: none; }
.modal-media { height: 250px; }
}
</style>
</head>
<body>
<!-- Header -->
<header id="header">
<div class="container">
<nav>
<div class="logo">ALEXANDER VANCE</div>
<div class="menu-toggle" id="mobile-menu">
<i class="fas fa-bars"></i>
</div>
<ul class="nav-links">
<li><a href="#home" class="nav-link">Home</a></li>
<li><a href="#about" class="nav-link">About</a></li>
<li><a href="#portfolio" class="nav-link">Portfolio</a></li>
<li><a href="#services" class="nav-link">Services</a></li>
<li><a href="#contact" class="nav-link">Contact</a></li>
</ul>
</nav>
</div>
</header>
<!-- Hero Section -->
<section id="home">
<!-- Using a cinematic video background -->
<video class="video-bg" autoplay muted loop playsinline poster="https://picsum.photos/seed/cinema/1920/1080">
<source src="https://assets.mixkit.co/videos/preview/mixkit-stars-in-space-background-1610-large.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="hero-content">
<h1 class="hero-title">Visual Storyteller</h1>
<p class="hero-subtitle">Cinematographer | Director of Photography</p>
<a href="#portfolio" class="btn">View Work</a>
</div>
<div class="scroll-indicator">
<i class="fas fa-chevron-down"></i>
</div>
</section>
<!-- About Section -->
<section id="about">
<div class="container">
<div class="section-title reveal">
<span>The Artist</span>
Behind the Lens
</div>
<div class="about-grid">
<div class="about-image reveal">
<!-- Professional Cinematographer Portrait -->
<img src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80" alt="Cinematographer Portrait">
</div>
<div class="about-text reveal">
<h3>Artistic Vision</h3>
<br>
<p>I believe that every frame tells a story. With over a decade of experience in the industry, I specialize in creating visuals that evoke emotion and leave a lasting impression. My work spans narrative features, high-end commercials, and music videos.</p>
<p>My approach is rooted in a deep understanding of light, composition, and movement. I strive to blend technical precision with artistic spontaneity, ensuring that the final product not only meets but exceeds expectations.</p>
<div class="stats">
<div class="stat-item">
<h4>50+</h4>
<span>Projects</span>
</div>
<div class="stat-item">
<h4>15</h4>
<span>Awards</span>
</div>
<div class="stat-item">
<h4>12</h4>
<span>Years</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Portfolio Section -->
<section id="portfolio">
<div class="container">
<div class="section-title reveal">
<span>Selected Works</span>
Recent Productions
</div>
<div class="filter-nav reveal">
<button class="filter-btn active" data-filter="all">All</button>
<button class="filter-btn" data-filter="commercial">Commercials</button>
<button class="filter-btn" data-filter="film">Short Film</button>
<button class="filter-btn" data-filter="music">Music Video</button>
</div>
<div class="portfolio-grid reveal">
<!-- Project 1 -->
<div class="project-card" data-category="commercial" onclick="openModal('project1')">
<img src="https://picsum.photos/seed/fashion/800/600" alt="Fashion Campaign">
<div class="project-overlay">
<h3 class="project-title">Neon Noir</h3>
<p class="project-cat">Commercial / Fashion</p>
</div>
</div>
<!-- Project 2 -->
<div class="project-card" data-category="film" onclick="openModal('project2')">
<img src="https://picsum.photos/seed/drama/800/600" alt="Drama Scene">
<div class="project-overlay">
<h3 class="project-title">Echoes</h3>
<p class="project-cat">Short Film</p>
</div>
</div>
<!-- Project 3 -->
<div class="project-card" data-category="music" onclick="openModal('project3')">
<img src="https://picsum.photos/seed/concert/800/600" alt="Concert">
<div class="project-overlay">
<h3 class="project-title">Midnight City</h3>
<p class="project-cat">Music Video</p>
</div>
</div>
<!-- Project 4 -->
<div class="project-card" data-category="commercial" onclick="openModal('project4')">
<img src="https://picsum.photos/seed/tech/800/600" alt="Tech Product">
<div class="project-overlay">
<h3 class="project-title">Future Tech</h3>
<p class="project-cat">Commercial</p>
</div>
</div>
<!-- Project 5 -->
<div class="project-card" data-category="film" onclick="openModal('project5')">
<img src="https://picsum.photos/seed/wild/800/600" alt="Nature">
<div class="project-overlay">
<h3 class="project-title">The Forest</h3>
<p class="project-cat">Documentary</p>
</div>
</div>
<!-- Project 6 -->
<div class="project-card" data-category="music" onclick="openModal('project6')">
<img src="https://picsum.photos/seed/studio/800/600" alt="Studio">
<div class="project-overlay">
<h3 class="project-title">Velocity</h3>
<p class="project-cat">Music Video</p>
</div>
</div>
</div>
</div>
</section>
<!-- Services Section -->
<section id="services">
<div class="container">
<div class="section-title reveal">
<span>Expertise</span>
Services
</div>
<div class="services-grid">
<div class="service-card reveal">
<i class="fas fa-video service-icon"></i>
<h3>Director of Photography</h3>
<p>Full cinematography services including camera operation, lighting design, and color grading consultation for film and digital productions.</p>
</div>
<div class="service-card reveal">
<i class="fas fa-film service-icon"></i>
<h3>Commercial Production</h3>
<p>High-end commercial shoots for brands, agencies, and product launches. Focus on visual impact and brand alignment.</p>
</div>
<div class="service-card reveal">
<i class="fas fa-camera-retro service-icon"></i>
<h3>Digital Imaging</h3>
<p>Drone cinematography, time-lapse, and high-resolution still photography for editorial and marketing needs.</p>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact">
<div class="container">
<div class="section-title reveal">
<span>Get In Touch</span>
Let's Create Together
</div>
<div class="contact-container">
<div class="contact-info reveal">
<h3>Available for Hire</h3>
<p>Currently accepting new projects for 2024. Whether you have a script, a concept, or just a vision, let's discuss how we can bring it to life.</p>
<div class="contact-details">
<div><i class="fas fa-envelope"></i> hello@alexandervance.com</div>
<div><i class="fas fa-phone"></i> +1 (555) 019-2834</div>
<div><i class="fas fa-map-marker-alt"></i> Los Angeles, CA</div>
</div>
<div class="social-links">
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-vimeo-v"></i></a>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
</div>
</div>
<form class="contact-form reveal" onsubmit="event.preventDefault(); alert('Thank you for your message. This is a demo form.');">
<div class="form-group">
<input type="text" placeholder="Your Name" required>
</div>
<div class="form-group">
<input type="email" placeholder="Your Email" required>
</div>
<div class="form-group">
<textarea rows="5" placeholder="Project Details" required></textarea>
</div>
<button type="submit" class="btn">Send Message</button>
</form>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="container">
<p>© 2024 Alexander Vance. All Rights Reserved.</p>
<div class="built-with">
Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">anycoder</a>
</div>
</div>
</footer>
<!-- Project Modal -->
<div class="modal-overlay" id="projectModal">
<div class="modal-content">
<button class="close-modal" onclick="closeModal()">×</button>
<div class="modal-media" id="modalMedia">
<!-- Content injected via JS -->
</div>
<div class="modal-info">
<div class="modal-tags">
<span class="tag" id="modalCategory">Commercial</span>
<span class="tag">2023</span>
</div>
<h2 id="modalTitle">Project Title</h2>
<p id="modalDesc">Description of the project goes here.</p>
<div class="credits">
<h4>Credits</h4>
<ul id="modalCredits">
<li>Director: [Name]</li>
<li>Producer: [Name]</li>
<li>Camera Operator: Alexander Vance</li>
</ul>
</div>
</div>
</div>
</div>
<!-- JavaScript -->
<script>
// Data for Projects
const projectsData = {
'project1': {
title: 'Neon Noir',
category: 'Commercial',
image: 'https://picsum.photos/seed/fashion/1200/800',
desc: 'A high-energy fashion campaign for a luxury streetwear brand. Shot on ARRI Alexa Mini with anamorphic lenses.',
credits: ['Director: Sarah Jenkins', 'Producer: Mark D.', 'DP: Alexander Vance', 'Stylist: Emily R.']
},
'project2': {
title: 'Echoes',
category: 'Short Film',
image: 'https://picsum.photos/seed/drama/1200/800',
desc: 'A psychological thriller exploring memory and loss. Shot on Kodak 35mm film.',
credits: ['Director: Alex Chen', 'Producer: Lisa Wong', 'DP: Alexander Vance', 'Editor: John Doe']
},
'project3': {
title: 'Midnight City',
category: 'Music Video',
image: 'https://picsum.photos/seed/concert/1200/800',
desc: 'Vibrant and kinetic music video for an indie pop band. Features complex lighting rigs and drone work.',
credits: ['Director: The Band', 'DP: Alexander Vance', 'Gaffer: Mike T.', 'Stunts: J. Paul']
},
'project4': {
title: 'Future Tech',
category: 'Commercial',
image: 'https://picsum.photos/seed/tech/1200/800',
desc: 'Product launch video for a leading tech company. Clean lines, studio lighting, and macro shots.',
credits: ['Agency: McCann', 'Director: K. Smith', 'DP: Alexander Vance', 'VFX: Studio X']
},
'project5': {
title: 'The Forest',
category: 'Documentary',
image: 'https://picsum.photos/seed/wild/1200/800',
desc: 'Nature documentary focusing on nocturnal wildlife behavior in the Amazon rainforest.',
credits: ['Director: Nat Geo', 'DP: Alexander Vance', 'Sound: SoundLab']
},
'project6': {
title: 'Velocity',
category: 'Music Video',
image: 'https://picsum.photos/seed/studio/1200/800',
desc: 'Fast-paced electronic music video with stop-motion effects and color grading.',
credits: ['Director: R. Ross', 'DP: Alexander Vance', 'GFX: PixelPerfect']
}
};
// Mobile Menu Toggle
const menuToggle = document.getElementById('mobile-menu');
const navLinks = document.querySelector('.nav-links');
const navItems = document.querySelectorAll('.nav-link');
menuToggle.addEventListener('click', () => {
navLinks.classList.toggle('active');
const icon = menuToggle.querySelector('i');
if (navLinks.classList.contains('active')) {
icon.classList.remove('fa-bars');
icon.classList.add('fa-times');
} else {
icon.classList.remove('fa-times');
icon.classList.add('fa-bars');
}
});
// Close mobile menu when link is clicked
navItems.forEach(item => {
item.addEventListener('click', () => {
navLinks.classList.remove('active');
menuToggle.querySelector('i').classList.remove('fa-times');
menuToggle.querySelector('i').classList.add('fa-bars');
});
});
// Sticky Header Effect
window.addEventListener('scroll', () => {
const header = document.getElementById('header');
if (window.scrollY > 50) {
header.classList.add('scrolled');
} else {
header.classList.remove('scrolled');
}
});
// Scroll Reveal Animation
const revealElements = document.querySelectorAll('.reveal');
const revealOnScroll = () => {
const windowHeight = window.innerHeight;
const elementVisible = 150;
revealElements.forEach((reveal) => {
const elementTop = reveal.getBoundingClientRect().top;
if (elementTop < windowHeight - elementVisible) {
reveal.classList.add('active');
}
});
};
window.addEventListener('scroll', revealOnScroll);
// Trigger once on load
revealOnScroll();
// Portfolio Filtering
const filterBtns = document.querySelectorAll('.filter-btn');
const projectCards = document.querySelectorAll('.project-card');
filterBtns.forEach(btn => {
btn.addEventListener('click', () => {
// Remove active class from all
filterBtns.forEach(b => b.classList.remove('active'));
// Add active to clicked
btn.classList.add('active');
const filterValue = btn.getAttribute('data-filter');
projectCards.forEach(card => {
if (filterValue === 'all' || card.getAttribute('data-category') === filterValue) {
card.style.display = 'block';
// Add subtle fade in animation
card.style.opacity = '0';
setTimeout(() => card.style.opacity = '1', 50);
} else {
card.style.display = 'none';
}
});
});
});
// Modal Logic
const modal = document.getElementById('projectModal');
const modalMedia = document.getElementById('modalMedia');
const modalTitle = document.getElementById('modalTitle');
const modalCategory = document.getElementById('modalCategory');
const modalDesc = document.getElementById('modalDesc');
const modalCredits = document.getElementById('modalCredits');
function openModal(projectId) {
const data = projectsData[projectId];
if (!data) return;
// Populate Modal
modalTitle.textContent = data.title;
modalCategory.textContent = data.category;
modalDesc.textContent = data.desc;
// Set Media (Image for demo)
modalMedia.innerHTML = `<img src="${data.image}" alt="${data.title}">`;
// Set Credits
modalCredits.innerHTML = data.credits.map(credit => `<li>${credit}</li>`).join('');
// Show Modal
modal.classList.add('open');
document.body.style.overflow = 'hidden'; // Prevent background scrolling
}
function closeModal() {
modal.classList.remove('open');
document.body.style.overflow = 'auto'; // Restore scrolling
}
// Close modal when clicking outside content
modal.addEventListener('click', (e) => {
if (e.target === modal) {
closeModal();
}
});
// Close modal on Escape key
document.addEventListener('keydown', (e) => {
if (e.key === 'Escape' && modal.classList.contains('open')) {
closeModal();
}
});
</script>
</body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ALEXANDER VANCE | Cinematographer & Director</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&display=swap" rel="stylesheet">
<!-- FontAwesome for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* =========================================
RESET & VARIABLES
========================================= */
:root {
--bg-color: #050505;
--surface-color: #121212;
--text-primary: #ffffff;
--text-secondary: #a0a0a0;
--accent-color: #d4af37; /* Muted Gold */
--accent-hover: #f9d868;
--spacing-unit: 1rem;
--transition-speed: 0.6s;
--easing: cubic-bezier(0.19, 1, 0.22, 1); /* Cinematic Ease */
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background-color: var(--bg-color);
color: var(--text-primary);
font-family: 'Inter', sans-serif;
overflow-x: hidden;
line-height: 1.6;
}
h1, h2, h3, h4 {
font-family: 'Cinzel', serif;
font-weight: 700;
letter-spacing: 0.05em;
}
a {
text-decoration: none;
color: inherit;
transition: color 0.3s ease;
}
ul {
list-style: none;
}
/* =========================================
UTILITIES & ANIMATIONS
========================================= */
.container {
max-width: 1400px;
margin: 0 auto;
padding: 0 2rem;
}
.section-title {
font-size: 3rem;
margin-bottom: 4rem;
text-align: center;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s var(--easing) forwards;
}
.section-title span {
display: block;
font-size: 1rem;
font-family: 'Inter', sans-serif;
color: var(--accent-color);
margin-bottom: 1rem;
letter-spacing: 0.2em;
text-transform: uppercase;
}
.btn {
display: inline-block;
padding: 1rem 2.5rem;
border: 1px solid var(--text-primary);
color: var(--text-primary);
text-transform: uppercase;
letter-spacing: 0.1em;