/* Custom SKN Promotions Theme Styles */

/* Ionicons Support */
ion-icon {
	font-size: 1.5em;
	vertical-align: middle;
}

/* Line Clamp Utility */
.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

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

/* Hero Section Enhancements */
.hero-section {
	position: relative;
}

.hero-slide {
	transition: opacity 1s ease-in-out;
}

.hero-slide.opacity-100 {
	opacity: 1;
}

.hero-slide.opacity-0 {
	opacity: 0;
}

/* Horizontal Scroll Enhancement */
.restaurant-cards-wrapper,
.local-items-wrapper {
	scrollbar-width: thin;
	scrollbar-color: #104210 #f3f4f6;
}

.restaurant-cards-wrapper::-webkit-scrollbar,
.local-items-wrapper::-webkit-scrollbar {
	height: 8px;
}

.restaurant-cards-wrapper::-webkit-scrollbar-track,
.local-items-wrapper::-webkit-scrollbar-track {
	background: #f3f4f6;
	border-radius: 4px;
}

.restaurant-cards-wrapper::-webkit-scrollbar-thumb,
.local-items-wrapper::-webkit-scrollbar-thumb {
	background: #104210;
	border-radius: 4px;
}

.restaurant-cards-wrapper::-webkit-scrollbar-thumb:hover,
.local-items-wrapper::-webkit-scrollbar-thumb:hover {
	background: #0d350d;
}

/* Card Hover Effects */
.category-card,
.restaurant-card,
.event-card,
.local-item-card,
.deal-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover,
.restaurant-card:hover,
.event-card:hover,
.local-item-card:hover,
.deal-card:hover {
	transform: translateY(-4px);
}

/* Footer Enhancements */
#colophon a {
	transition: color 0.2s ease;
}

#colophon a:hover {
	color: #fff;
}

/* Responsive Image Handling */
img {
	max-width: 100%;
	height: auto;
}

/* Loading States */
.loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Empty State Styling */
.empty-state {
	text-align: center;
	padding: 3rem 1rem;
	color: #6b7280;
}

.empty-state ion-icon {
	font-size: 4rem;
	margin-bottom: 1rem;
	opacity: 0.5;
}

/* Button Enhancements */
.btn-primary {
	background-color: #104210;
	color: white;
	padding: 0.75rem 2rem;
	border-radius: 0.5rem;
	font-weight: 600;
	transition: background-color 0.2s ease;
}

.btn-primary:hover {
	background-color: #0d350d;
}

/* Section Spacing */
section {
	scroll-margin-top: 80px;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
	outline: 2px solid #104210;
	outline-offset: 2px;
}

/* Print Styles */
@media print {
	.hero-section,
	.restaurant-cards-wrapper,
	.local-items-wrapper {
		display: none;
	}
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.hero-section {
		height: 400px !important;
	}
	
	.hero-content h1 {
		font-size: 2rem !important;
	}
	
	.hero-content p {
		font-size: 1rem !important;
	}
}
