/* Custom CSS for Delmiro Gouveia Platform */

/* Font Family */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Color Variables */
:root {
    --primary-color: #4A90E2;
    --primary-gradient: linear-gradient(135deg, #00C9FF 0%, #92FE9D 100%);
    --hero-gradient: linear-gradient(135deg, #3c83f6 0%, #16a249 100%);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --text-muted: #6c757d;
    --white-75: rgba(255, 255, 255, 0.75);
    --white-50: rgba(255, 255, 255, 0.5);
}

.text-success {
    color: #4ADE80!important;
}

/* Navbar Customizations */
.navbar {
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand img {max-height: 50px;}

.search-form {
    width: 400px;
    margin: 0 2rem;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1300px;
    }
}

.search-form .input-group {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.input-group {height: 50px;}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){
    height: 50px;
}

.search-form .form-control {
    border: none;
    padding: 0.75rem 1rem;
}

.search-form .input-group-text {
    border: none;
}

/* Hero Section */
.hero-section {
    background: var(--hero-gradient);
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.text-gradient {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white-75 {
    color: var(--white-75) !important;
}

.text-white-50 {
    color: var(--white-50) !important;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Search Container */

.search-container {
        background: #f4f9fa;
    padding: 20px;
    border-radius: 15px;
}

.search-container .input-group {
border-radius: 10px;
    overflow: hidden;
    /*box-shadow: 0 7px 19px rgba(0, 0, 0, 0.2);*/
    background: white;
    border: 2px solid #e2e8f0;

}

.search-container .form-control {
    padding: 1rem 1.5rem;
    font-size: 14px;
    border: none;
}

.search-container .input-group-text {
    padding: 1rem 1.5rem;
    border: none;
    background: white;
    height: 50px;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){
    height: 50px;
}

.search-container .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    font-size: 14px;
}

/* Stats Row */
.stats-row {
    margin-top: 3rem;
}

.stat-item {
    padding: 1rem;
    /*background: rgba(255, 255, 255, 0.1);*/
    border-radius: 15px;
    backdrop-filter: blur(10px);
    /*border: 1px solid rgba(255, 255, 255, 0.2);*/
}

.stat-icon i {
    font-size: 2rem;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
}

.hero-image-container img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.badge-icon i {
    font-size: 1.5rem;
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
}

.category-card {
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.category-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Professionals Section */
.professionals-section {
    padding: 5rem 0;
}

.professional-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.professional-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.professional-image {
    position: relative;
    overflow: hidden;
	height: 200px;
}

.professional-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.professional-card:hover .professional-image img {
    transform: scale(1.05);
}

.professional-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.professional-badge i {
    font-size: 1.5rem;
}

.professional-info {
    padding: 1.5rem;
}

.rating {
    display: flex;
    align-items: center;
}

.professional-tags .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

.professional-actions {
    display: grid;
    gap: 0.5rem;
	width:100%;
}

.professional-actions .btn {
flex: 1;
    border-radius: 25px;
    font-weight: 600;
    width: 100%;
    padding: 10px 3px !important;
}


/* Registration Section */
.registration-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.benefit-card {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.benefit-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.features-list {
    gap: 1rem;
}

.feature-item {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
}

/* Footer */
.footer {
    background: var(--dark-bg) !important;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
}

/* Button Customizations */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mybtn {
background: var(--primary-color);
border-radius: 10px;
    height: 40px;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0px 10px;
    color: #fff;
    border: 0;
    font-size: 14px;
}

.btn-primary:hover {
    background: #357abd;
    border-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-form {
        width: 100%;
        margin: 1rem 0;
    }
    
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .stats-row {
        margin-top: 2rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
    
    .floating-badge {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .professional-actions {
        flex-direction: column;
    }
    
    .professional-actions .btn {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .search-container .btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #357abd;
}


/* slider */
/* Portfolio Slider Styles */
/* ===== PORTFÓLIO SLIDER - SOLUÇÃO CSS PURO ===== */
.portfolio-slider {
    margin: 1.5rem 0;
    position: relative;
}

.portfolioSwiper {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.swiper-slide {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.slide-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

/* 🔥 MAGIC: object-fit:cover resolve tudo */
.portfolio-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Corta inteligentemente mantendo proporção */
    object-position: center; /* Foca no centro da imagem */
    transition: all 0.4s ease;
}

.swiper-slide:hover .portfolio-slide-img {
    transform: scale(1.05);
}

/* Navegação */
.swiper-button-next, 
.swiper-button-prev {
    color: #0066ff;
    background: rgba(255,255,255,0.95);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    border: 2px solid #0066ff;
    transition: all 0.3s ease;
}

.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next:hover, 
.swiper-button-prev:hover {
    background: #0066ff;
    color: white;
    transform: scale(1.1);
}

/* Paginação */
.swiper-pagination-bullet {
    background: #ccc;
    opacity: 0.7;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: #0066ff;
    opacity: 1;
}

/* Placeholder quando não há fotos */
.portfolio-placeholder {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.placeholder-img {
    height: 80px;
    background: #e9ecef;
    border-radius: 8px;
    border: 2px dashed #ced4da;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
    .portfolioSwiper {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .portfolioSwiper {
        height: 280px;
    }
    
    .swiper-button-next, 
    .swiper-button-prev {
        width: 38px;
        height: 38px;
    }
    
    .swiper-button-next:after, 
    .swiper-button-prev:after {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .portfolioSwiper {
        height: 240px;
    }
    
    .swiper-button-next, 
    .swiper-button-prev {
        display: none;
    }
    
    .portfolio-slider {
        margin: 1rem 0;
    }
}








