/*
Theme Name: Net PC Solution
Theme URI: https://netpcsolution.it
Author: Net PC Solution
Author URI: https://netpcsolution.it
Description: Tema personalizzato per Net PC Solution, replica esatta del sito attuale con funzionalità di gestione portfolio.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: netpcsolution
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    --magenta: #E6007E;
    --blue: #0066CC;
    --dark: #111827;
    --light: #dddddd;
    --gradient: linear-gradient(135deg, var(--magenta), var(--blue));
}

body {
    background: var(--dark);
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}
p{
	color: var(--light) !important;
}

/* chat Ai Google */
.bubble .close-icon svg, .bubble .icon svg {
    fill: var(--light) !important;
}
.bubble {
    background: var(--gradient) !important;
}

/* Navigation */
.navbar {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 0, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(17, 24, 39, 0.98);
    box-shadow: 0 2px 20px rgba(230, 0, 126, 0.15);
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.nav-link {
    padding: 1rem 1.2rem !important;
    transition: all 0.3s ease;
	color:#999;
}

.navbar.scrolled .nav-link {
    padding: 0.8rem 1rem !important;
}

/* Logo Styles */
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    padding: 0;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(230, 0, 126, 0.5));
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 35px;
    }
}

.background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--magenta) !important;
    transform: translateY(-2px);
}

.cta-button {
    background: var(--gradient);
    border-radius: 30px;
    padding: 0.8rem 1.5rem !important;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.2);
    color: #fff;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.3);
}
.glow-button {
    position: relative;
    background: linear-gradient(135deg, #E6007E, #0066CC);
    border: none;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #E6007E, #0066CC, #E6007E);
    z-index: -1;
    border-radius: 32px;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-button:hover::before {
    opacity: 0.7;
}

.glow-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 0, 126, 0.3);
}

.pulse-button {
    border: 2px solid white !important;
    background: transparent;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
	margin-left:1rem;
	}

.pulse-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}


/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.page-header {
    padding: 135px 0 20px;
/*    background: var(--gradient); */
	background: linear-gradient(135deg, var(--blue), var(--magenta), #fdbb2d);
    margin-bottom: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}



/* Cards */
.card {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgb(255 0 255 / 29%);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: #bebebf !important;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.15);
    border-color: var(--magenta);
}

/* Service Boxes */
.service-box {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-box::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(230, 0, 126, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.5s ease;
    opacity: 0;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient);
    transition: all 0.4s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.15);
    border-color: transparent;
}

.service-box:hover::after {
    opacity: 1;
    bottom: -30%;
    right: -30%;
}

.service-box:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-box:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--light);
    position: relative;
    padding-bottom: 0.8rem;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.service-box:hover .service-title::after {
    width: 60px;
}

.service-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #bebebf;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--magenta);
    transition: all 0.3s ease;
}

.service-box:hover .service-list li::before {
    left: 5px;
    color: var(--blue);
}

/* Responsive styles for service boxes */
@media (max-width: 992px) {
    .service-box {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .service-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .service-box {
        margin-bottom: 1.5rem;
    }
    
    .service-content {
        padding-left: 0;
    }
    
    .service-list li {
        font-size: 0.95rem;
    }
}

/* Portfolio Grid 
.portfolio-grid {
    gap: 2rem;
}
*/
.portfolio-item {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.portfolio-item img {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Stile per gli elementi nascosti del portfolio */
.hidden-item {
    display: none;
}

/* Stile per gli elementi filtrati */
.filtered-out {
    display: none;
}

/* Animazione fade-in per i nuovi elementi caricati */
.fade-in {
    animation: fadeInAnimation 1s ease forwards;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stile per il pulsante Load More */
#load-more-btn {
    background: var(--gradient);
    padding: 0.8rem 2rem;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.2);
    transition: all 0.3s ease;
}

#load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.3);
}

/* Footer Styles */
.site-footer {
    position: relative;
    padding: 80px 0 30px;
    background: var(--dark);
    margin-top: 100px;
}

.footer-wave-container {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave {
    position: relative;
    display: block;
    width: 100%;
    height: 100px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget a {
	color:var(--light);
}

.footer-widget h4 {
    color: var(--light);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient);
}

.footer-links {
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bebebf;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--magenta);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    color: #bebebf;
}

/* WordPress Specific Styles */
.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.wp-block-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.15);
}

