/**
 * World Medicine - Public Frontend Styles
 */

/* Hero heading - distinctive font */
.hero-heading {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Hero section - warm gradient */
.hero-section {
    padding: 3.5rem 1rem;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e8f0 30%, #f0e6d3 70%, #fdf2e9 100%);
    border-radius: 1rem;
    margin-bottom: 2.5rem;
}

/* Category cards */
.category-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border-radius: 0.75rem;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
}

/* Search components */
.search-wrapper {
    position: relative;
}

.search-results-dropdown {
    position: absolute;
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
    width: 100%;
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Highlights section */
.highlights-section {
    background: #f8f9fa;
    border-radius: 1rem;
}

.highlight-card {
    border-radius: 0.75rem;
    transition: transform 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-2px);
}

.highlight-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

/* Location cards */
.location-card {
    border-left: 4px solid #0d6efd !important;
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #e3f2fd, #e8f5e9);
    border-radius: 1rem;
}

/* Service detail description */
.service-description p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Hero image / carousel */
.hero-image {
    height: 400px;
    object-fit: cover;
}

#heroCarousel {
    border-radius: 0.75rem;
}

/* 20 anni badge floating */
.badge-20anni {
    width: 90px;
    height: auto;
    bottom: -10px;
    right: -10px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* Trust banner */
.trust-banner {
    background: #f0f7ff;
    border-radius: 0.75rem;
}

/* Partners section */
.partners-section {
    background: #f8f9fa;
    border-radius: 1rem;
}

.partner-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Partner pills (convenzioni page) */
.partner-pill {
    background-color: #e3f2fd;
    color: #1565c0;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Convenzioni hero */
.convenzioni-hero {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e8f0 50%, #f0e6d3 100%);
    border-radius: 1rem;
}

.convenzioni-cta {
    background: linear-gradient(135deg, #e3f2fd, #e8f5e9);
    border-radius: 1rem;
}

/* Navbar brand */
.navbar-brand img {
    border-radius: 4px;
}
