/*
Theme Name: OmniRota
Theme URI: https://omnirota.com
Author: OmniRota Team
Author URI: https://omnirota.com
Description: A modern, premium theme designed for vehicle rental businesses. Features a clean, professional design with full integration for the OmniRota Rental plugin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omnirota-theme
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready

OmniRota Theme - Premium Vehicle Rental Theme
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
    /* Brand Colors - Defaults, overridden by customizer */
    --ort-primary: #2563eb;
    --ort-primary-hover: #1d4ed8;
    --ort-primary-light: rgba(37, 99, 235, 0.1);
    --ort-secondary: #0891b2;
    --ort-accent: #f59e0b;
    
    /* Neutrals */
    --ort-white: #ffffff;
    --ort-gray-50: #f9fafb;
    --ort-gray-100: #f3f4f6;
    --ort-gray-200: #e5e7eb;
    --ort-gray-300: #d1d5db;
    --ort-gray-400: #9ca3af;
    --ort-gray-500: #6b7280;
    --ort-gray-600: #4b5563;
    --ort-gray-700: #374151;
    --ort-gray-800: #1f2937;
    --ort-gray-900: #111827;
    
    /* Status */
    --ort-success: #10b981;
    --ort-warning: #f59e0b;
    --ort-error: #ef4444;
    --ort-info: #3b82f6;
    
    /* Typography */
    --ort-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --ort-font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    
    /* Spacing */
    --ort-spacing-xs: 0.25rem;
    --ort-spacing-sm: 0.5rem;
    --ort-spacing-md: 1rem;
    --ort-spacing-lg: 1.5rem;
    --ort-spacing-xl: 2rem;
    --ort-spacing-2xl: 3rem;
    --ort-spacing-3xl: 4rem;
    
    /* Border Radius - Defaults (Rounded style), overridden by customizer */
    --ort-radius-sm: 8px;
    --ort-radius-md: 12px;
    --ort-radius-lg: 16px;
    --ort-radius-xl: 24px;
    --ort-radius-full: 100px;
    
    /* Hero - Defaults, overridden by customizer */
    --ort-hero-height: 85vh;
    --ort-hero-overlay: 0.5;
    
    /* Shadows */
    --ort-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --ort-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --ort-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --ort-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --ort-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --ort-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --ort-transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --ort-transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --ort-container-max: 1600px;
    --ort-container-wide: 1920px;
    --ort-header-height: 80px;
}

/* ==========================================================================
   BASE RESET & TYPOGRAPHY
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ort-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ort-gray-800);
    background-color: var(--ort-gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Admin bar adjustment */
body.admin-bar {
    --ort-admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        --ort-admin-bar-height: 46px;
    }
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ort-font-sans);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ort-gray-900);
    margin-bottom: var(--ort-spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--ort-spacing-md);
    color: var(--ort-gray-600);
}

a {
    color: var(--ort-primary);
    text-decoration: none;
    transition: color var(--ort-transition-fast);
}

a:hover {
    color: var(--ort-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.ort-container {
    width: 100%;
    max-width: var(--ort-container-max);
    margin: 0 auto;
    padding: 0 var(--ort-spacing-xl);
}

.ort-section {
    padding: var(--ort-spacing-3xl) 0;
}

.ort-section--hero {
    padding: var(--ort-spacing-3xl) 0 var(--ort-spacing-2xl);
    background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 50%, #e0f2fe 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Decorative background shapes */
.ort-section--hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.ort-section--hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(8, 145, 178, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.ort-section--hero .ort-container {
    position: relative;
    z-index: 1;
}

.ort-section--hero-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ort-section--hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* More transparent gradient using primary color with alpha */
    background: linear-gradient(
        135deg,
        rgba(var(--ort-primary-rgb, 37, 99, 235), 0.65) 0%,
        rgba(15, 23, 42, 0.55) 100%
    );
    z-index: 1;
}

.ort-section--hero-bg::after {
    display: none;
}

.ort-section--hero-bg .ort-container {
    position: relative;
    z-index: 2;
}

.ort-section--hero-bg .ort-hero__title,
.ort-section--hero-bg .ort-hero__subtitle {
    color: var(--ort-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.ort-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--ort-white);
    box-shadow: var(--ort-shadow-sm);
    height: var(--ort-header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--ort-gray-200);
}

body.admin-bar .ort-header {
    top: var(--ort-admin-bar-height, 32px);
}

.ort-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--ort-container-max);
    margin: 0 auto;
    padding: 0 var(--ort-spacing-xl);
}

/* Site Branding */
.ort-header__branding {
    display: flex;
    align-items: center;
    gap: var(--ort-spacing-md);
}

.ort-header__logo img {
    height: 40px;
    width: auto;
}

.ort-header__logo svg {
    height: 40px;
    width: auto;
}

.ort-header__site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ort-gray-900);
    margin: 0;
    letter-spacing: -0.02em;
}

