/* ===========================
   Fundal general și text
=========================== */
body {
    background-color: #990000 !important; /* roșu închis */
    color: #000000 !important; /* text negru */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ===========================
   Header și footer
=========================== */
.site-header, .site-footer {
    background-color: #cc0000 !important;
    color: #ffffff !important;
}

a {
    color: #000000 !important;
    text-decoration: none;
}
a:hover {
    color: #333333 !important;
}

/* ===========================
   Butoane
=========================== */
button, input[type="submit"], .wp-block-button__link {
    background-color: #000000 !important;
    color: #cc0000 !important;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
button:hover, input[type="submit"]:hover, .wp-block-button__link:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}

/* ===========================
   Footer text
=========================== */
.site-footer {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #ffffff !important;
}
.site-footer::after {
    content: "©2015 - 2025 All Rights Reserved. Powered by @GGescorts.net.";
    display: block;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    padding: 20px 0;
}

/* ===========================
   Sidebar HivePress (Search)
=========================== */
.hp-search-form {
    background: #cc0000;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 15px;
    max-width: 250px;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 20px;
    position: relative;
}

.hp-search-form::before {
    content: "Search Listings";
    display: block;
    background-color: #990000;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding: 8px;
    border-radius: 12px 12px 0 0;
    margin: -15px -15px 10px -15px;
    font-size: 16px;
}

.hp-search-form .hp-form-field input,
.hp-search-form .hp-form-field select {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #fff;
    background: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

.hp-search-form button {
    width: 100%;
    padding: 8px 0;
    border-radius: 8px;
    border: none;
    background-color: #990000;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
}
.hp-search-form button:hover {
    background-color: #cc0000;
}

.hp-search-form label {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    color: #fff;
}

/* ===========================
   Listings card
=========================== */
.hp-listings {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.hp-listing {
    flex: 1 0 18%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-listing:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.hp-listing__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.hp-listing__details {
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    flex: 1;
}

.hp-listing__title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #000;
}

.hp-listing__attribute {
    display: block;
    font-size: 13px;
    color: #555;
}

/* Responsive */
@media (max-width: 1024px) {
    .hp-listing { flex: 1 0 48%; }
}
@media (max-width: 480px) {
    .hp-listing { flex: 1 0 48%; }
}

/* ===========================
   Popup Age / Disclaimer
=========================== */
#age-popup {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 10px;
}

#age-popup .popup-content {
    background: #fff;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    max-width: 450px;
    width: 100%;
    text-align: left;
}

#age-popup .popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

#age-popup .popup-buttons button {
    flex: 1 1 48%;
    padding: 10px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

#age-popup .btn-enter { background: #fff; color: #000; }
#age-popup .btn-exit { background: #ff6666; color: #fff; }

@media (max-width: 480px) {
    #age-popup .popup-buttons {
        flex-direction: row; /* butoanele unul langa altul */
        gap: 10px;
    }
}
