/* ========================================
   PREMIUM PORTFOLIO THEME - THEMEFOREST QUALITY
   ======================================== */

/* Google Fonts - Premium Typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

/* Root Variables */
:root {
    --primary-color: #00B894;
    --secondary-color: #F5576C;
    --accent-color: #FD79A8;
    --dark-color: #2D3436;
    --light-color: #F8F9FA;
    --text-color: #636E72;
    --heading-color: #2D3436;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #00B894 0%, #F5576C 100%);
    --gradient-secondary: linear-gradient(135deg, #00B894 0%, #FF6B6B 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 184, 148, 0.9) 0%, rgba(245, 87, 108, 0.9) 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.3;
}

.display-font {
    font-family: 'Playfair Display', serif;
}

/* Navigation Premium */
.navbar-premium {
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar-premium.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
}

.navbar-premium .navbar-brand {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-premium .nav-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-color);
    margin: 0 15px;
    position: relative;
    transition: var(--transition);
}

.navbar-premium .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.navbar-premium .nav-link:hover::after,
.navbar-premium .nav-link.active::after {
    width: 100%;
}

/* Hero Section Premium */
.hero-premium {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00B894 0%, #F5576C 100%);
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100px, 100px);
    }
}

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

.hero-premium h1 {
    font-size: 72px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-premium .hero-subtitle {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-premium p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Premium Buttons */
.btn-premium {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-premium-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-premium-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

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

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

/* About Section Premium */
.section-premium {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 60px;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--white);
    border-radius: 20px;
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.about-image-wrapper:hover::before {
    opacity: 1;
}

.about-image {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.skill-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 30px;
}

.skill-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 20px;
}

.skill-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Portfolio Section Premium */
.portfolio-filters {
    margin-bottom: 50px;
    text-align: center;
}

.filter-btn-premium {
    padding: 12px 30px;
    margin: 5px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn-premium:hover,
.filter-btn-premium.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-overlay h4 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay h4 {
    transform: translateY(0);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: var(--transition) 0.1s;
}

.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

.portfolio-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.badge-free {
    background: var(--secondary-color);
    color: var(--white);
}

.badge-paid {
    background: var(--accent-color);
    color: var(--white);
}

/* Contact Section Premium */
.contact-premium {
    background: linear-gradient(135deg, #00B894 0%, #F5576C 100%);
    color: var(--white);
}

.contact-item-premium {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item-premium:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.contact-icon-premium {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin: 0 auto 20px;
}

.contact-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.contact-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

/* Social Links Premium */
.social-links-premium {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.social-link-premium {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link-premium:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Footer Premium */
.footer-premium {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-premium h5 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-premium a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-premium a:hover {
    color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-premium h1 {
        font-size: 48px;
    }

    .hero-premium .hero-subtitle {
        font-size: 22px;
    }

    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .hero-premium h1 {
        font-size: 36px;
    }

    .hero-premium .hero-subtitle {
        font-size: 18px;
    }

    .section-premium {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .btn-premium {
        padding: 12px 30px;
        font-size: 14px;
    }

    .portfolio-image {
        height: 250px;
    }
}