.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
}

.wp-block-gallery .blocks-gallery-item {
    margin: 0 16px 16px 0;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Single Post Styles */
.single-post .card {
    padding: 2.5rem;
    margin-bottom: 2rem;
	margin-top:1.0rem;
}

.post-thumbnail {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.post-thumbnail.text-center {
    text-align: center;
}

.post-thumbnail.text-center img {
    display: inline-block;
    max-width: 80%;
    margin: 0 auto;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--magenta);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.post-meta i {
    margin-right: 0.5rem;
}

.post-content {
    color: #bebebf;
    line-height: 1.8;
}

.post-content h2, .post-content h3, .post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.post-tags {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-navigation {
    margin: 2rem 0;
}

.nav-previous a, .nav-next a {
    display: inline-block;
    color: var(--light);
    transition: all 0.3s ease;
}

.nav-previous a:hover, .nav-next a:hover {
    color: var(--magenta);
    transform: translateX(-5px);
}

.nav-next a:hover {
    transform: translateX(5px);
}

/* Page Styles */
.page-content .card {
    padding: 2.5rem;
}

/* Sidebar Styles */
.widget-area {
    margin-top: 0;
}

.widget {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget a {
    color: #bebebf;
    transition: all 0.3s ease;
}

.widget a:hover {
    color: var(--magenta);
    padding-left: 5px;
}

/* Portfolio Custom Post Type Styles */
.portfolio-archive {
    padding: 80px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 10px;
}

/* Single Portfolio Styles */
.single-portfolio {
    padding: 60px 0;
}

.single-portfolio .card {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: #bebebf !important;
    margin-bottom: 30px;
}

.single-portfolio .card:hover {
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.15);
    border-color: var(--magenta);
}

.single-portfolio .featured-image {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 12px;
}

.single-portfolio .featured-image.centered {
    text-align: center;
}

.single-portfolio .featured-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.single-portfolio .featured-image.centered img {
    margin: 0 auto;
}

.single-portfolio .featured-image img:hover {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .single-portfolio .featured-image img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .single-portfolio .featured-image {
        margin-bottom: 20px;
    }
}

.project-results {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(17, 24, 39, 0.6);
    border-left: 4px solid var(--magenta);
    border-radius: 8px;
}

.project-results h3 {
    margin-top: 0;
    color: var(--light);
    font-weight: 600;
}

.project-content {
    margin-bottom: 40px;
    color: var(--light);
}

.project-navigation {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 255, 0.2);
}

.project-navigation .btn {
    transition: all 0.3s ease;
}

.project-navigation .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.3);
}


/* Responsive styles for single portfolio */
@media (max-width: 768px) {
    .project-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .project-navigation .btn {
        width: 100%;
        text-align: center;
    }
}

.portfolio-filter-btn {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.2);
    color: var(--light);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
    background: var(--gradient);
    border-color: transparent;
}

.portfolio-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.portfolio-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.2);
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-pagination .page-numbers.current,
.portfolio-pagination .page-numbers:hover {
    background: var(--gradient);
    border-color: transparent;
}

/*
Pagina ringrqaziamento
*/
.thank-you-section {
    padding: 60px 0;
}

.thank-you-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    font-size: 40px;
    border-radius: 50%;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.thank-you-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--light);
}

.thank-you-container p {
    font-size: 18px;
    color: var(--light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.action-buttons .btn {
    padding: 12px 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.action-buttons .primary-btn {
    background-color: #007bff;
    color: white;
    border: none;
}

.action-buttons .primary-btn:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
}

.action-buttons .secondary-btn {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.action-buttons .secondary-btn:hover {
    background-color: #e2e6ea;
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .thank-you-container {
        padding: 30px 20px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .success-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
    
    .thank-you-container h2 {
        font-size: 24px;
    }
    
    .thank-you-container p {
        font-size: 16px;
    }
}