/* Enhanced Mobile-First CSS for Engravia.lb */

/* 1) MOBILE-FIRST APPROACH - Start with mobile styles, then scale up */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties for Enhanced Theming */
:root {
	--font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	--font-serif: "Playfair Display", Georgia, serif;

	/* Enhanced Color Palette */
	--primary: #e74c3c;
	--primary-dark: #c0392b;
	--primary-light: #f8d7da;
	--accent: #f39c12;
	--accent-dark: #e67e22;
	
	--success: #27ae60;
	--warning: #f39c12;
	--danger: #e74c3c;
	--info: #3498db;
	
	--neutral-50: #f8f9fa;
	--neutral-100: #e9ecef;
	--neutral-200: #dee2e6;
	--neutral-300: #ced4da;
	--neutral-400: #adb5bd;
	--neutral-500: #6c757d;
	--neutral-600: #495057;
	--neutral-700: #343a40;
	--neutral-800: #212529;
	--neutral-900: #1a1a1a;

	/* Spacing Scale */
	--space-xs: 0.25rem;
	--space-sm: 0.5rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 3rem;
	--space-3xl: 4rem;

	/* Border Radius */
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 20px;
	--radius-full: 9999px;

	/* Shadows */
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

	/* Typography Scale */
	--text-xs: 0.75rem;
	--text-sm: 0.875rem;
	--text-base: 1rem;
	--text-lg: 1.125rem;
	--text-xl: 1.25rem;
	--text-2xl: 1.5rem;
	--text-3xl: 1.875rem;
	--text-4xl: 2.25rem;
	--text-5xl: 3rem;

	/* Container Widths */
	--container-sm: 640px;
	--container-md: 768px;
	--container-lg: 1024px;
	--container-xl: 1280px;
	--container-2xl: 1536px;
}

/* 2) RESET & BASE STYLES */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	font-family: var(--font-sans);
	font-size: var(--text-base);
	line-height: 1.6;
	color: var(--neutral-800);
	background-color: #ffffff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* 3) ENHANCED MOBILE NAVIGATION */
.announcement {
	background: var(--neutral-900);
	color: white;
	text-align: center;
	padding: var(--space-sm) var(--space-md);
	font-size: var(--text-sm);
	font-weight: 500;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--neutral-200);
	box-shadow: var(--shadow-sm);
	transition: all 0.3s ease;
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-md);
	min-height: 60px;
	position: relative;
}

.brand {
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: var(--text-2xl);
	text-decoration: none;
	color: var(--neutral-800);
	transition: color 0.3s ease;
}

.brand:hover {
	color: var(--primary);
}

/* Mobile-First Navigation */
.nav-links {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: white;
	border-bottom: 1px solid var(--neutral-200);
	box-shadow: var(--shadow-lg);
	flex-direction: column;
	padding: var(--space-md);
	gap: var(--space-sm);
	z-index: 999;
}

.nav-links.active {
	display: flex;
}

.nav-toggle {
	display: block;
	background: none;
	border: none;
	cursor: pointer;
	padding: var(--space-sm);
	border-radius: var(--radius-sm);
	transition: background-color 0.3s ease;
}

.nav-toggle:hover {
	background-color: var(--neutral-100);
}

.nav-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	background: var(--neutral-700);
	margin: 5px 0;
	transition: 0.3s;
	border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
	transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
	transform: rotate(45deg) translate(-5px, -6px);
}

.nav-link, .nav-cta {
	text-decoration: none;
	color: var(--neutral-700);
	font-weight: 500;
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-sm);
	transition: all 0.3s ease;
	display: block;
	width: 100%;
}

.nav-link:hover {
	color: var(--primary);
	background-color: var(--neutral-50);
}

.nav-cta {
	background: var(--primary);
	color: white;
	border-radius: var(--radius-full);
	text-align: center;
	margin-top: var(--space-sm);
}

.nav-cta:hover {
	background: var(--primary-dark);
	color: white;
}

/* Mobile Dropdown Styles */
.dropdown {
	position: relative;
	width: 100%;
}

