/**
 * proiect.ro Website Styles
 *
 * Custom styles for the public website pages including:
 * - Category gradient backgrounds and text
 * - Typography utilities
 * - Section-specific styles
 */

/* =============================================================================
   Layout Fixes
   ============================================================================= */

/* Prevent horizontal scroll from Bootstrap row negative margins */
html, body {
    overflow-x: hidden;
}


/* =============================================================================
   Typography
   ============================================================================= */

.nicep {
    line-height: 1.8;
}

.hero-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* =============================================================================
   Category Gradients - Feature Hubs
   ============================================================================= */

/* Echipa - Purple gradient */
.category-echipa-background {
    background-color: #667eea;
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.category-echipa-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Configurare - Blue gradient */
.category-configurare-background {
    background-color: #4facfe;
    background-image: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.category-configurare-text {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Clienti - Green gradient */
.category-clienti-background {
    background-color: #11998e;
    background-image: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.category-clienti-text {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Vanzari - Orange gradient */
.category-vanzari-background {
    background-color: #f093fb;
    background-image: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.category-vanzari-text {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Livrare - Teal gradient */
.category-livrare-background {
    background-color: #43e97b;
    background-image: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.category-livrare-text {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Parteneri - Blue-Purple gradient */
.category-parteneri-background {
    background-color: #a18cd1;
    background-image: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: white;
}

.category-parteneri-text {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Suport - Red-Orange gradient */
.category-suport-background {
    background-color: #ff9a9e;
    background-image: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
}

.category-suport-text {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Analize - Dark Blue gradient */
.category-analize-background {
    background-color: #0c3483;
    background-image: linear-gradient(135deg, #0c3483 0%, #a2b6df 100%);
    color: white;
}

.category-analize-text {
    background: linear-gradient(135deg, #0c3483 0%, #a2b6df 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================================================
   Hero Section
   ============================================================================= */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-section-light {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 50vh;
    display: flex;
    align-items: center;
}

/* =============================================================================
   Card Styles
   ============================================================================= */

.feature-card {
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.feature-card:hover {
    border-color: var(--mdb-primary);
    transform: translateY(-3px);
}

.pillar-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

.pillar-card .card-body {
    padding: 2rem;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

/* =============================================================================
   Persona/Role Cards
   ============================================================================= */

.persona-card {
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.persona-card:hover {
    border-color: var(--mdb-primary);
    transform: translateY(-3px);
}

.persona-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.5rem;
}

/* =============================================================================
   Business Process Group Cards
   ============================================================================= */

.process-group-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    min-height: 200px;
}

.process-group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    transition: opacity 0.2s ease-in-out;
}

.process-group-card:hover::before {
    opacity: 0.2;
}

/* =============================================================================
   Screenshot / Image Utilities
   Constrained: fixed height, crops to fill (for cards, thumbnails)
   Standalone:  img-fluid behavior (scales with container, no crop)
   ============================================================================= */

.card-img-sm,
.card-img-md,
.card-img-lg {
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.card-img-sm { height: 120px; }
.card-img-md { height: 180px; }
.card-img-lg { height: 260px; }

/* =============================================================================
   Section Spacing
   ============================================================================= */

.section-padding {
    padding: 5rem 0;
}

.section-padding-sm {
    padding: 3rem 0;
}

/* =============================================================================
   Dropdown Menu Enhancements
   ============================================================================= */

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}

.dropdown-item:hover {
    background-color: rgba(var(--mdb-primary-rgb), 0.1);
}

.dropdown-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
