/* ตั้งค่าพื้นฐาน */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } body { background-color: #f4f4f4; color: #333; line-height: 1.6; } /* สไตล์ Navbar */ .navbar { background: #007bff; color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; } .navbar a { color: white; text-decoration: none; font-size: 18px; margin-right: 15px; } .navbar a:hover { text-decoration: underline; } /* Hero Section */ .hero { background: url('/images/hero.jpg') no-repeat center center/cover; height: 400px; display: flex; justify-content: center; align-items: center; text-align: center; color: white; } .hero h1 { font-size: 50px; text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); } /* Tour Cards */ .tour-container { display: flex; flex-wrap: wrap; justify-content: center; padding: 20px; } .tour-card { background: white; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); width: 300px; margin: 15px; overflow: hidden; transition: transform 0.3s; } .tour-card:hover { transform: scale(1.05); } .tour-card img { width: 100%; height: 180px; } .tour-card .content { padding: 15px; } .tour-card h3 { font-size: 22px; color: #007bff; } .tour-card p { font-size: 16px; margin: 10px 0; } .tour-card .price { font-size: 18px; color: #28a745; font-weight: bold; } .tour-card .btn { display: block; text-align: center; padding: 10px; background: #007bff; color: white; text-decoration: none; border-radius: 5px; margin-top: 10px; } .tour-card .btn:hover { background: #0056b3; } /* ฟอร์มล็อกอิน & สมัครสมาชิก */ .form-container { width: 100%; max-width: 400px; margin: 50px auto; padding: 20px; background: white; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .form-container h2 { text-align: center; margin-bottom: 20px; } .form-group { margin-bottom: 15px; } .form-group label { display: block; font-weight: bold; } .form-group input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; margin-top: 5px; } .btn-submit { width: 100%; background: #007bff; color: white; padding: 10px; border: none; border-radius: 5px; font-size: 18px; cursor: pointer; } .btn-submit:hover { background: #0056b3; } /* Footer */ .footer { background: #333; color: white; text-align: center; padding: 20px; margin-top: 30px; } .footer p { margin: 0; }