.dropdown-toggle::after {
	content: "▾";
	margin-left: auto;
	transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle::after {
	transform: rotate(180deg);
}

.dropdown-menu {
	display: none;
	background: var(--neutral-50);
	border-radius: var(--radius-sm);
	margin-top: var(--space-sm);
	padding: var(--space-sm);
	border: 1px solid var(--neutral-200);
}

.dropdown.active .dropdown-menu {
	display: block;
}

.dropdown-item {
	display: block;
	padding: var(--space-sm) var(--space-md);
	color: var(--neutral-600);
	text-decoration: none;
	border-radius: var(--radius-sm);
	transition: all 0.3s ease;
}

.dropdown-item:hover {
	background: var(--primary);
	color: white;
}

/* 4) ENHANCED HERO SECTION */
.hero {
	padding: var(--space-xl) var(--space-md);
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	position: relative;
	overflow: hidden;
	min-height: 70vh;
	display: flex;
	align-items: center;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
				radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 50%);
	pointer-events: none;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	align-items: center;
	position: relative;
	z-index: 2;
	max-width: var(--container-lg);
	margin: 0 auto;
	width: 100%;
}

.hero-title {
	font-family: var(--font-serif);
	font-size: var(--text-3xl);
	line-height: 1.2;
	margin: 0 0 var(--space-md) 0;
	color: white;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
	animation: slideInUp 0.8s ease-out;
}

.hero-sub {
	color: rgba(255,255,255,0.9);
	margin: 0 0 var(--space-lg) 0;
	font-size: var(--text-lg);
	animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-ctas {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
	animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	margin-top: var(--space-lg);
	animation: slideInUp 0.8s ease-out 0.6s both;
}

.hero-badges span {
	background: rgba(255,255,255,0.2);
	color: white;
	padding: var(--space-xs) var(--space-sm);
	border-radius: var(--radius-full);
	font-size: var(--text-sm);
	font-weight: 600;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.3);
}

.hero-card {
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-2xl);
	background: white;
	animation: slideInUp 0.8s ease-out 0.8s both;
}

.hero-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4/3;
	object-fit: cover;
}

/* 5) ENHANCED BUTTON SYSTEM */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	padding: var(--space-md) var(--space-xl);
	border: 2px solid transparent;
	border-radius: var(--radius-full);
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: var(--text-base);
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	min-height: 48px; /* Better touch targets */
	user-select: none;
}

.btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
	transform: translateX(-100%);
	transition: transform 0.6s;
}

.btn:hover::before {
	transform: translateX(100%);
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
	border-color: var(--primary);
	box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
	background: rgba(255,255,255,0.1);
	color: white;
	border-color: rgba(255,255,255,0.3);
	backdrop-filter: blur(10px);
}

.btn-secondary:hover {
	background: white;
	color: var(--primary);
	border-color: white;
}

.btn-outline {
	background: transparent;
	color: var(--primary);
	border-color: var(--primary);
}

.btn-outline:hover {
	background: var(--primary);
	color: white;
}

/* 6) ENHANCED CARD SYSTEM */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--space-lg);
	padding: 0;
}

.card {
	display: flex;
	flex-direction: column;
	background: white;
	border: 1px solid var(--neutral-200);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	box-shadow: var(--shadow-md);
}

.card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
	border-color: var(--primary);
}

.card:hover::before {
	opacity: 0.03;
}

.card-img {
	background: linear-gradient(45deg, var(--neutral-100) 25%, transparent 25%, transparent 75%, var(--neutral-100) 75%),
				linear-gradient(45deg, var(--neutral-100) 25%, transparent 25%, transparent 75%, var(--neutral-100) 75%);
	background-size: 20px 20px;
	background-position: 0 0, 10px 10px;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--neutral-500);
	font-weight: 500;
	position: relative;
	z-index: 2;
}

.card-body {
	padding: var(--space-lg);
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	flex-grow: 1;
	position: relative;
	z-index: 2;
}

.card-title {
	font-weight: 700;
	color: var(--neutral-800);
	font-size: var(--text-lg);
	line-height: 1.3;
}

.card-desc {
	color: var(--neutral-600);
	font-size: var(--text-sm);
	line-height: 1.5;
	flex-grow: 1;
}

