/* StellarLink Media - Utility Classes */

/* ========================================
   SECTION BACKGROUNDS
   ======================================== */

.section-white {
	background-color: var(--neutral-white);
}

.section-light-gray {
	background-color: var(--neutral-50);
}

.section-dark {
	background-color: var(--neutral-800);
	color: var(--neutral-white);
}

/* ========================================
   ICON SIZES
   ======================================== */

.service-icon {
	font-size: var(--text-5xl);
	margin-bottom: 16px;
}

.reason-icon {
	font-size: var(--text-5xl);
	margin-bottom: 16px;
}

.feature-icon {
	font-size: var(--text-4xl);
	margin-bottom: 12px;
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.hero-cta-button:hover {
	background-color: var(--stellarlink-blue-dark) !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(66, 133, 244, 0.3);
}

.secondary-cta-button:hover {
	background-color: var(--action-red-dark) !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(219, 68, 55, 0.3);
}

/* ========================================
   CARD STYLES
   ======================================== */

.service-card {
	background: var(--neutral-white);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	padding: 24px;
	transition: all 0.3s ease;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ========================================
   TESTIMONIAL STYLES
   ======================================== */

.testimonial-card {
	background: var(--neutral-white);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	padding: 32px;
	font-style: italic;
	color: var(--neutral-700);
}

/* ========================================
   RESPONSIVE HELPERS
   ======================================== */

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

@media (max-width: 768px) {
	.container {
		padding: 0 16px;
	}

	.service-icon,
	.reason-icon {
		font-size: var(--text-4xl);
	}

	.feature-icon {
		font-size: var(--text-2xl);
	}
}

/* ========================================
   ANIMATION UTILITIES
   ======================================== */

.fade-in {
	opacity: 0;
	animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

.slide-up {
	transform: translateY(20px);
	opacity: 0;
	animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* ========================================
   TEXT UTILITIES
   ======================================== */

.text-brand-blue {
	color: var(--stellarlink-blue);
}

.text-action-red {
	color: var(--action-red);
}

.text-success-green {
	color: var(--success-green);
}

.text-innovation-yellow {
	color: var(--innovation-yellow);
}

.text-tech-purple {
	color: var(--tech-purple);
}

/* ========================================
   BACKGROUND UTILITIES
   ======================================== */

.bg-brand-blue {
	background-color: var(--stellarlink-blue);
}

.bg-action-red {
	background-color: var(--action-red);
}

.bg-success-green {
	background-color: var(--success-green);
}

.bg-innovation-yellow {
	background-color: var(--innovation-yellow);
}

.bg-tech-purple {
	background-color: var(--tech-purple);
}

/* ========================================
   SHADOW UTILITIES
   ======================================== */

.shadow-brand {
	box-shadow: 0 4px 16px rgba(66, 133, 244, 0.15);
}

.shadow-brand-lg {
	box-shadow: 0 8px 32px rgba(66, 133, 244, 0.2);
}

/* ========================================
   BORDER UTILITIES
   ======================================== */

.border-brand {
	border: 2px solid var(--stellarlink-blue);
}

.border-light {
	border: 1px solid var(--neutral-200);
}

/* ========================================
   PORTFOLIO & RESOURCES IMAGE STYLES
   ======================================== */

.portfolio-image,
.blog-preview-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	background-color: var(--neutral-100);
	border-bottom: 1px solid var(--neutral-200);
}

/* Fallback for missing images */
.portfolio-image:not([src]),
.blog-preview-image:not([src]) {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--stellarlink-blue), var(--stellarlink-blue-dark));
	color: var(--neutral-white);
	font-weight: var(--font-semibold);
	font-size: var(--text-lg);
}

.portfolio-image::before,
.blog-preview-image::before {
	content: attr(alt);
	text-align: center;
}