/* RideRemap - Common Styles for All Pages */
/* Shared styles for animated background, glassmorphism navbar, and footer */

/* Fonts are now loaded via link tag in HTML head for better performance */

/* Animated Background Bubbles (GSAP) */
.animated-background-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
}

.bg-bubble-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
}

.bg-bubble-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
}

.bg-bubble-3 {
    width: 250px;
    height: 250px;
    bottom: 15%;
    left: 50%;
}

.bg-bubble-4 {
    width: 180px;
    height: 180px;
    top: 30%;
    right: 30%;
}

.bg-bubble-5 {
    width: 220px;
    height: 220px;
    bottom: 30%;
    right: 10%;
}

:root {
    --primary-yellow: #FFD700;
    --primary-blue: #00BFFF;
    --primary-pink: #FF007F;
    --light-blue: #87CEEB;
    --dark-blue: #1a1a2e;
    --bg-light: #f0f2f5;
    --bg-white: #FFFFFF;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
}

/* Animated Background - Available on all pages */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    pointer-events: none;
}

.bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
}

/* Reduce animated shapes on mobile for better performance */
@media (max-width: 768px) {
    .shape {
        filter: blur(60px);
        opacity: 0.1;
    }
    
    .shape-4,
    .shape-5 {
        display: none;
    }
}

@media (max-width: 576px) {
    .shape-3 {
        display: none;
    }
    
    .animated-background {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: -200px;
    right: -200px;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

.shape-4 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    top: 20%;
    right: 10%;
    animation-delay: 15s;
}

.shape-5 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #fa709a, #fee140);
    bottom: 10%;
    left: 20%;
    animation-delay: 20s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Glassmorphism Navigation - Transparent/Clear */
.glass-nav {
    background: rgba(26, 26, 46, 0.1) !important; /* Much more transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
    z-index: 1050;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(26, 26, 46, 0.3) !important; /* Slightly more opaque on scroll */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.2);
}

.glass-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px !important;
    border-radius: 8px;
    margin: 0 5px;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-link.active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.glass-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #FF007F);
    border-radius: 2px;
}

.glass-nav .navbar-brand {
    color: #fff !important;
    font-size: 1.5rem;
    font-weight: 700;
}

.glass-nav .navbar-brand:hover {
    color: #FFD700 !important;
}

/* Glass Footer - Enhanced Modern Design */
.glass-footer {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 2px solid rgba(102, 126, 234, 0.3);
    color: rgba(255, 255, 255, 0.95) !important;
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: hidden;
}

.glass-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 50%, rgba(102, 126, 234, 0.8) 100%);
    z-index: 1;
}

/* Footer Top Section */
.footer-top {
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-widget {
    height: 100%;
}

.footer-brand {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-logo-img {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 191, 255, 0.3));
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

/* Better spacing for footer sections */
.footer-top .row {
    align-items: flex-start;
}

.footer-widget {
    text-align: left;
}

@media (max-width: 768px) {
    .footer-widget {
        text-align: center;
    }
}

.footer-logo h4 {
    color: #ffffff !important;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-logo h4 i {
    color: #00BFFF !important;
    font-size: 2rem;
}

.footer-slogan {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-title {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 1) 0%, rgba(118, 75, 162, 1) 100%);
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact Items */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: rgba(255, 255, 255, 1) !important;
    transform: translateX(5px);
}

