/* ==================================================
   Gougel Version 2.0
   Global Styles
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background: #f8f9fa;
    color: #202124;
}

/* Header */

.header {
    background: #ffffff;
    padding: 20px;
    border-bottom: 1px solid #dadce0;
}

.logo {
    font-size: 30px;
    font-weight: bold;
}

.logo a {
    color: #202124;
    text-decoration: none;
}

/* Search Box */

.search-box {
    margin-top: 15px;
}

.search-box input {
    width: 500px;
    max-width: 90%;
    padding: 10px;
    font-size: 16px;
}

.search-box button {
    padding: 10px 18px;
    cursor: pointer;
}

/* Category Filters */

.filters {
    margin-top: 15px;
}

.filters a {
    margin-right: 15px;
    text-decoration: none;
    color: #1a73e8;
    font-weight: bold;
}

.filters a:hover {
    text-decoration: underline;
}

/* Results */

.results {
    padding: 30px;
}

.result-item {
    margin-bottom: 30px;
}

.result-title a {
    color: #1a0dab;
    font-size: 22px;
    text-decoration: none;
}

.result-title a:hover {
    text-decoration: underline;
}

.result-url {
    color: #188038;
    font-size: 14px;
    margin: 5px 0;
}

.result-description {
    color: #4d5156;
    margin: 8px 0;
}

.result-category {
    display: inline-block;
    background: #e8f0fe;
    color: #174ea6;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}
.home-container{
    max-width:900px;
    margin:120px auto 0 auto;
    text-align:center;
    padding:20px;
}

.home-logo{
    font-size:72px;
    font-weight:bold;
    color:#1a73e8;
    margin-bottom:10px;
}

.tagline{
    font-size:26px;
    color:#444;
    margin-bottom:18px;
}
/* ==========================================
   Gougel Homepage v2.1
========================================== */

.description{
    font-size:18px;
    color:#5f6368;
    margin-top:15px;
    margin-bottom:35px;
    line-height:1.6;
}

.search-form{
    margin-bottom:40px;
}

.search-form input{

    width:650px;
    max-width:90%;

    padding:16px;

    border:1px solid #dcdcdc;

    border-radius:30px;

    font-size:18px;

    outline:none;

    transition:.3s;
}

.search-form input:focus{

    border-color:#4285f4;

    box-shadow:0 0 10px rgba(66,133,244,.25);

}

.search-form button{

    margin-top:20px;

    padding:14px 30px;

    border:none;

    border-radius:30px;

    background:#1a73e8;

    color:white;

    font-size:17px;

    cursor:pointer;

    transition:.3s;

}

.search-form button:hover{

    background:#1558b0;

}

.quick-categories{

    margin-top:25px;

}

.quick-categories a{

    display:inline-block;

    margin:8px;

    padding:10px 18px;

    text-decoration:none;

    border-radius:25px;

    background:#f1f3f4;

    color:#202124;

    transition:.3s;

}

.quick-categories a:hover{

    background:#d2e3fc;

}

footer{

    margin-top:100px;

    padding:30px;

    text-align:center;

    color:#5f6368;

    border-top:1px solid #e0e0e0;

}
/* ==========================================
   Gougel Search Results Page v2.2
========================================== */

.search-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.serp-header {
    background: #ffffff;
    border-bottom: 1px solid #dadce0;
    padding: 22px 28px 0;
}

.serp-header-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    box-sizing: border-box;
}

.serp-logo {
    color: #1a73e8;
    font-size: 42px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

.serp-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 760px;
}

.serp-search-form input[type="search"] {
    width: 100%;
    min-width: 0;
    padding: 14px 20px;
    border: 1px solid #dadce0;
    box-sizing: border-box;
    border-radius: 999px;
    background: #ffffff;
    color: #202124;
    font-size: 16px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.serp-search-form input[type="search"]:focus {
    border-color: #1a73e8;
    box-shadow: 0 2px 10px rgba(26, 115, 232, 0.18);
}

.serp-search-form button {
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: #1a73e8;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.serp-search-form button:hover {
    background: #1558b0;
    transform: translateY(-1px);
}

.serp-filters {
    width: 100%;
    max-width: 1100px;
    margin: 20px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 16px;
    box-sizing: border-box;
}

.serp-filters a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f1f3f4;
    color: #3c4043;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.serp-filters a:hover {
    background: #e8f0fe;
    color: #174ea6;
}

.serp-filters .active {
    border-color: #1a73e8;
    background: #e8f0fe;
    color: #174ea6;
}

.serp-main {
    width: auto;
    max-width: 1000px;
    margin: 0 auto;
    padding: 34px 20px 70px;
    flex: 1;
    box-sizing: border-box;
}

.serp-summary {
    margin-bottom: 28px;
    color: #5f6368;
    font-size: 14px;
}

.serp-results {
    max-width: 900px;
}

.serp-result-card {
    margin-bottom: 26px;
    padding: 28px 24px;
    border: 1px solid #e3e6ea;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(60, 64, 67, 0.06);
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.serp-result-card:hover {
    box-shadow: 0 7px 20px rgba(60, 64, 67, 0.11);
    transform: translateY(-1px);
}

.serp-result-category {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f0fe;
    color: #174ea6;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}

.serp-result-title {
    margin: 13px 0 7px;
    font-size: 24px;
    line-height: 1.3;
}

.serp-result-title a {
    color: #1a0dab;
    text-decoration: none;
}

.serp-result-title a:hover {
    text-decoration: underline;
}

.serp-result-url {
    color: #188038;
    font-size: 14px;
    overflow-wrap: break-word;
    word-break: break-all;
}

.serp-result-description {
    margin: 10px 0 0;
    color: #4d5156;
    font-size: 16px;
    line-height: 1.6;
}

.serp-message {
    max-width: 700px;
    padding: 36px;
    border: 1px solid #e3e6ea;
    border-radius: 16px;
    background: #ffffff;
}

.serp-message h1 {
    margin: 0 0 12px;
    color: #202124;
    font-size: 26px;
}

.serp-message p {
    color: #5f6368;
    line-height: 1.6;
}

.site-footer {
    margin-top: auto;
    padding: 32px 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    color: #5f6368;
    text-align: center;
    font-size: 14px;
}

.site-footer p {
    margin: 4px 0;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    margin: 0 10px;
    color: #5f6368;
    text-decoration: none;
}

.footer-links a:hover {
    color: #1a73e8;
    text-decoration: underline;
}

/* Mobile search results */

@media (max-width: 768px) {

    .serp-header {
        padding: 18px 18px 0;
    }

    .serp-header-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .serp-logo {
        text-align: center;
        font-size: 34px;
    }

    .serp-search-form {
        align-items: stretch;
        flex-direction: column;
        max-width: none;
    }

    .serp-search-form button {
        align-self: center;
        width: 180px;
    }

    .serp-filters {
        justify-content: center;
    }

    .serp-main {
        width: auto;
        max-width: none;
        margin-left: 14px;
        margin-right: 14px;
        padding-top: 26px;
    }

    .serp-result-card {
        padding: 18px;
    }

    .serp-result-title {
        font-size: 20px;
    }

    .serp-message {
        padding: 25px 20px;
    }

}