/*
Theme Name: taxi-vs
Theme URI: https://vestrasolutions.com/
Author: Vestra Solutions
Author URI: https://vestrasolutions.com/
Description: Custom WordPress theme for Taxis Garcia. specialized in Camino de Santiago, transfers, and VTC. Responsive, modern, and highly customizable via Theme Customizer.
Version: 1.0.0
Text Domain: taxi-vs
*/

/* --- CSS Variables (Cabsy Yellow/Dark Theme) --- */
:root {
    --primary-color: #0cbc84; /* Cabsy Yellow */
    --secondary-color: #111111; /* Deep Dark */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --font-primary: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --section-padding: 100px 0;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* --- Navigation & Off-Canvas --- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}
.menu-toggle:hover {
    color: var(--primary-color);
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--secondary-color);
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 5px 0 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.offcanvas-menu.is-open {
    left: 0;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.offcanvas-header .site-title a {
    font-size: 1.4rem;
}
.menu-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}
.menu-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.offcanvas-body {
    padding: 40px 20px;
    overflow-y: auto;
    flex-grow: 1;
}
.offcanvas-navigation ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.offcanvas-navigation a {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    text-transform: uppercase;
}
.offcanvas-navigation a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}
.offcanvas-overlay.is-active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(3px);
}
.offcanvas-contact-btn {
    width: 100%;
    margin-top: 30px;
}

/* --- Header --- */
.site-header {
    background-color: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
}
.site-title a {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.site-title span {
    color: var(--primary-color);
}
.custom-logo {
    max-height: 60px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.main-navigation a {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 25px;
}
.header-phone {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}
.header-phone i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* --- Hero Section --- */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: var(--section-padding);
    color: var(--white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.75); /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.8rem;
    margin-bottom: 25px;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* --- Services Section --- */
.services-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom-color: var(--primary-color);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card p {
    color: var(--text-light);
}

/* --- Fleet Section --- */
.fleet-section {
    padding: var(--section-padding);
}

.fleet-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}
.fleet-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
}

