Deploy from Lumerel
This commit is contained in:
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@@ -0,0 +1,3 @@
|
||||
.git
|
||||
Dockerfile
|
||||
.dockerignore
|
||||
23
Dockerfile
Normal file
23
Dockerfile
Normal file
@@ -0,0 +1,23 @@
|
||||
FROM webdevops/php-nginx:8.3-alpine
|
||||
ENV WEB_DOCUMENT_ROOT=/app
|
||||
ARG CACHE_BUST=1771298493
|
||||
COPY . /app
|
||||
RUN echo "index index.php index.html index.htm;" > /opt/docker/etc/nginx/vhost.common.d/01-index.conf \
|
||||
&& echo "add_header Cache-Control 'no-cache, no-store, must-revalidate';" > /opt/docker/etc/nginx/vhost.common.d/02-no-cache.conf
|
||||
RUN set -e; if [ -f /app/composer.json ]; then \
|
||||
echo ">>> composer.json found, installing dependencies..."; \
|
||||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer; \
|
||||
cd /app && composer install --no-dev --no-interaction --optimize-autoloader; \
|
||||
ls -la /app/vendor/autoload.php; \
|
||||
else \
|
||||
echo ">>> No composer.json found, skipping composer install"; \
|
||||
fi
|
||||
RUN set -e; if [ -f /app/package.json ]; then \
|
||||
echo ">>> package.json found, installing node dependencies..."; \
|
||||
apk add --no-cache nodejs npm; \
|
||||
cd /app && npm install --production; \
|
||||
else \
|
||||
echo ">>> No package.json found, skipping npm install"; \
|
||||
fi
|
||||
|
||||
RUN chown -R application:application /app
|
||||
490
index.html
Normal file
490
index.html
Normal file
@@ -0,0 +1,490 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Todd Low Media - Web Development & Programming</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<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=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<!-- Navigation -->
|
||||
<nav class="nav" id="nav">
|
||||
<div class="container nav-container">
|
||||
<div class="logo">
|
||||
<span class="logo-text">Todd Low Media</span>
|
||||
</div>
|
||||
<ul class="nav-menu" id="navMenu">
|
||||
<li><a href="#home" class="nav-link">Home</a></li>
|
||||
<li><a href="#services" class="nav-link">Services</a></li>
|
||||
<li><a href="#portfolio" class="nav-link">Portfolio</a></li>
|
||||
<li><a href="#skills" class="nav-link">Skills</a></li>
|
||||
<li><a href="#contact" class="nav-link">Contact</a></li>
|
||||
</ul>
|
||||
<button class="mobile-toggle" id="mobileToggle">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</button>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- Hero Section -->
|
||||
<section class="hero" id="home">
|
||||
<div class="hero-background"></div>
|
||||
<div class="container hero-container">
|
||||
<div class="hero-content">
|
||||
<h1 class="hero-title fade-in">
|
||||
Building Digital Experiences<br>
|
||||
<span class="gradient-text">That Make a Difference</span>
|
||||
</h1>
|
||||
<p class="hero-subtitle fade-in delay-1">
|
||||
Full-stack web development and programming solutions tailored to your needs
|
||||
</p>
|
||||
<div class="hero-buttons fade-in delay-2">
|
||||
<a href="#portfolio" class="btn btn-primary">View My Work</a>
|
||||
<a href="#contact" class="btn btn-secondary">Get In Touch</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-illustration fade-in delay-3">
|
||||
<div class="floating-card card-1">
|
||||
<div class="code-symbol"></></div>
|
||||
</div>
|
||||
<div class="floating-card card-2">
|
||||
<div class="code-symbol">{ }</div>
|
||||
</div>
|
||||
<div class="floating-card card-3">
|
||||
<div class="code-symbol">λ</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="scroll-indicator">
|
||||
<span>Scroll to explore</span>
|
||||
<div class="scroll-arrow"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Services Section -->
|
||||
<section class="services" id="services">
|
||||
<div class="container">
|
||||
<h2 class="section-title">What I Do</h2>
|
||||
<p class="section-subtitle">Comprehensive web development services to bring your vision to life</p>
|
||||
|
||||
<div class="services-grid">
|
||||
<div class="service-card" data-aos="fade-up">
|
||||
<div class="service-icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<rect x="2" y="3" width="20" height="14" rx="2"/>
|
||||
<path d="M8 21h8M12 17v4"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h3>Full-Stack Development</h3>
|
||||
<p>End-to-end web application development using modern technologies like React, Vue, Laravel, and Node.js</p>
|
||||
</div>
|
||||
|
||||
<div class="service-card" data-aos="fade-up" data-aos-delay="100">
|
||||
<div class="service-icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<rect x="3" y="3" width="18" height="18" rx="2"/>
|
||||
<path d="M3 9h18M9 21V9"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h3>Custom Web Applications</h3>
|
||||
<p>Tailored solutions designed specifically for your business needs and workflows</p>
|
||||
</div>
|
||||
|
||||
<div class="service-card" data-aos="fade-up" data-aos-delay="200">
|
||||
<div class="service-icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<path d="M12 2L2 7l10 5 10-5-10-5z"/>
|
||||
<path d="M2 17l10 5 10-5M2 12l10 5 10-5"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h3>API Development</h3>
|
||||
<p>RESTful APIs and backend services that power your applications efficiently and securely</p>
|
||||
</div>
|
||||
|
||||
<div class="service-card" data-aos="fade-up" data-aos-delay="300">
|
||||
<div class="service-icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<rect x="2" y="7" width="20" height="14" rx="2"/>
|
||||
<path d="M16 3v4M8 3v4"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h3>Responsive Design</h3>
|
||||
<p>Beautiful, mobile-first interfaces that work seamlessly across all devices and screen sizes</p>
|
||||
</div>
|
||||
|
||||
<div class="service-card" data-aos="fade-up" data-aos-delay="400">
|
||||
<div class="service-icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<circle cx="12" cy="12" r="10"/>
|
||||
<path d="M12 6v6l4 2"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h3>Performance Optimization</h3>
|
||||
<p>Speed and efficiency improvements to ensure your site loads fast and runs smoothly</p>
|
||||
</div>
|
||||
|
||||
<div class="service-card" data-aos="fade-up" data-aos-delay="500">
|
||||
<div class="service-icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h3>Maintenance & Support</h3>
|
||||
<p>Ongoing support and updates to keep your applications secure and up-to-date</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Portfolio Section -->
|
||||
<section class="portfolio" id="portfolio">
|
||||
<div class="container">
|
||||
<h2 class="section-title">Featured Projects</h2>
|
||||
<p class="section-subtitle">A selection of recent work showcasing diverse solutions</p>
|
||||
|
||||
<div class="portfolio-grid">
|
||||
<div class="portfolio-item" data-aos="zoom-in">
|
||||
<div class="portfolio-image">
|
||||
<div class="portfolio-placeholder" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);">
|
||||
<span>E-Commerce Platform</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portfolio-content">
|
||||
<h3>E-Commerce Platform</h3>
|
||||
<p>Full-featured online store with payment integration, inventory management, and admin dashboard</p>
|
||||
<div class="portfolio-tags">
|
||||
<span>Laravel</span>
|
||||
<span>Vue.js</span>
|
||||
<span>MySQL</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="portfolio-item" data-aos="zoom-in" data-aos-delay="100">
|
||||
<div class="portfolio-image">
|
||||
<div class="portfolio-placeholder" style="background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);">
|
||||
<span>Project Management Tool</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portfolio-content">
|
||||
<h3>Project Management Tool</h3>
|
||||
<p>Collaborative workspace for teams with real-time updates, task tracking, and reporting</p>
|
||||
<div class="portfolio-tags">
|
||||
<span>React</span>
|
||||
<span>Node.js</span>
|
||||
<span>WebSocket</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="portfolio-item" data-aos="zoom-in" data-aos-delay="200">
|
||||
<div class="portfolio-image">
|
||||
<div class="portfolio-placeholder" style="background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);">
|
||||
<span>Analytics Dashboard</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portfolio-content">
|
||||
<h3>Analytics Dashboard</h3>
|
||||
<p>Data visualization platform with interactive charts, custom reports, and export functionality</p>
|
||||
<div class="portfolio-tags">
|
||||
<span>TypeScript</span>
|
||||
<span>D3.js</span>
|
||||
<span>PostgreSQL</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="portfolio-item" data-aos="zoom-in" data-aos-delay="300">
|
||||
<div class="portfolio-image">
|
||||
<div class="portfolio-placeholder" style="background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);">
|
||||
<span>Booking System</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portfolio-content">
|
||||
<h3>Booking System</h3>
|
||||
<p>Appointment scheduling platform with calendar integration, automated reminders, and payment processing</p>
|
||||
<div class="portfolio-tags">
|
||||
<span>PHP</span>
|
||||
<span>JavaScript</span>
|
||||
<span>Stripe API</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="portfolio-item" data-aos="zoom-in" data-aos-delay="400">
|
||||
<div class="portfolio-image">
|
||||
<div class="portfolio-placeholder" style="background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);">
|
||||
<span>Content Management</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portfolio-content">
|
||||
<h3>Content Management System</h3>
|
||||
<p>Custom CMS with drag-and-drop page builder, media library, and multi-user permissions</p>
|
||||
<div class="portfolio-tags">
|
||||
<span>Laravel</span>
|
||||
<span>Alpine.js</span>
|
||||
<span>Tailwind</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="portfolio-item" data-aos="zoom-in" data-aos-delay="500">
|
||||
<div class="portfolio-image">
|
||||
<div class="portfolio-placeholder" style="background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);">
|
||||
<span>API Integration Hub</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portfolio-content">
|
||||
<h3>API Integration Hub</h3>
|
||||
<p>Middleware service connecting multiple third-party APIs with unified authentication and data sync</p>
|
||||
<div class="portfolio-tags">
|
||||
<span>Node.js</span>
|
||||
<span>Express</span>
|
||||
<span>Redis</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Skills Section -->
|
||||
<section class="skills" id="skills">
|
||||
<div class="container">
|
||||
<h2 class="section-title">Technical Skills</h2>
|
||||
<p class="section-subtitle">Technologies and tools I work with</p>
|
||||
|
||||
<div class="skills-grid">
|
||||
<div class="skill-category" data-aos="fade-right">
|
||||
<h3>Frontend</h3>
|
||||
<div class="skill-items">
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">JavaScript / TypeScript</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 95%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">React / Vue.js</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 90%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">HTML5 / CSS3</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 95%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">Tailwind / Bootstrap</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 85%"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="skill-category" data-aos="fade-left">
|
||||
<h3>Backend</h3>
|
||||
<div class="skill-items">
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">PHP / Laravel</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 92%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">Node.js / Express</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 88%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">MySQL / PostgreSQL</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 90%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">RESTful APIs</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 93%"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="skill-category" data-aos="fade-right">
|
||||
<h3>Tools & DevOps</h3>
|
||||
<div class="skill-items">
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">Git / GitHub</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 90%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">Docker</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 80%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">CI/CD</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 75%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">AWS / Cloud Services</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 78%"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="skill-category" data-aos="fade-left">
|
||||
<h3>Other</h3>
|
||||
<div class="skill-items">
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">UI/UX Design</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 82%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">Agile / Scrum</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 85%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">Testing / QA</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 80%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-item">
|
||||
<span class="skill-name">Performance Optimization</span>
|
||||
<div class="skill-bar">
|
||||
<div class="skill-progress" style="width: 87%"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Contact Section -->
|
||||
<section class="contact" id="contact">
|
||||
<div class="container">
|
||||
<h2 class="section-title">Let's Work Together</h2>
|
||||
<p class="section-subtitle">Have a project in mind? I'd love to hear about it</p>
|
||||
|
||||
<div class="contact-content">
|
||||
<div class="contact-info" data-aos="fade-right">
|
||||
<h3>Get In Touch</h3>
|
||||
<p>Whether you need a new website, a custom web application, or help with an existing project, I'm here to help bring your ideas to life.</p>
|
||||
|
||||
<div class="contact-methods">
|
||||
<div class="contact-method">
|
||||
<div class="contact-icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/>
|
||||
<polyline points="22,6 12,13 2,6"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Email</h4>
|
||||
<a href="mailto:toddlowmedia@gmail.com">toddlowmedia@gmail.com</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contact-method">
|
||||
<div class="contact-icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/>
|
||||
<circle cx="12" cy="10" r="3"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Location</h4>
|
||||
<p>Available for remote work</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contact-method">
|
||||
<div class="contact-icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<circle cx="12" cy="12" r="10"/>
|
||||
<polyline points="12 6 12 12 16 14"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>
|
||||
<h4>Response Time</h4>
|
||||
<p>Usually within 24 hours</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form class="contact-form" id="contactForm" data-aos="fade-left">
|
||||
<div class="form-group">
|
||||
<label for="name">Your Name</label>
|
||||
<input type="text" id="name" name="name" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="email">Your Email</label>
|
||||
<input type="email" id="email" name="email" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="subject">Subject</label>
|
||||
<input type="text" id="subject" name="subject" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="message">Message</label>
|
||||
<textarea id="message" name="message" rows="5" required></textarea>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary btn-full">Send Message</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<div class="footer-content">
|
||||
<div class="footer-brand">
|
||||
<h3>Todd Low Media</h3>
|
||||
<p>Building digital experiences that make a difference</p>
|
||||
</div>
|
||||
<div class="footer-links">
|
||||
<a href="#home">Home</a>
|
||||
<a href="#services">Services</a>
|
||||
<a href="#portfolio">Portfolio</a>
|
||||
<a href="#skills">Skills</a>
|
||||
<a href="#contact">Contact</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-bottom">
|
||||
<p>© 2026 Todd Low Media. All rights reserved.</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
231
script.js
Normal file
231
script.js
Normal file
@@ -0,0 +1,231 @@
|
||||
// Mobile Menu Toggle
|
||||
const mobileToggle = document.getElementById('mobileToggle');
|
||||
const navMenu = document.getElementById('navMenu');
|
||||
|
||||
mobileToggle.addEventListener('click', () => {
|
||||
navMenu.classList.toggle('active');
|
||||
|
||||
// Animate hamburger to X
|
||||
const spans = mobileToggle.querySelectorAll('span');
|
||||
if (navMenu.classList.contains('active')) {
|
||||
spans[0].style.transform = 'rotate(45deg) translate(5px, 5px)';
|
||||
spans[1].style.opacity = '0';
|
||||
spans[2].style.transform = 'rotate(-45deg) translate(7px, -6px)';
|
||||
} else {
|
||||
spans[0].style.transform = 'none';
|
||||
spans[1].style.opacity = '1';
|
||||
spans[2].style.transform = 'none';
|
||||
}
|
||||
});
|
||||
|
||||
// Close mobile menu when clicking on a link
|
||||
const navLinks = document.querySelectorAll('.nav-link');
|
||||
navLinks.forEach(link => {
|
||||
link.addEventListener('click', () => {
|
||||
navMenu.classList.remove('active');
|
||||
const spans = mobileToggle.querySelectorAll('span');
|
||||
spans[0].style.transform = 'none';
|
||||
spans[1].style.opacity = '1';
|
||||
spans[2].style.transform = 'none';
|
||||
});
|
||||
});
|
||||
|
||||
// Navbar scroll effect
|
||||
const nav = document.getElementById('nav');
|
||||
let lastScroll = 0;
|
||||
|
||||
window.addEventListener('scroll', () => {
|
||||
const currentScroll = window.pageYOffset;
|
||||
|
||||
if (currentScroll > 50) {
|
||||
nav.classList.add('scrolled');
|
||||
} else {
|
||||
nav.classList.remove('scrolled');
|
||||
}
|
||||
|
||||
lastScroll = currentScroll;
|
||||
});
|
||||
|
||||
// Smooth scroll for anchor links
|
||||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||
anchor.addEventListener('click', function (e) {
|
||||
e.preventDefault();
|
||||
const target = document.querySelector(this.getAttribute('href'));
|
||||
if (target) {
|
||||
const offsetTop = target.offsetTop - 80;
|
||||
window.scrollTo({
|
||||
top: offsetTop,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Animate on Scroll (AOS) implementation
|
||||
function initAOS() {
|
||||
const observerOptions = {
|
||||
threshold: 0.1,
|
||||
rootMargin: '0px 0px -50px 0px'
|
||||
};
|
||||
|
||||
const observer = new IntersectionObserver((entries) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
entry.target.classList.add('aos-animate');
|
||||
}
|
||||
});
|
||||
}, observerOptions);
|
||||
|
||||
// Observe all elements with data-aos attribute
|
||||
document.querySelectorAll('[data-aos]').forEach(element => {
|
||||
observer.observe(element);
|
||||
});
|
||||
}
|
||||
|
||||
// Initialize AOS when DOM is loaded
|
||||
document.addEventListener('DOMContentLoaded', initAOS);
|
||||
|
||||
// Animate skill bars when they come into view
|
||||
const skillObserver = new IntersectionObserver((entries) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
const progressBars = entry.target.querySelectorAll('.skill-progress');
|
||||
progressBars.forEach(bar => {
|
||||
const width = bar.style.width;
|
||||
bar.style.width = '0';
|
||||
setTimeout(() => {
|
||||
bar.style.width = width;
|
||||
}, 100);
|
||||
});
|
||||
skillObserver.unobserve(entry.target);
|
||||
}
|
||||
});
|
||||
}, { threshold: 0.5 });
|
||||
|
||||
const skillsSection = document.querySelector('.skills');
|
||||
if (skillsSection) {
|
||||
skillObserver.observe(skillsSection);
|
||||
}
|
||||
|
||||
// Contact Form Handling
|
||||
const contactForm = document.getElementById('contactForm');
|
||||
|
||||
contactForm.addEventListener('submit', (e) => {
|
||||
e.preventDefault();
|
||||
|
||||
// Get form data
|
||||
const formData = {
|
||||
name: document.getElementById('name').value,
|
||||
email: document.getElementById('email').value,
|
||||
subject: document.getElementById('subject').value,
|
||||
message: document.getElementById('message').value
|
||||
};
|
||||
|
||||
// In a real application, you would send this data to a server
|
||||
console.log('Form submitted:', formData);
|
||||
|
||||
// Show success message
|
||||
showNotification('Thank you for your message! I\'ll get back to you soon.', 'success');
|
||||
|
||||
// Reset form
|
||||
contactForm.reset();
|
||||
});
|
||||
|
||||
// Notification function
|
||||
function showNotification(message, type = 'info') {
|
||||
const notification = document.createElement('div');
|
||||
notification.className = `notification notification-${type}`;
|
||||
notification.textContent = message;
|
||||
|
||||
notification.style.cssText = `
|
||||
position: fixed;
|
||||
top: 100px;
|
||||
right: 20px;
|
||||
background: ${type === 'success' ? '#10b981' : '#3b82f6'};
|
||||
color: white;
|
||||
padding: 1rem 1.5rem;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
|
||||
z-index: 10000;
|
||||
animation: slideIn 0.3s ease;
|
||||
`;
|
||||
|
||||
document.body.appendChild(notification);
|
||||
|
||||
setTimeout(() => {
|
||||
notification.style.animation = 'slideOut 0.3s ease';
|
||||
setTimeout(() => {
|
||||
document.body.removeChild(notification);
|
||||
}, 300);
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
// Add animation keyframes
|
||||
const style = document.createElement('style');
|
||||
style.textContent = `
|
||||
@keyframes slideIn {
|
||||
from {
|
||||
transform: translateX(400px);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes slideOut {
|
||||
from {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
transform: translateX(400px);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
`;
|
||||
document.head.appendChild(style);
|
||||
|
||||
// Parallax effect for hero section
|
||||
window.addEventListener('scroll', () => {
|
||||
const scrolled = window.pageYOffset;
|
||||
const hero = document.querySelector('.hero');
|
||||
|
||||
if (hero && scrolled < window.innerHeight) {
|
||||
const parallaxElements = hero.querySelectorAll('.floating-card');
|
||||
parallaxElements.forEach((element, index) => {
|
||||
const speed = 0.5 + (index * 0.1);
|
||||
element.style.transform = `translateY(${scrolled * speed}px)`;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// Add active state to navigation based on scroll position
|
||||
window.addEventListener('scroll', () => {
|
||||
const sections = document.querySelectorAll('section[id]');
|
||||
const scrollY = window.pageYOffset;
|
||||
|
||||
sections.forEach(section => {
|
||||
const sectionHeight = section.offsetHeight;
|
||||
const sectionTop = section.offsetTop - 100;
|
||||
const sectionId = section.getAttribute('id');
|
||||
const navLink = document.querySelector(`.nav-link[href="#${sectionId}"]`);
|
||||
|
||||
if (navLink && scrollY > sectionTop && scrollY <= sectionTop + sectionHeight) {
|
||||
document.querySelectorAll('.nav-link').forEach(link => {
|
||||
link.style.color = '';
|
||||
});
|
||||
navLink.style.color = 'var(--primary-color)';
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Preload animation for page load
|
||||
window.addEventListener('load', () => {
|
||||
document.body.style.opacity = '0';
|
||||
setTimeout(() => {
|
||||
document.body.style.transition = 'opacity 0.5s ease';
|
||||
document.body.style.opacity = '1';
|
||||
}, 100);
|
||||
});
|
||||
804
styles.css
Normal file
804
styles.css
Normal file
@@ -0,0 +1,804 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root {
|
||||
--primary-color: #c026d3;
|
||||
--primary-dark: #a21caf;
|
||||
--primary-light: #e879f9;
|
||||
--secondary-color: #6366f1;
|
||||
--text-dark: #1f2937;
|
||||
--text-light: #6b7280;
|
||||
--bg-light: #f9fafb;
|
||||
--bg-white: #ffffff;
|
||||
--border-color: #e5e7eb;
|
||||
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
color: var(--text-dark);
|
||||
line-height: 1.6;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
.nav {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(10px);
|
||||
box-shadow: var(--shadow);
|
||||
z-index: 1000;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.nav.scrolled {
|
||||
background: rgba(255, 255, 255, 0.98);
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.nav-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 1rem 20px;
|
||||
}
|
||||
|
||||
.logo-text {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.nav-menu {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
text-decoration: none;
|
||||
color: var(--text-dark);
|
||||
font-weight: 500;
|
||||
transition: color 0.3s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nav-link::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -5px;
|
||||
left: 0;
|
||||
width: 0;
|
||||
height: 2px;
|
||||
background: var(--primary-color);
|
||||
transition: width 0.3s ease;
|
||||
}
|
||||
|
||||
.nav-link:hover {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.nav-link:hover::after {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mobile-toggle {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mobile-toggle span {
|
||||
width: 25px;
|
||||
height: 3px;
|
||||
background: var(--text-dark);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
/* Hero Section */
|
||||
.hero {
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-top: 80px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero-background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
|
||||
opacity: 0.05;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.hero-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 3.5rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.gradient-text {
|
||||
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1.25rem;
|
||||
color: var(--text-light);
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.hero-buttons {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 0.875rem 2rem;
|
||||
border-radius: 8px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
|
||||
color: white;
|
||||
box-shadow: 0 4px 15px rgba(192, 38, 211, 0.3);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 20px rgba(192, 38, 211, 0.4);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background: white;
|
||||
color: var(--primary-color);
|
||||
border: 2px solid var(--primary-color);
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background: var(--primary-color);
|
||||
color: white;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.btn-full {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Hero Illustration */
|
||||
.hero-illustration {
|
||||
position: relative;
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
.floating-card {
|
||||
position: absolute;
|
||||
background: white;
|
||||
border-radius: 16px;
|
||||
box-shadow: var(--shadow-lg);
|
||||
padding: 2rem;
|
||||
animation: float 6s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.floating-card .code-symbol {
|
||||
font-size: 4rem;
|
||||
font-weight: 700;
|
||||
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.card-1 {
|
||||
top: 10%;
|
||||
left: 10%;
|
||||
animation-delay: 0s;
|
||||
}
|
||||
|
||||
.card-2 {
|
||||
top: 40%;
|
||||
right: 10%;
|
||||
animation-delay: 2s;
|
||||
}
|
||||
|
||||
.card-3 {
|
||||
bottom: 10%;
|
||||
left: 30%;
|
||||
animation-delay: 4s;
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0%, 100% {
|
||||
transform: translateY(0px);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-20px);
|
||||
}
|
||||
}
|
||||
|
||||
.scroll-indicator {
|
||||
position: absolute;
|
||||
bottom: 2rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
text-align: center;
|
||||
color: var(--text-light);
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.scroll-arrow {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-left: 2px solid var(--text-light);
|
||||
border-bottom: 2px solid var(--text-light);
|
||||
transform: rotate(-45deg);
|
||||
margin: 0.5rem auto;
|
||||
animation: bounce 2s infinite;
|
||||
}
|
||||
|
||||
@keyframes bounce {
|
||||
0%, 20%, 50%, 80%, 100% {
|
||||
transform: rotate(-45deg) translateY(0);
|
||||
}
|
||||
40% {
|
||||
transform: rotate(-45deg) translateY(-10px);
|
||||
}
|
||||
60% {
|
||||
transform: rotate(-45deg) translateY(-5px);
|
||||
}
|
||||
}
|
||||
|
||||
/* Fade-in animations */
|
||||
.fade-in {
|
||||
opacity: 0;
|
||||
animation: fadeIn 1s ease forwards;
|
||||
}
|
||||
|
||||
.delay-1 {
|
||||
animation-delay: 0.2s;
|
||||
}
|
||||
|
||||
.delay-2 {
|
||||
animation-delay: 0.4s;
|
||||
}
|
||||
|
||||
.delay-3 {
|
||||
animation-delay: 0.6s;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Section Styles */
|
||||
section {
|
||||
padding: 5rem 0;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
text-align: center;
|
||||
color: var(--text-light);
|
||||
font-size: 1.125rem;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
/* Services Section */
|
||||
.services {
|
||||
background: var(--bg-light);
|
||||
}
|
||||
|
||||
.services-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.service-card {
|
||||
background: white;
|
||||
padding: 2rem;
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--shadow);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.service-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.service-icon {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
|
||||
border-radius: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.service-icon svg {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.service-card h3 {
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 1rem;
|
||||
color: var(--text-dark);
|
||||
}
|
||||
|
||||
.service-card p {
|
||||
color: var(--text-light);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Portfolio Section */
|
||||
.portfolio-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.portfolio-item {
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
box-shadow: var(--shadow);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.portfolio-item:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.portfolio-image {
|
||||
width: 100%;
|
||||
height: 250px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.portfolio-placeholder {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.portfolio-content {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.portfolio-content h3 {
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 0.75rem;
|
||||
color: var(--text-dark);
|
||||
}
|
||||
|
||||
.portfolio-content p {
|
||||
color: var(--text-light);
|
||||
margin-bottom: 1rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.portfolio-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.portfolio-tags span {
|
||||
padding: 0.25rem 0.75rem;
|
||||
background: var(--bg-light);
|
||||
border-radius: 20px;
|
||||
font-size: 0.875rem;
|
||||
color: var(--primary-color);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* Skills Section */
|
||||
.skills {
|
||||
background: var(--bg-light);
|
||||
}
|
||||
|
||||
.skills-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.skill-category {
|
||||
background: white;
|
||||
padding: 2rem;
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.skill-category h3 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
color: var(--text-dark);
|
||||
}
|
||||
|
||||
.skill-items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.skill-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.skill-name {
|
||||
font-weight: 500;
|
||||
color: var(--text-dark);
|
||||
}
|
||||
|
||||
.skill-bar {
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
background: var(--bg-light);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.skill-progress {
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
|
||||
border-radius: 10px;
|
||||
transition: width 1s ease;
|
||||
}
|
||||
|
||||
/* Contact Section */
|
||||
.contact-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4rem;
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.contact-info h3 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.contact-info > p {
|
||||
color: var(--text-light);
|
||||
margin-bottom: 2rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.contact-methods {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.contact-method {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.contact-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.contact-icon svg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.contact-method h4 {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0.25rem;
|
||||
color: var(--text-dark);
|
||||
}
|
||||
|
||||
.contact-method p,
|
||||
.contact-method a {
|
||||
color: var(--text-light);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.contact-method a:hover {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
/* Contact Form */
|
||||
.contact-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
font-weight: 500;
|
||||
color: var(--text-dark);
|
||||
}
|
||||
|
||||
.form-group input,
|
||||
.form-group textarea {
|
||||
padding: 0.75rem;
|
||||
border: 2px solid var(--border-color);
|
||||
border-radius: 8px;
|
||||
font-family: inherit;
|
||||
font-size: 1rem;
|
||||
transition: border-color 0.3s ease;
|
||||
}
|
||||
|
||||
.form-group input:focus,
|
||||
.form-group textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.form-group textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
background: var(--text-dark);
|
||||
color: white;
|
||||
padding: 3rem 0 1.5rem;
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 2rem;
|
||||
flex-wrap: wrap;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.footer-brand h3 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.footer-brand p {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.footer-links a {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.footer-links a:hover {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
text-align: center;
|
||||
padding-top: 2rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.footer-bottom p {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
/* AOS Animation Classes */
|
||||
[data-aos] {
|
||||
opacity: 0;
|
||||
transition: opacity 0.6s ease, transform 0.6s ease;
|
||||
}
|
||||
|
||||
[data-aos].aos-animate {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
[data-aos="fade-up"] {
|
||||
transform: translateY(30px);
|
||||
}
|
||||
|
||||
[data-aos="fade-up"].aos-animate {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
[data-aos="fade-right"] {
|
||||
transform: translateX(-30px);
|
||||
}
|
||||
|
||||
[data-aos="fade-right"].aos-animate {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
[data-aos="fade-left"] {
|
||||
transform: translateX(30px);
|
||||
}
|
||||
|
||||
[data-aos="fade-left"].aos-animate {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
[data-aos="zoom-in"] {
|
||||
transform: scale(0.9);
|
||||
}
|
||||
|
||||
[data-aos="zoom-in"].aos-animate {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 968px) {
|
||||
.hero-container {
|
||||
grid-template-columns: 1fr;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero-illustration {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero-buttons {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.contact-content {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 3rem;
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.mobile-toggle {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.nav-menu {
|
||||
position: fixed;
|
||||
top: 70px;
|
||||
left: -100%;
|
||||
flex-direction: column;
|
||||
background: white;
|
||||
width: 100%;
|
||||
padding: 2rem;
|
||||
box-shadow: var(--shadow-lg);
|
||||
transition: left 0.3s ease;
|
||||
}
|
||||
|
||||
.nav-menu.active {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.services-grid,
|
||||
.portfolio-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.skills-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.hero-title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 0.75rem 1.5rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user