/* 
 * 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;
    --primary-color: #0056b3;
    --primary-dark: #004085;
    --primary-light: #cce5ff;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --shadow-sm: 0 .125rem .25rem rgba(0,0,0,.075);
    --shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    --font-family-sans-serif: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-headings: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

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%);
}

/* Base Styles */
body {
    font-family: var(--font-family-sans-serif);
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

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

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

/* Navigation Styles */
.navbar {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 1rem;
}

.navbar-brand {
    font-family: var(--font-family-headings);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.3rem;
}

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

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    margin: 0 0.1rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.dropdown-menu {
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

/* Hero Section */
.hero-section {
    background-color: var(--light-color);
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-weight: 700;
    color: var(--dark-color);
}

.hero-section .lead {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Cards & Sections */
.card {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-header {
    font-weight: 600;
    padding: 1rem;
}

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

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
}

/* Form Styles */
.form-control {
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

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

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

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

/* RFC Generator */
.nav-tabs .nav-link {
    color: rgba(255,255,255,0.8);
    border: none;
    border-radius: 0;
    padding: 0.75rem 1.5rem;
}

.nav-tabs .nav-link.active {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
    border: none;
}

#rfcResult {
    transition: all 0.3s ease-in-out;
}

#rfcGenerado {
    font-family: monospace;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Features */
.feature-icon {
    height: 4rem;
    width: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    background-color: var(--primary-light);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

/* FAQ Section */
.accordion-button {
    padding: 1.25rem;
    font-weight: 600;
    background-color: #fff;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--primary-light);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1.5rem;
}

footer a {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

footer h5 {
    color: #fff;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    #rfcGenerado {
        font-size: 1.5rem;
    }
    
    .card-deck {
        margin-right: -0.5rem;
        margin-left: -0.5rem;
    }
    
    .card-deck .card {
        margin-right: 0.5rem;
        margin-left: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .hero-section, .footer, .cta-section {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    #rfcResult {
        page-break-inside: avoid;
        border: 1px solid #000;
    }
    
    #rfcGenerado {
        font-size: 2.5rem;
    }
}

/* Blog Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post h1, 
.blog-post h2, 
.blog-post h3, 
.blog-post h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.blog-post h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

.blog-post p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.blog-post .featured-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-post .content {
    font-size: 1.05rem;
}

.blog-post blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin-left: 0;
    color: #555;
    font-style: italic;
    margin: 1.5rem 0;
}

.blog-post ul, .blog-post ol {
    margin-bottom: 1.5rem;
}

.blog-post li {
    margin-bottom: 0.5rem;
}

.blog-post .post-footer {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    margin-top: 3rem;
}

.blog-post table {
    margin-bottom: 1.5rem;
}

.blog-index .featured-post .card {
    overflow: hidden;
}

.blog-index .featured-post img {
    height: 100%;
    object-fit: cover;
}

.blog-index .posts-grid .card-img-top {
    height: 180px;
    object-fit: cover;
}

.blog-index .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.categories .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.blog-post .alert a {
    text-decoration: underline;
}

.related-posts .card-img-top {
    height: 160px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .blog-post {
        padding: 0 1rem;
    }
    
    .blog-index .featured-post .row {
        flex-direction: column;
    }
    
    .blog-index .featured-post img {
        height: 200px;
    }
} 