/* --- CSS Variables and Basic Setup (Black-Gold-White Theme) --- */
:root {
    --primary-color: #000000;     /* Black */
    --accent-color: #D4AF37;      /* Gold */
    --accent-color-hover: #c5a434;/* Darker Gold for hover */
    --white-color: #ffffff;
    --light-gray-bg: #f8f9fa;
    --dark-text-color: #212121;
    --light-text-color: #eeeeee;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
    color: var(--dark-text-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-light {
    background-color: var(--light-gray-bg);
}

.section-dark {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
.section-dark .section-title {
    color: var(--accent-color);
}
.section-dark .section-subtitle {
    color: #a0a0a0;
}
.section-dark h3 {
    color: var(--white-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

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

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000000;
    border-color: var(--accent-color);
}

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: #000000;
}


/* --- Header & Navigation --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--white-color);
    font-weight: 400;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--white-color);
}

/* --- Contact Button on Menu --- */
.btn-contact-menu {
    display: inline-block;
    background-color: var(--accent-color);
    color: #000000 !important;
    padding: 0.75rem 0.75rem;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    border: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
}

.btn-contact-menu:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-contact-menu:active {
    transform: translateY(0px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.btn-contact-menu::after {
    display: none;
}


/* --- Hamburger Menu Icon --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 1.8rem;
    color: var(--white-color);
}

/* --- Hero Section (Slideshow) --- */
#home {
    padding: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white-color);
    z-index: 3;
}

#home .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

#home .hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--accent-color);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.service-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-item h3 {
    color: var(--dark-text-color);
    margin-bottom: 0.5rem;
}

/* --- Fleet Section (Van Cards) --- */
.van-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem;
}

.van-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.van-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.van-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.van-info h3 {
    color: var(--dark-text-color);
}

.van-info ul {
    margin: 1rem 0;
    flex-grow: 1;
}

.van-info ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.van-info ul i {
    color: var(--accent-color);
    margin-right: 0.8rem;
    width: 20px;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* --- Payment Steps Section --- */
.payment-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.payment-steps h3 {
    color: var(--dark-text-color);
}
.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* --- Attractions Section --- */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.attraction-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.attraction-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.attraction-info {
    padding: 1rem 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.attraction-info h4 {
    color: var(--dark-text-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.attraction-info p {
    color: #555;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.5;
    flex-grow: 1;
}

/* --- Footer --- */
#contact {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding-bottom: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-grid h3 {
    color: var(--accent-color);
}

.footer-grid p {
    margin-bottom: 0.8rem;
}

.footer-grid a {
    color: var(--light-text-color);
    transition: color 0.3s ease;
}

.footer-grid a:hover {
    color: var(--accent-color);
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    color: var(--light-text-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.footer-map iframe {
    border-radius: 8px;
    filter: invert(90%) hue-rotate(180deg);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #0a0a0a;
    color: #666;
    border-top: 1px solid #222;
}

/* --- Lightbox Styles --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(212, 175, 55, 0.3);
}

.lightbox-next {
    right: 15px;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 15px;
    border-radius: 0 3px 3px 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(212, 175, 55, 0.8);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    /* --- TABLET: Set grids to 2 columns --- */
    .van-grid, 
    .attractions-grid,
    .services-grid,
    .payment-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Footer stacks on tablet for readability */
        text-align: center;
    }
    .footer-details, .footer-map {
        grid-column: 1 / -1;
    }
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* --- MOBILE: Stack most grids to 1 column --- */
    .van-grid, 
    .payment-steps, 
    .attractions-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    #home .hero-content h1 { font-size: 2.5rem; }
    #home .hero-content p { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }
    
    /* Mobile Menu Styles */
    .hamburger {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    .nav-menu.active {
        max-height: 100vh;
        border-top: 1px solid #333;
    }
    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    .nav-menu a {
        font-size: 1.2rem;
        padding: 0.8rem 0;
        display: block;
    }
    .btn-contact-menu {
        padding: 0.8rem 1.5rem;
    }
}