﻿/* ===================== ABOUT HERO SECTION ===================== */
.about-hero.section {
    padding-top: 0;
    padding-bottom: 0;
    background: var(--np-grey-hot-bg);
}

.about-hero-container {
    max-width: 100%;
    padding: 0;
}

.about-hero-card {
    width: 100%;
    background: var(--np-accent1);
    border-radius: 32px 32px 0 0;
    padding: 32px 32px 0;
    color: var(--np-white);
    position: relative; /* дозволяє позиціонувати лапу всередині */
    overflow: hidden;
}
/* ===================== END ABOUT HERO SECTION ===================== */



/* ===================== HERO CONTENT LAYOUT ==================== */
.about-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
}

/* Left side */
.about-hero-left {
    max-width: 50%;
}

/* Title */
.about-hero-title {
    font-family: var(--font-logo);
    font-size: var(--fs-5xl);
    line-height: 1.1;
    color: var(--np-white);
    margin: 24px 0 32px;
    font-weight: 100;
}

/* Right side (dog image area) */
.about-hero-right {
    position: relative;
    max-width: 45%;
    height: 448px;
}

.about-hero-dog {
    width: 460px;
    height: 448px;
    object-fit: contain;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}
/* ===================== END HERO CONTENT LAYOUT ==================== */



/* =========================== BADGES =========================== */
.about-badge {
    background: white;
    border-radius: 12px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Top badge */
.top-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0;
    gap: 12px;
}

/* Stars */
.stars {
    font-size: 1rem;
    color: gold;
}

/* Small badge (left floating heart) */
.heart-badge {
    position: absolute;
    left: -590px;
    top: 60%;
    transform: translateY(-50%);
    z-index: 3;
}

.heart-badge img {
    width: 30px;
}

/* Phone badge above dog */
.phone-badge {
    position: absolute;
    top: 30px;
    right: 10px;
    z-index: 3;
    min-width: 200px;
}

    .phone-badge img {
        width: 30px;
    }

/* Label inside top badge */
.top-badge-label {
    background: var(--np-hover-bg);
    color: var(--np-dark);
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}


/* Блок зі зірками */
.top-badge .stars {
    color: var(--np-white);
    font-weight: 600;
}

    /* Дрібніший текст всередині */
    .top-badge .stars span {
        color: var(--np-white);
        opacity: 0.9;
    }
/* =========================== END BADGES =========================== */



/* ========================= DECORATION ========================= */
.paw-decor {
    position: absolute;
    width: 260px;
    height: auto;
    bottom: -30px;
    left: 42%;
    opacity: 1;
    pointer-events: none;
    user-select: none;
}
/* ========================= END DECORATION ========================= */



/* ===================== SEARCH BAR CONTAINER =================== */
.hero-search-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -45px;
    position: relative;
    z-index: 5;
}

.hero-search-inner {
    width: 60%;
    background: white;
    border-radius: 50px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
    gap: 2%;
}
/* ===================== END SEARCH BAR CONTAINER =================== */



/* ========================= SEARCH INPUT ======================= */
.search-input {
    flex: 1;
    max-width: 280px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--np-white-hot);
    padding: 20px 2%;
    border-radius: 50px;
    transition: background 0.25s ease;
}

    .search-input:has(input:focus) {
        background: var(--np-about-input-active);
    }

    .search-input input {
        border: none;
        outline: none;
        font-size: 1rem;
        color: var(--np-dark);
        width: 100%;
        background: transparent;
    }

    .search-input img {
        width: 20px;
        opacity: 0.8;
    }

    .search-input input {
        border: none;
        outline: none;
        font-size: 1rem;
        color: var(--np-dark);
        width: 100%;
        background: transparent;
    }
/* ========================= END SEARCH INPUT ======================= */



/* =========================== BUTTONS ========================== */
.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none !important;
    color: var(--np-dark) !important;
    white-space: nowrap;
    padding: 20px 2%;
    border-radius: 50px;
    transition: background 0.25s ease, color 0.25s ease;
}

    .search-btn:hover {
        text-decoration: none !important;
        color: var(--np-dark) !important;
        background: var(--np-white-hot);
    }

    .search-btn img {
        width: 20px;
    }
/* =========================== END BUTTONS ========================== */



/* =========================== DIVIDERS ========================= */
.search-divider {
    width: 2px;
    background-color: var(--np-accent1);
    height: calc(100% + 20px);
    margin-top: -10px;
    margin-bottom: -10px;
    align-self: stretch;
}
/* =========================== END DIVIDERS ========================= */



/* ===================== RESPONSIVE STYLES ===================== */