.contact-item i {
    color: #00BFFF !important;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #00BFFF !important;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-links a i {
    font-size: 0.75rem;
    color: #00BFFF !important;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00BFFF !important;
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Horizontal Quick Links Layout */
.footer-quick-links-horizontal {
    text-align: center;
}

.quick-links-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 90px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.quick-link-item i {
    font-size: 1.5rem;
    color: #00BFFF !important;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.quick-link-item span {
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    background: rgba(0, 191, 255, 0.15);
    border-color: rgba(0, 191, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.2);
    color: #ffffff !important;
}

.quick-link-item:hover i {
    transform: scale(1.1);
    color: #00BFFF !important;
}

.quick-link-item:hover span {
    color: #00BFFF !important;
}

@media (max-width: 768px) {
    .quick-links-inline {
        gap: 0.75rem;
    }
    
    .quick-link-item {
        min-width: 80px;
        padding: 0.75rem 1rem;
    }
    
    .quick-link-item i {
        font-size: 1.25rem;
    }
    
    .quick-link-item span {
        font-size: 0.8rem;
    }
}

/* Footer Info */
.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-info li i {
    color: #00BFFF !important;
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-info li strong {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
}

.footer-info li a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-info li a:hover {
    color: #00BFFF !important;
}

/* Social Links */
.footer-social {
    margin-top: 2rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: #ffffff !important;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover i {
    transform: scale(1.2);
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
    margin: 0;
}

.footer-designed {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
    margin: 0;
}

.footer-designed a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-designed a:hover {
    color: #00BFFF !important;
}

/* General Footer Links */
.glass-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.glass-footer a:hover {
    color: #00BFFF;
}

/* Glass Card - Reusable */
.glass-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 2.5rem;
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 2;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

/* Page Wrapper - Common */
.page-wrapper {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Homepage specific - no padding for full-page slider */
.page-wrapper > .hero-slider {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Section Title */
.section-title {
    color: var(--text-dark) !important;
    font-weight: 700;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 2;
}

/* Responsive - Comprehensive */
@media (max-width: 1200px) {
    .glass-card {
        padding: 2rem;
    }
}

@media (max-width: 992px) {
    .glass-card {
        padding: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .glass-nav .navbar-brand {
        font-size: 1.2rem;
    }
    
    .glass-nav .nav-link {
        font-size: 0.9rem;
        padding: 8px 12px !important;
    }
}

@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .shape {
        width: 200px !important;
        height: 200px !important;
    }
    
    .glass-nav .nav-link {
        padding: 8px 10px !important;
        margin: 2px 0;
        font-size: 0.85rem;
    }
    
    .glass-nav .navbar-brand {
        font-size: 1.1rem;
    }
    
    .footer-top {
        padding: 3rem 0 1.5rem !important;
    }
    
    .footer-title {
        font-size: 1.1rem !important;
    }
    
    .footer-logo h4 {
        font-size: 1.5rem !important;
    }
    
    .footer-bottom {
        text-align: center !important;
    }
    
    .footer-bottom .row > div {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 576px) {
    .glass-card {
        padding: 1.25rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .glass-nav {
        padding: 0.5rem 0 !important;
    }
    
    .glass-nav .navbar-brand {
        font-size: 1rem;
    }
    
    .glass-nav .nav-link {
        padding: 6px 8px !important;
        font-size: 0.8rem;
    }
    
    .footer-top {
        padding: 2.5rem 0 1.5rem !important;
    }
    
    .footer-bottom {
        padding: 1.25rem 0 !important;
        text-align: center !important;
    }
    
    .footer-copyright,
    .footer-designed {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .footer-logo h4 {
        font-size: 1.35rem !important;
    }
    
    .footer-title {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-item,
    .footer-links a,
    .footer-info li {
        font-size: 0.85rem !important;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure text content is visible */
.page-wrapper p,
.page-wrapper h1,
.page-wrapper h2,
.page-wrapper h3,
.page-wrapper h4,
.page-wrapper h5,
.page-wrapper h6,
.page-wrapper span:not(.shape),
.page-wrapper label,
.page-wrapper .text-dark,
.page-wrapper .text-muted {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 2;
}

.text-dark {
    color: var(--text-dark) !important;
    opacity: 1 !important;
}

.text-muted {
    color: var(--text-muted) !important;
    opacity: 1 !important;
}

/* Container visibility */
.container, .container-fluid {
    position: relative;
    z-index: 2;
}