.ort-header__site-title a {
    color: inherit;
    text-decoration: none;
}

.ort-header__site-title a:hover {
    color: var(--ort-primary);
}

/* Navigation */
.ort-header__nav {
    display: flex;
    align-items: center;
    gap: var(--ort-spacing-xl);
}

.ort-nav {
    display: flex;
    align-items: center;
    gap: var(--ort-spacing-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.ort-nav__item {
    position: relative;
}

.ort-nav__link {
    display: inline-flex;
    align-items: center;
    gap: var(--ort-spacing-xs);
    padding: var(--ort-spacing-sm) var(--ort-spacing-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ort-gray-700);
    border-radius: var(--ort-radius-md);
    transition: all var(--ort-transition-fast);
}

.ort-nav__link:hover,
.ort-nav__item.current-menu-item .ort-nav__link {
    color: var(--ort-primary);
    background: var(--ort-primary-light);
}

/* Dropdown Menus */
.ort-nav__item .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--ort-white);
    border-radius: var(--ort-radius-lg);
    box-shadow: var(--ort-shadow-lg);
    padding: var(--ort-spacing-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--ort-transition-fast);
    list-style: none;
    z-index: 1001;
}

.ort-nav__item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ort-nav__item .sub-menu li a {
    display: block;
    padding: var(--ort-spacing-sm) var(--ort-spacing-md);
    font-size: 0.875rem;
    color: var(--ort-gray-700);
    border-radius: var(--ort-radius-sm);
}

.ort-nav__item .sub-menu li a:hover {
    background: var(--ort-gray-50);
    color: var(--ort-primary);
}

/* Header Actions */
.ort-header__actions {
    display: flex;
    align-items: center;
    gap: var(--ort-spacing-md);
}

/* Mobile Menu Toggle */
.ort-header__menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--ort-gray-100);
    border: none;
    border-radius: var(--ort-radius-md);
    cursor: pointer;
    transition: background var(--ort-transition-fast);
}

.ort-header__menu-toggle:hover {
    background: var(--ort-gray-200);
}

.ort-header__menu-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--ort-gray-700);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.ort-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ort-spacing-sm);
    padding: 12px 24px;
    font-family: var(--ort-font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--ort-radius-lg);
    cursor: pointer;
    transition: all var(--ort-transition-fast);
}

.ort-btn--primary {
    background: var(--ort-primary);
    color: var(--ort-white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.ort-btn--primary:hover {
    background: var(--ort-primary-hover);
    color: var(--ort-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.ort-btn--secondary {
    background: var(--ort-white);
    color: var(--ort-gray-700);
    border: 2px solid var(--ort-gray-200);
}

.ort-btn--secondary:hover {
    border-color: var(--ort-primary);
    color: var(--ort-primary);
    background: var(--ort-primary-light);
}

.ort-btn--ghost {
    background: transparent;
    color: var(--ort-gray-700);
}

.ort-btn--ghost:hover {
    background: var(--ort-gray-100);
    color: var(--ort-gray-900);
}

.ort-btn--sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.ort-btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.ort-footer {
    background: var(--ort-gray-900);
    color: var(--ort-gray-300);
    padding: var(--ort-spacing-3xl) 0 var(--ort-spacing-xl);
}

.ort-footer__inner {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--ort-spacing-2xl);
    margin-bottom: var(--ort-spacing-2xl);
}

.ort-footer__brand {
    max-width: 300px;
}

.ort-footer__logo {
    margin-bottom: var(--ort-spacing-lg);
}

.ort-footer__logo img,
.ort-footer__logo svg {
    height: 36px;
    width: auto;
}

.ort-footer__site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ort-white);
    margin-bottom: var(--ort-spacing-md);
}

.ort-footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--ort-gray-400);
    margin-bottom: var(--ort-spacing-lg);
}

