
/*
Theme Name: California Trailer Rentals V5
Author: California Trailer Rentals
Version: 5.0
*/
:root{--red:#e51d25;--dark:#070b0f;--gold:#ffca28;--light:#f4f5f6;--text:#12171c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.45}a{text-decoration:none}.header{background:#06090d;color:#fff;border-bottom:3px solid var(--red);position:sticky;top:0;z-index:20}.nav{height:86px;max-width:1500px;margin:auto;padding:7px 30px;display:flex;align-items:center;gap:25px}.logo{width:255px;height:72px;object-fit:contain;object-position:left center}.menu{margin-left:auto;display:flex;gap:35px}.menu a{color:#fff;font-weight:900;font-size:16px}.phone{color:#fff;font-size:22px;font-weight:900;white-space:nowrap}.btn{background:var(--red);color:#fff;border:0;border-radius:4px;padding:14px 20px;font-weight:900;display:inline-block;cursor:pointer}.hero{background:#0a0d11;color:#fff}.hero-inner{max-width:1500px;margin:auto;display:grid;grid-template-columns:1fr 1fr;min-height:0;}.hero-copy{padding:58px 28px 48px 30px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(135deg,#080b0f 0%,#101419 100%)}.eyebrow{color:var(--gold);font-weight:900;letter-spacing:1.5px;font-size:14px}.hero h1{font-size:clamp(42px,4.2vw,70px);line-height:.98;margin:10px 0 18px;font-weight:900}.hero h1 .red{color:var(--red)}.hero-copy p{font-size:19px;margin:0 0 22px}.hero-photo{min-height:390px;background:url('assets/images/hero-clean.jpg') center center/cover no-repeat}.points{display:flex;gap:22px;flex-wrap:wrap;margin:0 0 24px}.points b{font-size:14px}.hero-photo{position:relative}.booking{position:absolute;right:28px;top:8px;width:290px;background:#080b0f;color:#fff;border:2px solid var(--red);border-radius:8px;padding:15px;box-shadow:0 15px 35px #0008}.booking h2{background:var(--red);margin:-15px -15px 14px;padding:12px;text-align:center;font-size:21px}.booking input,.booking select,.booking textarea{width:100%;padding:9px 10px;margin:3px 0 7px;border:1px solid #bbb;border-radius:2px;font-size:13px}.booking textarea{height:55px}.booking label{font-size:10px;font-weight:800}.booking button{width:100%;font-size:13px}.note{display:block;text-align:center;font-size:14px;color:#ccc;margin-top:5px}.feature-strip{background:#080b0f;color:#fff;display:grid;grid-template-columns:repeat(4,1fr);gap:0;max-width:1500px;margin:auto;padding:15px 25px}.feature{display:flex;align-items:center;justify-content:center;gap:12px;border-right:1px solid #444;min-height:45px}.feature:last-child{border:0}.feature-icon{font-size:28px;color:var(--red)}.feature strong{font-size:14px}.trailers{padding:18px 30px 25px;max-width:1500px;margin:auto}.trailers-head{text-align:center;margin-bottom:12px}.trailers-head h2{margin:0;font-size:32px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;border:1px solid #ddd;border-radius:5px;overflow:hidden;box-shadow:0 5px 16px #0001}.card img{width:100%;height:175px;display:block;object-fit:cover}.card-body{padding:0 16px 16px;position:relative}.card-title{background:var(--red);color:#fff;font-weight:900;font-size:22px;padding:7px 12px;margin:-1px 0 10px -16px;width:70%;clip-path:polygon(0 0,100% 0,92% 100%,0 100%)}.card p{margin:0 0 8px;font-size:14px}.checks{margin:0;padding:0;list-style:none;font-size:13px}.checks li:before{content:'✓';color:var(--red);font-weight:900;margin-right:8px}.card .btn{float:right;margin-top:-62px;margin-right:0;padding:11px 16px;font-size:13px}.ratebar{background:var(--red);color:#fff;padding:30px}.ratein{max-width:1500px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:25px}.ratein h2{margin:0;font-size:30px}.hours{background:#080b0f;padding:14px 22px}.hours h3{margin:0;color:var(--gold)}.about{background:#fff;padding:55px 30px}.aboutin{max-width:1200px;margin:auto;text-align:center}.about h2{font-size:36px;margin:8px 0}.service{background:#e9ecef;text-align:center;padding:50px 20px}.service h2{font-size:30px}.footer{background:#080b0f;color:#fff;padding:30px}.footin{max-width:1500px;margin:auto;display:flex;align-items:center;gap:40px}.footer-logo{width:220px;height:75px;object-fit:contain}.footin .phone{margin-left:auto}.copyr{width:100%;text-align:center;border-top:1px solid #333;padding-top:12px;color:#aaa;font-size:11px}.notice{max-width:700px;margin:15px auto;padding:12px}.ok{background:#def4e4;border-left:4px solid #1e8e3e}.bad{background:#ffe1e1;border-left:4px solid #b42318}
@media(max-width:1100px){.nav{padding:7px 16px}.logo{width:205px}.menu{gap:18px}.phone{font-size:18px}.hero-inner{grid-template-columns:1fr}.hero-copy{padding:40px 25px}.hero-photo{min-height:480px}.booking{top:18px;right:18px}.feature-strip{grid-template-columns:repeat(2,1fr);row-gap:12px}.feature:nth-child(2){border-right:0}.cards{grid-template-columns:1fr}.card img{height:230px}.ratein{display:block}.hours{display:inline-block;margin-top:15px}.footin{flex-wrap:wrap}.footin .phone{margin-left:0}}
@media(max-width:700px){.nav{height:72px}.logo{width:170px}.menu,.nav>.phone{display:none}.nav .btn{margin-left:auto}.hero h1{font-size:39px}.hero-photo{min-height:560px;background-position:center}.booking{position:absolute;left:12px;right:12px;width:auto}.feature-strip{grid-template-columns:1fr}.feature{border-right:0;border-bottom:1px solid #333}.trailers{padding:35px 15px}.card .btn{float:none;margin:10px 0 0}.card-title{width:75%}.ratebar{padding:30px 18px}.ratein h2{font-size:25px}.about{padding:45px 20px}.footer{padding:25px 18px}}.booking .notice.ok{
background:#def4e4;
color:#173d24;
border-left:4px solid #1e8e3e;
font-weight:700;
}
/* ORIGINAL V5 FULL-WIDTH HERO */
@media (min-width:701px){

.hero{
    background:#080b0f;
}

.hero-inner{
    position:relative;
    display:block;
    max-width:1500px;
    min-height:720px;
    margin:0 auto;
    overflow:hidden;
}

.hero-photo{
    position:absolute;
    inset:0;
    width:100%;
    min-height:720px;
    background-size:cover;
    background-position:center center;
    z-index:1;
}

.hero-photo:before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(5,8,12,.78) 0%,
        rgba(5,8,12,.58) 38%,
        rgba(5,8,12,.18) 68%,
        rgba(5,8,12,.04) 100%
    );
    z-index:1;
    pointer-events:none;
}

.hero-copy{
    position:relative;
    z-index:2;
    width:68%;
    min-height:720px;
    padding:65px 40px 55px 42px;
    background:transparent;
    justify-content:center;
}

.booking{
    z-index:3;
    top:35px;
    right:30px;
    width:350px;
}

.hero-copy .btn{
    width:auto;
    max-width:260px;
    padding-left:22px;
    padding-right:22px;
}}
.hero-copy a.btn{
    display:inline-block !important;
    width:auto !important;
    max-width:none !important;
    padding:16px 28px !important;
    align-self:flex-start !important;
}
.booking{
    top:28px;
}

