/*
Theme Name: Ride Booking Theme
Theme URI: https://example.com/ride-booking-theme
Author: Your Name
Author URI: https://example.com
Description: A high-end, Uber-style booking system for ride services with real-time pricing, Google Maps integration, and Stripe payment processing.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ride-booking-theme
Tags: booking, ride-sharing, maps, payments, custom-theme
*/

/**
 * Base Styles
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    overflow-x: hidden;
}

/* Remove default WordPress admin bar spacing */
body.admin-bar .rbt-booking-hub {
    margin-top: 32px;
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .rbt-booking-hub {
        margin-top: 46px;
        height: calc(100vh - 46px);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: #4285F4;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a73e8;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* WordPress Core Compatibility */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}


/**
 * Site Header
 * Header styles are now in modern-design.css
 */

/**
 * Page Content
 */
.rbt-page-wrapper {
    min-height: calc(100vh - 200px);
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.rbt-page-content {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.rbt-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #4285F4;
}

.rbt-page-title {
    font-size: 2.5rem;
    color: #1e3c72;
    margin: 0;
}

.rbt-page-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
}

.rbt-page-body h2 {
    color: #1e3c72;
    margin-top: 2rem;
}

.rbt-page-body p {
    margin-bottom: 1.5rem;
}

/**
 * Site Footer
 */
.rbt-site-footer {
    background: #1e3c72;
    color: #fff;
    padding: 2rem 0;
    margin-top: auto;
    clear: both;
}

.rbt-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.rbt-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.rbt-footer-info {
    flex: 0 0 auto;
}

.rbt-footer-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.rbt-footer-navigation {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.rbt-footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.rbt-footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rbt-footer-menu a:hover {
    color: #fff;
}

/* Developer Credit Styling - Right Side */
.rbt-developer-credit {
    flex: 0 0 auto;
    font-size: 0.85rem;
    opacity: 0.8;
    text-align: right;
}

.rbt-developer-credit a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.rbt-developer-credit a:hover {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .rbt-footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .rbt-footer-info,
    .rbt-footer-navigation,
    .rbt-developer-credit {
        width: 100%;
        text-align: center;
    }
    
    .rbt-footer-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
}
    transition: all 0.3s ease;
}

.rbt-developer-credit a:hover {
    color: #fff;
    text-decoration: underline;
}
