/**
 * Bespoke Core Styles - Naenae College
 * Core design system variables and base styles
 */

/* ========================================
   BESPOKE CUSTOM STYLES - OVERRIDE & ENHANCE
   ======================================== */

:root {
	--primary-red: #8B0000;
	--secondary-red: #DC143C;
	--accent-red: #B22222;
	--dark-bg: #0a0a0a;
	--light-text: #f8f9fa;
	--gray-text: #999;
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	overflow-x: hidden;
}

/* Enhanced Navigation with glassmorphism */
.menu6.opacityScroll {
	backdrop-filter: blur(20px) saturate(180%);
	background-color: rgba(0, 0, 0, 0.88) !important;
	border-bottom: 1px solid rgba(220, 20, 60, 0.1);
	transition: all 0.4s var(--transition-smooth);
}

.navbar-brand {
	font-family: 'Playfair Display', serif;
	font-weight: 900;
	letter-spacing: -1px;
	position: relative;
}

.navbar-brand::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--secondary-red), var(--accent-red));
	transition: width 0.3s var(--transition-smooth);
}

.navbar-brand:hover::after {
	width: 100%;
}

.nav-link {
	position: relative;
	font-weight: 500;
	letter-spacing: 0.5px;
	transition: all 0.3s var(--transition-smooth);
}

.nav-link::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: var(--secondary-red);
	transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover::before {
	width: 80%;
}

/* Enhanced Hero Section with parallax effect */
.header16 {
	position: relative;
	overflow: hidden;
}

.header16::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 30% 50%, rgba(220, 20, 60, 0.15) 0%, transparent 60%);
	animation: pulse-glow 8s ease-in-out infinite;
	pointer-events: none;
}

@keyframes pulse-glow {
	0%, 100% { opacity: 0.3; transform: scale(1); }
	50% { opacity: 0.6; transform: scale(1.1); }
}

.header16 h1, .header16 h2 {
	font-family: 'Playfair Display', serif;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(220, 20, 60, 0.3);
	animation: text-entrance 1.2s var(--transition-smooth);
}

@keyframes text-entrance {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Bespoke Card Designs */
.card-wrapper {
	position: relative;
	transition: all 0.4s var(--transition-smooth);
}

.card-wrapper::before {
	content: '';
	position: absolute;
	inset: -2px;
	background: linear-gradient(45deg, var(--primary-red), var(--secondary-red), var(--accent-red));
	opacity: 0;
	border-radius: 8px;
	z-index: -1;
	transition: opacity 0.4s var(--transition-smooth);
}

.card-wrapper:hover::before {
	opacity: 0.3;
}

.card-wrapper:hover {
	transform: translateY(-8px);
}

/* Enhanced Statistics Display */
.mbr-number {
	background: linear-gradient(135deg, var(--secondary-red) 0%, var(--primary-red) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 2px 10px rgba(220, 20, 60, 0.3));
	animation: number-pop 0.6s var(--transition-smooth);
}

@keyframes number-pop {
	0% { transform: scale(0.5); opacity: 0; }
	50% { transform: scale(1.1); }
	100% { transform: scale(1); opacity: 1; }
}

/* Bespoke Button Styles */
.btn {
	position: relative;
	overflow: hidden;
	font-weight: 600;
	letter-spacing: 0.5px;
	transition: all 0.4s var(--transition-smooth);
	z-index: 1;
}

.btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
	z-index: -1;
}

.btn:hover::before {
	width: 300px;
	height: 300px;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

/* Enhanced Gallery with sophisticated hover effects */
.grid-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	transition: all 0.4s var(--transition-smooth);
}

.grid-item::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(139, 0, 0, 0.8) 0%, rgba(220, 20, 60, 0.6) 100%);
	opacity: 0;
	transition: opacity 0.4s var(--transition-smooth);
	z-index: 1;
}

.grid-item:hover::before {
	opacity: 1;
}

.grid-item img {
	transition: transform 0.6s var(--transition-smooth);
}

.grid-item:hover img {
	transform: scale(1.1) rotate(2deg);
}

.grid-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(220, 20, 60, 0.5);
}

/* Sophisticated Audio Player Enhancement */
.audio-section {
	position: relative;
	overflow: hidden;
}

.audio-section::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(220, 20, 60, 0.1) 0%, transparent 70%);
	animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.audio-player {
	backdrop-filter: blur(10px);
	border: 1px solid rgba(220, 20, 60, 0.3);
	transition: all 0.4s var(--transition-smooth);
}

.audio-player:hover {
	border-color: rgba(220, 20, 60, 0.6);
	box-shadow: 0 0 30px rgba(220, 20, 60, 0.4);
}

/* Enhanced Testimonials Section */
.naenae-testimonial {
	position: relative;
	transition: all 0.4s var(--transition-smooth);
}

.naenae-testimonial::after {
	font-size: 6rem;
	opacity: 0.04;
}

.naenae-testimonial:hover {
	transform: translateY(-8px) scale(1.02);
}

.naenae-author-avatar {
	position: relative;
	overflow: hidden;
}

.naenae-author-avatar::before {
	content: '';
	position: absolute;
	inset: -2px;
	background: linear-gradient(45deg, var(--primary-red), var(--secondary-red));
	animation: rotate-border 3s linear infinite;
	z-index: -1;
	border-radius: 50%;
}

@keyframes rotate-border {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Sophisticated Quote Styling */
blockquote {
	position: relative;
	padding-left: 40px;
	font-style: italic;
	line-height: 1.8;
}

blockquote::before {
	content: '"';
	position: absolute;
	left: 0;
	top: -20px;
	font-size: 80px;
	font-family: 'Playfair Display', serif;
	color: var(--secondary-red);
	opacity: 0.3;
	line-height: 1;
}

/* Enhanced Media Section */
.features026 .item-wrapper {
	position: relative;
	padding: 25px;
	border-radius: 8px;
	transition: all 0.3s var(--transition-smooth);
}

.features026 .item-wrapper::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(220, 20, 60, 0.05) 0%, transparent 100%);
	border-radius: 8px;
	opacity: 0;
	transition: opacity 0.3s var(--transition-smooth);
}

.features026 .item-wrapper:hover::before {
	opacity: 1;
}

.features026 .item-wrapper:hover {
	transform: translateX(10px);
	border-left: 3px solid var(--secondary-red);
}

/* Scroll Progress Indicator */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-red), var(--secondary-red), var(--accent-red));
	z-index: 9999;
	transition: width 0.1s ease-out;
}

/* Enhanced Footer */
.footer2 {
	position: relative;
	background: linear-gradient(180deg, #000 0%, #1a0000 100%);
}

.footer2::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--secondary-red), transparent);
}

/* Smooth Scroll Animations */
[data-aos] {
	transition-duration: 0.8s;
}

/* Enhanced Wave SVG Animation */
.wave1, .wave2 {
	animation: wave-motion 15s ease-in-out infinite;
}

.wave2 {
	animation-delay: -5s;
}

@keyframes wave-motion {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(-20px); }
}

/* Performance Optimization - Reduce Motion for Users */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Responsive Enhancements */
@media (max-width: 768px) {
	.header16 h1, .header16 h2 {
		font-size: 2.5rem !important;
	}

	.grid-item {
		margin-bottom: 15px;
	}
}

/* Print Styles for SEO */
@media print {
	.navbar, .audio-section, .social03, footer {
		display: none;
	}

	body {
		background: white;
		color: black;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}
}
