/*
 * shared.css — Common base styles for aurao.ru
 *
 * Extracted from duplicated <style> blocks across 24+ HTML files.
 * Contains only truly shared base styles: CSS variables, reset,
 * typography, layout primitives, keyframe animations, and
 * scroll-reveal utilities.
 *
 * Google Fonts preconnect (add to <head> of every page):
 *   <link rel="preconnect" href="https://fonts.googleapis.com">
 *   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
 *   <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Manrope:wght@300;400;500;600&display=swap" rel="stylesheet">
 */

/* ========================================
   CSS Custom Properties
   ======================================== */

:root {
    --bg-primary: #FFFFFF;
    --bg-warm: #FDF5EE;
    --bg-peach: #FBEDE5;
    --bg-dark: #2D2420;
    --bg-dark-gradient: linear-gradient(135deg, #3D2E28 0%, #2D2420 50%, #1E1815 100%);
    --text-primary: #1A1614;
    --text-body: #2D2926;
    --text-muted: #6B5E57;
    --text-light: #F5F0EB;
    --accent-peach: #E8A88C;
    --accent-peach-light: #F5D5C8;
    --accent-gold: #C9A67A;
    --accent-gold-dark: #A68B5B;
    --accent-orange: #E07A5F;
    --accent-terracotta: #C45B3E;
    --border-strong: #D4C4B5;
    --border-light: #EBE3DA;
}

/* ========================================
   CSS Reset
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-body);
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ========================================
   Base Typography & Layout
   ======================================== */

.font-display {
    font-family: 'Cormorant Garamond', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Keyframe Animations
   ======================================== */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========================================
   Scroll-reveal Utilities
   ======================================== */

/* GSAP ScrollTrigger handles .animate-on-scroll now */
.animate-on-scroll {
    opacity: 0;
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
