/**
 * Guestbook Theme - Styles de base
 */

/* Reset et base */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --color-primary: #6EBAAB;
    --color-secondary: #EE0000;
    --color-tertiary: #1f2937;
    --color-quaternary: #fafafa;
    --font-1: 'Poppins', sans-serif;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-1), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #1f2937;
    background-color: #fafafa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    margin-top: 0;
}

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


/* Buttons */
button, .button {
    cursor: pointer;
    font-family: inherit;
}

/* Forms */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Animation fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Page Guestbook - Surcharges si nécessaire */
.guestbook-page {
    /* Les styles sont gérés par le plugin */
}