.ort-footer__social {
    display: flex;
    gap: var(--ort-spacing-md);
}

.ort-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ort-gray-800);
    border-radius: var(--ort-radius-md);
    color: var(--ort-gray-400);
    transition: all var(--ort-transition-fast);
}

.ort-footer__social a:hover {
    background: var(--ort-primary);
    color: var(--ort-white);
}

.ort-footer__social svg {
    width: 20px;
    height: 20px;
}

/* Footer Columns */
.ort-footer__column h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ort-white);
    margin-bottom: var(--ort-spacing-lg);
}

.ort-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ort-footer__menu li {
    margin-bottom: var(--ort-spacing-sm);
}

.ort-footer__menu a {
    font-size: 0.9375rem;
    color: var(--ort-gray-400);
    transition: color var(--ort-transition-fast);
}

.ort-footer__menu a:hover {
    color: var(--ort-white);
}

/* Footer Bottom */
.ort-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--ort-spacing-xl);
    border-top: 1px solid var(--ort-gray-800);
}

.ort-footer__copyright {
    font-size: 0.875rem;
    color: var(--ort-gray-500);
}

.ort-footer__legal {
    display: flex;
    gap: var(--ort-spacing-lg);
}

.ort-footer__legal a {
    font-size: 0.875rem;
    color: var(--ort-gray-500);
}

.ort-footer__legal a:hover {
    color: var(--ort-white);
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */

.ort-main {
    min-height: calc(100vh - var(--ort-header-height) - 400px);
}

.ort-main--fullwidth {
    padding: var(--ort-spacing-2xl) 0;
}

.ort-container--wide {
    max-width: var(--ort-container-max);
    margin: 0 auto;
    padding: 0 var(--ort-spacing-xl);
}

.ort-page-content {
    background: var(--ort-white);
}

.ort-page-header {
    background: linear-gradient(135deg, var(--ort-primary) 0%, #1e40af 100%);
    padding: var(--ort-spacing-3xl) 0;
    color: var(--ort-white);
    text-align: center;
}

.ort-page-header h1,
.ort-page-title {
    color: var(--ort-gray-900);
    margin-bottom: var(--ort-spacing-lg);
    font-size: 2rem;
}

.ort-page-header h1 {
    color: var(--ort-white);
}

.ort-page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.ort-page-body {
    padding: var(--ort-spacing-lg) 0;
}

.ort-content {
    padding: var(--ort-spacing-3xl) 0;
}

.ort-content--narrow {
    max-width: 1024px;
    margin: 0 auto;
}

/* WordPress Content Styles */
.ort-content .entry-content {
    font-size: 1.0625rem;
    line-height: 1.75;
}

.ort-content .entry-content > * + * {
    margin-top: var(--ort-spacing-lg);
}

.ort-content .entry-content h2 {
    margin-top: var(--ort-spacing-2xl);
}

.ort-content .entry-content ul,
.ort-content .entry-content ol {
    padding-left: var(--ort-spacing-xl);
}

.ort-content .entry-content li {
    margin-bottom: var(--ort-spacing-sm);
}

.ort-content .entry-content blockquote {
    padding: var(--ort-spacing-lg) var(--ort-spacing-xl);
    background: var(--ort-gray-50);
    border-left: 4px solid var(--ort-primary);
    border-radius: 0 var(--ort-radius-md) var(--ort-radius-md) 0;
    font-style: italic;
    color: var(--ort-gray-700);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.ort-form-group {
    margin-bottom: var(--ort-spacing-lg);
}

.ort-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ort-gray-700);
    margin-bottom: var(--ort-spacing-sm);
}

.ort-form-input,
.ort-form-select,
.ort-form-textarea {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-family: var(--ort-font-sans);
    font-size: 1rem;
    color: var(--ort-gray-800);
    background: var(--ort-white);
    border: 2px solid var(--ort-gray-200);
    border-radius: var(--ort-radius-lg);
    transition: all var(--ort-transition-fast);
}

.ort-form-input:focus,
.ort-form-select:focus,
.ort-form-textarea:focus {
    outline: none;
    border-color: var(--ort-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.ort-form-input::placeholder {
    color: var(--ort-gray-400);
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.ort-card {
    background: var(--ort-white);
    border-radius: var(--ort-radius-xl);
    box-shadow: var(--ort-shadow-md);
    overflow: hidden;
    transition: all var(--ort-transition-normal);
}

.ort-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ort-shadow-xl);
}

.ort-card__image {
    position: relative;
    padding-top: 60%;
    background: var(--ort-gray-100);
    overflow: hidden;
}

.ort-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ort-transition-slow);
}

