/**
 * Georgiana Timu & Tiberiu Totir - Wedding Invitation
 * Core Stylesheet (assets/css/style.css)
 */

:root {
    color-scheme: light only;
    /* Softer, more delicate and luminous wedding palette */
    --color-alabaster: #FAF7F2;
    --color-sand: #F2EDE4;
    --color-charcoal: #1E1E1C;
    --color-olive: #4E5744;
    --color-olive-light: #E8EDE3;
    --color-terracotta: #B56E4B;
    --color-gold: #C5A059;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

body {
    background-color: var(--color-alabaster);
    color: var(--color-charcoal);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Stable, Fixed Header (prevents shrinking or jitter on page scroll) */
header#mainHeader {
    height: 5rem; /* Exactly 80px */
    min-height: 5rem;
    max-height: 5rem;
    flex-shrink: 0;
}

/* Typography styles */
h1, h2, h3, .font-serif, .font-editorial {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Ultra-delicate paper grain overlay (softer, less intense) */
.bg-grain {
    background-image: radial-gradient(rgba(30, 30, 28, 0.022) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Classical Arch Mask for couple portrait */
.arch-mask {
    border-radius: 200px 200px 16px 16px;
}

/* Subtle floating botanical animation */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}

.animate-float {
    animation: floatSlow 7s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FAF7F2;
}

::-webkit-scrollbar-thumb {
    background: #D4CDC0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4E5744;
}

/* Selection highlight */
::selection {
    background-color: #4E5744;
    color: #FFFFFF;
}

/* Focus outline accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--color-olive);
    outline-offset: 2px;
}

/* Custom radio button animations */
.radio-indicator {
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.radio-dot {
    transition: transform 0.15s ease-out;
}

