/* Mangas Page Specific Styles */

.catalog-page {
    padding: 32px 0 72px;
}

.catalog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
    gap: 24px;
    align-items: stretch;
    margin: 24px 0 32px;
}

.catalog-hero__content,
.catalog-search-card {
    border-radius: 22px;
    border: 1px solid rgba(244, 162, 97, 0.2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.catalog-hero__content {
    padding: 34px;
    background: linear-gradient(145deg, rgba(15, 52, 96, 0.96), rgba(26, 26, 46, 0.94));
}

.catalog-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.catalog-hero__title {
    margin: 0 0 14px;
    color: var(--text-white);
    font-size: clamp(2.8rem, 4vw, 4.4rem);
    line-height: 1.12;
}

.catalog-hero__text {
    max-width: 62ch;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.55rem;
}

.catalog-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.catalog-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--primarycolor);
    color: var(--text-black);
    font-size: 1.5rem;
    font-weight: 700;
}

.catalog-hero__button:hover {
    color: var(--text-black);
    transform: translateY(-1px);
}

.catalog-hero__button--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--text-white);
}

.catalog-hero__button--ghost:hover {
    color: var(--text-white);
}

.catalog-search-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.catalog-search-card__label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 600;
}

.catalog-search-card__input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    font-size: 1.5rem;
}

.catalog-search-card__input option {
    color: #10243e;
    background: #ffffff;
}

.catalog-search-card__input:focus {
    border-color: rgba(244, 162, 97, 0.58);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.12);
}

.catalog-search-card__submit,
.catalog-search-card__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 1.4rem;
    font-weight: 700;
}

.catalog-search-card__submit {
    border: 0;
    background: var(--primarycolor);
    color: var(--text-black);
}

.catalog-search-card__reset {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-white);
}

.catalog-search-card__reset:hover {
    color: var(--text-white);
}

.catalog-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.catalog-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 1.35rem;
    font-weight: 600;
}

.catalog-chip.is-active,
.catalog-chip:hover {
    background: var(--primarycolor);
    border-color: var(--primarycolor);
    color: var(--text-black);
}

.catalog-results-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.catalog-results-head__title {
    margin: 0 0 8px;
    color: var(--text-white);
    font-size: 2.4rem;
}

.catalog-results-head__text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.45rem;
}

.catalog-results-head__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-meta-pill {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(244, 162, 97, 0.14);
    color: var(--primarycolor);
    font-size: 1.25rem;
    font-weight: 700;
}

.catalog-pagination nav {
    display: flex;
    justify-content: center;
}

.catalog-pagination svg {
    width: 16px;
    height: 16px;
}

.catalog-results-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.contact-page-section {
    min-height: calc(100vh - 140px);
}

.contact-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-hero__info-grid {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-hero__info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.contact-hero__info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(244, 162, 97, 0.16);
    color: var(--primarycolor);
    font-size: 1.6rem;
    flex-shrink: 0;
}

.contact-hero__info-title {
    margin: 0 0 6px;
    color: var(--text-white);
    font-size: 1.6rem;
}

.contact-hero__info-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.35rem;
    line-height: 1.65;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.09);
}

.contact-form-card__header {
    margin-bottom: 18px;
}

.contact-form-card__title {
    margin: 0 0 8px;
    color: var(--text-white);
    font-size: 2.3rem;
}

.contact-form-card__text {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.4rem;
    line-height: 1.7;
}

.contact-form-card__input {
    color: var(--text-white);
}

.contact-form-card__textarea {
    min-height: 190px;
    padding-top: 14px;
    resize: vertical;
}

.contact-form-card__submit {
    min-width: 190px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Search Section */
.search-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.mangaSearchForm{
    width: 100%;
}

.manga-search {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 2px solid var(--primarycolor, #007bff);
    border-radius: 25px;
    font-size: 1.6rem;
    outline: none;
    background-color: var(--input-bg, #fff);
    color: var(--text-color, #333);
}

.manga-search::placeholder {
    color: var(--placeholder-color, #999);
    font-size: 1.4rem;
}

.manga-search:focus {
    border-color: var(--primarycolor, #007bff);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* All Manga Container */
.all-manga-cont {
    margin: 40px 0;
}

/* Small Manga Container Styles (for component) */
.smanga-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    gap: 30px;
    margin: 60px 0;
}

.smanga-box {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.smanga-box:hover {
    transform: translateY(-5px);
}

.smanga-img {
    width: 100%;
    max-width: 146px;
    height: 210px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.smanga-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.smanga-box:hover img {
    transform: scale(1.05);
}

.smanga-content {
    padding: 10px;
    background-color: var(--smanga-bg, #f8f9fa);
    border-radius: 0px 0px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smanga-ttl {
    font-size: 1.4rem;
    color: var(--text-black, #333);
    margin-bottom: 0;
    font-weight: 600;
}

.starandrating {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 12px;
}

.smanga-star .fa-star {
    width: 15px;
    height: 15px;
    color: var(--primarycolor, #ffc107);
}

.smanga-rating {
    font-size: 1.4rem;
    color: var(--text-black, #333);
    font-weight: 500;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .catalog-page {
        padding-top: 20px;
    }

    .catalog-hero {
        grid-template-columns: 1fr;
    }

    .catalog-hero__content,
    .catalog-search-card {
        padding: 24px 20px;
    }

    .catalog-results-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form-card__submit {
        width: 100%;
    }

    .manga-search {
        max-width: 400px;
        height: 45px;
        font-size: 1.4rem;
    }

    .smanga-boxes {
        gap: 20px;
        justify-content: center;
    }

    .smanga-box {
        max-width: 160px;
    }

    .smanga-img {
        max-width: 160px;
        height: 230px;
    }

    .starandrating {
        gap: 8px;
    }

    .smanga-ttl {
        font-size: 1.3rem;
    }

    .smanga-rating {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .catalog-hero__actions {
        flex-direction: column;
    }

    .catalog-hero__button,
    .catalog-search-card__submit,
    .catalog-search-card__reset {
        width: 100%;
    }

    .manga-search {
        max-width: 300px;
        height: 40px;
        font-size: 1.3rem;
        padding: 0 15px;
    }

    .smanga-boxes {
        gap: 15px;
    }

    .smanga-box {
        max-width: 140px;
    }

    .smanga-img {
        max-width: 140px;
        height: 200px;
    }

    .smanga-ttl {
        font-size: 1.2rem;
    }

    .smanga-rating {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 375px) {
    .smanga-boxes {
        gap: 10px;
    }

    .smanga-box {
        width: 100%;
        max-width: 135px;
    }

    .smanga-img {
        max-width: 135px;
        height: 190px;
    }
}