.booking input,
.booking select{
    padding:11px 12px;
}

.booking textarea{
    min-height:60px;
}
.hero h1{
    font-size:clamp(40px,3.8vw,62px);
    line-height:.98;
}
.hero-copy{
    transform:translateY(-35px);
}

.booking{
    top:20px;
}
/* WHY CHOOSE US - BENEFIT BOXES */
.benefit-boxes{
    display:flex;
    justify-content:center;
    gap:24px;
    margin:35px auto;
    max-width:1050px;
}

.benefit-box{
    flex:1;
    background:#0b0f14;
    color:#fff;
    padding:28px 20px;
    border-bottom:4px solid #e52d2d;
    text-align:center;
    border-radius:4px;
}

.benefit-box h3{
    color:#f4bd32;
    margin:0 0 10px;
    font-size:20px;
}

.benefit-box p{
    color:#fff;
    margin:0;
    font-size:16px;
}

@media (max-width:768px){
    .benefit-boxes{
        flex-direction:column;
    }
}    
.footer .footin{
    gap:55px;
}

.footer .footin > div:nth-child(2){
    min-width:160px;
    white-space:nowrap;
}

.footer .phone{
    white-space:nowrap;
}

/* WPForms Booking Section */
.booking-section{
    background:#0b0f13;
    padding:60px 20px;
}

.booking-section .wpforms-container{
    max-width:850px;
    margin:0 auto !important;
    background:#11161c;
    padding:35px !important;
    border:2px solid #e52d2d;
    border-radius:10px;
}

.booking-section .wpforms-field-label{
    color:#fff !important;
    font-weight:700 !important;
}

.booking-section input,
.booking-section select,
.booking-section textarea{
    width:100% !important;
    background:#fff !important;
    color:#111 !important;
    border:1px solid #ccc !important;
    border-radius:4px !important;
    padding:12px !important;
}

.booking-section .wpforms-submit{
    width:100% !important;
    background:#e52d2d !important;
    color:#fff !important;
    border:0 !important;
    border-radius:4px !important;
    padding:15px 25px !important;
    font-size:18px !important;
    font-weight:800 !important;
    text-transform:uppercase;
    cursor:pointer;
}

.booking-section .wpforms-submit:hover{
    background:#c92323 !important;
}

/* Bottom Booking Form Heading */
.booking-heading{
    text-align:center;
    margin:0 auto 35px;
}