.card-price {
	color: var(--primary);
	font-weight: 700;
	font-size: var(--text-lg);
	margin-top: auto;
}

.card-actions {
	margin-top: var(--space-md);
	display: flex;
	gap: var(--space-sm);
}

.card-btn {
	flex: 1;
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-sm);
	border: 1px solid var(--neutral-300);
	background: white;
	cursor: pointer;
	font-weight: 600;
	font-size: var(--text-sm);
	transition: all 0.3s ease;
}

.card-btn-primary {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

.card-btn-primary:hover {
	background: var(--primary-dark);
}

.card-btn-secondary:hover {
	background: var(--neutral-50);
}

/* 7) ENHANCED SECTIONS */
.section {
	padding: var(--space-2xl) var(--space-md);
}

.section-title {
	font-family: var(--font-serif);
	font-size: var(--text-3xl);
	color: var(--neutral-800);
	margin: 0 0 var(--space-sm) 0;
	line-height: 1.2;
}

.section-sub {
	color: var(--neutral-600);
	margin: 0 0 var(--space-xl) 0;
	font-size: var(--text-lg);
	line-height: 1.5;
}

/* 8) ENHANCED CONTAINER SYSTEM */
.container {
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--space-md);
}

/* 9) ENHANCED FORM STYLES */
.form-group {
	margin-bottom: var(--space-lg);
}

.form-group label {
	display: block;
	margin-bottom: var(--space-sm);
	font-weight: 600;
	color: var(--neutral-700);
	font-size: var(--text-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: var(--space-md);
	border: 2px solid var(--neutral-300);
	border-radius: var(--radius-md);
	font-size: var(--text-base);
	background: white;
	transition: all 0.3s ease;
	min-height: 48px; /* Better touch targets */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* 10) ENHANCED CHIPS */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	justify-content: center;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-full);
	border: 1px solid var(--neutral-300);
	text-decoration: none;
	color: var(--neutral-700);
	font-weight: 600;
	font-size: var(--text-sm);
	background: white;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.chip:hover {
	border-color: var(--primary);
	color: var(--primary);
	background: rgba(231, 76, 60, 0.05);
	transform: translateY(-1px);
}

/* 11) ENHANCED FOOTER */
.footer {
	background: var(--neutral-900);
	color: var(--neutral-300);
	margin-top: auto;
}

.footer-inner {
	padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	margin-bottom: var(--space-xl);
}

.footer .brand {
	color: white;
	font-size: var(--text-xl);
	margin-bottom: var(--space-sm);
}

.footer h4 {
	color: white;
	margin: 0 0 var(--space-md) 0;
	font-size: var(--text-lg);
}

.footer a {
	color: var(--neutral-400);
	text-decoration: none;
	transition: color 0.3s ease;
	display: block;
	padding: var(--space-xs) 0;
}

.footer a:hover {
	color: var(--primary);
}

.footer-bottom {
	padding-top: var(--space-lg);
	border-top: 1px solid var(--neutral-700);
	font-size: var(--text-sm);
	color: var(--neutral-500);
	text-align: center;
}

/* 12) ANIMATIONS */
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

/* 13) UTILITY CLASSES */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* 14) RESPONSIVE BREAKPOINTS */

