:root {
    --primary-color: #0089f7;
    --primary-dark: #1982c2;
    --text-color: #444444;
    --text-light: #626262;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #eaeaea;
    --font-heading: 'Kanit', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 15px;
    color: #222;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
}

.divider.left {
    margin: 0 0 20px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.full-width {
    width: 100%;
}

/* Grid System */
.grid-2-col, .grid-3-col {
    display: grid;
    gap: 30px;
}

.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.align-center {
    align-items: center;
}

/* Header & Nav */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    max-height: 50px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero */
.hero {
    position: relative;
    background-color: #f0f5fa;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-image-wrapper {
    width: 50%;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-content {
    width: 50%;
    padding: 60px;
    text-align: left;
}

.hero-content h1 {
    font-size: 48px;
    color: #222;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 32px;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-content p.subtitle {
    font-size: 20px;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 30px;
}

/* Cards */
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Pricing Card */
.pricing-card .price {
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-card .price span {
    font-size: 16px;
    color: var(--text-light);
}

.pricing-card .features {
    margin-bottom: 30px;
}

.pricing-card .features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.pricing-card .features li:last-child {
    border-bottom: none;
}

/* List Checked */
.list-checked {
    margin-top: 20px;
}

.list-checked li {
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-checked li i {
    color: var(--primary-color);
    font-size: 20px;
}

.rounded-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

/* Fleet Card */
.fleet-card {
    padding: 0;
    overflow: hidden;
}

.fleet-img-wrapper {
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

.fleet-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.fleet-card:hover .fleet-img-wrapper img {
    transform: scale(1.05);
}

.fleet-card .card-body {
    padding: 25px;
    text-align: left;
}

.fleet-card .capacity {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Contact */
.contact-methods {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    border-radius: 8px;
    color: var(--white);
    font-size: 18px;
    font-family: var(--font-heading);
    font-weight: 500;
}

.contact-btn:hover {
    color: var(--white);
    opacity: 0.9;
}

.contact-btn.whatsapp {
    background-color: #25D366;
}

.contact-btn.line {
    background-color: #00B900;
}

.contact-btn.phone {
    background-color: var(--primary-color);
}

.booking-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.booking-form h3 {
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #a0a0a0;
    padding: 80px 0 20px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0a0a0;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Table Styles */
.rates-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 50px;
}
.tom-taxi-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}
.tom-taxi-table caption {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary-color);
}
.tom-taxi-table th, .tom-taxi-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}
.tom-taxi-table thead th {
    background-color: var(--primary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
}
.tom-taxi-table tbody tr:hover {
    background-color: #f1f8fd;
}
.tom-taxi-table tbody td {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
}
.tom-taxi-table tbody td:first-child {
    text-align: left;
    color: var(--primary-dark);
}
.tom-taxi-table tfoot {
    background-color: var(--bg-light);
}
.tom-taxi-table tfoot td {
    padding: 20px;
    border: none;
}
.tom-taxi-contact-info {
    font-size: 14px;
    color: var(--text-light);
}
.tom-taxi-contact-phone {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-heading);
}
.tom-taxi-btn-book {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 137, 247, 0.3);
    transition: var(--transition);
    white-space: nowrap;
}
.tom-taxi-btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 137, 247, 0.4);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 991px) {
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .grid-2-col, .grid-3-col {
        grid-template-columns: 1fr; /* All 1 column on mobile */
    }
    
    .hero {
        flex-direction: column;
        padding-top: 40px;
    }

    .hero-image-wrapper {
        width: 100%;
        order: 2;
        margin-top: 30px;
    }
    
    .hero-content {
        width: 100%;
        padding: 20px;
        text-align: center;
        order: 1;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }
    
    .image-side {
        order: -1;
        margin-bottom: 30px;
    }
    
    .divider.left {
        margin: 0 auto 20px;
    }
    
    .content-side {
        text-align: center;
    }
    
    .list-checked {
        text-align: left;
        display: inline-block;
    }
    
    .contact-info {
        text-align: center;
        margin-bottom: 40px;
    }

    /* Mobile Table adjustments to fit 4 columns */
    .rates-table-wrapper {
        margin-top: 30px;
        overflow-x: hidden;
    }
    .tom-taxi-table th, .tom-taxi-table td {
        padding: 10px 5px;
        font-size: 11px;
    }
    .tom-taxi-table thead th {
        font-size: 11px;
        letter-spacing: -0.5px;
    }
    .tom-taxi-table tbody td {
        font-size: 11px;
    }
    .tom-taxi-table tbody td:first-child {
        font-size: 10px;
    }
    .tom-taxi-table caption {
        font-size: 16px;
    }
    .tom-taxi-btn-book {
        padding: 6px 8px;
        font-size: 10px;
    }
    .tom-taxi-contact-phone {
        font-size: 16px;
    }
    .tom-taxi-contact-info {
        font-size: 12px;
    }
    .tom-taxi-table tfoot td {
        padding: 15px 5px;
    }
}
