/* Real Street Wholesale - Custom Styles */

:root {
    --rs-green: #28a745;
    --rs-dark-green: #1e7e34;
    --rs-light-green: #d4edda;
    --rs-gray: #6c757d;
    --rs-dark: #343a40;
    --rs-light: #f8f9fa;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.btn-success {
    background-color: var(--rs-green);
    border-color: var(--rs-green);
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--rs-dark-green);
    border-color: var(--rs-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.text-success {
    color: var(--rs-green) !important;
}

.bg-success {
    background-color: var(--rs-green) !important;
}

/* Navigation */
.navbar-brand .brand-text {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--rs-green) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    line-height: 1.2;
}

.hero-title .company-name {
    white-space: nowrap;
    color: var(--rs-light-green);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-title .company-name {
        white-space: normal;
        display: block;
    }
}

.hero-buttons .btn {
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* Stats Section */
.stats-section .stat-item {
    transition: transform 0.3s ease;
}

.stats-section .stat-item:hover {
    transform: translateY(-5px);
}

.stats-section i {
    transition: color 0.3s ease;
}

.stats-section .stat-item:hover i {
    color: var(--rs-dark-green) !important;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--rs-green);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--rs-green), var(--rs-dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.feature-icon i {
    color: white;
    font-size: 2rem;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Page Headers */
.page-header {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--rs-dark) 0%, #495057 100%);
}

.page-header h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Benefit Cards */
.benefit-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--rs-green);
}

.benefit-icon {
    text-align: center;
    margin-bottom: 1rem;
}

/* Value Cards */
.value-card {
    transition: all 0.3s ease;
}

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

.value-icon {
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 0;
    margin: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--rs-green);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60%;
    display: block;
    clear: both;
}

.timeline-item:nth-child(even) {
    padding-left: 0;
    padding-right: 60%;
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid #e9ecef;
    min-height: 80px;
    display: block;
}

.timeline-content h5 {
    color: var(--rs-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.timeline-content p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    z-index: 3;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -20px;
    border-right-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -20px;
    border-left-color: white;
}

/* Team Cards */
.team-card {
    transition: all 0.3s ease;
}

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

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
    position: relative;
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--rs-green);
    font-family: Georgia, serif;
    opacity: 0.3;
}

/* Process Steps */
.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number .badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Application Form */
.application-card {
    border: 1px solid #e9ecef;
}

.form-embed iframe {
    border: 1px solid #e9ecef;
    min-height: 800px;
}

.alternative-contact {
    border: 1px solid #dee2e6;
}

.contact-method {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Requirements */
.requirements-reminder {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.requirements-reminder ul li {
    margin-bottom: 0.5rem;
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    color: var(--rs-dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--rs-light-green);
    color: var(--rs-dark-green);
    border-color: var(--rs-green);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--rs-green) 0%, var(--rs-dark-green) 100%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--rs-dark) 0%, #2c3e50 100%);
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: var(--rs-green);
    transform: translateY(-3px);
}

/* Journey Cards - Static Layout */
.journey-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.journey-card .badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.journey-card h5 {
    color: var(--rs-dark);
    font-size: 1.1rem;
}

.journey-card p {
    line-height: 1.6;
}

/* Special styling for the current year card */
.journey-card.bg-success .badge {
    background-color: white !important;
    color: var(--rs-green) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-buttons {
        margin-top: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
      .timeline::before {
        left: 20px;
        transform: none;
    }
    
    .timeline-item {
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .step-number .badge {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Mobile navbar brand fixes */
    .brand-text {
        font-size: 0.9rem;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    /* Mobile hero section fixes */
    .hero-section {
        padding-top: 90px !important;
    }
    
    .min-vh-70 {
        min-height: 60vh !important;
    }
}

@media (max-width: 480px) {
    /* Hide brand text on very small screens to prevent cutoff */
    .brand-text {
        display: none;
    }
    
    .navbar-brand {
        padding: 0;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.border-success {
    border-color: var(--rs-green) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-section,
    .hero-section {
        display: none !important;
    }
    
    .page-header {
        background: none !important;
        color: black !important;
        padding: 1rem 0 !important;
    }
    
    .feature-card,
    .benefit-card,
    .testimonial-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
