@import "tailwindcss";

:root {
	--container: 1280px;
	--gray: #c9c9c9;
	--blue-gray: #273755;
	--golden: #ccaa6a;
	--dark-gray: #050505;
	--foreground: #ffffff;
	--background: #020204;
}

body {
	background: var(--background);
	color: var(--foreground);
}

html,
body {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

p {
	line-height: 110%;
}

/* Language Switcher Styles */
.language-switcher {
	position: relative;
	z-index: 50;
}

.language-switcher-btn {
	min-width: 70px;
}

.language-switcher-dropdown {
	min-width: 140px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	transform: translateY(-8px);
	z-index: 100;
}

.language-switcher.active .language-switcher-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.language-switcher.active .language-switcher-arrow {
	transform: rotate(180deg);
}

/* Header spacing optimization for medium screens */
@media (min-width: 1080px) and (max-width: 1180px) {
	header .flex.items-center.gap-8 {
		gap: 1.25rem; /* Reduced from gap-8 (2rem) */
	}

	header nav {
		gap: 1rem !important; /* Reduced from gap-9 (2.25rem) */
	}

	header .max-w-50 {
		max-width: 11rem; /* Slightly reduced logo from 12.5rem */
	}

	header .lg\:px-9 {
		padding-left: 1.75rem;
		padding-right: 1.75rem;
	}

	header a[href*="auth"] {
		padding-left: 1.75rem !important;
		padding-right: 1.75rem !important;
	}

	header nav a {
		font-size: 0.875rem; /* Slightly smaller nav text */
	}
}

@media (max-width: 1080px) {
	.language-switcher-btn {
		min-width: 48px;
		padding: 0.5rem;
	}

	.language-switcher-dropdown {
		min-width: 120px;
	}
}