.booking-heading h2{
    color:#ffffff;
    font-size:38px;
    font-weight:900;
    margin:0 0 10px;
    text-transform:uppercase;
}

.booking-heading h2::after{
    content:"";
    display:block;
    width:70px;
    height:4px;
    background:#e52d2d;
    margin:12px auto 0;
}

.booking-heading p{
    color:#cccccc;
    font-size:18px;
    margin:15px 0 0;
}
/* Fix WPForms checkbox and radio buttons */
.booking-section input[type="checkbox"],
.booking-section input[type="radio"]{
    width:auto !important;
    padding:0 !important;
    margin-right:8px !important;
    display:inline-block !important;
}

.booking-section .wpforms-field-checkbox li,
.booking-section .wpforms-field-radio li{
    display:flex !important;
    align-items:center !important;
}

.booking-section .wpforms-field-checkbox label,
.booking-section .wpforms-field-radio label{
    color:#ffffff !important;
}

/* MOBILE LAYOUT IMPROVEMENTS */
@media (max-width:768px){

    body{
        overflow-x:hidden;
    }

    .nav{
        padding:8px 12px !important;
        height:auto !important;
        min-height:70px;
    }

    .logo{
        width:135px !important;
        height:auto !important;
    }

    .menu,
    .phone{
        display:none !important;
    }

    .nav .btn{
        margin-left:auto !important;
        padding:11px 15px !important;
        font-size:13px !important;
    }

    .hero{
        min-height:auto !important;
    }

    .hero-inner{
        display:block !important;
        width:100% !important;
        min-height:auto !important;
    }

    .hero-copy{
        width:100% !important;
        min-height:auto !important;
        padding:38px 18px 25px !important;
        transform:none !important;
    }

    .hero h1{
        font-size:36px !important;
        line-height:.98 !important;
    }

    .hero-copy p{
        font-size:17px !important;
    }

    .points{
        gap:10px !important;
    }

    .points b{
        font-size:12px !important;
    }

    .booking{
        top:430px !important;
        left:15px !important;
        right:15px !important;
        width:auto !important;
        max-width:none !important;
    }

    .cards{
        grid-template-columns:1fr !important;
        gap:22px !important;
    }

    .card{
        width:100% !important;
    }

    .card img{
        width:100% !important;
        height:auto !important;
    }

    .ratein,
    .aboutin,
    .service{
        padding-left:18px !important;
        padding-right:18px !important;
    }

    .benefit-boxes{
        flex-direction:column !important;
        gap:15px !important;
    }

    .booking-section{
        padding:45px 16px !important;
    }

    .booking-section .wpforms-container{
        width:100% !important;
        max-width:100% !important;
        padding:22px 16px !important;
    }

    .booking-heading h2{
        font-size:30px !important;
    }

    .booking-heading p{
        font-size:16px !important;
    }

    .booking-section input,
    .booking-section select,
    .booking-section textarea{
        font-size:16px !important;
    }

    .footer .footin{
        flex-direction:column !important;
        gap:18px !important;
        text-align:center !important;
    }

    .footer .phone{
        display:block !important;
        margin:0 auto !important;
    }
.booking{
    display:none !important;
}

.hero,
.hero-inner{
    min-height:auto !important;
}

.hero-copy{
    padding-bottom:45px !important;
}

.hero-photo{
    display:none !important;
    height:0 !important;
    min-height:0 !important;
    overflow:hidden !important;
}

.hero form.booking#booking{
    display:none !important;
}
.booking-section .wpforms-field-name .wpforms-field-row-block label{
    color:#ffffff !important;
    font-size:13px !important;
    margin-top:5px !important;
}
.booking-section .wpforms-field-sublabel{
    color:#ffffff !important;
    font-size:13px !important;
}

/* HERO LAYOUT FIX */
.hero{
    padding:32px 30px !important;
}

.hero-inner{
    max-width:1300px !important;
    margin:0 auto !important;
    display:grid !important;
    grid-template-columns:1.15fr .85fr !important;
    gap:28px !important;
    align-items:center !important;
}

.hero-copy{
    padding:35px 0 !important;
}

.hero-photo{
    display:block !important;
    height:390px !important;
    min-height:390px !important;
    overflow:hidden !important;
}

.hero-photo img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
}

.hero .booking{
    display:block !important;
    position:relative !important;
    right:auto !important;
    top:auto !important;
    width:100% !important;
}
/* HERO REFERENCE LAYOUT */
.hero{
    padding:0 !important;
}

.hero-inner{
    max-width:1500px !important;
    margin:0 auto !important;
    display:grid !important;
    grid-template-columns:1fr 420px !important;
    gap:0 !important;
    align-items:stretch !important;
}

.hero-copy{
    min-height:590px !important;
    padding:70px 48px !important;
}

.hero-photo{
    display:block !important;
    height:590px !important;
    min-height:590px !important;
}

.hero-photo img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
}

.hero .booking{
    display:block !important;
    position:relative !important;
    right:auto !important;
    top:auto !important;
    width:100% !important;
    height:100% !important;
    margin:0 !important;
    border-radius:0 !important;
}