/* static/assets/css/common-sections.css */

/* Section Title Styling */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin-bottom: 16px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #fd7e14, #fbbf24);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary, #64748b);
    text-align: center;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Card Grid Styling */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

/* Card Styling */
.card-item {
    background: var(--card-bg, rgba(255, 255, 255, 0.95));
    border: 2px solid rgba(253, 126, 20, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow-color, rgba(253, 126, 20, 0.08));
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    margin-bottom: 24px;
}

.card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #fd7e14, #fbbf24);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.card-item:hover::before {
    transform: scaleX(1);
}

.card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(253, 126, 20, 0.15);
    border-color: rgba(253, 126, 20, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image i {
    color: #fd7e14;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(253, 126, 20, 0.2));
}

.card-item:hover .card-image i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.card-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(253, 126, 20, 0.05), rgba(251, 191, 36, 0.03));
    transform: rotate(30deg);
    transition: transform 0.4s ease;
}

.card-item:hover .card-image::before {
    transform: rotate(35deg) scale(1.1);
}

.card-item .card-body {
    padding: 24px;
}

.card-title {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.2;
}

.card-specs {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.card-specs li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
}

.card-specs li i {
    font-size: 1rem;
    margin-right: 16px;
    min-width: 24px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
}

.capacity-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fd7e14, #fbbf24);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-description {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 1.6;
}