.ort-card:hover .ort-card__image img {
    transform: scale(1.05);
}

.ort-card__body {
    padding: var(--ort-spacing-lg);
}

.ort-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--ort-spacing-sm);
}

.ort-card__text {
    font-size: 0.9375rem;
    color: var(--ort-gray-600);
    margin-bottom: var(--ort-spacing-md);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .ort-footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ort-footer__brand {
        grid-column: 1 / -1;
        max-width: none;
        margin-bottom: var(--ort-spacing-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --ort-header-height: 70px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .ort-container {
        padding: 0 var(--ort-spacing-md);
    }
    
    .ort-section {
        padding: var(--ort-spacing-2xl) 0;
    }
    
    /* Mobile Header */
    .ort-header__nav {
        display: none;
    }
    
    .ort-header__menu-toggle {
        display: flex;
    }
    
    .ort-header__nav.is-open {
        display: flex;
        position: fixed;
        top: var(--ort-header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--ort-white);
        flex-direction: column;
        padding: var(--ort-spacing-xl);
        z-index: 999;
    }
    
    body.admin-bar .ort-header__nav.is-open {
        top: calc(var(--ort-header-height) + var(--ort-admin-bar-height, 32px));
    }
    
    .ort-header__nav.is-open .ort-nav {
        flex-direction: column;
        align-items: stretch;
        gap: var(--ort-spacing-sm);
    }
    
    .ort-header__nav.is-open .ort-nav__link {
        padding: var(--ort-spacing-md);
        font-size: 1.125rem;
    }
    
    /* Mobile Footer */
    .ort-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--ort-spacing-xl);
    }
    
    .ort-footer__bottom {
        flex-direction: column;
        gap: var(--ort-spacing-md);
        text-align: center;
    }
    
    .ort-footer__legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   WIDGET AREAS
   ========================================================================== */

.widget {
    margin-bottom: var(--ort-spacing-xl);
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--ort-spacing-md);
    padding-bottom: var(--ort-spacing-sm);
    border-bottom: 2px solid var(--ort-primary);
}

/* ==========================================================================
   WORDPRESS BLOCK EDITOR SUPPORT
   ========================================================================== */

.wp-block-button__link {
    background: var(--ort-primary);
    border-radius: var(--ort-radius-lg);
    padding: 12px 24px;
    font-weight: 600;
}

.wp-block-button__link:hover {
    background: var(--ort-primary-hover);
}

.has-primary-background-color {
    background-color: var(--ort-primary);
}

.has-primary-color {
    color: var(--ort-primary);
}

