/*
Theme Name: Botez
Theme URI: https://fotografbotezoradea.ro
Author: Liviu Boldis & Claude & MiniMax
Author URI: https://fotografbotezoradea.ro
Description: Temă personalizată pentru fotografbotezoradea.ro — fotograf profesionist de botez în Oradea și împrejurimi.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: botez
Tags: one-page, photography, custom-menu, custom-logo, featured-images
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ==========================================================================
   CSS Custom Properties (variabile globale)
   ========================================================================== */

:root {
	/* Culori Gold */
	--gold-100: #F9F1D8;
	--gold-200: #F0E3B6;
	--gold-300: #E6D194;
	--gold-400: #D4B85C;
	--gold-500: #C9A227;
	--gold-600: #B08A1F;
	--gold-700: #8F7018;
	--gold-800: #6F5612;
	--gold-900: #4F3D0C;

	/* Culori principale */
	--ivory: #FFFFF0;
	--charcoal: #1a1a1a;
	--white: #ffffff;

	/* Culori text */
	--text-primary: #1a1a1a;
	--text-secondary: #4b5563;
	--text-muted: #6b7280;
	--text-light: #9ca3af;

	/* Fonturi */
	--font-serif: 'Playfair Display', Georgia, serif;
	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* Spațiere */
	--spacing-xs: 0.5rem;
	--spacing-sm: 0.75rem;
	--spacing-md: 1rem;
	--spacing-lg: 1.5rem;
	--spacing-xl: 2.5rem;
	--section-padding: 6rem;
	--container-max: 1280px;
	--container-padding: 1rem;

	/* Tranziții */
	--transition-fast: 0.2s ease;
	--transition-base: 0.3s ease;
	--transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

	/* Umbre */
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
	--shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
	--shadow-gold: 0 0 30px rgba(201, 162, 39, 0.3);

	/* Border radius */
	--radius-sm: 0.375rem;
	--radius-md: 0.5rem;
	--radius-lg: 1rem;
	--radius-xl: 1.5rem;
	--radius-full: 9999px;
}

/* ==========================================================================
   Reset & bază
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

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

body {
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text-primary);
	background-color: var(--ivory);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

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

ul,
ol {
	list-style: none;
}

/* ==========================================================================
   Tipografie
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-serif);
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
	margin-bottom: 1rem;
	color: var(--text-secondary);
}

/* ==========================================================================
   Layout — container
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

@media (min-width: 640px) {
	:root {
		--container-padding: 1.5rem;
	}
}

@media (min-width: 1024px) {
	:root {
		--container-padding: 2rem;
	}
}

/* ==========================================================================
   Butoane
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 2rem;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: var(--radius-full);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all var(--transition-base);
	text-decoration: none;
	line-height: 1.5;
}

.btn:hover {
	transform: scale(1.05);
}

.btn-primary {
	background-color: var(--gold-500);
	color: var(--charcoal);
	border-color: var(--gold-500);
}

.btn-primary:hover {
	background-color: var(--gold-400);
	border-color: var(--gold-400);
}

.btn-outline {
	background-color: transparent;
	color: var(--white);
	border-color: var(--white);
}

.btn-outline:hover {
	background-color: var(--white);
	color: var(--charcoal);
}

.btn-outline--gold {
	background-color: transparent;
	color: var(--gold-500);
	border-color: var(--gold-500);
}

.btn-outline--gold:hover {
	background-color: var(--gold-500);
	color: var(--white);
}

.btn--full {
	width: 100%;
}

.btn--sm {
	padding: 0.5rem 1.5rem;
	font-size: 0.8125rem;
}

/* ==========================================================================
   Utilități
   ========================================================================== */

.text-center { text-align: center; }
.text-gold { color: var(--gold-500); }
.text-gold-light { color: var(--gold-400); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }

.bg-white { background-color: var(--white); }
.bg-ivory { background-color: var(--ivory); }
.bg-charcoal { background-color: var(--charcoal); }

.section-padding {
	padding-top: var(--section-padding);
	padding-bottom: var(--section-padding);
}

/* Linie decorativă sub titluri secțiuni */
.section-divider {
	width: 5rem;
	height: 0.25rem;
	background-color: var(--gold-500);
	border: none;
	margin-top: 1.5rem;
}

.section-divider--center {
	margin-left: auto;
	margin-right: auto;
}

/* Header secțiune (wrapper label + titlu + divider) */
.section-header {
	margin-bottom: 4rem;
}

/* Label deasupra titlurilor de secțiune */
.section-label {
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--gold-600);
	margin-bottom: 0.5rem;
}

.section-label--light {
	color: var(--gold-400);
}

/* Titlu secțiune varianta light (pe fundal întunecat) */
.section-title--light {
	color: var(--white);
}

/* Paragraf descriptiv sub titlul secțiunii */
.section-description {
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--text-secondary);
	max-width: 40rem;
	margin: 1rem auto 0;
}

.section-description--light {
	color: var(--text-muted-light, rgba(255, 255, 255, 0.7));
}

/* ==========================================================================
   Animație reveal (IntersectionObserver)
   ========================================================================== */

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   Screen reader only (accesibilitate)
   ========================================================================== */

.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;
}

/* Italic helper */
.italic {
	font-style: italic;
}
