/* Custom styles for Perfume Finder */

/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    visibility: hidden; /* Initially hidden, revealed by JS to prevent scraping */
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar customization */
.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar-brand i {
    color: #6c757d;
    margin-right: 0.5rem;
}

/* Footer customization */
footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

footer .social-icons a {
    font-size: 1.2rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #007bff;
}

/* Perfume detail page */
.perfume-image {
    max-height: 300px;
    object-fit: contain;
}

/* Quiz styling */
.quiz-step {
    animation: fadeIn 0.5s ease;
}

.form-check.card {
    cursor: pointer;
    border: 2px solid transparent;
}

.form-check.card:hover {
    border-color: #dee2e6;
}

.form-check-input:checked + .form-check-label .card-title {
    color: #007bff;
}

.form-check.card .form-check-input:checked ~ .form-check-label {
    font-weight: 500;
}

.form-check.card:has(.form-check-input:checked) {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

/* Alphabet navigation */
.alphabet-nav {
    position: sticky;
    top: 70px;
    background: white;
    padding: 10px 0;
    z-index: 100;
    border-bottom: 1px solid #dee2e6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}

/* Star ratings */
.text-warning {
    color: #ffc107 !important;
}

/* Badge styling */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.badge.bg-light {
    border: 1px solid #dee2e6;
}

/* Placeholder image */
img[src="/assets/images/placeholder.jpg"] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

/* Search suggestions */
#search-suggestions {
    border-top: none;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

/* Anti-scraping measures */
/* Hide email addresses from bots */
.email-protection:after {
    content: attr(data-domain);
}

.email-protection:before {
    content: attr(data-user) + "@";
}

/* Hide content from bots */
.bot-protection {
    display: inline-block;
}

/* Honeypot fields */
.honeypot-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Back to top button */
.back-to-top {
    opacity: 0.7;
}

.back-to-top:hover {
    opacity: 1;
}