/* Small tablets and large phones */
@media (min-width: 640px) {
	.hero-title {
		font-size: var(--text-4xl);
	}
	
	.hero-ctas {
		flex-direction: row;
		justify-content: flex-start;
	}
	
	.grid {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	}
	
	.chips {
		justify-content: flex-start;
	}
	
	.footer-top {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Tablets */
@media (min-width: 768px) {
	.container {
		padding: 0 var(--space-xl);
	}
	
	.nav {
		padding: var(--space-md) var(--space-xl);
	}
	
	.nav-toggle {
		display: none;
	}
	
	.nav-links {
		position: static;
		display: flex;
		flex-direction: row;
		background: transparent;
		border: none;
		box-shadow: none;
		padding: 0;
		gap: var(--space-lg);
	}
	
	.nav-link, .nav-cta {
		display: inline-block;
		width: auto;
		padding: var(--space-sm) var(--space-md);
	}
	
	.nav-cta {
		margin-top: 0;
	}
	
	.dropdown-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		background: white;
		border: 1px solid var(--neutral-200);
		border-radius: var(--radius-md);
		box-shadow: var(--shadow-lg);
		padding: var(--space-sm);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: all 0.3s ease;
		z-index: 1000;
		margin-top: var(--space-sm);
	}
	
	.dropdown:hover .dropdown-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		display: block;
	}
	
	.hero-inner {
		grid-template-columns: 1.2fr 1fr;
	}
	
	.hero-title {
		font-size: var(--text-5xl);
	}
	
	.section {
		padding: var(--space-3xl) var(--space-xl);
	}
	
	.grid {
		grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	}
	
	.footer-top {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Large tablets and small desktops */
@media (min-width: 1024px) {
	.container {
		max-width: var(--container-lg);
	}
	
	.grid {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
	
	.footer-top {
		grid-template-columns: 2fr 1fr 1fr;
	}
}

/* Desktops */
@media (min-width: 1280px) {
	.container {
		max-width: var(--container-xl);
	}
	
	.nav {
		padding: var(--space-lg) var(--space-xl);
	}
	
	.section {
		padding: var(--space-3xl) var(--space-2xl);
	}
}

/* Large desktops */
@media (min-width: 1536px) {
	.container {
		max-width: var(--container-2xl);
	}
}

/* 15) ENHANCED LOADING STATES */
.loading {
	animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 16) ENHANCED ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* 17) DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #1a1a1a;
		--text: #e5e5e5;
		--card-bg: #2d2d2d;
		--card-border: #404040;
	}
}

/* 18) TOUCH IMPROVEMENTS */
@media (hover: none) and (pointer: coarse) {
	.btn {
		min-height: 48px;
		padding: var(--space-md) var(--space-xl);
	}
	
	.nav-link {
		min-height: 48px;
		display: flex;
		align-items: center;
	}
	
	.card {
		transition: none;
	}
	
	.card:active {
		transform: scale(0.98);
	}
}

/* Add to your CSS file */
.container-fluid {
    width: 100%;
    padding: 0 var(--space-md);
}

.hero-mobile {
    min-height: calc(100vh - 60px);
    min-height: calc(100 * var(--vh, 1vh) - 60px);
}

.sticky-bottom {
    position: sticky;
    bottom: var(--space-md);
    z-index: 100;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-grid-mobile {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .product-grid-mobile {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (min-width: 768px) {
    .product-grid-mobile {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}


/* Enhanced CSS for Contact, Products, Profile and other pages */

/* 20) Enhanced Contact Page */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.contact-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-back-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.contact-header h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-info-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h3 {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    font-weight: 600;
}

.contact-info-text p {
    margin: 0;
    color: #666;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form-group {
    margin-bottom: 1.5rem;
}

.contact-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.contact-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Contact page mobile */
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
}

/* 21) Enhanced Products Page */
.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8f9fa;
    min-height: 100vh;
}

.products-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.products-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.products-header {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.products-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 0;
}

.products-search-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    min-width: 300px;
}

.products-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.products-search-input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.products-search-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.products-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.products-filters {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.products-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.products-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    text-decoration: none;
    color: #666;
    background: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.products-filter-btn:hover,
.products-filter-btn.active {
    border-color: #e74c3c;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
    transform: translateY(-1px);
}

.products-grid-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card-enhanced {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
}

.product-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #e74c3c;
}

.product-image-enhanced {
    height: 220px;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%),
                linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 500;
    position: relative;
}

