/*
Theme Name: SS Search
Theme URI: https://turkifsalife.com/ss-search
Author: Turk Ifsa
Author URI: https://turkifsalife.com
Description: Basit, sade ve hızlı WordPress arama motoru teması
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ss-search
*/

/* Genel Arayüz */
body {
    font-family: Arial, sans-serif;
    background: #fff;
    color: #111;
    margin: 0;
    padding: 0;
    text-align: center;
}

form {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 18px 22px;
    border-radius: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    position: relative;
}

input[type="text"] {
    flex: 1;
    height: 48px;
    padding: 0 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 25px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
    outline: none;
    background: linear-gradient(145deg, #fafafa, #ffffff);
    transition: all 0.3s ease;
}

input[type="text"]:focus {
    border-color: #cc0029;
    background: #fff;
    box-shadow: 0 0 10px rgba(204, 0, 41, 0.3);
}

input[type="submit"] {
    height: 48px;
    padding: 0 24px;
    font-size: 16px;
    background: linear-gradient(to right, #ff0033, #cc0029);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

input[type="submit"]:hover {
    background: linear-gradient(to right, #cc0029, #a80022);
    transform: translateY(-1px) scale(1.04);
}

footer {
    margin-top: 100px;
    font-size: 14px;
    color: #666;
}

.search-result {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
    padding: 0 20px;
}

.search-result-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background-color 0.3s;
}

.search-result-item:hover {
    background-color: #f6f6f6;
}

.search-result-item img {
    vertical-align: middle;
    margin-right: 5px;
}

.search-result-item a.title {
    font-weight: bold;
    font-size: 18px;
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s ease;
}

.search-result-item a.title:hover {
    text-decoration: underline;
    color: #005f8d;
    transform: translateX(2px);
}

.search-result-item a.description {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 4px;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s;
}

.search-result-item a.description:hover {
    color: #000;
    text-decoration: underline;
}

.search-result-item a.source {
    font-size: 12px;
    color: gray;
    text-decoration: none;
    margin-top: 4px;
    transition: color 0.3s;
}

.search-result-item a.source:hover {
    color: #333;
    text-decoration: underline;
}

.pagination {
    margin: 40px auto;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    background: #f2f2f2;
    color: #333;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 15px;
}

.pagination a:hover {
    background: #cc0029;
    color: #fff;
}

.pagination .current {
    background: #ff0033;
    color: white;
    font-weight: bold;
    pointer-events: none;
}
/* ============ Footer Menü Kutulu Stil ============ */
footer,
footer .footer-nav,
.footer-menu-wrapper {
  background-color: #f9f9f9 !important;
  padding: 20px 0 !important;
  border-top: 1px solid #e0e0e0 !important;
  text-align: center !important;
}

footer .footer-nav .footer-menu,
.footer-menu-wrapper .footer-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer .footer-nav .footer-menu li,
.footer-menu-wrapper .footer-menu li {
  display: inline-block !important;
  margin: 0 8px !important;
}

footer .footer-nav .footer-menu li a,
.footer-menu-wrapper .footer-menu li a {
  display: inline-block !important;
  padding: 8px 16px !important;
  background-color: #fff !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
  text-decoration: none !important;
  transition: background-color .2s, color .2s, border-color .2s !important;
}

footer .footer-nav .footer-menu li a:hover,
footer .footer-nav .footer-menu li a:focus,
.footer-menu-wrapper .footer-menu li a:hover,
.footer-menu-wrapper .footer-menu li a:focus {
  background-color: #e3001b !important;
  border-color: #e3001b !important;
  color: #fff !important;
}

/* Mobil alt alta yerleşsin */
@media(max-width:480px) {
  footer .footer-nav .footer-menu li,
  .footer-menu-wrapper .footer-menu li {
    display: block !important;
    margin: 6px 0 !important;
  }
}
