/*
Theme Name: Sirichoke Service
Theme URI: https://sirichokeservice.com
Author: Sirichoke Service
Author URI: https://sirichokeservice.com
Description: WordPress theme สำหรับอู่ซอมรถ ศิริโชค เซอร์วิส - ออกแบบมาเพื่อธุรกิจอู่ซ่อมรถและบริการยานยนต์ พร้อม Advanced SEO, Google Analytics, Custom 404 Page และ Blog System
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sirichoke-service
Tags: garage, auto-service, business, rental, construction, blog, responsive, modern, seo, schema, analytics, 404
*/

/* ==========================================================================
   Reset และ Base Styles
   ========================================================================== */

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

body {
    font-family: 'Sarabun', 'Prompt', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* ==========================================================================
   Container
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1e3a8a;
    font-size: 24px;
}

.site-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.site-description {
    font-size: 14px;
    opacity: 0.9;
}

.header-contact {
    text-align: right;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 14px;
}

.contact-item i {
    font-size: 16px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-navigation {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 12px 20px;
    color: white;
    font-weight: 500;
}

.main-navigation a:hover {
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: white;
    color: #1e3a8a;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8)),
                url('images/hero-bg.jpg') center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: #ef4444;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.btn-secondary {
    background: white;
    color: #1e3a8a;
}

.btn-secondary:hover {
    background: #f1f5f9;
}

/* ==========================================================================
   Floating Call Button - สายด่วน
   ========================================================================== */

.floating-call-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    animation: pulse 2s infinite;
}

.floating-call-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.call-btn-main {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    transition: all 0.3s ease;
}

.call-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.6);
}

.call-actions {
    display: flex;
    gap: 10px;
    padding-left: 10px;
}

.call-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.call-action-btn.phone {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
}

.call-action-btn.line {
    background: linear-gradient(135deg, #06C755 0%, #00B900 100%);
}

.call-action-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.call-action-btn i {
    animation: ring 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #1e3a8a;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ef4444;
    border-radius: 2px;
}

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

.service-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
}