/* Alignments */
.alignwide {
    max-width: calc(var(--ort-container-max) + 100px);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .ort-header,
    .ort-footer,
    .ort-header__menu-toggle {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

/* ==========================================================================
   HERO SECTION - PREMIUM DESIGN
   ========================================================================== */

.ort-section--hero {
    position: relative;
    padding: var(--ort-spacing-3xl) 0;
    min-height: var(--ort-hero-height, 85vh);
    display: flex;
    align-items: center;
    background-color: var(--ort-gray-100);
    overflow: hidden;
}

.ort-section--hero-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ort-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,calc(var(--ort-hero-overlay, 0.5) * 0.6)) 0%, rgba(0,0,0,var(--ort-hero-overlay, 0.5)) 100%);
    z-index: 0;
}

.ort-hero {
    position: relative;
    z-index: 1; /* Above overlay */
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.ort-hero__content {
    margin-bottom: var(--ort-spacing-3xl);
    padding-top: var(--ort-spacing-xl);
}

.ort-hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ort-gray-900);
    margin-bottom: var(--ort-spacing-lg);
    line-height: 1.1;
    text-wrap: balance;
}

.ort-hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--ort-gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

/* White text version when background image is present */
.ort-section--hero-bg .ort-hero__title {
    color: var(--ort-white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.ort-section--hero-bg .ort-hero__subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ort-hero__search {
    max-width: 100%;
    margin-top: var(--ort-spacing-2xl);
}

/* ==========================================================================
   FEATURES SECTION - REFINED
   ========================================================================== */

.ort-section--features {
    background: var(--ort-white);
    padding: var(--ort-spacing-3xl) 0;
    border-top: 1px solid var(--ort-gray-100);
}

.ort-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ort-spacing-xl);
}

.ort-feature {
    text-align: center;
    padding: var(--ort-spacing-2xl) var(--ort-spacing-xl);
    background: var(--ort-white);
    border-radius: var(--ort-radius-xl);
    border: 1px solid var(--ort-gray-100);
    transition: all var(--ort-transition-normal);
}

.ort-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--ort-shadow-xl);
    border-color: transparent;
}

.ort-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--ort-primary-light) 0%, rgba(37, 99, 235, 0.15) 100%);
    color: var(--ort-primary);
    border-radius: var(--ort-radius-xl);
    margin-bottom: var(--ort-spacing-lg);
}

.ort-feature__icon svg {
    width: 36px;
    height: 36px;
}

.ort-feature__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--ort-spacing-sm);
    color: var(--ort-gray-900);
}

.ort-feature__text {
    font-size: 0.9375rem;
    color: var(--ort-gray-500);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   POSTS GRID
   ========================================================================== */

.ort-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--ort-spacing-xl);
}

/* ==========================================================================
   FEATURED IMAGE
   ========================================================================== */

.ort-featured-image {
    margin-bottom: var(--ort-spacing-xl);
    border-radius: var(--ort-radius-xl);
    overflow: hidden;
}

.ort-featured-image img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   POST META & NAVIGATION
   ========================================================================== */

.ort-post-meta {
    margin-bottom: var(--ort-spacing-md);
}

.ort-post-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--ort-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ort-post-info {
    display: flex;
    justify-content: center;
    gap: var(--ort-spacing-lg);
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: var(--ort-spacing-md);
}

.ort-post-tags {
    padding-top: var(--ort-spacing-xl);
    border-top: 1px solid var(--ort-gray-200);
    margin-top: var(--ort-spacing-xl);
}

.ort-post-tags a {
    display: inline-block;
    padding: 4px 12px;
    background: var(--ort-gray-100);
    border-radius: var(--ort-radius-full);
    font-size: 0.875rem;
    margin-right: var(--ort-spacing-sm);
    margin-bottom: var(--ort-spacing-sm);
}

.ort-post-tags a:hover {
    background: var(--ort-primary-light);
    color: var(--ort-primary);
}

.ort-post-navigation {
    padding: var(--ort-spacing-xl) 0;
    border-top: 1px solid var(--ort-gray-200);
    margin-top: var(--ort-spacing-2xl);
}

.ort-post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: var(--ort-spacing-xl);
}

.ort-post-navigation .nav-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ort-gray-500);
    margin-bottom: var(--ort-spacing-xs);
}

