/* Chapter 4-1: Full Vocabulary - Specific styles */

/* Section title */
.vocab-section-title {
    font-size: 1.6rem;
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    color: #d35400;
    text-align: center;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #fdcb6e;
}

.vocab-section-title:first-child {
    margin-top: 10px;
}

/* Vocabulary grid for two-column layout */
.vocab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

/* Single vocab card */
.vocab-card {
    background: white;
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 2px solid #ffeaa7;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.vocab-card:hover {
    transform: translateY(-3px);
    border-color: #fdcb6e;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.vocab-card:active {
    transform: scale(0.98);
}

/* Audio button */
.vocab-card .vocab-play-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(108,92,231,0.3);
}

.vocab-card .vocab-play-btn:hover {
    background: linear-gradient(135deg, #5f3dc4, #6c5ce7);
    transform: scale(1.1);
}

/* Punjabi text */
.vocab-card .vocab-punjabi {
    font-size: 1.5rem;
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    color: #2d3436;
    flex-shrink: 0;
    min-width: 70px;
}

/* English + transliteration info */
.vocab-card .vocab-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vocab-card .vocab-english {
    font-size: 1rem;
    color: #636e72;
    font-weight: 600;
}

.vocab-card .vocab-transliteration {
    font-size: 0.85rem;
    color: #b2bec3;
    font-style: italic;
}

/* Category color accents */
.vocab-card.cat-numbers     { border-left: 5px solid #e17055; }
.vocab-card.cat-days       { border-left: 5px solid #00b894; }
.vocab-card.cat-time       { border-left: 5px solid #00cec9; }
.vocab-card.cat-fruits     { border-left: 5px solid #fdcb6e; }
.vocab-card.cat-colors     { border-left: 5px solid #e84393; }
.vocab-card.cat-food       { border-left: 5px solid #d63031; }
.vocab-card.cat-weather    { border-left: 5px solid #74b9ff; }
.vocab-card.cat-family     { border-left: 5px solid #a29bfe; }
.vocab-card.cat-house      { border-left: 5px solid #55a3e8; }
.vocab-card.cat-animals    { border-left: 5px solid #00b894; }
.vocab-card.cat-clothes    { border-left: 5px solid #fd79a8; }
.vocab-card.cat-languages  { border-left: 5px solid #6c5ce7; }
.vocab-card.cat-travel     { border-left: 5px solid #0984e3; }
.vocab-card.cat-school     { border-left: 5px solid #00cec9; }
.vocab-card.cat-body       { border-left: 5px solid #e17055; }
.vocab-card.cat-emergency  { border-left: 5px solid #d63031; }

/* Sub-header inside category sections */
.vocab-sub-header {
    font-size: 1rem;
    color: #636e72;
    text-align: center;
    margin-bottom: 15px;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .vocab-grid {
        grid-template-columns: 1fr;
    }

    .vocab-card .vocab-punjabi {
        font-size: 1.3rem;
    }

    .vocab-card .vocab-play-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}