.product-image-enhanced::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(231, 76, 60, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-enhanced:hover .product-image-enhanced::after {
    opacity: 1;
}

.product-info-enhanced {
    padding: 1.5rem;
}

.product-name-enhanced {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.product-description-enhanced {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-enhanced {
    color: #e74c3c;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.product-categories-enhanced {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-order-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-order-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
}

.products-no-results {
    text-align: center;
    padding: 3rem;
    color: #666;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.products-no-results h2 {
    font-family: var(--font-serif);
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Products page mobile */
@media (max-width: 900px) {
    .products-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .products-search-form {
        width: 100%;
        min-width: 0;
    }
    
    .products-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .products-container {
        padding: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-filters-list {
        justify-content: center;
    }
}

/* 22) Enhanced Product Detail Page */
.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8f9fa;
    min-height: 100vh;
}

.product-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-detail-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-gallery-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1;
    background: #f0f0f0;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-main-image:hover img {
    transform: scale(1.05);
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.product-thumbnail {
    height: 80px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-thumbnail.active,
.product-thumbnail:hover {
    border-color: #e74c3c;
    transform: translateY(-2px);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-detail-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-detail-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e74c3c;
    margin: 1rem 0;
}

.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-detail-badge {
    display: inline-block;
    font-size: 0.8rem;
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e0e0e0;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

.product-detail-badge.customizable {
    background: #e8f5e8;
    color: #27ae60;
    border-color: #27ae60;
}

.product-detail-section {
    margin-top: 2rem;
}

.product-detail-section h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.product-detail-description {
    color: #555;
    line-height: 1.6;
}

.product-detail-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-detail-btn {
    padding: 14px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    min-width: 180px;
}

.product-detail-btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.product-detail-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.product-detail-btn-outline {
    background: white;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.product-detail-btn-outline:hover {
    background: #e74c3c;
    color: white;
}

/* Related products section */
.related-products {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.related-products-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.related-product-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.related-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #e74c3c;
}

.related-product-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    color: #666;
}

.related-product-info {
    padding: 1rem;
}

.related-product-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.related-product-price {
    color: #e74c3c;
    font-weight: 700;
}

/* Product detail mobile */
@media (max-width: 1000px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-detail-title {
        font-size: 1.8rem;
    }
    
    .product-detail-actions {
        flex-direction: column;
    }
    
    .product-detail-btn {
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .product-detail-container {
        padding: 1rem;
    }
    
    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* 23) Enhanced Profile Page */
.profile-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem;
}

.profile-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.profile-header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.profile-title-section h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-title-section p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.profile-nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.profile-nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.profile-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.profile-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    padding: 2rem;
}

.profile-form-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e0e0e0;
}

.profile-summary-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e0e0e0;
}

.profile-section-title {
    font-family: var(--font-serif);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.profile-form-group {
    margin-bottom: 1.5rem;
}

.profile-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.profile-form-group input,
.profile-form-group select,
.profile-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

.profile-form-group input:focus,
.profile-form-group select:focus,
.profile-form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.profile-form-group input:disabled {
    background: #f0f0f0;
    color: #666;
    cursor: not-allowed;
}

.profile-save-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.profile-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.profile-save-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.profile-summary-list {
    display: grid;
    gap: 1rem;
}

.profile-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
}

.profile-summary-label {
    color: #7f8c8d;
    font-weight: 500;
}

.profile-summary-value {
    font-weight: 600;
    color: #2c3e50;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.profile-logout-section {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.profile-logout-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.profile-logout-link:hover {
    color: #c0392b;
}

/* Profile mobile */
@media (max-width: 900px) {
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .profile-form-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-title-section h1 {
        font-size: 2rem;
    }
    
    .profile-nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .profile-container {
        padding: 1rem;
    }
    
    .profile-summary-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .profile-summary-value {
        max-width: 100%;
        text-align: left;
    }
}

/* 24) Enhanced Order Form Page */
.order-form-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem;
}

.order-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.order-form-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.order-form-back:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
}

.order-form-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.order-form-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.order-form-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.order-product-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
}

.order-product-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.order-product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.order-product-description {
    color: #666;
    line-height: 1.6;
}

.order-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.order-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.order-form-group {
    margin-bottom: 1.5rem;
}

.order-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.order-form-group .required {
    color: #e74c3c;
}

.order-form-group input,
.order-form-group select,
.order-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

.order-form-group input:focus,
.order-form-group select:focus,
.order-form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.order-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.order-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
}

.order-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Order form mobile */
@media (max-width: 600px) {
    .order-form-container {
        padding: 1rem;
    }
    
    .order-form-row {
        grid-template-columns: 1fr;
    }
    
    .order-form-title {
        font-size: 2rem;
    }
}