.ort-post-navigation .nav-title {
    font-weight: 600;
    color: var(--ort-gray-900);
}

/* ==========================================================================
   HEADER SCROLLED STATE
   ========================================================================== */

.ort-header--scrolled {
    box-shadow: var(--ort-shadow-md);
}

/* ==========================================================================
   NO CONTENT STATE
   ========================================================================== */

.ort-no-content {
    text-align: center;
    padding: var(--ort-spacing-3xl) var(--ort-spacing-xl);
}

/* ==========================================================================
   OMNIROTA PLUGIN INTEGRATION
   Styles for the OmniRota Rental plugin components within this theme
   ========================================================================== */

/* Search Wrapper in Hero */
/* OmniRota Search Wrapper - Reset for Pro Plugin Styles */
.ort-hero__search .omnirota-search-wrapper {
    background: transparent;
    padding: var(--ort-spacing-xl) 0 0;
    box-shadow: none;
    margin-top: 0;
}

/* Ensure form container has width */
.ort-hero__search {
    width: 100%;
    max-width: 100%;
}

/* Search Button */
.ort-hero__search .omnirota-search-button {
    width: 100%;
    padding: var(--ort-spacing-md) var(--ort-spacing-xl);
    background: var(--ort-primary);
    color: var(--ort-white);
    border: none;
    border-radius: var(--ort-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--ort-transition-fast), transform var(--ort-transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ort-spacing-sm);
}

.ort-hero__search .omnirota-search-button:hover {
    background: var(--ort-primary-hover);
    transform: translateY(-1px);
}

.ort-hero__search .omnirota-search-button:active {
    transform: translateY(0);
}

.ort-hero__search .omnirota-search-button svg {
    width: 20px;
    height: 20px;
}

/* Vehicle Results Grid */
.omnirota-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--ort-spacing-lg);
    margin-top: var(--ort-spacing-xl);
}

/* Vehicle Card */
.omnirota-vehicle-card {
    background: var(--ort-white);
    border-radius: var(--ort-radius-lg);
    box-shadow: var(--ort-shadow-md);
    overflow: hidden;
    transition: transform var(--ort-transition-normal), box-shadow var(--ort-transition-normal);
}

.omnirota-vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ort-shadow-xl);
}

.omnirota-vehicle-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--ort-gray-100);
}

.omnirota-vehicle-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ort-transition-slow);
}

.omnirota-vehicle-card:hover .omnirota-vehicle-card__image img {
    transform: scale(1.05);
}

.omnirota-vehicle-card__category {
    position: absolute;
    top: var(--ort-spacing-sm);
    left: var(--ort-spacing-sm);
    padding: 4px 12px;
    background: var(--ort-gray-900);
    color: var(--ort-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--ort-radius-full);
}

.omnirota-vehicle-card__content {
    padding: var(--ort-spacing-lg);
}

.omnirota-vehicle-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ort-gray-900);
    margin-bottom: var(--ort-spacing-xs);
}

.omnirota-vehicle-card__subtitle {
    font-size: 0.875rem;
    color: var(--ort-gray-500);
    margin-bottom: var(--ort-spacing-md);
}

.omnirota-vehicle-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ort-spacing-sm);
    margin-bottom: var(--ort-spacing-md);
}

.omnirota-vehicle-card__feature {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--ort-gray-100);
    border-radius: var(--ort-radius-sm);
    font-size: 0.8125rem;
    color: var(--ort-gray-600);
}

.omnirota-vehicle-card__feature svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.omnirota-vehicle-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--ort-spacing-md);
    border-top: 1px solid var(--ort-gray-200);
}

.omnirota-vehicle-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ort-primary);
}

.omnirota-vehicle-card__price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ort-gray-500);
}

.omnirota-vehicle-card__select {
    padding: var(--ort-spacing-sm) var(--ort-spacing-lg);
    background: var(--ort-primary);
    color: var(--ort-white);
    border: none;
    border-radius: var(--ort-radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--ort-transition-fast);
}

