/* ------------------------
   GENERAL PAGE STYLING
------------------------ */

body {
    background-color: #f5f7fa;
    font-family: Arial, sans-serif;
    color: #333;
}

/* ------------------------
   HEADER
------------------------ */

.header {
    background-color: #1f1da6;
    color: rgb(5, 29, 187);
    padding: 20px;
    text-align: center;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* ------------------------
   LISTING CARDS
------------------------ */

.listing-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);

    margin-bottom: 30px;

    transition: 0.2s;
}

.listing-card:hover {
    transform: translateY(-4px);
}

.listing-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.listing-content {
    padding: 15px;
}

/* ------------------------
   LINKS
------------------------ */

.listing-link {
    text-decoration: none;
    color: inherit;
}

/* ------------------------
   PRICE
------------------------ */

.price {
    color: #0056b3;
    font-weight: bold;
}

/* ------------------------
   DETAIL PAGE
------------------------ */

.hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;

    border-radius: 12px;

    margin-top: 30px;
    margin-bottom: 30px;
}

.details-box {
    background-color: white;

    padding: 20px;

    margin-top: 20px;

    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ------------------------
   BACK BUTTON
------------------------ */

.back-link {
    display: inline-block;

    margin-top: 30px;
    margin-bottom: 20px;

    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}

/* ------------------------
   SEARCH BAR
------------------------ */

.search-section {
    margin-top: 30px;
    margin-bottom: 40px;
}

.search-box {
    background-color: white;

    padding: 25px;

    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.search-box label {
    display: block;

    font-weight: bold;

    margin-bottom: 8px;
}

.search-box input,
.search-box select {
    width: 100%;

    padding: 10px;

    border: 1px solid #ccc;

    border-radius: 8px;
}

.search-button-column {
    display: flex;

    align-items: end;
}

.search-box button {
    width: 100%;
    padding: 10px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 25px;
}
/* ------------------------
   LOGO BOX
------------------------ */

.logo-box {
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    width: fit-content;
    max-width: 90%;
    margin: 0 auto;
}

/* Top row with birds and title */

.logo-top {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;
}

/* Title */

header .site-title {
    color: #013263;

    margin: 0;

 font-size: clamp(2rem, 6vw, 4rem);
}

/* Subtitle */

.tagline {
    margin-top: 5px;

    margin-bottom: 0;

    color: #505050;

    font-size: 0.9rem;
}

/* Bird icons */

.title-parakeet {
    width: 180px;

    height: auto;
}

/* Mirror right bird */

.right-parakeet {
    transform: scaleX(-1);
}

body {
    overflow-x: hidden;
}

.header {
    text-align: center;
}

.logo-box {
    padding: 10px 15px;
    max-width: 90%;
}

img {
    max-width: 100%;
    height: auto;
}

.logo-box {
    max-width: 90%;
    margin: 0 auto;
}

.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

body {
    overflow-x: hidden;
}

.search-box button {
    margin-top: 20px;
}

.logo-box {
    max-width: 90%;
    margin: 0 auto;
}

.title-parakeet {
    width: 70px;
    height: auto;
}

@media (max-width: 768px) {
    .title-parakeet {
        width: 45px;
    }
}

@media (max-width: 768px) {

    .search-box input,
    .search-box select {
        margin-bottom: 15px;
    }

}