/*
 * Portfolio Creative Bootstrap Theme
 * Creative portfolio theme perfect for designers and developers
 * Built for Bootstrap 5.3
 * License: Free for personal and commercial use
 */

:root {
    --pc-primary: #6c5ce7;
    --pc-secondary: #a29bfe;
    --pc-accent: #fd79a8;
    --pc-success: #00b894;
    --pc-warning: #fdcb6e;
    --pc-danger: #e17055;
    --pc-dark: #2d3436;
    --pc-light: #f8f9fa;
    --pc-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --pc-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --pc-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--pc-dark);
    overflow-x: hidden;
}

.text-primary {
    color: var(--pc-primary) !important;
}

.bg-primary {
    background-color: var(--pc-primary) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--pc-dark);
    line-height: 1.2;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 800;
}

.creative-heading {
    position: relative;
    display: inline-block;
}

.creative-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--pc-gradient-1);
    border-radius: 2px;
}

/* Navigation */
.navbar-creative {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-creative.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 0.5rem 0;
}

.navbar-creative .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--pc-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-creative .nav-link {
    color: var(--pc-dark) !important;
    font-weight: 600;
    margin: 0 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-creative .nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--pc-gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-creative .nav-link:hover::before,
.navbar-creative .nav-link.active::before {
    width: 100%;
}

/* Hero Section */
.hero-creative {
    min-height: 100vh;
    background: var(--pc-gradient-1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-creative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="90" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="30" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

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

.hero-creative .container {
    position: relative;
    z-index: 2;
}

.hero-creative h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    animation: slideInUp 1s ease-out;
}

.hero-creative .lead {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.2s both;
}

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

/* Buttons */
.btn-creative {
    background: var(--pc-gradient-2);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-creative::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-creative:hover::before {
    left: 100%;
}

.btn-creative:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(241, 149, 251, 0.4);
}

.btn-outline-creative {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-creative:hover {
    background: white;
    color: var(--pc-primary);
    transform: translateY(-3px);
}

/* Portfolio Section */
.portfolio-creative {
    padding: 100px 0;
}

.portfolio-filter {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-filter .btn {
    background: transparent;
    border: 2px solid var(--pc-primary);
    color: var(--pc-primary);
    margin: 0 0.5rem 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-filter .btn.active,
.portfolio-filter .btn:hover {
    background: var(--pc-primary);
    color: white;
    transform: translateY(-2px);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pc-gradient-2);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 0.95;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h5 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.portfolio-overlay .btn {
    background: white;
    color: var(--pc-primary);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

/* Skills Section */
.skills-creative {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.skill-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.skill-icon {
    width: 80px;
    height: 80px;
    background: var(--pc-gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.skill-progress {
    background: #e9ecef;
    border-radius: 10px;
    height: 8px;
    margin-top: 1rem;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: var(--pc-gradient-1);
    border-radius: 10px;
    transition: width 2s ease-in-out;
}

/* About Section */
.about-creative {
    padding: 100px 0;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--pc-primary);
    border-radius: 20px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
}

/* Testimonials */
.testimonials-creative {
    padding: 100px 0;
    background: var(--pc-gradient-1);
    color: white;
}

.testimonials-creative h2 {
    color: white;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 2rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Contact Section */
.contact-creative {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.form-control-creative {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control-creative:focus {
    border-color: var(--pc-primary);
    box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.25);
    background: white;
}

/* Footer */
.footer-creative {
    background: var(--pc-dark);
    color: #adb5bd;
    padding: 60px 0 30px;
}

.footer-creative .social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--pc-gradient-1);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-creative .social-links a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bootstrap Icons Support */
.skill-icon i,
.social-links a i {
    font-size: inherit;
    line-height: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-creative h1 {
        font-size: 2.5rem;
    }
    
    .portfolio-creative,
    .skills-creative,
    .about-creative,
    .testimonials-creative,
    .contact-creative {
        padding: 60px 0;
    }
    
    .skill-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-creative h1 {
        font-size: 2rem;
    }
    
    .hero-creative .lead {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}