/* ============================================================
   PARADAIGM.COM - STYLESHEET
   Fairycore aesthetic with leather textures and aurora lights
   ============================================================ */

:root {
    /* Color Palette */
    --color-gold: #B8963A;
    --color-sage: #4A8B6F;
    --color-dark-navy: #1A1F2E;
    --color-leather-brown: #5C3D2E;
    --color-aubergine: #7B5E8A;
    --color-brass: #C49B5A;
    --color-charcoal: #2E2A25;
    --color-cream: #F2EDE4;

    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-serif: 'Cormorant', serif;
    --font-body: 'Source Sans 3', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background-color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */

.section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.section-threshold {
    height: 80vh;
    background: linear-gradient(135deg, var(--color-dark-navy) 0%, #0f1419 100%);
    color: var(--color-cream);
}

.section-concept {
    background-color: var(--color-cream);
    color: var(--color-charcoal);
    padding: 6rem 2rem;
    min-height: auto;
}

.section-journey {
    height: 100vh;
    background: linear-gradient(135deg, var(--color-dark-navy) 0%, #0f1419 100%);
    color: var(--color-cream);
}

.section-dialogue {
    background-color: var(--color-cream);
    color: var(--color-charcoal);
    padding: 6rem 2rem;
    min-height: auto;
}

.section-farewell {
    height: 100vh;
    background: linear-gradient(135deg, var(--color-dark-navy) 0%, #0f1419 100%);
    color: var(--color-cream);
}

.section-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    padding: 0 2rem;
    text-align: center;
}

/* ============================================================
   AURORA GRADIENT ANIMATION
   ============================================================ */

.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.aurora-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 300% 300%;
    pointer-events: none;
}

.aurora-layer-1 {
    background: linear-gradient(
        45deg,
        rgba(122, 94, 138, 0.25) 0%,
        rgba(74, 139, 111, 0.15) 50%,
        transparent 100%
    );
    animation: aurora-float 15s ease-in-out infinite;
}

.aurora-layer-2 {
    background: linear-gradient(
        -45deg,
        rgba(196, 155, 90, 0.2) 0%,
        rgba(184, 150, 58, 0.1) 50%,
        transparent 100%
    );
    animation: aurora-float 18s ease-in-out infinite;
    animation-delay: -3s;
}

.aurora-layer-3 {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(74, 139, 111, 0.15) 50%,
        transparent 100%
    );
    animation: aurora-float 20s ease-in-out infinite;
    animation-delay: -6s;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.brand-name {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    margin-bottom: 1.5rem;
    animation: fade-in-down 1.2s ease-out;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    animation: bounce-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-title-light {
    color: var(--color-cream);
}

.threshold-subtitle {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-brass);
    animation: fade-in-up 1.2s ease-out 0.3s both;
}

.body-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fade-in 1s ease-out;
}

.body-text-light {
    color: var(--color-cream);
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.card-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-charcoal);
}

/* ============================================================
   CARDS AND CONTENT BLOCKS
   ============================================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    padding: 2rem;
    background-color: white;
    border: 2px solid var(--color-sage);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    animation: slide-up 0.8s ease-out;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.03) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 80% 10%, rgba(0, 0, 0, 0.02) 3px, transparent 3px);
    background-size: 50px 50px, 80px 80px, 120px 120px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05);
    pointer-events: none;
    border-radius: 6px;
}

.card-1 {
    animation-delay: 0.1s;
}

.card-2 {
    animation-delay: 0.2s;
}

.card-3 {
    animation-delay: 0.3s;
}

/* ============================================================
   JOURNEY SECTION
   ============================================================ */

.journey-markers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(74, 139, 111, 0.1);
    border: 1px solid var(--color-sage);
    border-radius: 8px;
    animation: fade-in 1s ease-out;
}

.marker-1 { animation-delay: 0.2s; }
.marker-2 { animation-delay: 0.4s; }
.marker-3 { animation-delay: 0.6s; }
.marker-4 { animation-delay: 0.8s; }

.marker-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-brass);
}

.marker-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-cream);
    text-transform: capitalize;
}

/* ============================================================
   DIALOGUE SECTION
   ============================================================ */

.dialogue-container {
    max-width: 700px;
    margin: 3rem auto;
}

.dialogue-block {
    margin: 2rem auto;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    animation: fade-in 1s ease-out;
}

.dialogue-left {
    text-align: left;
    background-color: #f5f0e8;
    border-left: 4px solid var(--color-gold);
    animation-delay: 0.2s;
}

.dialogue-right {
    text-align: right;
    background-color: #ebe5d9;
    border-right: 4px solid var(--color-sage);
    animation-delay: 0.4s;
}

.dialogue-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    font-style: italic;
}

/* ============================================================
   FAREWELL SECTION
   ============================================================ */

.farewell-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--color-brass);
    margin-bottom: 3rem;
}

.farewell-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(242, 237, 228, 0.2);
}

.footer-text {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: rgba(242, 237, 228, 0.7);
    letter-spacing: 0.05em;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
    .section-content {
        padding: 0 1.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .journey-markers {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .dialogue-block {
        margin: 1.5rem auto;
        padding: 1rem 1.5rem;
    }

    .marker-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section {
        min-height: auto;
        padding: 2rem 0;
    }

    .section-threshold {
        height: 100vh;
    }

    .section-concept {
        padding: 3rem 1rem;
    }

    .section-dialogue {
        padding: 3rem 1rem;
    }

    .journey-markers {
        grid-template-columns: 1fr;
    }

    .brand-name {
        margin-bottom: 1rem;
    }

    .section-title {
        margin-bottom: 1.5rem;
    }

    .body-text {
        margin-bottom: 1.5rem;
    }
}
