/*
Theme Name:  Javea Scooters
Theme URI:   https://www.javeascooters.com
Author:      Webpixel Media
Author URI:  http://www.webpixelmedia.com
Description: Single-page Bootstrap 5.3 theme for Javea Scooters — scooter hire in Jávea, Spain.
Version:     1.0.0
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: javeascooters
*/

/* ==========================================================================
   Custom Properties
   ========================================================================== */
:root {
    --js-red:       #d90000;
    --js-red-hover: #b00000;
    --js-dark:      #1c1c1c;
    --js-dark-2:    #2b2b2b;
    --js-light:     #fff7d6;
    --js-yellow:    #ffd700;
    --js-header-h:  74px;
}

/* ==========================================================================
   Global
   ========================================================================== */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Open Sans';
    overflow-x: hidden;
    font-size: 1.1rem;
    line-height: 1.56rem;
}

section h1, section h2, section h3 {
    color: var(--js-red);
}

.slide-inner h2{
    color: var(--js-yellow);
}

.contact-details h3 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}
/* ==========================================================================
   Header — fixed, overlays hero
   ========================================================================== */
.site-header {
    background: var(--js-red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    height: var(--js-header-h);
}

.site-logo {
    height: 180px;
    width: auto;
    position:fixed;
    top: 0rem;
    left: 1.5rem;
}

.header-tagline {
    font-family: 'Courgette';
    color: #fff;
    font-size: 2.5rem;
    font-weight: 500;
}

.header-contact {
    color: #fff;
}

.header-contact i {
    color: #fff;
    font-size: 1.3rem;
}

.header-contact a {
    color: #fff;
    text-decoration: none;
}

/* ==========================================================================
   Hero Carousel — full-viewport, fade
   ========================================================================== */
#heroCarousel,
#heroCarousel .carousel-inner {
    height: 100vh;
}

#heroCarousel .carousel-item {
    height: 100%;
}

/* Each slide: background photo set via inline style in PHP */
.hero-slide {
    background-color: var(--js-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark gradient overlay so text is always readable */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.78) 40%,
        rgba(0, 0, 0, 0.30) 100%
    ); */
    z-index: 0;
}

.slide-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    padding-top: var(--js-header-h);    /* clear the fixed header */
    display: flex;
    align-items: center;
}

.slide-text {
    color: #fff;
    padding: 1.5rem 1rem;
    background-color: rgba(28, 28, 28, 0.5);
}

.slide-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.slide-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 540px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.scooter-hero-img {
    max-height: 68vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.55));
}

/* Carousel control sizing */
.carousel-control-prev,
.carousel-control-next { width: 5%; }

/* ==========================================================================
   Intro Section
   ========================================================================== */
#intro {
    border-bottom: 3px solid var(--js-red);
}

.intro-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--js-red);
    margin-bottom: 1.25rem;
}

.intro-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.85;
}

/* ==========================================================================
   Section Utilities — dark / light alternating
   ========================================================================== */
.section-dark {
    background-color: var(--js-dark);
    color: #e0e0e0;
}

.section-light {
    background-color: var(--js-light);
    color: var(--js-dark);
}

/* .section-light h2 { color: var(--js-dark); } */

/* ==========================================================================
   Exploring Section
   ========================================================================== */
#exploring .img-fluid {
    box-shadow: 18px 18px 0 var(--js-yellow);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-scooter-img {
    max-height: 480px;
    object-fit: contain;
}

.pricing-table {
    max-width: 300px;
    --bs-table-bg: var(--js-light);
    background: var(--js-light);
    box-shadow: 18px 18px 0 var(--js-red);
}

.pricing-table tbody tr:last-child {
    font-weight: 700;
}

.price-cell {
    font-weight: 600;
    color: var(--js-red);
    white-space: nowrap;
}

.pricing-note {
    font-size: 0.9rem;
    color: #555;
}

/* ==========================================================================
   Booking / Contact Section
   ========================================================================== */
#booking {
    background-image: url(./assets/images/javea-chiringuito.jpg);
    background-color: #fff7d6;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.contact-details { 
    background-color: var(--js-red);
    color: #ddd;
    padding:60px;
    box-shadow: 18px 18px 0 var(--js-yellow);
 }

.contact-find-us {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-bottom: 0.2rem;
}

.contact-business-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.75rem;
}

.contact-item i {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 0.15rem;
}

.contact-item address,
.contact-item p {
    margin: 0;
    line-height: 1.7;
}

.contact-item a {
    color: #ddd;
    text-decoration: none;
}

.contact-item a:hover {
    color: #fff;
}

/* ----- Contact Form 7 Overrides ----- */
.wpcf7 label {
    color: var(--js-dark);
    margin-bottom: 0.25rem;
    display: block;
}

.wpcf7 .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    color: var(--js-dark);
    margin-inline-end: 1rem;
    font-weight: normal;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    /* background: rgba(255, 255, 255, 0.10); */
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.375rem;
    color: var(--js-dark);
    margin-bottom: 0.75rem;
    transition: border-color 0.2s, background 0.2s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="date"]:focus {
    outline: none;
    border-color: var(--js-red);
}

/* Make date picker icon visible on dark bg */
.wpcf7 input[type="date"]::-webkit-calendar-picker-indicator {
    /* filter: invert(1); */
    cursor: pointer;
}

.wpcf7 input[type="submit"] {
    background: var(--js-red);
    width:100%;
    color: #fff;
    border: none;
    padding: 0.75rem 2.5rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 0.5rem;
}

.wpcf7 input[type="submit"]:hover  { background: var(--js-red-hover); }
.wpcf7 input[type="submit"]:active { transform: scale(0.98); }

.wpcf7 .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 767.98px) {
    #heroCarousel,
    #heroCarousel .carousel-inner { height: 80vh; }

    /* Show only the first phone number on small screens */
    .header-contact > div > div:last-child { display: none; }

    .site-logo {
        height: 100px;
        top: 0.5rem;
    }

    .header-contact {
        position:absolute;
        right: 1rem;
        top: 25%;
        margin-top:5px;
    }
}