/* 25) Enhanced Homepage Improvements */
.hero-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content-enhanced {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-inner-enhanced {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title-enhanced {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle-enhanced {
    color: white;
    font-size: 1.2rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-ctas-enhanced {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-btn-primary {
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.hero-btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background: white;
    color: #667eea;
}

.hero-badges-enhanced {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-image-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.hero-image-card:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Homepage mobile */
@media (max-width: 1024px) {
    .hero-inner-enhanced {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-image-card {
        transform: none;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title-enhanced {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-enhanced {
        font-size: 1.1rem;
    }
    
    .hero-ctas-enhanced {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* 26) Enhanced Error/Success Messages */
.message-enhanced {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-enhanced.success {
    background: linear-gradient(90deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left-color: #28a745;
}

.message-enhanced.error {
    background: linear-gradient(90deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left-color: #dc3545;
}

.message-enhanced.warning {
    background: linear-gradient(90deg, #fff3cd, #ffeaa7);
    color: #856404;
    border-left-color: #ffc107;
}

.message-enhanced.info {
    background: linear-gradient(90deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border-left-color: #17a2b8;
}

.message-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* 27) Enhanced Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #e74c3c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff40;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 28) Enhanced Form Validation */
.form-group-enhanced {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input-enhanced {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

.form-input-enhanced:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-input-enhanced.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-input-enhanced.success {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-success-message {
    color: #28a745;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* 29) Enhanced Tooltips */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2c3e50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* 30) Enhanced Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.focus-visible {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #e74c3c;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid;
    }
    
    .card {
        border: 2px solid #333;
    }
    
    .form-input-enhanced {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #333 !important;
    }
}


/* 31) Enhanced Forgot Password & Reset Password Pages */
.forgot-password-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.forgot-password-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.forgot-password-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 0.6s ease-out;
}

.forgot-password-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.forgot-password-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.forgot-password-back:hover {
    background: #e9ecef;
    color: #e74c3c;
    transform: translateX(-3px);
}

.forgot-password-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.forgot-password-logo h1 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.forgot-password-logo p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.forgot-password-logo .header-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.forgot-password-description {
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.forgot-password-form {
    margin-bottom: 2rem;
}

.forgot-password-form-group {
    margin-bottom: 1.5rem;
}

.forgot-password-form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.forgot-password-form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    background: white;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.forgot-password-form-group input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
    transform: translateY(-1px);
}

.forgot-password-form-group input::placeholder {
    color: #adb5bd;
}

.forgot-password-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.forgot-password-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.forgot-password-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.4);
}

.forgot-password-submit:hover::before {
    left: 100%;
}

.forgot-password-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.forgot-password-submit:disabled::before {
    display: none;
}

.forgot-password-links {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.forgot-password-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Reset Password Specific Styles */
.reset-password-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.reset-password-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.reset-password-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 0.6s ease-out;
}

.reset-password-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.reset-password-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.password-strength-indicator {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.password-strength-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.password-strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength-weak .password-strength-fill {
    width: 33%;
    background: #dc3545;
}

.password-strength-medium .password-strength-fill {
    width: 66%;
    background: #ffc107;
}

.password-strength-strong .password-strength-fill {
    width: 100%;
    background: #28a745;
}

.password-requirements {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #666;
}

.password-requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.password-requirement.met {
    color: #28a745;
}

.password-requirement.unmet {
    color: #6c757d;
}

.requirement-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.requirement-icon.met {
    background: #28a745;
    color: white;
}

.requirement-icon.unmet {
    background: #e9ecef;
    color: #6c757d;
}

/* Success message styling for password reset */
.reset-success-card {
    text-align: center;
    padding: 2rem;
}

.reset-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.reset-success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.reset-success-message {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Invalid token styling */
.reset-invalid-card {
    text-align: center;
    padding: 2rem;
}

.reset-invalid-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.reset-invalid-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.reset-invalid-message {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Mobile responsiveness for auth pages */
@media (max-width: 600px) {
    .forgot-password-container,
    .reset-password-container {
        padding: 1rem;
    }
    
    .forgot-password-card,
    .reset-password-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .forgot-password-logo h1 {
        font-size: 1.8rem;
    }
    
    .forgot-password-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .reset-success-icon,
    .reset-invalid-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}