/* =============================================
   Darley Newman Page — pages.darley.css
   ============================================= */

/* Shared container */
.darley-section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Shared section title */
.darley-section-title {
    font-family: 'DMSerifDisplay', serif;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 400;
    color: #0d3542;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.darley-section-title--light {
    color: white;
}

/* =============================================
   Section 1: Hero
   ============================================= */
.darley-hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.darley-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% top;
}

.darley-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 53, 66, 0.10) 0%,
        rgba(13, 53, 66, 0.20) 50%,
        rgba(13, 53, 66, 0.80) 100%
    );
}

.darley-hero-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.darley-hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
    color: white;
    background: rgba(0, 133, 62, 0.55);
    border: 1px solid rgba(0, 133, 62, 0.7);
    padding: 5px 16px;
    border-radius: 50px;
    margin-top: 16px;
}

.darley-hero-title {
    font-family: 'DMSerifDisplay', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    color: white;
    line-height: 1.1;
    margin: 0 0 14px 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.darley-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    white-space: nowrap;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
    .darley-hero { height: 480px; }
}

@media (max-width: 480px) {
    .darley-hero { height: 520px; }
    .darley-hero-img { object-position: 68% 0%; }
    .darley-hero-content { bottom: 28px; padding: 0 20px; }
}

/* =============================================
   Section 2: Intro + Take the Tour
   ============================================= */
.darley-intro-section {
    background: white;
    padding: 80px 24px;
}

.darley-intro-section .darley-section-container {
    max-width: 1400px;
}

.darley-intro-body {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.darley-intro-text {
    flex: 1 1 0;
}

.darley-intro-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #222;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.darley-intro-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #555;
    margin: 0 0 40px 0;
}

/* Take the Tour block */
.darley-take-tour-block {
    background: #f4f7f6;
    border-left: 4px solid #00843e;
    border-radius: 0 10px 10px 0;
    padding: 28px 28px 24px;
    margin-bottom: 28px;
}

.darley-take-tour-heading {
    font-family: 'DMSerifDisplay', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #0d3542;
    margin: 0 0 10px 0;
}

.darley-price-inline {
    color: #00843e;
}

.darley-take-tour-desc {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.65;
    margin: 0 0 24px 0;
}

.darley-download-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.darley-badges-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.darley-store-badge {
    height: 42px;
    width: auto;
    display: block;
}

/* QR code — hidden on mobile */
.darley-qr-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.darley-qr-wrap {
    background: white;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.darley-qr-img {
    display: block;
    width: 120px;
    height: 120px;
}

.darley-qr-label {
    margin: 10px 0 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}

@media (max-width: 600px) {
    .darley-qr-col { display: none; }
}

/* Parade line */
.darley-parade-line {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.darley-parade-inline-link {
    color: #00843e;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(0, 132, 62, 0.4);
    text-underline-offset: 3px;
    transition: color 0.15s;
}

.darley-parade-inline-link:hover {
    color: #006b31;
    text-decoration-color: #006b31;
}

/* Right photo column */
.darley-intro-photo-col {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.darley-intro-portrait {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
    .darley-intro-body {
        flex-direction: column;
        gap: 40px;
    }
    .darley-intro-text {
        flex: none;
        width: 100%;
    }
    .darley-intro-photo-col {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .darley-intro-section { padding: 56px 20px; }
}

/* =============================================
   Section 3: About the Tour
   ============================================= */
.darley-tour-section {
    background: linear-gradient(to bottom, #00843e 0%, #007f79 100%);
    padding: 80px 24px;
}

.darley-tour-text {
    max-width: 720px;
    margin-bottom: 48px;
}

.darley-tour-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 18px 0;
}

.darley-tour-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.darley-tour-photo-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.darley-photo-caption {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    margin: 10px 0 0 0;
}

@media (max-width: 768px) {
    .darley-tour-section { padding: 64px 20px; }
    .darley-tour-photos { grid-template-columns: 1fr; }
    .darley-tour-photo-item img { height: 200px; }
}

/* =============================================
   Section 4: Companion Book
   ============================================= */
.darley-book-section {
    background: white;
    padding: 80px 24px;
}

.darley-book-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    max-width: 720px;
    margin: 0;
}

/* =============================================
   Section 5: Key Details
   ============================================= */
.darley-details-section {
    background: #f4f7f6;
    padding: 80px 24px;
}

.darley-details-inner {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.darley-details-list {
    flex: 1;
    margin: 0;
    padding: 0;
}

.darley-details-portrait-col {
    flex: 0 0 280px;
    display: flex;
    justify-content: center;
}

.darley-details-portrait {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
    .darley-details-inner {
        flex-direction: column;
        gap: 36px;
    }
    .darley-details-portrait-col {
        flex: none;
        width: 100%;
        max-width: 300px;
    }
}

.darley-detail-row {
    display: flex;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid #dde8e6;
    align-items: baseline;
}

.darley-detail-row:first-child {
    border-top: 1px solid #dde8e6;
}

.darley-detail-row dt {
    flex: 0 0 150px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #007f7b;
}

.darley-detail-row dd {
    flex: 1;
    margin: 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.darley-detail-link {
    color: #00843e;
    text-decoration: underline;
    text-decoration-color: rgba(0, 132, 62, 0.4);
    text-underline-offset: 3px;
    transition: color 0.15s;
}

.darley-detail-link:hover {
    color: #006b31;
    text-decoration-color: #006b31;
}

@media (max-width: 768px) {
    .darley-book-section,
    .darley-details-section { padding: 56px 20px; }

    .darley-detail-row {
        flex-direction: column;
        gap: 4px;
    }

    .darley-detail-row dt {
        flex: none;
    }
}