.service-card h3 {
    font-size: 22px;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.why-choose-section {
    padding: 80px 0;
    background: #f1f5f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 48px;
    color: #ef4444;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 20px;
    color: #1e3a8a;
    margin-bottom: 10px;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery-section {
    padding: 80px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 48px;
    margin-bottom: 10px;
}

.gallery-overlay h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.gallery-overlay p {
    color: white;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}

.view-detail-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #ef4444;
    color: white;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-detail-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.media-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: rgba(239, 68, 68, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.media-badge.video {
    background: rgba(239, 68, 68, 0.95);
}

.media-badge.image {
    background: rgba(59, 130, 246, 0.95);
}

/* ==========================================================================
   Gallery Archive Page
   ========================================================================== */

.page-header-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-description {
    font-size: 18px;
    opacity: 0.9;
}

.gallery-archive-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.filter-btn:hover,
.filter-btn.active {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
    transform: translateY(-2px);
}

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

.gallery-archive-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gallery-archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-thumbnail {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-archive-item:hover .gallery-thumbnail img {
    transform: scale(1.05);
}

.no-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: white;
    font-size: 60px;
}

.overlay-content {
    text-align: center;
}

.gallery-item-info {
    padding: 20px;
}

.gallery-item-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.gallery-item-info h3 a {
    color: inherit;
}

.gallery-item-info h3 a:hover {
    color: #3b82f6;
}

.item-meta {
    display: flex;
    gap: 15px;
    color: #64748b;
    font-size: 14px;
}

.gallery-pagination {
    margin-top: 60px;
    text-align: center;
}

.gallery-pagination .page-numbers {
    display: inline-block;
    padding: 10px 18px;
    margin: 0 5px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    transition: all 0.3s ease;
}

.gallery-pagination .page-numbers:hover,
.gallery-pagination .page-numbers.current {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.no-gallery-items {
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
}

.no-gallery-items i {
    font-size: 80px;
    margin-bottom: 20px;
}

.no-gallery-items h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

/* ==========================================================================
   Single Gallery Page
   ========================================================================== */

.single-gallery-page {
    background: #f8f9fa;
}

.gallery-single {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.back-to-gallery {
    margin-bottom: 30px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f1f5f9;
    color: #1e3a8a;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #e2e8f0;
    transform: translateX(-3px);
}

.single-gallery-page .entry-header {
    margin-bottom: 30px;
    text-align: center;
}

.single-gallery-page .entry-title {
    font-size: 36px;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.single-gallery-page .entry-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #64748b;
    font-size: 15px;
}

.single-gallery-page .entry-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-media-wrapper {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-video iframe,
.gallery-video video {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.gallery-image img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.single-gallery-page .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
}

/* Social Share Section */
.social-share-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 50px;
    border: 2px solid #e2e8f0;
}

.share-title {
    font-size: 20px;
    color: #1e3a8a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-title i {
    color: #3b82f6;
}

.social-share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn i {
    font-size: 18px;
}

/* Facebook */
.share-facebook {
    background: #1877f2;
    color: white;
}

.share-facebook:hover {
    background: #1664d8;
}

/* Line */
.share-line {
    background: #06c755;
    color: white;
}

.share-line:hover {
    background: #05b34c;
}

/* Twitter */
.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-twitter:hover {
    background: #1a8cd8;
}

/* Copy Link */
.share-copy {
    background: #64748b;
    color: white;
}

.share-copy:hover {
    background: #475569;
}

.share-url-display {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px dashed #cbd5e1;
}

.share-url-display small {
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-url-display i {
    color: #3b82f6;
}

.share-url-display strong {
    color: #1e3a8a;
    font-family: 'Sarabun', 'Prompt', sans-serif;
    word-break: break-word;
}

/* Responsive Social Share */
@media (max-width: 768px) {
    .social-share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .share-url-display small {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Floating Share Button */
.floating-share-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
}

.share-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
}

.share-toggle-btn:active {
    transform: scale(0.95);
}

.share-menu {
    position: absolute;
    bottom: 75px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.share-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-menu-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.share-menu-item:hover {
    transform: scale(1.1);
}

.share-menu-facebook {
    background: #1877f2;
}

.share-menu-line {
    background: #06c755;
}

.share-menu-twitter {
    background: #1da1f2;
}

@media (max-width: 768px) {
    .floating-share-btn {
        bottom: 80px;
        right: 20px;
    }
    
    .share-toggle-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .share-menu-item {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

.gallery-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
    margin-bottom: 60px;
}

.gallery-navigation .nav-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gallery-navigation .nav-link:hover {
    background: #e2e8f0;
    transform: translateY(-3px);
}

.nav-direction {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.nav-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1e3a8a;
    font-weight: 600;
}

.nav-title img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.nav-next .nav-link {
    text-align: right;
}

.nav-next .nav-title {
    flex-direction: row-reverse;
}

.related-gallery {
    padding-top: 50px;
    border-top: 2px solid #e2e8f0;
}

.related-gallery h3 {
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 30px;
    text-align: center;
}

.related-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.related-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.related-gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.related-gallery-item .no-image {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: white;
    font-size: 48px;
}

.related-gallery-item .video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.related-gallery-item h4 {
    padding: 15px;
    font-size: 16px;
    color: #1e3a8a;
    background: white;
}

.related-gallery-item:hover h4 {
    color: #3b82f6;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-title::after {
    background: white;
}

.contact-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
    margin-bottom: 60px;
}

/* Grid variations based on number of cards */
.contact-info-grid.grid-2-cols {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-grid.grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* For single card - center it */
.contact-info-grid:has(.contact-card:only-child) {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon i {
    font-size: 28px;
    color: white;
}

.contact-card-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: white;
}

.contact-card-content p,
.contact-card-content a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
}

.contact-card-content a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card-content a:hover {
    color: white;
    text-decoration: underline;
}

/* Map Section */
.map-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-title {
    color: #1e3a8a;
    font-size: 28px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-title i {
    color: #ef4444;
}

.map-container {
    position: relative;
}

.map-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.map-link {
    display: block;
    position: relative;
    cursor: pointer;
}

.map-link iframe {
    width: 100%;
    height: 400px;
    display: block;
    pointer-events: none;
}

.map-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.map-link:hover .map-click-overlay {
    background: rgba(30, 58, 138, 0.85);
    pointer-events: all;
}

.map-click-content {
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.map-link:hover .map-click-content {
    opacity: 1;
    transform: translateY(0);
}

.map-click-content i {
    font-size: 48px;
    margin-bottom: 15px;
}

.map-click-content h4 {
    font-size: 24px;
    margin-bottom: 8px;
}

.map-click-content p {
    font-size: 16px;
    opacity: 0.9;
}

/* Map Info Bar */
.map-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.map-location {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.map-location i {
    font-size: 28px;
    color: #ef4444;
}

.map-location strong {
    display: block;
    color: #1e3a8a;
    font-size: 18px;
    margin-bottom: 4px;
}

.map-location small {
    display: block;
    color: #64748b;
    font-size: 13px;
}

.map-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-map-primary,
.btn-map-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-map-primary {
    background: #ef4444;
    color: white;
}

.btn-map-primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.btn-map-secondary {
    background: white;
    color: #1e3a8a;
    border: 2px solid #e2e8f0;
}

.btn-map-secondary:hover {
    background: #f8f9fa;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Old styles for backward compatibility */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.contact-info-item {
    text-align: center;
}

.contact-info-item i {
    font-size: 48px;
    color: #ef4444;
    margin-bottom: 15px;
}

.contact-info-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 50px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #1e3a8a;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #0f172a;
    color: white;
    padding: 50px 0 20px;
}

.site-domain {
    margin: 15px 0;
    padding: 12px 15px;
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
    border-radius: 5px;
}

.site-domain i {
    color: #3b82f6;
    margin-right: 8px;
}

.site-domain strong {
    color: #60a5fa;
    font-size: 16px;
    font-family: 'Sarabun', 'Prompt', sans-serif;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    color: #ef4444;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact-list i {
    color: #3b82f6;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
}

.footer-contact-list a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-list a:hover {
    color: #3b82f6;
}

.footer-contact-list span {
    color: rgba(255, 255, 255, 0.9);
}

.footer-section a:hover {
    color: #3b82f6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.social-links a:hover {
    background: #3b82f6;
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .contact-info-grid.grid-3-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-contact {
        text-align: center;
    }

    .menu-toggle {
        display: block;
        margin: 10px auto;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
    }

    .main-navigation.active ul {
        display: flex;
    }

    .main-navigation a {
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid,
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact & Map Responsive */
    .contact-info-grid,
    .contact-info-grid.grid-2-cols,
    .contact-info-grid.grid-3-cols {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .map-section {
        padding: 25px;
    }
    
    .map-title {
        font-size: 22px;
    }
    
    .map-link iframe {
        height: 300px;
    }
    
    .map-info-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .map-location {
        width: 100%;
    }
    
    .map-location strong {
        font-size: 16px;
    }
    
    .map-actions {
        width: 100%;
    }
    
    .btn-map-primary,
    .btn-map-secondary {
        flex: 1;
        justify-content: center;
        font-size: 14px;
        padding: 10px 18px;
    }

    .floating-call-btn {
        bottom: 20px;
        left: 20px;
    }

    .call-btn-main {
        padding: 12px 20px;
        font-size: 14px;
    }

    .call-action-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

/* ==========================================================================
   Rental Services Section
   ========================================================================== */

.rental-services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.rental-services-section .section-title {
    text-align: center;
    font-size: 36px;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.rental-services-section .section-title i {
    color: #3b82f6;
    margin-right: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #64748b;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.rental-service-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.rental-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}

.rental-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.rental-service-card h3 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 15px;
}

.rental-service-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.rental-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.rental-features li {
    color: #475569;
    font-size: 14px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rental-features li i {
    color: #10b981;
    font-size: 16px;
}

/* Rental Items Showcase */
.rental-items-showcase {
    margin-top: 60px;
    margin-bottom: 40px;
}

.showcase-title {
    text-align: center;
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 30px;
}

.rental-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.rental-item-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.rental-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.rental-item-image {
    position: relative;
    padding-top: 66.67%;
    overflow: hidden;
    background: #f1f5f9;
}

.rental-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rental-item-card:hover .rental-item-image img {
    transform: scale(1.05);
}

.rental-item-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rental-item-content {
    padding: 20px;
}

.rental-item-content h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.rental-item-content h4 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.rental-item-content h4 a:hover {
    color: #3b82f6;
}

.rental-item-price {
    background: #f0fdf4;
    border-left: 3px solid #10b981;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    color: #64748b;
    font-size: 13px;
}

.price-amount {
    color: #dc2626;
    font-weight: 700;
    font-size: 20px;
}

.price-unit {
    font-size: 14px;
    color: #64748b;
    font-weight: 400;
}

.rental-item-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.rental-item-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Rental CTA */
.rental-cta {
    text-align: center;
    margin-top: 50px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.rental-cta .btn {
    padding: 15px 35px;
    font-size: 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.rental-cta .btn-primary {
    background: #3b82f6;
    color: white;
    border: 2px solid #3b82f6;
}

.rental-cta .btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.rental-cta .btn-secondary {
    background: white;
    color: #10b981;
    border: 2px solid #10b981;
}

.rental-cta .btn-secondary:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .rental-services-section {
        padding: 50px 0;
    }

    .rental-services-section .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }

    .rental-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rental-service-card {
        padding: 25px 20px;
    }

    .rental-items-grid {
        grid-template-columns: 1fr;
    }

    .rental-cta {
        flex-direction: column;
        padding: 0 15px;
    }

    .rental-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .showcase-title {
        font-size: 24px;
    }
}

/* ==========================================================================
   Blog Archive & Single Post Styles
   ========================================================================== */

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: white;
}

.blog-hero .page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-hero .page-description {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.blog-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
}

.blog-hero .breadcrumb a {
    color: white;
}

.blog-hero .breadcrumb a:hover {
    text-decoration: underline;
}

/* Blog Container */
.blog-container {
    padding: 60px 15px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Blog Filters */
.blog-filters {
    margin-bottom: 40px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.filter-btn .count {
    opacity: 0.7;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-thumbnail {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: #1f2937;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #3b82f6;
}

.blog-excerpt {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.blog-tags .tag {
    padding: 5px 12px;
    background: #f3f4f6;
    border-radius: 15px;
    font-size: 13px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.blog-tags .tag:hover {
    background: #3b82f6;
    color: white;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    font-weight: 600;
    font-size: 15px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f2937;
}

/* Search Widget */
.search-widget .search-form {
    display: flex;
    gap: 10px;
}

.search-widget .search-field {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
}

.search-widget .search-field:focus {
    border-color: #3b82f6;
    outline: none;
}

.search-widget .search-submit {
    padding: 12px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-widget .search-submit:hover {
    background: #2563eb;
}

/* Categories Widget */
.category-list {
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid #f3f4f6;
    padding: 12px 0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: #4b5563;
    font-size: 15px;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: #3b82f6;
}

.category-list .count {
    color: #9ca3af;
    font-size: 13px;
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info {
    flex: 1;
}

.recent-post-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-title:hover {
    color: #3b82f6;
}

.recent-post-date {
    font-size: 12px;
    color: #9ca3af;
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 6px 14px;
    background: #f3f4f6;
    border-radius: 15px;
    font-size: 13px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #3b82f6;
    color: white;
}

/* CTA Widget */
.cta-box {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    color: white;
}

.cta-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.cta-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.cta-box p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: white;
    color: #3b82f6;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Single Blog Post */
.single-blog .blog-hero-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.single-blog .blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-blog .category-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #3b82f6;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

.blog-single-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 60px 15px;
}

.blog-single-content .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 30px;
}

.blog-single-content .breadcrumb a {
    color: #6b7280;
}

.blog-single-content .breadcrumb a:hover {
    color: #3b82f6;
}

.blog-header {
    margin-bottom: 40px;
}

.blog-header .blog-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-header .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 25px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-weight: 600;
    color: #6b7280;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.line {
    background: #00b900;
}

.share-btn.copy {
    background: #6b7280;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 40px;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1f2937;
    font-weight: 700;
}

.blog-article-content p {
    margin-bottom: 20px;
}

.blog-article-content img {
    border-radius: 12px;
    margin: 25px 0;
}

.blog-article-content ul,
.blog-article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-article-content li {
    margin-bottom: 10px;
}

.blog-tags-section {
    margin-bottom: 40px;
}

.blog-tags-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.author-bio {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #f9fafb;
    border-radius: 15px;
    margin-bottom: 40px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.author-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.author-description {
    color: #6b7280;
    line-height: 1.6;
}

.post-navigation {
    margin-bottom: 40px;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-previous,
.nav-next {
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.nav-label {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: #1f2937;
}

.nav-title:hover {
    color: #3b82f6;
}

/* Related Posts */
.related-posts-list {
    display: grid;
    gap: 20px;
}

.related-post-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.related-post-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-post-thumb {
    display: block;
    height: 150px;
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-thumb img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 15px;
}

.related-post-content h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

.related-post-content h4 a {
    color: #1f2937;
}

.related-post-content h4 a:hover {
    color: #3b82f6;
}

.related-post-date {
    font-size: 12px;
    color: #9ca3af;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    padding: 10px 18px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.no-posts-found h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.no-posts-found p {
    color: #6b7280;
    margin-bottom: 30px;
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .blog-layout,
    .blog-single-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 50px 0 40px;
    }

    .blog-hero .page-title {
        font-size: 32px;
    }

    .blog-hero .page-description {
        font-size: 16px;
    }

    .blog-container {
        padding: 40px 15px;
    }

    .blog-thumbnail {
        height: 220px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-title {
        font-size: 20px;
    }

    .blog-header .blog-title {
        font-size: 28px;
    }

    .single-blog .blog-hero-image {
        height: 300px;
    }

    .blog-single-layout {
        padding: 40px 15px;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        justify-content: center;
    }
}

/* ==========================================================================
   404 Error Page - หน้า Not Found
   ========================================================================== */

.error-404-page {
    min-height: calc(100vh - 400px);
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.error-404.not-found {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Error Icon */
.error-icon {
    margin-bottom: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.error-icon svg {
    max-width: 200px;
    height: auto;
}

/* Page Header */
.error-404 .page-header {
    margin-bottom: 20px;
}

.error-404 .page-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

.error-message {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 50px;
    line-height: 1.8;
}

/* Search Form */
.error-search {
    max-width: 600px;
    margin: 0 auto 60px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.error-search h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.error-search .search-form {
    display: flex;
    gap: 10px;
}

.error-search .search-field {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.error-search .search-field:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.error-search .search-submit {
    padding: 15px 30px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-search .search-submit:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Quick Links */
.error-links {
    margin-bottom: 60px;
}

.error-links h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.quick-link-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.quick-link-card .icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.quick-link-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.quick-link-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Recent Posts */
.error-recent-posts {
    margin-bottom: 60px;
}

.error-recent-posts h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.recent-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.recent-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recent-post-card .post-thumbnail {
    display: block;
    overflow: hidden;
    height: 200px;
}

.recent-post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.recent-post-card .post-content {
    padding: 20px;
}

.recent-post-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
}

.recent-post-card h3 a {
    color: #1f2937;
}

.recent-post-card h3 a:hover {
    color: #3b82f6;
}

.recent-post-card .post-meta {
    font-size: 14px;
    color: #6b7280;
}

/* Contact Info Box */
.error-contact {
    margin-bottom: 60px;
}

.error-contact h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.contact-info-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item .icon {
    font-size: 36px;
    flex-shrink: 0;
}

.contact-item .info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item strong {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.contact-item a,
.contact-item span {
    font-size: 16px;
    color: #3b82f6;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Error Actions */
.error-actions {
    margin-top: 50px;
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Responsive 404 Page */
@media (max-width: 768px) {
    .error-404-page {
        padding: 50px 15px;
    }

    .error-404 .page-title {
        font-size: 24px;
    }

    .error-message {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .error-search {
        padding: 25px 20px;
        margin-bottom: 40px;
    }

    .error-search h2 {
        font-size: 20px;
    }

    .error-search .search-form {
        flex-direction: column;
    }

    .error-search .search-submit {
        width: 100%;
    }

    .error-links h2,
    .error-recent-posts h2,
    .error-contact h2 {
        font-size: 22px;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quick-link-card {
        padding: 20px;
    }

    .quick-link-card .icon {
        font-size: 36px;
    }

    .recent-posts-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-box {
        padding: 25px 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }

    .error-icon svg {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .error-404 .page-title {
        font-size: 20px;
    }

    .error-message {
        font-size: 14px;
    }

    .quick-link-card h3 {
        font-size: 18px;
    }

    .recent-post-card h3 {
        font-size: 16px;
    }
}

