/*
Theme Name: RideReserve
Theme URI: https://ridereserve.com
Author: Aris Infotech
Description: Responsive Bootstrap 5 car rental theme. Classic Editor, Classic Widgets and ACF ready. Dynamic header and footer.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: ridereserve
*/

:root{
  --rr-red:#ff2a0a;
  --rr-red-dark:#e01d00;
  --rr-red-soft:#ffe3de;
  --rr-ink:#12161c;
  --rr-text:#1a1d23;
  --rr-muted:#5b6370;
  --rr-white:#ffffff;
  --rr-bg:#f6f6f7;
  --rr-radius:22px;
  --rr-font:'Urbanist','Segoe UI',Roboto,Arial,sans-serif;
}

html{scroll-behavior:smooth}
body{font-family:var(--rr-font);color:var(--rr-text);background:var(--rr-white);font-size:1rem;line-height:1.6;-webkit-font-smoothing:antialiased;}
a{color:var(--rr-red);text-decoration:none}
a:hover{color:var(--rr-red-dark)}
img{max-width:100%;height:auto}
h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:-.01em;color:var(--rr-text)}
p{letter-spacing: 0.5px;}

/* Container max 1400px */
.container{width:100%;max-width:1400px;padding-left:20px;padding-right:20px}
@media (min-width:1400px){.container{max-width:1400px}}

