/* Full Screen Search Overlay - La Butey Dark Style */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Fullscreen Overlay Container */
.wp-site-search-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    z-index: 999999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow-y: auto;
    font-family: 'Playfair Display', 'Didot', serif;
    color: #ffffff;
}

/* Hide metadata */
.search-page-result-date,
.search-page-result-type,
.wp-site-search-result-matched {
    display: none !important;
}

.wp-site-search-fullscreen.wp-site-search-fullscreen-active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.wp-site-search-fullscreen-inner {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Close Button */
.wp-site-search-fullscreen-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(204, 172, 110, 0.1);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.wp-site-search-fullscreen-close:hover {
    background: #fff;
    color: #1a1a1a;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 30px rgba(204, 172, 110, 0.6);
}

.wp-site-search-fullscreen-close svg {
    width: 20px;
    height: 20px;
}

/* Header Section */
.wp-site-search-fullscreen-header {
    padding: 80px 20px 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}
.wp-site-search-fullscreen-input{
    padding-left: 50px!important;
}
.wp-site-search-fullscreen-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
  
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wp-site-search-fullscreen-title {
    font-size: 72px;
    font-weight: 400;
    letter-spacing: 3px;
    margin: 0;
    background: #B8B8B8;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.wp-site-search-fullscreen-subtitle {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #B8B8B8;
    margin: 20px 0 0;
    font-style: italic;
}

/* Search Form Section */
.wp-site-search-fullscreen-form-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.wp-site-search-fullscreen-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.wp-site-search-fullscreen-icon {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 24px;
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

.wp-site-search-fullscreen-input {
    width: 100%;
    padding: 25px 30px 25px 70px;
    font-size: 20px;
    font-family: 'Playfair Display', 'Didot', serif;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(204, 172, 110, 0.3);
    border-radius: 60px;
    color: #ffffff!important;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
}

.wp-site-search-fullscreen-input::placeholder {
    color: rgba(255, 255, 255, 0.4)!important;
    font-style: italic;
}

.wp-site-search-fullscreen-input:focus {
    border-color: #fff!important;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 30px rgba(204, 172, 110, 0.3),
        inset 0 0 20px rgba(204, 172, 110, 0.1);
    transform: translateY(-2px);
    
}

/* Results Section */
.wp-site-search-fullscreen-results-section {
    flex: 1;
    padding: 40px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Loading State */
.wp-site-search-fullscreen-loading {
    text-align: center;
    padding: 60px 20px;
}

.wp-site-search-fullscreen-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 3px solid rgba(204, 172, 110, 0.2);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wp-site-search-fullscreen-loading p {
    font-size: 18px;
    color: #fff;
    letter-spacing: 2px;
}

/* Initial State */
.wp-site-search-fullscreen-initial-state {
    text-align: center;
    padding: 80px 20px;
    opacity: 0.5;
}

.wp-site-search-fullscreen-initial-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0.3;
}

.wp-site-search-fullscreen-initial-state p {
    font-size: 18px;
    color: #B8B8B8;
    letter-spacing: 2px;
    font-style: italic;
}

/* Results List */
.wp-site-search-fullscreen-results-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Result Item */
.search-page-result-item {
    background: linear-gradient(135deg, rgba(204, 172, 110, 0.05) 0%, rgba(44, 44, 44, 0.3) 100%) !important;
    border: 1px solid rgba(204, 172, 110, 0.2) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    text-decoration: none !important;
    display: block !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.search-page-result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204, 172, 110, 0.1), transparent);
    transition: left 0.5s ease;
}

.search-page-result-item:hover::before {
    left: 100%;
}

.search-page-result-item:hover {
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 
        0 10px 40px rgba(204, 172, 110, 0.2),
        inset 0 0 30px rgba(204, 172, 110, 0.05);
}

.search-page-result-title {
    font-size: 24px !important;
    font-weight: 500 !important;
    color: #fff !important;
    margin: 0 0 15px 0 !important;
    letter-spacing: 1px;
    line-height: 1.4 !important;
}

.search-page-result-excerpt {
    font-size: 16px !important;
    color: #B8B8B8 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.6 !important;
    font-weight: 300;
}

.search-page-result-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: rgba(204, 172, 110, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.search-page-result-type,
.search-page-result-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-page-result-type svg,
.search-page-result-date svg {
    width: 14px;
    height: 14px;
}

/* Highlight Search Terms */
.search-page-result-title mark,
.search-page-result-excerpt mark {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
    color: #dc0000;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* No Results */
.search-page-no-results {
    text-align: center;
    padding: 80px 20px;
}

.search-page-no-results svg {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    color: #fff;
    opacity: 0.3;
}

.search-page-no-results p {
    font-size: 20px;
    color: #B8B8B8;
    letter-spacing: 2px;
}

/* Decorative Elements */
.wp-site-search-fullscreen::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(204, 172, 110, 0.03) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-30px, 30px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wp-site-search-fullscreen-title {
        font-size: 48px;
    }

    .wp-site-search-fullscreen-subtitle {
        font-size: 16px;
    }

    .wp-site-search-fullscreen-input {
        font-size: 16px;
        padding: 20px 20px 20px 60px;
    }

    .wp-site-search-fullscreen-icon {
        left: 20px;
        width: 20px;
        height: 20px;
    }

    .wp-site-search-fullscreen-close {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .wp-site-search-fullscreen-results-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .search-page-result-item {
        padding: 25px;
    }

    .search-page-result-title {
        font-size: 20px;
    }

    .search-page-result-excerpt {
        font-size: 14px;
    }
}

/* Smooth Scrollbar */
.wp-site-search-fullscreen::-webkit-scrollbar {
    width: 8px;
}

.wp-site-search-fullscreen::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.wp-site-search-fullscreen::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 10px;
}

.wp-site-search-fullscreen::-webkit-scrollbar-thumb:hover {
    background: #F4E5C2;
}