/* === TABLET LANDSCAPE (1024px) === */
@media (max-width: 1024px) {
    .about-hero-card {
        padding: 28px 28px 0;
    }

    /* Left block - keep desktop proportions */
    .about-hero-title {
        font-size: var(--fs-5xl);
        margin: 20px 0 28px;
    }

    .top-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .top-badge-label {
        font-size: 1rem;
        padding: 10px 18px;
    }

    .stars {
        font-size: 1.1rem;
    }

    /* Right block */
    .about-hero-right {
        height: 380px;
    }

    .about-hero-dog {
        width: 380px;
        height: 380px;
        bottom: 0;
        position: absolute;
    }

    /* Badges - larger, desktop-like */
    .about-badge {
        padding: 10px 14px;
        font-size: 0.85rem;
        gap: 10px;
    }

    .heart-badge {
        left: -470px;
        top: 20%;
        transform: translateY(-50%);
    }

    .heart-badge img,
    .phone-badge img {
        width: 26px;
    }

    .phone-badge {
        top: 20px;
        right: 10px;
        min-width: 180px;
    }

    .hero-search-inner {
        width: 75%;
        padding: 18px 40px;
    }

    .paw-decor {
        width: 220px;
    }
}

/* === TABLET PORTRAIT (768px) === */
@media (max-width: 768px) {
    .about-hero-card {
        padding: 20px 16px 0;
    }

    .about-hero-title {
        font-size: var(--fs-3xl);
        margin: 14px 0 20px;
    }

    .top-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .top-badge-label {
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    .stars {
        font-size: 0.95rem;
    }

    .about-hero-right {
        height: 280px;
    }

    .about-hero-dog {
        width: 280px;
        height: 280px;
        bottom: 0;
        position: absolute;
    }

    .about-badge {
        padding: 8px 12px;
        font-size: 0.75rem;
        gap: 8px;
    }

    .heart-badge {
        left: -320px;
        top: 25%;
    }

    .heart-badge img,
    .phone-badge img {
        width: 22px;
    }

    .phone-badge {
        top: 10px;
        right: 5px;
        min-width: 150px;
    }

    .hero-search-inner {
        width: 85%;
        padding: 14px 28px;
    }

    .paw-decor {
        width: 160px;
    }
}

/* === MOBILE (480px) === */
@media (max-width: 480px) {
    .about-hero-card {
        padding: 12px 8px 0;
        border-radius: 20px 20px 0 0;
    }

    .about-hero-content {
        gap: 10px;
    }

    .about-hero-left {
        max-width: 55%;
    }

    .about-hero-title {
        font-size: var(--fs-lg);
        margin: 8px 0 12px;
    }

    .top-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .top-badge-label {
        font-size: 0.6rem;
        padding: 4px 6px;
    }

    .stars {
        font-size: 0.6rem;
    }

    .about-hero-right {
        max-width: 45%;
        height: 160px;
    }

    .about-hero-dog {
        width: 140px;
        height: 140px;
    }

    /* Smaller badges */
    .about-badge {
        padding: 4px 6px;
        font-size: 0.55rem;
        gap: 4px;
        border-radius: 6px;
    }

    .heart-badge {
        left: -195px;
        top: 25%;
    }

    .heart-badge img,
    .phone-badge img {
        width: 12px;
    }

    .phone-badge {
        top: -5px;
        right: -10px;
        min-width: 90px;
        padding: 5px 8px;
    }

    .paw-decor {
        width: 80px;
        left: 35%;
        bottom: -10px;
    }

    /* Search bar mobile - two rows layout */
    .hero-search-block {
        margin-top: -20px;
    }

    .hero-search-inner {
        width: 94%;
        padding: 14px;
        gap: 12px;
        min-height: auto;
        border-radius: 20px;
        display: flex;
        flex-wrap: wrap;
    }

    /* Row 1: Input full width */
    .search-input {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 12px 16px;
        gap: 10px;
        border-radius: 30px;
    }

    .search-input img {
        width: 18px;
    }

    .search-input input {
        font-size: 0.95rem;
    }

    /* Row 2: Buttons share width */
    .search-btn {
        flex: 1;
        padding: 10px 6px;
        font-size: 0.75rem;
        gap: 4px;
        justify-content: center;
        border-radius: 20px;
    }

    .search-btn img {
        width: 14px;
    }

    /* Hide dividers on mobile */
    .search-divider {
        display: none;
    }
}

/* === SMALL MOBILE (375px) === */
@media (max-width: 375px) {
    .about-hero-title {
        font-size: var(--fs-md);
    }

    .top-badge {
        gap: 4px;
    }

    .top-badge-label {
        font-size: 0.55rem;
        padding: 3px 5px;
    }

    .stars {
        font-size: 0.55rem;
    }

    .about-hero-right {
        height: 130px;
    }

    .about-hero-dog {
        width: 110px;
        height: 110px;
    }

    .heart-badge {
        left: -125px;
        top: 20%;
    }

    .about-badge {
        padding: 3px 5px;
        font-size: 0.5rem;
    }

    .phone-badge {
        min-width: 75px;
    }

    .heart-badge img,
    .phone-badge img {
        width: 10px;
    }

    .paw-decor {
        width: 60px;
    }

    /* Search bar - smaller on 375px */
    .hero-search-inner {
        padding: 10px;
        gap: 10px;
    }

    .search-input {
        padding: 10px 14px;
    }

    .search-input input {
        font-size: 0.85rem;
    }

    .search-btn {
        padding: 8px 4px;
        font-size: 0.65rem;
    }

    .search-btn img {
        width: 12px;
    }
}
/* ===================== END RESPONSIVE STYLES ===================== */