/* Buttons */
.btn-rr{display:inline-flex;align-items:center;gap:.75rem;background:var(--rr-red);color:#fff;border:0;border-radius:6px;padding:.7rem 1.1rem;font-weight:600;font-size:.95rem;line-height:1.2;transition:background .2s,transform .2s}
.btn-rr:hover,.btn-rr:focus{background:var(--rr-red-dark);color:#fff}
.btn-rr-light{background:#fff;color:var(--rr-text)}
.btn-rr-light:hover,.btn-rr-light:focus{background:#fff;color:var(--rr-red)}
.btn-rr i{font-size:1.15rem;color:inherit}
.btn-rr-light i{color:var(--rr-red)}
:focus-visible{outline:3px solid rgba(255,42,10,.45);outline-offset:2px}

/* Header */
.site-header{background:linear-gradient(180deg,#fff 0%,#f7f7f8 100%);position:relative;z-index:50}
.site-header .navbar{padding:1.1rem 0}
.site-logo{display:inline-flex;flex-direction:column;line-height:1;color:var(--rr-text)}
.site-logo img{max-height:70px;width:auto}
.rr-logo-text{position:relative;font-size:2.35rem;font-weight:800;letter-spacing:-.04em;color:var(--rr-text);padding-top:.55rem}
.rr-logo-text span{color:var(--rr-red)}
.rr-logo-text:before{content:"";position:absolute;left:8%;top:0;width:82%;height:16px;border:3px solid var(--rr-red);border-bottom:0;border-radius:60px 60px 0 0;transform:skewX(-14deg)}
.rr-tagline{font-size:.95rem;color:var(--rr-muted);font-weight:500;margin-top:.15rem;letter-spacing:.01em}
.site-footer .rr-logo-text{color:#fff;font-size:2.1rem}
.main-nav{gap:2.1rem}
.main-nav .nav-link{color:var(--rr-text);font-weight:600;font-size:1.05rem;padding:.4rem 0;border-bottom:2px solid transparent;border-radius:0}
.main-nav .nav-link:hover{color:var(--rr-red)}
.main-nav .current-menu-item>.nav-link,.main-nav .current_page_item>.nav-link,.main-nav .nav-link.active{color:var(--rr-red);border-bottom-color:var(--rr-red)}
.main-nav .dropdown-menu{border:0;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.12);padding:.5rem}
.main-nav .dropdown-item{border-radius:8px;font-weight:600;padding:.5rem .9rem}
.main-nav .dropdown-item:hover{background:var(--rr-red-soft);color:var(--rr-red)}
.header-phone{display:inline-flex;align-items:center;gap:.55rem;font-weight:700;font-size:1.1rem;color:var(--rr-text)}
.header-phone i{color:var(--rr-red);font-size:1.7rem;line-height:1}
.header-phone:hover{color:var(--rr-red)}
.navbar-toggler{border:1px solid #e3e3e6;padding:.45rem .65rem}
.navbar-toggler:focus{box-shadow:0 0 0 3px rgba(255,42,10,.25)}
.navbar-toggler i{font-size:1.5rem;color:var(--rr-text)}

/* Hero */
.hero{position:relative;min-height:800px;display:flex;align-items:flex-end;background-color:#24334d;background-size:cover;background-position:top center;padding:60px 0 0}
.hero:not(.has-image){background-image:linear-gradient(180deg,#f6a15a 0%,#e9803f 30%,#5a4a58 62%,#2c2f38 100%)}
.hero:after{content:"";position:absolute;inset:auto 0 0 0;height:55%;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.28));pointer-events:none}
.hero .container{position:relative;z-index:2}
.hero-cards{margin-bottom:-1px;transform:translateY(0)}
.hero-wrap{position:relative;padding-bottom:150px}
.hero-wrap:before{content:"";position:absolute;left:0;right:0;bottom:0;height:150px;background:transparent}

/* Service cards */
.service-card{display:flex;align-items:center;gap:1.75rem;height:100%;padding:2rem 2.25rem;border-radius:var(--rr-radius);background:#fff;box-shadow:0 18px 40px rgba(0,0,0,.18);position:relative}
.service-card .sc-icon{flex:0 0 112px;width:112px;height:112px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--rr-red-soft);color:var(--rr-red);font-size:3.2rem}
.service-card h2{font-size:1.65rem;margin:0 0 .3rem}
.service-card p{margin:0 0 1.5rem;font-size:1.05rem;color:var(--rr-text)}
.service-card.is-red{background:linear-gradient(135deg,#ff3a14 0%,#ff1f00 55%,#e51b00 100%);color:#fff}
.service-card.is-red h2,.service-card.is-red p{color:#fff}
.service-card.is-red .sc-icon{background:#fff;color:var(--rr-red)}
.hero-cards{position:relative;z-index:3;margin-bottom:40px}
.hero{padding-bottom:0}
.after-hero{height:90px;background:#2b2b2e}

/* Inner pages */
.page-banner{background:linear-gradient(135deg,#ff3a14 0%,#e51b00 100%);color:#fff;padding:3.25rem 0}
.page-banner h1{color:#fff;font-size:clamp(1.9rem,4vw,2.8rem);margin:0}
.page-banner p{margin:.5rem 0 0;font-size:1.1rem;opacity:.92}
.breadcrumb-rr{font-size:.9rem;margin-bottom:.6rem;opacity:.9}
.breadcrumb-rr a{color:#fff;text-decoration:underline}
.page-content{padding:3.5rem 0 4.5rem}
.page-content .entry-content>*:last-child{margin-bottom:0}
.entry-content h2{margin-top:2rem}
.entry-content img{border-radius:12px}
.entry-content input[type=text],.entry-content input[type=email],.entry-content input[type=tel],.entry-content input[type=number],.entry-content input[type=date],.entry-content input[type=time],.entry-content select,.entry-content textarea{width:100%;border:1px solid #d9dbe0;border-radius:10px;padding:.75rem .9rem;font:inherit;background:#fff}
.entry-content input:focus,.entry-content select:focus,.entry-content textarea:focus{border-color:var(--rr-red);outline:0;box-shadow:0 0 0 3px rgba(255,42,10,.15)}
.entry-content input[type=submit],.entry-content button[type=submit]{background:var(--rr-red);color:#fff;border:0;border-radius:8px;padding:.8rem 1.6rem;font-weight:700;cursor:pointer}
.entry-content input[type=submit]:hover,.entry-content button[type=submit]:hover{background:var(--rr-red-dark)}
.form-shell{background:#fff;border-radius:var(--rr-radius);box-shadow:0 18px 50px rgba(18,22,28,.1);padding:2.25rem;border:1px solid #eee}
.side-panel{background:var(--rr-bg);border-radius:var(--rr-radius);padding:2rem;height:100%}
.side-panel h3{font-size:1.25rem;margin-bottom:1rem}
.side-panel ul{list-style:none;padding:0;margin:0}
.side-panel li{display:flex;gap:.7rem;margin-bottom:.9rem;align-items:flex-start}
.side-panel li i{color:var(--rr-red);font-size:1.2rem;margin-top:.1rem}
.side-panel.is-red{background:linear-gradient(135deg,#ff3a14,#e51b00);color:#fff}
.side-panel.is-red h3,.side-panel.is-red li i{color:#fff}
.side-panel.is-red a{color:#fff;text-decoration:underline}
.post-card{border:1px solid #eee;border-radius:16px;overflow:hidden;height:100%;background:#fff}
.post-card .body{padding:1.25rem}
.pagination .page-numbers{display:inline-block;padding:.45rem .85rem;border:1px solid #e3e3e6;border-radius:8px;margin-right:.3rem;color:var(--rr-text)}
.pagination .page-numbers.current{background:var(--rr-red);border-color:var(--rr-red);color:#fff}
.error-404 h1{font-size:clamp(4rem,12vw,8rem);color:var(--rr-red);line-height:1}

/* Footer */
.site-footer{background:var(--rr-ink);color:#fff}
.footer-main{padding:3.25rem 0 2rem}
.footer-col{height:100%}
.footer-col+.footer-col{border-left:2px solid rgba(255,255,255,.85);padding-left:2.25rem}
.footer-title,.site-footer .widget-title{color:var(--rr-red);font-size:1.15rem;font-weight:700;margin-bottom:1.1rem}
.footer-contact{list-style:none;margin:0;padding:0}
.footer-contact li{display:flex;gap:1.1rem;align-items:flex-start;margin-bottom:.8rem;color:#fff}
.footer-contact i{color:var(--rr-red);font-size:1.35rem;line-height:1.3;flex:0 0 24px}
.footer-contact a{color:#fff}
.footer-contact a:hover{color:var(--rr-red)}
.footer-links,.site-footer .widget ul{list-style:none;margin:0;padding:0}
.footer-links li,.site-footer .widget li{margin-bottom:.65rem}
.footer-links a,.site-footer .widget a{color:#fff;font-size:.95rem}
.footer-links a:hover,.site-footer .widget a:hover{color:var(--rr-red)}
.site-footer .widget{margin-bottom:1.5rem;color:#fff}
.social-links{display:flex;gap:.8rem;flex-wrap:wrap}
.social-links a{width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.5);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:1.2rem;transition:all .2s}
.social-links a:hover{background:var(--rr-red);border-color:var(--rr-red);color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.35);padding:.9rem 0;font-size:.85rem;color:#e9e9ec}
.footer-bottom p{margin:0}

/* Responsive */
@media (max-width:1199.98px){
  .main-nav{gap:1.1rem}
  .header-phone{font-size:1rem}
}
@media (max-width:980px){
  .site-header .navbar{padding:.9rem 0}
  .navbar-collapse{background:#fff;margin-top:.9rem;padding:1rem 1.1rem;border-radius:14px;box-shadow:0 14px 34px rgba(0,0,0,.12)}
  .main-nav{gap:.2rem;align-items:flex-start}
  .main-nav .nav-link{display:inline-block}
  .header-phone{margin-top:.8rem}
  .hero{min-height:0;padding-top:70px;padding-top:100px;}
  .hero-cards{margin-bottom:-60px}
  .after-hero{height:60px}
  .footer-col+.footer-col{border-left:0;padding-left:12px;border-top:1px solid rgba(255,255,255,.2);padding-top:1.5rem}
  .footer-col{margin-bottom:1.5rem}
}
@media (max-width:767px){
  .service-card{flex-direction:column;align-items:flex-start;text-align:left;padding:1.6rem}
  .service-card .sc-icon{flex-basis:auto;width:88px;height:88px;font-size:2.5rem}
  .rr-logo-text{font-size:1.9rem}
  .form-shell{padding:1.25rem}
  .hero{padding-top:50px;padding-bottom:50px;}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* =====================================================
   Inner page templates: About, Contact, Terms, Privacy
   ===================================================== */
.rr-title{font-size:1.9rem;font-weight:800;margin:0 0 1rem}
.rr-title.has-line:after{content:"";display:block;width:34px;height:3px;background:var(--rr-red);margin-top:.55rem}
.text-center .rr-title.has-line:after{margin-left:auto;margin-right:auto}

/* Inner hero */
.inner-hero{position:relative;display:flex;align-items:center;min-height:230px;padding:2.5rem 0;color:#fff;background-color:#14181f;background-size:cover;background-position:center right;overflow:hidden}
.inner-hero:not(.has-image){background-image:radial-gradient(circle at 82% 45%,rgba(255,42,10,.35),transparent 55%),linear-gradient(135deg,#14181f,#252c38)}
.inner-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,12,16,.92) 0%,rgba(10,12,16,.72) 45%,rgba(10,12,16,.1) 100%)}
.inner-hero .container{position:relative;z-index:2}
.ih-eyebrow{display:flex;align-items:center;gap:.6rem;font-size:.8rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#fff;margin-bottom:.6rem}
.ih-eyebrow:before{content:"";width:18px;height:3px;background:var(--rr-red)}
.inner-hero h1{color:#fff;font-size:clamp(2.2rem,5vw,3.4rem);font-weight:800;line-height:1.05;margin:0 0 .8rem}
.inner-hero p{max-width:560px;font-size:1.1rem;line-height:1.5;margin:0;color:#f1f1f1}
.inner-hero .btn-rr{margin-top:1.5rem}
.inner-hero.is-tall{min-height:440px}
.inner-hero.is-tall h1{text-transform:uppercase;font-size:clamp(2.3rem,5.5vw,4rem)}
.inner-hero.is-tall .ih-copy{border-left:4px solid var(--rr-red);padding-left:1.6rem;max-width:640px}

/* About */
.about-story{padding:3.5rem 0 1rem}
.about-story p{color:var(--rr-muted);font-size:1.2rem}
.story-img{border-radius:var(--rr-radius);overflow:hidden;min-height:280px;height:100%;background:linear-gradient(135deg,#e9ebef,#d7dae0);display:flex;align-items:center;justify-content:center;color:#b3b8c2;font-size:5rem}
.story-img img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0}
.why-box{background:var(--rr-bg);border-radius:var(--rr-radius);padding:2.25rem 1.5rem;margin:2.5rem 0 4rem}
.why-item{text-align:center;padding:.75rem 1.25rem}
.why-icon{width:68px;height:68px;border-radius:50%;background:var(--rr-red-soft);color:var(--rr-red);display:inline-flex;align-items:center;justify-content:center;font-size:1.9rem;margin-bottom:.8rem}
.why-item h3{font-size:1.1rem;margin:0 0 .3rem}
.why-item p{margin:0;color:var(--rr-muted);font-size:.95rem}
@media (min-width:992px){.why-item+.why-item{border-left:1px solid #d9dbe0}}

/* Contact */
.contact-wrap{padding:3rem 0 4.5rem}
.contact-form-card,.info-card{background:var(--rr-bg);border-radius:var(--rr-radius);padding:2rem}
.rr-form label{display:block;font-weight:600;font-size:.9rem;margin-bottom:.35rem}
.rr-form .req{color:var(--rr-red)}
.rr-form .form-control,.rr-form .form-select{border:1px solid #d9dbe0;border-radius:8px;padding:.7rem .9rem;font-family:inherit;background-color:#fff}
.rr-form .form-control:focus,.rr-form .form-select:focus{border-color:var(--rr-red);box-shadow:0 0 0 3px rgba(255,42,10,.15)}
.rr-form .btn-rr{width:100%;justify-content:center;padding:.9rem 1.1rem;font-size:1rem}
.rr-hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.info-item{display:flex;align-items:center;gap:1rem;height:100%}
.info-icon{flex:0 0 54px;width:54px;height:54px;border-radius:50%;background:var(--rr-red-soft);color:var(--rr-red);display:flex;align-items:center;justify-content:center;font-size:1.35rem;border:1px solid rgba(255,42,10,.2)}
.info-item strong{display:block;font-size:.95rem}
.info-item span,.info-item a{font-size:.85rem;color:var(--rr-text);line-height:1.4;display:block}
.map-wrap{border-radius:var(--rr-radius);overflow:hidden;aspect-ratio:16/8;background:var(--rr-bg)}
.map-wrap iframe{width:100%;height:100%;border:0;display:block}

/* Terms and Privacy */
.legal-wrap{padding:3rem 0 4.5rem}
.toc{background:var(--rr-bg);border-radius:14px;padding:.75rem;position:sticky;top:20px}
.toc a{display:block;padding:.5rem .8rem;border-radius:6px;color:var(--rr-text);font-size:.92rem;font-weight:500}
.toc a:hover,.toc a.active{background:var(--rr-red);color:#fff}
.legal-section{scroll-margin-top:20px;margin-bottom:1.6rem}
.legal-section h2{font-size:1.4rem;margin:0 0 .6rem}
.legal-section p,.legal-section li{color:var(--rr-muted)}
.legal-section ul{padding-left:1.15rem}
.legal-section:not(:last-child):after{content:"";display:block;width:34px;height:3px;background:var(--rr-red);margin-top:1.5rem}
.rr-notice{border-radius:10px;padding:.85rem 1rem;margin-bottom:1.25rem;font-weight:600;font-size:.95rem}
.rr-notice.ok{background:#e6f6ec;color:#17693a}
.rr-notice.err{background:#fde7e4;color:#a5200c}

@media (max-width:980px){
  .inner-hero{min-height:200px;padding:2rem 0}
  .inner-hero.is-tall{min-height:360px}
  .inner-hero:before{background:linear-gradient(90deg,rgba(10,12,16,.9),rgba(10,12,16,.6))}
  .toc{position:static;margin-bottom:1.5rem}
  .why-item+.why-item{border-top:1px solid #d9dbe0;padding-top:1.25rem}
}
@media (max-width:767px){
  .contact-form-card,.info-card{padding:1.35rem}
  .inner-hero.is-tall .ih-copy{padding-left:1rem}
}
