/* Custom CSS for VAYDORS Name Search Page */

/* Default 75% zoom effect */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    transform: scale(0.75);
    transform-origin: top left;
    width: 133.33vw;
    height: auto;
}

.hero-banner-two {
    background-image: url('/assets/images/web-banner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 140vh;
    padding-top: 200px;
    padding-bottom: 100px;
}

/* Make logo smaller */
.theme-main-menu .logo img {
    max-height: 35px;
    width: auto;
}

.hero-banner-two .container {
    position: relative;
    z-index: 2;
}

.hero-banner-two .client-logo-wrapper {
    position: relative;
    z-index: 2;
}

/* Enhanced header styling */
.theme-main-menu {
    position: relative;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(0, 20, 40, 0.9) 0%, rgba(0, 40, 80, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced text styling for better readability */
.hero-banner-two .hero-heading {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: #ffffff;
    margin-top: 80px;
}

.hero-banner-two p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.9);
}

/* Ensure shapes are visible */
.hero-banner-two .shapes {
    position: relative;
    z-index: 2;
}

/* Style adjustments for better contrast */
.hero-banner-two .btn-three {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.client-logo-wrapper p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Remove extra space below footer */
.footer-three {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

.main-page-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: 100vh;
}

.scroll-top {
    bottom: 20px !important;
}

/* Name Search Form Styles */
.name-search-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    margin: 6rem auto 8rem auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

.search-form-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1e5bbf;
    box-shadow: 0 0 0 3px rgba(30, 91, 191, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Dark mode styling for select dropdown */
.form-input select,
select.form-input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem !important;
}

.form-input select:focus,
select.form-input:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #1e5bbf !important;
    box-shadow: 0 0 0 3px rgba(30, 91, 191, 0.3) !important;
    outline: none !important;
}

/* Dark mode for select options */
.form-input select option,
select.form-input option {
    background: #1a1a1a !important;
    color: white !important;
    padding: 0.5rem !important;
}

.form-input select option:hover,
select.form-input option:hover {
    background: #2d2d2d !important;
}

.form-input select option:checked,
select.form-input option:checked {
    background: #1e5bbf !important;
    color: white !important;
}

/* Style the default/placeholder option */
.form-input select option[value=""],
select.form-input option[value=""] {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Search Limit Counter Styles */
.search-limit-counter {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin: -1rem 0 2rem 0;
    backdrop-filter: blur(5px);
}

.search-limit-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.searches-used {
    color: #22c55e;
    font-weight: 700;
    font-size: 1.2rem;
}

.searches-total {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.search-limit-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    position: relative;
}

.search-limit-progress {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

/* Warning state when approaching limit (3/4 searches used) */
.search-limit-counter.warning .search-limit-progress {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.search-limit-counter.warning .searches-used {
    color: #f59e0b;
}

/* Danger state when at limit (4/4 searches used) */
.search-limit-counter.danger .search-limit-progress {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.search-limit-counter.danger .searches-used {
    color: #ef4444;
}

.search-button {
    background: linear-gradient(135deg, #1e5bbf 0%, #003f96 100%);
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(30, 91, 191, 0.4);
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 91, 191, 0.5);
}

.search-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Results Styles */
.results-container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.found-message {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.blurred-content {
    padding: 2rem;
    filter: blur(1px);
    opacity: 0.7;
    pointer-events: none;
}

.unlock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.price-tag {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.unlock-btn {
    background: linear-gradient(135deg, #1e5bbf 0%, #003f96 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 91, 191, 0.4);
}

.unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 91, 191, 0.5);
}

.error-message {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

/* FAQ Styling - WHITE TEXT */
.faq-section-two h2 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.faq-section-two p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.faq-section-two .accordion-button {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    margin-bottom: 0.5rem;
    font-weight: 500;
    padding: 1.5rem 2rem !important;
    font-size: 1.1rem;
}

.faq-section-two .accordion-button:not(.collapsed) {
    background: rgba(30, 91, 191, 0.2) !important;
    color: #ffffff !important;
    border-color: rgba(30, 91, 191, 0.3) !important;
    box-shadow: none !important;
    padding: 1.5rem 2rem !important;
}

.faq-section-two .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(30, 91, 191, 0.3) !important;
    border-color: rgba(30, 91, 191, 0.5) !important;
}

.faq-section-two .accordion-body {
    background: rgba(255, 255, 255, 0.02) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 2rem 2.5rem !important;
}

.faq-section-two .accordion-body p {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

.faq-section-two .accordion-item {
    background: transparent !important;
    border: none !important;
    margin-bottom: 1.5rem !important;
    padding: 0.5rem;
    border-radius: 15px;
}

.faq-section-two .accordion {
    padding: 1rem 0;
}

/* Fix zoom effect spacing issues */
@media (max-width: 768px) {
    body {
        transform: scale(0.85);
        width: 117.65vw;
        height: auto;
    }
    
    .hero-banner-two {
        min-height: 80vh;
        padding-top: 120px;
    }
    
    .hero-banner-two .hero-heading {
        margin-top: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .name-search-container {
        padding: 2rem;
        margin: 1rem 1rem 6rem 1rem;
    }
}

@media (max-width: 576px) {
    body {
        transform: scale(0.9);
        width: 111.11vw;
        height: auto;
    }
    
    .hero-banner-two {
        padding-top: 100px;
    }
    
    .hero-banner-two .hero-heading {
        margin-top: 30px;
    }

    .name-search-container {
        padding: 1.5rem;
        margin-bottom: 4rem;
    }
}