/**
 * Scroll-Triggered Subscription Banner Styles
 * Reusable component for landscape architect website
 */

/* Main banner container */
#subscriptionBanner {
	position: fixed;
	top: -80px;
	left: 0;
	width: 100%;
	background: linear-gradient(135deg, #1b8047 0%, #2aa05a 100%);
	color: white;
	padding: 15px 0;
	box-shadow: 0 2px 10px rgba(0,0,0,0.15);
	z-index: 1000;
	transition: all 0.4s ease-in-out;
	font-family: 'Arial', sans-serif;
}

#subscriptionBanner.show {
	top: 0;
	animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
	from { top: -80px; opacity: 0; }
	to { top: 0; opacity: 1; }
}

/* Banner content layout */
#subscriptionBanner .banner-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

#subscriptionBanner .banner-text {
	flex: 1;
}

#subscriptionBanner .banner-title {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 4px 0;
	color: #fff;
}

#subscriptionBanner .banner-subtitle {
	font-size: 13px;
	margin: 0;
	opacity: 0.9;
	color: #e8f5ea;
}

/* Banner actions */
#subscriptionBanner .banner-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}

#subscriptionBanner .banner-btn {
	background: rgba(255,255,255,0.15);
	border: 2px solid rgba(255,255,255,0.3);
	color: white;
	padding: 8px 20px;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	white-space: nowrap;
}

#subscriptionBanner .banner-btn:hover {
	background: rgba(255,255,255,0.25);
	border-color: rgba(255,255,255,0.5);
	color: white;
	text-decoration: none;
	transform: translateY(-1px);
}

#subscriptionBanner .banner-btn.primary {
	background: white;
	color: #1b8047;
	border-color: white;
}

#subscriptionBanner .banner-btn.primary:hover {
	background: #f0f0f0;
	color: #1b8047;
	transform: translateY(-1px);
}

/* Banner close button */
#subscriptionBanner .banner-close {
	background: none;
	border: none;
	color: rgba(255,255,255,0.7);
	font-size: 20px;
	cursor: pointer;
	padding: 5px;
	transition: color 0.3s ease;
	margin-left: 10px;
}

#subscriptionBanner .banner-close:hover {
	color: white;
}

/* Category CTA Button Styles - Matching Banner Design */

/* Base styles for all CTA buttons */
.progressive-category-cta {
	border: none !important;
	padding: 12px 30px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	border-radius: 25px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	text-decoration: none !important;
	display: inline-block !important;
	min-width: 280px !important;
	text-align: center !important;
	line-height: 1.3 !important;
	white-space: normal !important;
	margin: 10px 0 !important;
}

/* Style Option 1: Banner-Matching Primary (White with Green Text) */
.cta-style-primary {
	background: white !important;
	color: #1b8047 !important;
	border: 2px solid #1b8047 !important;
	box-shadow: 0 3px 8px rgba(27, 128, 71, 0.2) !important;
}

.cta-style-primary:hover {
	background: #f8f9fa !important;
	color: #1b8047 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 5px 15px rgba(27, 128, 71, 0.3) !important;
}

/* Style Option 2: Gradient Match (Same as Banner Background) */
.cta-style-gradient {
	background: linear-gradient(135deg, #1b8047 0%, #2aa05a 100%) !important;
	color: white !important;
	border: 2px solid transparent !important;
	box-shadow: 0 3px 8px rgba(27, 128, 71, 0.3) !important;
}

.cta-style-gradient:hover {
	background: linear-gradient(135deg, #156c3c 0%, #248a4f 100%) !important;
	color: white !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 5px 15px rgba(27, 128, 71, 0.4) !important;
}

/* Style Option 3: Outline Style (Green Border, Transparent Background) */
.cta-style-outline {
	background: rgba(255, 255, 255, 0.9) !important;
	color: #1b8047 !important;
	border: 2px solid #2aa05a !important;
	backdrop-filter: blur(5px) !important;
}

.cta-style-outline:hover {
	background: #2aa05a !important;
	color: white !important;
	border-color: #2aa05a !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 5px 15px rgba(42, 160, 90, 0.3) !important;
}

/* Style Option 4: Modern Minimal (Subtle and Clean) */
.cta-style-minimal {
	background: #f8f9fa !important;
	color: #1b8047 !important;
	border: 1px solid #dee2e6 !important;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.cta-style-minimal:hover {
	background: #1b8047 !important;
	color: white !important;
	border-color: #1b8047 !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 8px rgba(27, 128, 71, 0.2) !important;
}

/* Style Option 5: Banner Button Match (White on Green - Inverted Banner Style) */
.cta-style-banner-match {
	background: #1b8047 !important;
	color: white !important;
	border: 2px solid #1b8047 !important;
	padding: 10px 25px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	border-radius: 25px !important;
	white-space: nowrap !important;
	box-shadow: 0 2px 8px rgba(27, 128, 71, 0.2) !important;
}

.cta-style-banner-match:hover {
	background: #156c3c !important;
	color: white !important;
	border-color: #156c3c !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 12px rgba(27, 128, 71, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	#subscriptionBanner .banner-content {
		flex-direction: column;
		text-align: center;
		padding: 0 15px;
	}
	
	#subscriptionBanner .banner-actions {
		margin-top: 10px;
		flex-direction: column;
		gap: 8px;
	}
	
	#subscriptionBanner .banner-btn {
		width: 100%;
		max-width: 200px;
	}
	
	#subscriptionBanner .banner-close {
		position: absolute;
		top: 10px;
		right: 15px;
	}

	.progressive-category-cta {
		min-width: 240px !important;
		font-size: 14px !important;
		padding: 10px 20px !important;
	}
}

@media (max-width: 480px) {
	.progressive-category-cta {
		min-width: 200px !important;
		font-size: 13px !important;
		padding: 8px 16px !important;
	}
}

/* Alternative color schemes */
#subscriptionBanner.theme-blue {
	background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
}

#subscriptionBanner.theme-red {
	background: linear-gradient(135deg, #dc3545 0%, #a71e2a 100%);
}

#subscriptionBanner.theme-orange {
	background: linear-gradient(135deg, #fd7e14 0%, #d63384 100%);
} 