/* Custom styles for Cre8ive Pixel Labs */

/* Improved spacing and whitespace */
.hero-section {
    padding: 120px 0 !important;
}

.features {
    padding: 80px 0 !important;
}

.features .col-md-4 {
    margin-bottom: 40px;
}

.recent-posts {
    padding: 80px 0 !important;
}

.see-more {
    margin: 60px 0 !important;
}

/* Projects page improvements */
.projects-hero {
    padding: 80px 0 !important;
    background: var(--brand-gradient) !important;
    color: white !important;
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.sidebar {
    padding-left: 40px;
}

.sidebar .widget {
    margin-bottom: 40px;
}

/* About page visual enhancements */
.tech-tag {
    display: inline-flex;
    align-items: center;
    background: var(--brand-purple);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9em;
    margin: 4px 8px 8px 0;
}

.tech-tag i {
    margin-right: 6px;
    font-size: 1.1em;
}

.stats-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--brand-purple);
    line-height: 1;
    margin-top: 25px;
}

.stats-number:first-child {
    margin-top: 0;
}

.stats-label {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 5px;
}

/* Style Continue Reading buttons with brand colors */
.btn-template-transparent-primary,
.project .btn {
    background: var(--brand-gradient) !important;
    color: white !important;
    border: none !important;
    font-weight: 600 !important;
}

.btn-template-transparent-primary:hover,
.project .btn:hover {
    background: linear-gradient(135deg, #5855eb 0%, #ec2545 100%) !important;
    color: white !important;
}

/* Brand color customization */
:root {
    --brand-purple: #6366f1;
    --brand-pink: #f43f5e;
    --brand-gradient: linear-gradient(135deg, #6366f1 0%, #f43f5e 100%);
}

/* Update primary button to match brand gradient */
.btn-template-main {
    background: var(--brand-gradient) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
}

.btn-template-main:hover {
    background: linear-gradient(135deg, #5855eb 0%, #ec2545 100%) !important;
    color: white !important;
}

/* Update navigation active state */
.navbar-nav > li > a:hover {
    background: white !important;
    background-image: var(--brand-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

.navbar-nav > .active > a {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(244, 63, 94, 0.8) 100%) !important;
    color: white !important;
}

/* Feature icons with brand colors */
.features .icon i {
    background: var(--brand-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Keep see_more section icon simple */
.see-more .icon i,
.background-image-fixed-2 .icon i {
    color: white !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
}

/* Enhanced rocket icon in see_more section */
.see-more .icon.icon-lg i {
    font-size: 4rem !important;
    color: white !important;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3) !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
    animation: rocket-glow 2s ease-in-out infinite alternate;
}

@keyframes rocket-glow {
    0% {
        text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
        transform: translateY(0px);
    }
    100% {
        text-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
        transform: translateY(-5px);
    }
}

/* Fix blog post layout issues */
.box-image-text.blog .top {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.box-image-text.blog .top .image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.box-image-text.blog .top .text {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 3;
}

.box-image-text.blog .top .bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.box-image-text.blog .content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.box-image-text.blog .content h4 {
    margin-top: 0;
    margin-bottom: 10px;
}
