/* ============================================
   LANOIRA BRAND STORY - SCROLLYTELLING
   ============================================ */

/* Reset & Base */
.brand-story-journey {
    background: #1a1414;
    color: #f6e4e4;
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */

.story-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #2c2222 0%, #1a1414 100%);
}

.story-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(26, 20, 20, 0.6) 100%);
    z-index: 1;
}

.story-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
}

.story-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    color: #f6e4e4;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

.scroll-indicator span {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #f6e4e4;
}

.scroll-indicator svg {
    color: #4a0e0e;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Fade In Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   STORY SECTIONS
   ============================================ */

.story-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px;
    position: relative;
}

/* Alternating backgrounds */
.story-section:nth-child(odd) {
    background: #1a1414;
}

.story-section:nth-child(even) {
    background: linear-gradient(135deg, #2c2222 0%, #1a1414 50%, #2c2222 100%);
}

.story-section__content {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-section__content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Number */
.section-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 300;
    color: rgba(246, 228, 228, 0.08);
    display: block;
    margin-bottom: -40px;
    line-height: 1;
    letter-spacing: 0.05em;
}

/* Section Title */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: #f6e4e4;
    margin: 0 0 50px 0;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

/* Section Text */
.section-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: #f6e4e4;
    line-height: 1.9;
    font-weight: 300;
}

.section-text p {
    margin: 0 0 30px 0;
    opacity: 0.9;
}

.section-text p:last-child {
    margin-bottom: 0;
}

/* Emphasis Text */
.section-text .emphasis {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    color: #f6e4e4;
    opacity: 1;
    font-size: 1.2em;
    line-height: 1.6;
}

.section-text .emphasis.large {
    font-size: 1.5em;
    display: block;
    margin: 30px 0;
    text-align: center;
}

/* ============================================
   SECTION-SPECIFIC STYLING
   ============================================ */

/* Section 3 - Core Belief */
.section-3 .section-text {
    text-align: center;
}

.section-3 .section-title {
    text-align: center;
}

/* Section 5 - Responsibility */
.section-5 {
    background: linear-gradient(135deg, #3a2320 0%, #2c2222 100%);
}

.section-5 .section-title {
    color: #f6e4e4;
    border-bottom: 2px solid #4a0e0e;
    padding-bottom: 20px;
}

/* Section 8 - Future */
.section-8 {
    background: linear-gradient(180deg, #1a1414 0%, #2c2222 100%);
}

/* ============================================
   CLOSING SECTION
   ============================================ */

.story-closing {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c2222 0%, #1a1414 100%);
    position: relative;
    padding: 80px 40px;
}

.story-closing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(74, 14, 14, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.story-closing__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-closing__content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Brand Signature */
.brand-signature {
    text-align: center;
}

.signature-icon {
    color: #4a0e0e;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInScale 1.5s ease forwards 0.5s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.signature-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    font-style: italic;
    color: #f6e4e4;
    line-height: 1.6;
    margin: 0 0 50px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.signature-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    font-family: 'Inter', sans-serif;
    font-size: 1.063rem;
    font-weight: 600;
    color: #f6e4e4;
    background-color: #4a0e0e;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid #4a0e0e;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(74, 14, 14, 0.3);
}

.signature-cta:hover {
    background-color: #3b1224;
    border-color: #3b1224;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 14, 14, 0.5);
}

/* ============================================
   SCROLL REVEAL EFFECTS
   ============================================ */

/* Parallax effect on scroll */
.story-section {
    background-attachment: fixed;
}

/* Text reveal on scroll */
.section-text p {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    transition-delay: calc(var(--delay) * 0.15s);
}

.story-section__content.visible .section-text p {
    opacity: 0.9;
    transform: translateY(0);
}

.story-section__content.visible .section-text p:nth-child(1) { --delay: 1; }
.story-section__content.visible .section-text p:nth-child(2) { --delay: 2; }
.story-section__content.visible .section-text p:nth-child(3) { --delay: 3; }
.story-section__content.visible .section-text p:nth-child(4) { --delay: 4; }
.story-section__content.visible .section-text p:nth-child(5) { --delay: 5; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .story-section {
        padding: 100px 30px;
    }
}

@media (max-width: 768px) {
    .story-hero {
        min-height: 80vh;
    }

    .story-section {
        min-height: auto;
        padding: 80px 25px;
    }

    .section-number {
        font-size: 4rem;
        margin-bottom: -20px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-text {
        font-size: 1.125rem;
    }

    .section-text .emphasis.large {
        font-size: 1.3em;
    }

    .scroll-indicator {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .story-hero__content {
        padding: 20px;
    }

    .story-section {
        padding: 60px 20px;
    }

    .signature-text {
        font-size: 1.375rem;
    }

    .signature-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .brand-story-journey {
        background: white;
        color: black;
    }

    .scroll-indicator {
        display: none;
    }

    .story-section {
        page-break-inside: avoid;
        min-height: auto;
        padding: 40px 20px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-indicator {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .brand-story-journey {
        background: #000000;
        color: #ffffff;
    }

    .section-title,
    .story-hero__title {
        color: #ffffff;
    }
}