Travel_Website / styles.css
Json026's picture
Rename requirements.txt to styles.css
986d8c4 verified
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; background-color: #f9f9f9; color: #333; }
header { background: #001f3f; color: #FFD700; padding: 20px 10%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.logo { font-weight: 700; font-size: 1.5rem; letter-spacing: 1px; }
nav a { color: white; text-decoration: none; margin-left: 20px; transition: color 0.3s; }
nav a:hover { color: #FFD700; }
.hero { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('your-bus-image.jpg') center/cover; height: 80vh; display: flex; align-items: center; justify-content: center; color: white; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; }
.cta-button { background: #FFD700; color: #001f3f; padding: 18px 40px; text-decoration: none; border-radius: 50px; font-weight: 700; transition: transform 0.3s, background 0.3s; display: inline-block; }
.cta-button:hover { transform: scale(1.05); background: #fff; }
.services { padding: 80px 10%; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; padding: 40px; border-radius: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: 0.3s; }
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
footer { background: #001f3f; color: white; padding: 60px 10%; text-align: center; }
.contact-links a { color: #FFD700; display: block; margin: 10px 0; font-size: 1.2rem; text-decoration: none; }