/* Google Fonts: Poppins */ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap'); /* CSS Variables */ :root { --main-color: #ff0000; --hover-color: #630101; --dark-bg: #121212; --card-bg: #1e1e1e; --border-color: #333; --text-light: #f5f5f5; --text-muted: #a0a0a0; } /* Basic Reset */ * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: 'Poppins', sans-serif; background-color: var(--dark-bg); color: var(--text-light); line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* --- Header & Navigation --- */ header { background-color: rgba(18, 18, 18, 0.85); padding: 1rem 0; position: fixed; width: 100%; top: 0; z-index: 1000; backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); } nav { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 2rem; font-weight: 700; color: var(--main-color); text-decoration: none; } nav ul { list-style: none; display: flex; align-items: center; gap: 1rem; } .nav-link { text-decoration: none; color: var(--text-light); font-weight: 600; padding: 0.5rem 1rem; border-radius: 5px; transition: color 0.3s ease, background-color 0.3s ease; } .nav-link:hover { color: var(--main-color); } .nav-link.active { color: var(--main-color); } .nav-link.button { background-color: var(--main-color); color: var(--text-light); } .nav-link.button:hover { background-color: var(--hover-color); color: var(--text-light); } .nav-link.button.active { background-color: var(--hover-color); } /* --- Global Section Styling --- */ main { padding-top: 80px; } /* Space for fixed header */ .hero, .services-section, .stats-section, .contact-page-section { padding: 4rem 0; } .page-title, .services-section h2 { text-align: center; margin-bottom: 3rem; } .page-title h2, .services-section h2 { font-size: 2.8rem; margin-bottom: 0.5rem; } .page-title p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; } /* --- Hero Section --- */ .hero { text-align: center; padding: 6rem 0; } .hero h1 { font-size: 3.5rem; margin-bottom: 1rem; } .hero h1 span { color: var(--main-color); } .hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; } /* --- Stats Section --- */ .stats-section { background-color: var(--card-bg); } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; } .stat-item i { font-size: 3rem; color: var(--main-color); margin-bottom: 1rem; } .stat-item p { font-size: 2.5rem; font-weight: 700; } .stat-item h3 { font-size: 1rem; color: var(--text-muted); text-transform: uppercase; } /* --- Services Section --- */ .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; } .service-card { position: relative; overflow: hidden; border-radius: 10px; cursor: pointer; height: 250px; background-color: var(--card-bg); } .service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%); z-index: 1; transition: background 0.4s ease; } .service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; } .service-card-content { position: absolute; bottom: 20px; left: 20px; right: 20px; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: var(--text-light); } .service-card h3 { font-size: 1.5rem; font-weight: 600; } .service-arrow { background-color: var(--main-color); width: 45px; height: 45px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; transition: background-color 0.3s, transform 0.3s; } .service-card:hover img { transform: scale(1.05); } .service-card:hover .service-arrow { background-color: var(--hover-color); transform: scale(1.1); } /* --- Contact Page --- */ .contact-content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: flex-start; } .contact-form-container, .contact-details-container { background-color: var(--card-bg); padding: 2rem; border-radius: 8px; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-muted); } .form-group input, .form-group textarea { width: 100%; padding: 0.75rem; border-radius: 5px; border: 1px solid var(--border-color); background-color: var(--dark-bg); color: var(--text-light); font-family: 'Poppins', sans-serif; font-size: 1rem; } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--main-color); } .btn-submit { display: block; width: 100%; padding: 1rem; border: none; border-radius: 5px; background-color: var(--main-color); color: var(--text-light); font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; } .btn-submit:hover { background-color: var(--hover-color); } .contact-details-container h3 { font-size: 1.5rem; margin-bottom: 0.5rem; } .contact-details-container p { color: var(--text-muted); margin-bottom: 2rem; } .contact-details-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; } .contact-details-list li { display: flex; align-items: center; gap: 1rem; } .contact-details-list i { font-size: 1.2rem; color: var(--main-color); width: 20px; text-align: center; } .contact-details-list a, .contact-details-list span { color: var(--text-light); text-decoration: none; font-size: 1rem; } .contact-details-list a:hover { text-decoration: underline; } .map-placeholder { background-color: var(--dark-bg); height: 200px; border-radius: 5px; margin-top: 2rem; display: flex; align-items: center; justify-content: center; color: var(--text-muted); border: 1px dashed var(--border-color); } /* --- Footer --- */ footer { padding: 2rem 0; text-align: center; font-size: 0.9rem; color: #888; border-top: 1px solid var(--border-color); margin-top: 4rem; } /* --- Responsive Design --- */ @media (max-width: 992px) { .contact-content-grid { grid-template-columns: 1fr; } } @media (max-width: 768px) { nav ul { display: none; } /* Simple hide for mobile, can be replaced with hamburger menu */ .hero h1 { font-size: 2.8rem; } .page-title h2, .services-section h2 { font-size: 2.2rem; } } @media (max-width: 480px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .hero h1 { font-size: 2.2rem; } } /* --- Updated Contact Form Styles --- */ .form-group select { width: 100%; padding: 0.75rem; border-radius: 5px; border: 1px solid var(--border-color); background-color: var(--dark-bg); color: var(--text-light); font-family: 'Poppins', sans-serif; font-size: 1rem; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ff0000' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px 12px; cursor: pointer; transition: border-color 0.3s ease; } .form-group select:focus { outline: none; border-color: var(--main-color); } .form-group select option { background-color: var(--card-bg); color: var(--text-light); } /* Make the "Other" specification more noticeable */ #message { min-height: 100px; resize: vertical; } /* Adjust spacing for the new fields */ #make-model { margin-bottom: 1.5rem; } /* Bing Maps Container */ .map-container { margin-top: 2rem; } .map-container h4 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text-light); } .map-container iframe { width: 100%; height: 300px; border-radius: 5px; border: 1px solid var(--border-color); } /* Book Now Button Styles */ .book-now-container { text-align: center; margin: 3rem 0; } .btn-book-now { display: inline-block; padding: 1rem 3rem; background-color: var(--main-color); color: var(--text-light); font-size: 1.2rem; font-weight: 600; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease; text-transform: uppercase; } .btn-book-now:hover { background-color: var(--hover-color); color: var(--text-light); } /* Add this to your CSS */ .hero-text-container { display: inline-block; max-width: 100%; white-space: nowrap; position: relative; } .location-rotator { display: inline-block; color: var(--main-color); font-weight: 600; position: relative; text-align: left; vertical-align: top; overflow: visible; } .location-word { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; } .hero-subtext { font-size: 1.3rem; color: var(--text-muted); white-space: nowrap; display: inline; }