/* ===============================================
   ANSKETELL GÉNÉALOGIE - PAGE D'ACCUEIL
   Style pour la page d'introduction
   =============================================== */

/* Reset et variables */
:root {
    --color-bg-dark: #1a1a1a;
    --color-bg-darker: #0f0f0f;
    --color-text-primary: #e8eaed;
    --color-text-secondary: #b8bcc4;
    --color-text-muted: #8a8f98;
    --color-accent-gold: #e67e22;
    --color-accent-gold-light: #f39c12;
    --color-accent-bronze: #d35400;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-serif);
    background: linear-gradient(135deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 50%, #252525 100%);
    color: var(--color-text-primary);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Bouton d'accès rapide en haut à droite */
.quick-access-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    background: rgba(230, 126, 34, 0.9);
    color: var(--color-bg-dark);
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.quick-access-btn:hover {
    background: rgba(243, 156, 18, 0.95);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

.quick-access-btn i {
    transition: transform 0.3s ease;
}

.quick-access-btn:hover i {
    transform: translateX(2px);
}

/* Conteneur principal */
.welcome-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
}

/* Effet de particules subtil en arrière-plan */
.welcome-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(230, 126, 34, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(230, 126, 34, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.content-wrapper {
    max-width: 900px;
    width: 100%;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(230, 126, 34, 0.1);
    position: relative;
    z-index: 1;
}

/* Logo et titre */
.header-logo {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.logo-link:hover .logo {
    filter: drop-shadow(0 6px 12px rgba(230, 126, 34, 0.5));
}

.site-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    font-family: var(--font-serif);
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(230, 126, 34, 0.3);
    transition: color 0.3s ease;
}

.logo-link:hover .site-title {
    color: var(--color-accent-gold-light);
}

/* Section ancêtres */
.ancestors-section {
    margin-bottom: 3rem;
}

.intro-line {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    font-weight: 300;
}

/* Liste des générations */
.generations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(230, 126, 34, 0.1);
}

.generation-item {
    font-size: 1.2rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1) 0%, rgba(211, 84, 0, 0.1) 100%);
    border-left: 3px solid var(--color-accent-gold);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.generation-item:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.2) 0%, rgba(211, 84, 0, 0.15) 100%);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.2);
}

/* Texte mis en évidence */
.highlight-text {
    font-size: 1.4rem;
    text-align: center;
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.15) 0%, rgba(230, 126, 34, 0.05) 100%);
    border-radius: 15px;
    border: 2px solid rgba(230, 126, 34, 0.3);
    line-height: 1.8;
}

.highlight-text strong {
    color: var(--color-accent-gold-light);
    font-weight: 600;
}

/* Section réflexion */
.reflection-section {
    margin: 2.5rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.reflection-intro {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-accent-gold-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.questions-list {
    list-style: none;
    padding-left: 0;
}

.questions-list li {
    font-size: 1.2rem;
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text-primary);
}

.questions-list li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--color-accent-gold);
    font-size: 1.5rem;
}

/* Section héritage */
.heritage-section {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(211, 84, 0, 0.1) 0%, rgba(230, 126, 34, 0.05) 100%);
    border-radius: 15px;
    font-size: 1.2rem;
    line-height: 1.9;
}

.heritage-section p {
    margin-bottom: 1rem;
}

/* Texte de conclusion */
.conclusion-text {
    font-size: 1.5rem;
    text-align: center;
    margin: 2.5rem 0;
    padding: 1.5rem;
    color: var(--color-accent-gold-light);
    font-style: italic;
}

/* Séparateur décoratif */
.decorative-separator {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.decorative-separator::before,
.decorative-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-accent-gold), transparent);
}

.decorative-separator::before {
    left: 0;
}

.decorative-separator::after {
    right: 0;
}

.separator-icon {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--color-accent-gold);
    padding: 0 1rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Section service */
.service-section {
    margin-top: 3rem;
}

.service-question {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    line-height: 1.8;
}

.service-answer {
    font-size: 1.4rem;
    text-align: center;
    margin: 2rem 0;
    color: var(--color-accent-gold-light);
    font-weight: 500;
}

.service-presentation {
    font-size: 1.5rem;
    text-align: center;
    margin: 2rem 0;
    color: var(--color-text-primary);
}

.service-presentation strong {
    color: var(--color-accent-gold);
}

/* Bouton CTA */
.cta-button-wrapper {
    text-align: center;
    margin: 3rem 0 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    font-size: 1.3rem;
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--color-bg-dark);
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-light) 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(230, 126, 34, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(230, 126, 34, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button:active {
    transform: translateY(-1px) scale(1);
}

.button-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

/* Footer */
.welcome-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(230, 126, 34, 0.2);
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-family: var(--font-sans);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    animation: fadeIn 1.2s ease-out 0.3s both;
}

.fade-in-delay {
    animation: fadeIn 1.2s ease-out 0.6s both;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .quick-access-btn {
        top: 1rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }

    .content-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .site-title {
        font-size: 2rem;
    }

    .logo {
        width: 90px;
    }

    .intro-line {
        font-size: 1.2rem;
    }

    .generations-list {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 0.75rem;
    }

    .generation-item {
        font-size: 1.1rem;
        padding: 0.6rem 1rem;
    }

    .highlight-text {
        font-size: 1.2rem;
        padding: 1.5rem;
    }

    .reflection-intro {
        font-size: 1.15rem;
    }

    .questions-list li {
        font-size: 1.1rem;
    }

    .heritage-section {
        font-size: 1.1rem;
        padding: 1.5rem;
    }

    .conclusion-text {
        font-size: 1.3rem;
        padding: 1rem;
    }

    .service-question,
    .service-answer {
        font-size: 1.15rem;
    }

    .service-presentation {
        font-size: 1.25rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
    }

    .decorative-separator::before,
    .decorative-separator::after {
        width: 30%;
    }
}

@media (max-width: 480px) {
    .quick-access-btn {
        top: 0.75rem;
        right: 0.75rem;
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.1rem;
    }

    .welcome-container {
        padding: 1rem 0.5rem;
    }

    .content-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 10px;
    }

    .site-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .logo {
        width: 70px;
    }

    .generations-list {
        padding: 1rem;
    }

    .generation-item {
        font-size: 1rem;
    }

    .highlight-text {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .reflection-section,
    .heritage-section {
        padding: 1rem;
    }
}

