/* 
 * Orientation Explorer - Main CSS
 * A comprehensive styling for the Gay Test website
 */

:root {
    /* Color Palette */
    --primary: #4B0082; /* Deep purple - representing diversity */
    --primary-light: #9370DB; /* Medium purple */
    --secondary: #FF6B6B; /* Coral/pink */
    --accent: #00BFFF; /* Deep sky blue */
    --highlight: #FFD700; /* Gold */
    --dark: #2C3E50; /* Dark blue/slate */
    --light: #F8F9FA;
    --text-dark: #333;
    --text-light: #F8F9FA;
    --text-muted: #6C757D;
    --border-color: #E2E8F0;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
}

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.btn {
    border-radius: 4px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    box-shadow: 0 4px 10px rgba(75, 0, 130, 0.2);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.text-primary-light {
    color: var(--primary-light);
}

.text-highlight {
    color: var(--highlight);
}

.bg-highlight {
    background-color: var(--highlight);
}

.card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.navbar-brand i {
    color: var(--primary-light);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    position: relative;
}

.navbar-light .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
    opacity: 0;
}

.navbar-light .navbar-nav .nav-link:hover:after,
.navbar-light .navbar-nav .nav-link.active:after {
    left: 1rem;
    right: 1rem;
    opacity: 1;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.dropdown-menu {
    border: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(75, 0, 130, 0.1);
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: #F8F9FA;
    background-image: linear-gradient(120deg, rgba(147, 112, 219, 0.1), rgba(75, 0, 130, 0.1));
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 107, 107, 0.1);
    z-index: 0;
}

.hero-section:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(0, 191, 255, 0.1);
    z-index: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

/* Test Cards Section */
.test-cards {
    padding: 5rem 0;
}

.test-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
    height: 100%;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.test-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(75, 0, 130, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.test-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.test-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.test-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* What We Offer Section */
.what-we-offer {
    padding: 5rem 0;
    background-color: #F8F9FA;
}

.offer-feature {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.offer-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.offer-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.offer-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.offer-desc {
    color: var(--text-muted);
}

/* Expert Insights Section */
.expert-insights {
    padding: 5rem 0;
}

.expert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.expert-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.expert-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.expert-credentials {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.expert-quote {
    font-style: italic;
    background-color: #F8F9FA;
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
}

.expert-quote:before {
    content: '"';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 3rem;
    color: rgba(75, 0, 130, 0.1);
    font-family: Georgia, serif;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: #F8F9FA;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-info {
    display: flex;
    align-items: center;
}

.testimonial-info i {
    color: var(--primary);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.testimonial-author {
    font-weight: 600;
}

/* Educational Snippet Section */
.educational-snippet {
    padding: 4rem 0;
    background-color: rgba(0, 191, 255, 0.05);
}

.snippet-content {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Section */
.faq-preview {
    padding: 4rem 0;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-question {
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.faq-answer {
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

footer h5:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
}

footer a {
    color: var(--text-light);
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}

footer a:hover {
    color: var(--primary-light);
    text-decoration: none;
    transform: translateX(5px);
}

.social-icons a {
    font-size: 1.3rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .test-card, .offer-feature, .expert-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Gay Test Specific Styles */
.gay-test-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.test-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    background-color: var(--primary);
}

.question-container {
    margin-bottom: 2rem;
}

.question-text {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.answer-options label {
    display: block;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-options label:hover {
    background-color: rgba(75, 0, 130, 0.05);
}

.answer-options input[type="radio"]:checked + label {
    background-color: rgba(75, 0, 130, 0.1);
    border-color: var(--primary);
}

.test-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.results-container {
    text-align: center;
    padding: 2rem;
}

.results-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.results-chart {
    max-width: 400px;
    margin: 0 auto 2rem;
}

.results-explanation {
    margin-bottom: 2rem;
    text-align: left;
}

.result-spectrum {
    height: 30px;
    background: linear-gradient(to right, #ff0000, #ff8c00, #ffff00, #008000, #0000ff, #4b0082, #ee82ee);
    border-radius: 15px;
    position: relative;
    margin-bottom: 3rem;
}

.spectrum-marker {
    position: absolute;
    width: 20px;
    height: 40px;
    background-color: white;
    border: 3px solid var(--dark);
    border-radius: 50%;
    top: -5px;
    transform: translateX(-50%);
} 