/**
 * /assets/css/pages/charter.css
 *
 * Styles for the commercial pillar page /croatia-yacht-charter/.
 * Reuses the same charter-highlights, destinations and FAQ patterns as the
 * homepage. These rules are duplicated from home.css on purpose: the two pages
 * never load both stylesheets at once, so there is no cascade conflict, and the
 * pillar stays independent of the homepage's stylesheet.
 */

/* ========================================
   CHARTER HIGHLIGHTS
   ======================================== */
.charter-items {
    display: flex;
    flex-direction: column;
}

.charter-item {
    display: grid;
    grid-template-columns: 3rem 1fr 2fr;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(248, 246, 241, 0.06);
    transition: background 0.3s ease;
    cursor: default;
}

.charter-item:last-child {
    border-bottom: 1px solid rgba(248, 246, 241, 0.06);
}

.charter-item-num {
    font-size: 1rem;
    color: var(--gold);
    opacity: 0.35;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.charter-item-title {
    font-size: 1.35rem;
    color: rgba(248, 246, 241, 0.85);
    line-height: 1.2;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.charter-item-desc {
    font-size: 0.85rem;
    color: rgba(248, 246, 241, 0.3);
    font-weight: 300;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.charter-item:hover .charter-item-num   { opacity: 0.8; }
.charter-item:hover .charter-item-title { color: var(--gold); }
.charter-item:hover .charter-item-desc  { color: rgba(248, 246, 241, 0.5); }

@media (max-width: 1023px) {
    .charter-item {
        grid-template-columns: 2.5rem 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem 1.5rem;
    }

    .charter-item-num {
        grid-row: 1;
        grid-column: 1;
        align-self: start;
        padding-top: 0.2rem;
    }

    .charter-item-title {
        grid-row: 1;
        grid-column: 2;
        white-space: normal;
    }

    .charter-item-desc {
        grid-row: 2;
        grid-column: 2;
    }
}

/* ========================================
   DESTINATIONS LIST
   ======================================== */
.destination-item:last-child {
    border-bottom: none;
}

.destination-item h3 {
    transition: color 0.3s ease;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-item:first-child {
    border-top: 1px solid rgba(248, 246, 241, 0.06);
}

.faq-trigger {
    background: none;
    border: none;
    cursor: none;
    color: inherit;
}

.faq-trigger:hover h3 {
    color: rgba(248, 246, 241, 0.95);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--gold);
}

.faq-plus {
    transition: transform 0.3s ease;
    transform-origin: center;
}
