/* --- TIMELINE SECTION (Image Based) --- */
.section-title {
    color: #4a1a1a;
    font-weight: 700;
    margin-bottom: 1rem;
    /* Reduced from 4rem */
    text-transform: capitalize;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
}

.vine-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.vine-image {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

/* Event Steps Overlay */
/* Event Steps Overlay */
/* 
   --- MANUAL ADJUSTMENT GUIDE ---
   To adjust the position of the text for each step:
   1. Find the specific step class below (e.g., .step-1, .step-2).
   2. Adjust 'left' to move horizontally.
   3. Adjust 'bottom' in .vine-title to move the title up/down.
   4. Adjust 'top' in .vine-date to move the date down/up.
*/

.vine-step {
    position: absolute;
    top: 0;
    height: 100%;
    width: 18%;
    /* Approx width of one "section" */
    text-align: center;
    display: flex;
    justify-content: center;
    /* Debug border: border: 1px dotted red; */
}

/* Horizontal Positions (Adjust as needed) */
.step-1 {
    left: 2%;
}

.step-2 {
    left: 21%;
}

.step-3 {
    left: 41%;
}

.step-4 {
    left: 61%;
}

.step-5 {
    left: 80%;
}

/* General Text Styles */
.vine-title {
    position: absolute;
    width: 100%;
    color: #5e0017;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.vine-date {
    position: absolute;
    width: 100%;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Specific Vertical Positioning for the Curve */

/* Step 1: Low Vine */
.step-1 .vine-title {
    bottom: 75%;
}

.step-1 .vine-date {
    top: 65%;
}

/* Step 2: High Vine */
.step-2 .vine-title {
    bottom: 75%;
}

.step-2 .vine-date {
    top: 65%;
}

/* Step 3: Low Vine (Deepest) */
.step-3 .vine-title {
    margin-left: -20px;
    bottom: 55%;
}

.step-3 .vine-date {
    margin-left: -20px;
    bottom: 0.1%;
}

/* Step 4: Low/Mid Vine */
.step-4 .vine-title {
    margin-left: -60px;
    bottom: 52%;
}

.step-4 .vine-date {
    margin-left: -60px;
    bottom: 0.1%;
}

/* Step 5: High Vine */
.step-5 .vine-title {
    margin-left: -75px;
    bottom: 68%;
}

.step-5 .vine-date {
    margin-left: -70px;
    top: 70%;
}

/* Alternate positions for variety if needed, 
   or keep uniform if the vine is straight.
   The prompt implies "above and below each grape". 
   Let's keep Title Above, Date Below for consistency. */

/* Mobile Timeline Fallback */
.mobile-timeline {
    padding: 0 20px;
}

.mobile-step {
    background-color: #fdfbf7;
    border-left: 4px solid #5e0017;
    margin-bottom: 15px;
    padding: 15px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 0 8px 8px 0;
}

.mobile-date {
    display: block;
    color: #8b6c4e;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.mobile-title {
    display: block;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}