.fleet-img-fallback {
    width: 100%;
    height: 250px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-weight: 600;
    font-size: 1.2rem;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.fleet-card {
    text-align: center;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.fleet-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.fleet-img-wrap img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.fleet-info {
    padding: 25px 20px;
}

.fleet-info h3 {
    margin-bottom: 0;
    color: var(--secondary-color);
    font-size: 1.4rem;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    padding: var(--section-padding);
    text-align: center;
}

.cta-section h2 {
    color: var(--secondary-color);
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.cta-section p {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 35px;
    font-weight: 600;
}

/* --- Contact Section --- */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}
.contact-form-wrapper {
    max-width: var(--contact-form-max-width, 800px);
    margin: 0 auto;
    text-align: center;
}

.contact-map-wrapper {
    width: 100%;
    line-height: 0; /* Removes gap below iframe */
}
.contact-map-wrapper iframe {
    width: 100% !important;
    height: 450px !important;
    border: none;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--secondary-color);
    color: #999;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-widget ul {
    list-style: none;
}
.footer-widget ul li {
    margin-bottom: 12px;
}
.footer-widget ul a {
    color: #999;
}
.footer-widget ul a:hover {
    color: var(--primary-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.footer-contact i {
    color: var(--primary-color);
    margin-top: 6px;
    font-size: 1.1rem;
}

.site-info {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.footer-legal-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}
.footer-legal-menu a {
    color: var(--text-light);
    font-size: 14px;
}
.footer-legal-menu a:hover {
    color: var(--primary-color);
}

.copyright-text {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.footer-bottom-image {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}
.footer-bottom-image img {
    max-width: 100%;
    height: auto;
    /* max-height removed to show image at full native size */
}

.footer-bottom-shortcode {
    margin-top: 20px;
    font-size: 14px;
}

.footer-bottom-image img{
	max-width:700px;
	width:100%;
	margin: 20px auto 0;
	background:white;
}
.gtranslate_wrapper  {
	position: fixed !important;
	left: 20px;
	bottom: 15px;
	z-index:9999
}





/* --- Inner Page Hero --- */
.inner-page-container {
    padding: 60px 15px;
}
.inner-hero-section {
    padding: 120px 0 80px;
    background-color: var(--secondary-color);
    text-align: center;
    color: var(--white);
    position: relative;
    background-size: cover;
    background-position: center;
}
.inner-hero-section.has-bg {
    background-image: var(--hero-bg);
}
.inner-hero-section.has-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17,17,17,0.8);
    z-index: 1;
}
.inner-hero-content {
    position: relative;
    z-index: 2;
}
.inner-hero-content .page-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
}
.breadcrumbs {
    font-size: 1.1rem;
    color: #ccc;
    font-weight: 600;
}
.breadcrumbs a {
    color: var(--primary-color);
}
.breadcrumbs .sep {
    margin: 0 10px;
    font-size: 0.9rem;
}
.breadcrumbs .current {
    color: var(--white);
}

/* --- About Pages Layout --- */
.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.section-title-left {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

/* History */
.about-history-section {
    padding: var(--section-padding);
}
.about-history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-history-image img {
    border-radius: 8px;
    box-shadow: -20px 20px 0 var(--primary-color);
    width: 100%;
}
.placeholder-box {
    width: 100%;
    height: 400px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #adb5bd;
    border-radius: 8px;
    box-shadow: -20px 20px 0 var(--primary-color);
}
.history-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Stats */
.about-stats-section {
    background-color: var(--primary-color);
    padding: 80px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-card i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.stat-img {
    max-width: 60px;
    height: auto;
    margin: 0 auto 15px;
    display: block;
}
.stat-number {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 0;
    font-weight: 800;
}
.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-color);
}

/* Why Choose Us */
.about-why-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}
.about-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.why-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
}
.why-list {
    list-style: none;
}
.why-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.why-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    background: var(--secondary-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-why-image {
    background-color: var(--secondary-color);
    border-radius: 8px;
    height: 480px;
    position: relative;
}
.why-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 8px;
    z-index: 1;
}
.why-decoration-box {
    z-index: 2;
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary-color);
    text-align: center;
}
.why-decoration-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- Contact Section --- */





.contact-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}
.contact-split-layout {
    display: grid;
    gap: 50px;
    align-items: center;
}
.contact-split-layout.has-two-cols {
    grid-template-columns: 1fr 1fr;
}
.contact-split-layout.is-centered {
    grid-template-columns: 1fr;
    text-align: center;
}
.contact-split-layout.is-centered .contact-info-container {
    align-items: center;
}
.contact-split-layout.is-centered .contact-info-col {
    text-align: center;
}
.contact-split-layout.is-centered .contact-item {
    justify-content: center;
}
.contact-split-layout.is-centered .contact-form-wrapper {
    margin: 0 auto;
}
.contact-info-col.no-form {
    max-width: var(--contact-info-max-width, 800px);
    margin: 0 auto;
}
.contact-info-col .section-title-left {
    margin-bottom: 20px;
}
.contact-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: var(--contact-gap, 20px);
    margin-top: 30px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}
a.contact-item.contact-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
a.contact-item.contact-link:hover {
    color: var(--primary-color);
}
.contact-item i {
    width: var(--contact-icon-size, 45px);
    height: var(--contact-icon-size, 45px);
    font-size: var(--contact-icon-font, 18px);
    background: var(--primary-color);
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    max-width: var(--contact-form-max-width, 800px);
    width: 100%;
}
.contact-map-section {
    line-height: 0;
}
.contact-map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.contact-split-layout.has-two-cols {
	display:grid;
	grid: 1fr / 1fr 1fr;
	gap: 50px
}
html .contact-form-wrapper {
	text-align: start
}

/* --- Fallback Pages --- */
.fallback-page-container {
    padding: var(--section-padding);
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .header-cta {
        display: none;
    }
    .main-navigation {
        display: none;
    }
    .menu-toggle {
        display: block;
    }


}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .about-history-grid,
    .about-why-grid {
        grid-template-columns: 1fr;
    }
    .why-decoration-box {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .contact-split-layout.has-two-cols {
        grid-template-columns: 1fr;
    }
    
}
