/* 
    Portfolio Professional Revamp 
    Design System & Modern Utilities
*/

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;
    --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Overrides */
body {
    background-color: var(--bg-darker);
    color: var(--text-light);
    font-family: 'Inter', 'Outfit', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-light);
}

/* Glassmorphism Utilities */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border-radius: 20px;
    padding: 30px;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.2);
}

/* Hero Section Enhancements */
.hero-block.personal-home {
    background-color: var(--bg-darker) !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-block::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: 1;
    filter: blur(80px);
}

.hero-block::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(233, 32, 79, 0.1) 0%, transparent 70%);
    z-index: 1;
    filter: blur(80px);
}

.hero-content-area {
    position: relative;
    z-index: 2;
    padding: 40px;
}

.hero-title {
    font-size: 5rem !important;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero-desc {
    color: var(--primary) !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-services li {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section Titles */
.section-title .title-main {
    color: var(--primary) !important;
}

/* Adjust spacing between hero and services */
.services-block {
    padding-top: 100px !important; /* reduced from 170px */
}

.section-title .title-main span {
    color: var(--text-light) !important;
}

.section-title .sub-title {
    color: var(--text-muted) !important;
}

/* Service Items */
.service-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 40px 30px !important;
    display: block;
    height: 100%;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.service-item .title {
    color: var(--text-light) !important;
    margin-top: 20px;
}

/* About Section */
.about-us-block {
    background-color: var(--bg-dark);
}

.about-content .heading {
    color: var(--primary);
}

.about-content p {
    color: var(--text-muted);
}

.mock-up-thumb img {
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 5px solid var(--glass-border);
}

/* Skill Bars */
.single-skill .skill-title {
    color: var(--text-light) !important;
}

.progress {
    background-color: rgba(255, 255, 255, 0.05) !important;
    height: 8px !important;
    overflow: visible;
}

.progress-bar {
    background-color: var(--primary) !important;
    position: relative;
    border-radius: 50px;
}

.progress-bar span {
    background: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    bottom: 15px;
    right: 0;
}

/* Portfolio Grid */
.portfolio-filter li a {
    color: var(--text-muted) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
}

.portfolio-filter li a.active, 
.portfolio-filter li a:hover {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
}

.portfolio-info {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(8px);
}

/* Portfolio overlay adjustments */
.portfolio-item .overlay-wrapper .overlay {
    background-color: rgba(0, 0, 0, 0.3) !important; /* lighter shade */
}

.portfolio-info {
    background: rgba(15, 23, 42, 0.5) !important; /* reduce darkness */
}

/* Latest news tweaks */
.latest-news-block .glass-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid var(--glass-border) !important;
}

/* make news text black */
.latest-news-block .post-details,
.latest-news-block .entry-meta,
.latest-news-block .entry-title a {
    color: #000 !important;
}
.latest-news-block .entry-meta .entry-date,
.latest-news-block .entry-meta .entry-category .cat {
    color: #000 !important;
}

.latest-news-block .latest-news-list .col-lg-4 {
    margin-bottom: 30px;
}

/* Contact Form */
.contact-block {
    background-color: var(--bg-darker);
}

.form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-light) !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
}

.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2) !important;
}

/* Footer */
.site-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
}

/* Responsive Font Scaling */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem !important;
    }
}
