/**
 * Emlak 01 - Base Reset & Design Tokens
 *
 * VERA TRAVEL Gayrimenkul Danışmanlığı Ltd. Şti.
 *
 * @package Emlak_01
 */

/* ================================================== */
/* 1. DESIGN TOKENS (ROOT VARIABLES)                  */
/* ================================================== */
:root {
	/* 1.1 Brand Palette (Derived from Vera Travel Logo) */
	--color-primary-navy: #0B1B2B;
	--color-navy-dark: #07121D;
	--color-navy-deep: #050E17;
	--color-navy-card: #11253A;
	--color-navy-border: rgba(255, 255, 255, 0.12);
	--color-navy-text: #F8F7F4;
	--color-navy-muted: #94A3B8;

	/* 1.2 Champagne Gold Palette */
	--color-gold: #C5A869;
	--color-gold-light: #E0CE9E;
	--color-gold-dark: #9D8145;
	--color-gold-subtle: rgba(197, 168, 105, 0.12);
	--color-gold-glow: rgba(197, 168, 105, 0.28);
	--gradient-gold: linear-gradient(135deg, #E6D7B0 0%, #C5A869 50%, #9D8145 100%);
	--gradient-gold-hover: linear-gradient(135deg, #F0E5C8 0%, #D4AF37 50%, #B8934C 100%);

	/* 1.3 Light Surface Palette */
	--color-bg: #F8F7F4;
	--color-surface: #FFFFFF;
	--color-surface-soft: #F2EFE9;
	--color-surface-hover: #ECE8E0;
	--color-border: rgba(11, 27, 43, 0.08);
	--color-border-medium: rgba(11, 27, 43, 0.15);

	/* 1.4 Text Palette */
	--color-text: #0B1B2B;
	--color-text-body: #2D3748;
	--color-muted: #64748B;
	--color-muted-light: #94A3B8;

	/* 1.5 Status & Badges */
	--color-badge-featured: #C5A869;
	--color-badge-opportunity: #0E7490;
	--color-badge-new: #15803D;
	--color-badge-urgent: #B91C1C;

	/* 1.6 Typography */
	--font-display: 'Libre Bodoni', Georgia, serif;
	--font-heading: 'Libre Bodoni', Georgia, serif;
	--font-body: 'Montserrat', Arial, sans-serif;

	/* 1.7 Layout & Spacing */
	--container-max: 1360px;
	--container-wide: 1520px;
	--container-padding: clamp(1.25rem, 3.5vw, 3rem);
	--section-padding-y: clamp(4.5rem, 7vw, 7.5rem);

	/* 1.8 Geometry (Sharper Architectural Luxury Edges) */
	--radius-xs: 2px;
	--radius-sm: 3px;
	--radius-md: 4px;
	--radius-lg: 6px;
	--radius-xl: 10px;
	--radius-full: 9999px;

	/* 1.9 Shadows & Elevations */
	--shadow-subtle: 0 4px 20px -2px rgba(11, 27, 43, 0.05);
	--shadow-card: 0 10px 30px -4px rgba(11, 27, 43, 0.08), 0 4px 10px -2px rgba(11, 27, 43, 0.03);
	--shadow-card-hover: 0 20px 40px -8px rgba(11, 27, 43, 0.14), 0 8px 16px -4px rgba(197, 168, 105, 0.12);
	--shadow-gold: 0 8px 24px -4px rgba(197, 168, 105, 0.35);
	--shadow-nav: 0 10px 30px -5px rgba(7, 18, 29, 0.4);

	/* 1.10 Transitions */
	--transition-fast: 180ms ease;
	--transition-base: 280ms cubic-bezier(0.16, 1, 0.3, 1);
	--transition-smooth: 450ms cubic-bezier(0.16, 1, 0.3, 1);
	--transition-slow: 750ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================================== */
/* 2. BASE RESET                                      */
/* ================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	tab-size: 4;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--color-text-body);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--color-text);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

/* Media & Embeds */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

iframe {
	border: 0;
	max-width: 100%;
}

/* Form Elements */
input,
button,
textarea,
select {
	font-family: var(--font-body);
	font-size: inherit;
	color: inherit;
}

button {
	background: none;
	border: none;
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

ul,
ol {
	list-style: none;
}

/* ================================================== */
/* 3. ACCESSIBILITY & MOTION UTILITIES                */
/* ================================================== */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-surface);
	border-radius: var(--radius-sm);
	box-shadow: 0 0 0 2px var(--color-gold);
	clip: auto !important;
	clip-path: none;
	color: var(--color-primary-navy);
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	height: auto;
	left: 16px;
	line-height: normal;
	padding: 12px 20px;
	text-decoration: none;
	top: 16px;
	width: auto;
	z-index: 100000;
}

/* Scroll Reveal Base States */
.fade-up {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}

.fade-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.fade-up {
		opacity: 1 !important;
		transform: none !important;
	}
}