.omnirota-vehicle-card__select:hover {
    background: var(--ort-primary-hover);
}

/* Loading State */
.omnirota-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--ort-spacing-3xl);
    text-align: center;
}

.omnirota-loading__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--ort-gray-200);
    border-top-color: var(--ort-primary);
    border-radius: 50%;
    animation: ort-spin 1s linear infinite;
}

@keyframes ort-spin {
    to { transform: rotate(360deg); }
}

.omnirota-loading__text {
    margin-top: var(--ort-spacing-md);
    color: var(--ort-gray-500);
}

/* Empty State */
.omnirota-no-results {
    text-align: center;
    padding: var(--ort-spacing-3xl);
    background: var(--ort-gray-50);
    border-radius: var(--ort-radius-lg);
}

.omnirota-no-results__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--ort-spacing-md);
    color: var(--ort-gray-400);
}

.omnirota-no-results__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ort-gray-700);
    margin-bottom: var(--ort-spacing-sm);
}

.omnirota-no-results__text {
    color: var(--ort-gray-500);
}

/* ==========================================================================
   ADDITIONAL RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .ort-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ort-hero__search .omnirota-search-row {
        flex-direction: column;
    }
    
    .ort-hero__search .omnirota-search-field {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .ort-section--hero {
        min-height: auto;
        padding: var(--ort-spacing-2xl) 0;
    }
    
    .ort-hero__title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .ort-hero__subtitle {
        font-size: 0.95rem;
    }
    
    .ort-features {
        grid-template-columns: 1fr;
        gap: var(--ort-spacing-md);
    }
    
    .ort-feature {
        padding: var(--ort-spacing-lg);
    }
    
    .ort-post-navigation .nav-links {
        flex-direction: column;
    }
    
    .ort-hero__search .omnirota-search-wrapper,
    .ort-hero__search .omnirota-hero-search-wrapper {
        padding: 0;
    }
    
    .ort-hero__search .omnirota-field-group {
        flex-direction: column;
        gap: var(--ort-spacing-sm);
    }
    
    .omnirota-results-grid {
        grid-template-columns: 1fr;
    }
    
    .ort-container {
        padding: 0 var(--ort-spacing-md);
    }
    
    .ort-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--ort-spacing-xl);
        text-align: center;
    }
    
    .ort-footer__social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ort-hero__title {
        font-size: 1.5rem;
    }
    
    .ort-hero__subtitle {
        font-size: 0.875rem;
    }
    
    .ort-header__inner {
        padding: 0 var(--ort-spacing-md);
    }
    
    .ort-nav__link {
        padding: var(--ort-spacing-xs) var(--ort-spacing-sm);
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   STYLE VARIANTS - Applied via customizer
   These are overridden by inline CSS from customizer.php, but provide fallbacks
   ========================================================================== */

/* Sharp Style Variant */
.ort-style-sharp .ort-feature,
.ort-style-sharp .ort-feature__icon,
.ort-style-sharp .ort-btn,
.ort-style-sharp .ort-card {
    border-radius: 0 !important;
}

/* Square Style Variant */
.ort-style-square .ort-feature,
.ort-style-square .ort-feature__icon,
.ort-style-square .ort-btn,
.ort-style-square .ort-card {
    border-radius: 4px !important;
}

/* Soft Style Variant */
.ort-style-soft .ort-feature,
.ort-style-soft .ort-btn,
.ort-style-soft .ort-card {
    border-radius: 8px !important;
}

.ort-style-soft .ort-feature__icon {
    border-radius: 12px !important;
}

/* Buttons use primary color */
.ort-btn-primary {
    background-color: var(--ort-primary);
    color: var(--ort-white);
    border: none;
    padding: var(--ort-spacing-sm) var(--ort-spacing-lg);
    border-radius: var(--ort-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ort-transition-fast);
}

.ort-btn-primary:hover {
    background-color: var(--ort-primary-hover);
    transform: translateY(-1px);
}

/* Links use primary color */
a {
    color: var(--ort-primary);
}

a:hover {
    color: var(--ort-primary-hover);
}
