@charset "utf-8";

* {box-sizing: border-box; }


/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: #45586C;
    padding: 25px 40px;
    border-bottom: 1px solid #45586C;
	align-content: center;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
	gap: 25px;
}

.nav-left img {
    height: 70px;
    width: auto;
	padding-right: 20px;
}

.nav-center {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.nav-center a {
    text-decoration: none;
    color: #F2EEEF;
    font-size: 18px;
    position: relative;
    padding: 5px 0;
}

.nav-center a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #E95D2C;
    transition: width 0.3s ease;
}

.nav-center a:hover::after {
    width: 100%;
}

.logo {
    height: 50px;
}

/* Homepage */

.hero {
    height: 80vh;
    background-image: url('../images/happy customer.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-button, .deal-btn, .parallax-btn {
    display: inline-block;
    padding: 14px 26px;
    margin-top: 10px;
    border-radius: 8px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: #F2EEEF;
    max-width: 700px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-button {
    background-color: #E95D2C;
    color: #F2EEEF;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #A63E1B;
    transform: translateY(-2px);
}

.summary-section {
    padding: 80px 30px;
    background-color: #F2EEEF;
}

.summary-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.summary-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1A2730;
}

.summary-text ul {
	padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
	color: #000000;
}

.summary-text li {
    margin-bottom: 12px;
    color: #333;
    font-size: 16px;
    text-align: left;
}

.summary-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
}

.summary-image img:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   border-color: #A63E1B;
}

.deal-section {
    background-color: #1A2730;
    padding: 60px 20px;
    color: #F2EEEF;
}

.deal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
}

.deal-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    border: 2px solid #E95D2C;
    transition: all 0.25s ease;
}

.deal-image img:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   border-color: #A63E1B;
}

.deal-info {
    max-width: 400px;
}

.deal-info h2 {
    color: #E95D2C;
    margin-bottom: 10px;
}

.deal-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.countdown {
    margin-bottom: 20px;
    font-size: 16px;
    color: #B0CEE2;
}

.deal-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #E95D2C;
    color: #F2EEEF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.deal-btn:hover {
    background-color: #A63E1B;
}

.featured-inventory {
    padding: 80px 30px;
    background-color: #1A2730;
    text-align: center;
}

.featured-inventory h2 {
    margin-bottom: 40px;
    font-size: 32px;
    color: #E95D2C;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.car-card {
    width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
	text-align: left;
}

.car-card:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   border-color: #A63E1B;
}

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

.car-info h3 {
    margin-bottom: 8px;
    font-size: 18px;
    color: #1A2730;
}

.car-info .miles {
	color: #1A2730;
}
.price {
    font-weight: bold;
    color: #E95D2C;
    margin-bottom: 5px;
    font-size: 16px;
}

.miles {
    margin-bottom: 15px;
    color: #1A2730;
    font-size: 14px;
}

.car-button {
    display: block;
    width: auto;
    margin: 15px auto 0;
    padding: 12px 20px;
    background-color: #424049;
    color: #F2EEEF;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: 0.2s;
	border-radius: 0px 0px 8px 8px;
}

.car-button:hover {
    background-color: #E95D2C;
	color: #F2EEEF;
}

.cta-section {
    padding: 80px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F2EEEF;
}

.cta-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #1A2730;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    width: 100%;
}

.cta-box {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #E95D2C;
    transition: all 0.25s ease;
}

.box1 {
    background-image: url('../images/our inventory.jpg');
}

.box2 {
    background-image: url('../images/services.jpg');
}

.box3 {
    background-image: url('../images/contact us.jpg');
}

.cta-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(26, 39, 48, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.cta-overlay h3 {
    color: #F2EEEF;
    font-size: 24px;
    text-align: center;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.cta-box:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   border-color: #A63E1B;
}

.cta-box:hover .cta-overlay {
    background: rgba(26, 39, 48, 0.4);
}

.cta-box:hover h3 {
    transform: scale(1.05);
    color: #E95D2C;
}

.parallax-home {
    background-image: url('../images/cardeal.jpg');
    height: 380px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}




.parallax-content {
    position: relative;
    color: #E95D2C;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
}

.parallax-content h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.parallax-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
	color: #F2EEEF;
}

.parallax-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #E95D2C;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s ease;
}

.parallax-btn:hover {
    background-color: #A63E1B;
    transform: translateY(-2px);
}

/* Inventory */

.inventory-page {
    padding: 40px 30px;
    background-color: #1A2730;
}

.inventory-header {
    background: linear-gradient(rgba(26, 39, 48, 0.85), rgba(26, 39, 48, 0.85)), url('../images/car lot.jpg');
    background-size: cover;
    color: #F2EEEF;
    padding: 80px 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.inventory-header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.inventory-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
	color: #E95D2C;
}

.inventory-header p {
    font-size: 18px;
    color: #F2EEEF;
}

.inventory-controls {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
	color: #1A2730;
}

.inventory-controls input {
    flex: 1;
    min-width: 250px;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.inventory-controls select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.vehicle-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.view-btn {
    display: block;
    width: auto;
    margin: 15px auto 0;
    padding: 12px 20px;
    background-color: #424049;
    color: #F2EEEF;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: 0.2s;
	border-radius: 0px 0px 8px 8px;
}

.view-btn:hover {
    background-color: #E95D2C;
	color: #F2EEEF;
}

.car-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: #F2EEEF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.1);
}

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

.car-card h3 {
    font-size: 18px;
    margin: 15px;
	color: #1A2730;
}

.car-card .price {
    color: #E95D2C;
    font-weight: bold;
    font-size: 18px;
    margin: 0 15px 10px;
}

.car-card p {
    font-size: 14px;
    margin: 0 15px 8px;
    color: #1A2730;
}

.inventory-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.filters {
    width: 260px;
    background-color: #F2EEEF;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
	color: #45586C;
}

.filters h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.filters label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
}

.filters input, .filters select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.range-group {
    display: flex;
    gap: 10px;
}

.range-group input {
    width: 50%;
}

.filter-btn {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #E95D2C;
    color: #F2EEEF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

.filter-btn:hover {
    background-color: #cf4f25;
}

.clear-btn {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    background-color: transparent;
    color: #45586C;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    background-color: #f5f5f5;
}

.car-details-container {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
    align-items: start;
}

.main-image {
    height: 500px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.main-image img:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   border-color: #A63E1B;
}

.left-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.left-details {
    background: #F2EEEF;
    padding: 20px;
    border-radius: 10px;
}

.right-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px; /* optional, matches modern card look */
}

.top-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
	border: 2px solid #E95D2C;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.top-gallery img:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    border-color: #A63E1B;
    transform: scale(1.05);
}

.details {
    background: #F2EEEF;
    padding: 20px;
    border-radius: 10px;
}

.details h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.price {
    font-size: 22px;
    color: #E95D2C;
    margin-bottom: 15px;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.spec-grid div {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
}

.features {
    columns: 2;
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn {
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
}

.primary {
    background: #E95D2C;
    color: white;
}

.primary:hover {
    background: #A63E1B;
    color: white;
}

.secondary {
    background: #E95D2C;
    color: white;
}

.secondary:hover {
    background: #A63E1B;
    color: white;
}

.third {
    background: #E95D2C;
    color: white;
}

.third:hover {
    background: #A63E1B;
    color: white;
}

.finance-box {
    margin-top: 15px;
    padding: 15px;
	background: #45586C;
    color: #F2EEEF;
    border-radius: 8px;
    text-align: center;
}

/* Contact Page */

.contact-body {
    background-color: #1A2730;
}

.contact-hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
	color: #E95D2C;
}

.contact-form-section {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.contact-form-card {
    background: #F2EEEF;
    padding: 30px;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-form-card h2 {
    margin-bottom: 20px;
	color: #E95D2C;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row input {
    flex: 1;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

button {
    margin-top: 15px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background-color: #E95D2C;
	color: #F2EEEF;
    cursor: pointer;
}

.contact-options {
    padding: 60px 20px;
    text-align: center;
	align-content: center;
}

.contact-options h2 {
    margin-bottom: 30px;
	color: #E95D2C;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	background-color: #F2EEEF;
	color: #1A2730;
	align-content: center;
}

.contact-card h3 {
    color: #E95D2C;
}

.contact-card p {
	color: #1A2730;
}

.hours-section {
    padding: 40px 20px 80px;
    display: flex;
    justify-content: center;
}

.hours-card {
    background: #F2EEEF;
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	color: #1A2730;
}

.hours-card h2 {
    color: #E95D2C;
}

.contact-card, .hours-card, .contact-form-card {
	width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
}

.contact-card:hover, .hours-card:hover, .contact-form-card:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   border-color: #A63E1B;
}

/* About Page */

.about-page {
    padding: 60px 30px;
    background-color: #1A2730;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.about-page > * {
    width: 100%;
    max-width: 1000px;
}

.about-page p {
	color: #F2EEEF;
	text-align: center;
}

.about-page h2 {
    color: #E95D2C;
    text-align: center;
}

.about-page h1 {
    text-align: center;
    color: #E95D2C;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    text-align: center;
}

.about-card {
	width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #F2EEEF;
    padding: 25px;
	text-align: center;
	color: #45586C;
}

.about-card p {
	color: #1A2730;
}

.about-card:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   border-color: #A63E1B;
}

/* Services Page */

.services-page {
    padding: 60px 30px;
    background-color: #1A2730;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.services-page > * {
    width: 100%;
    max-width: 1000px;
}

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

.services-header h1 {
    color: #E95D2C;
    margin-bottom: 10px;
}

.services-header h2 {
    color: #F2EEEF;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
	width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #F2EEEF;
    padding-top: 5px;
    text-align: center;
	color: #45586C;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   border-color: #A63E1B;
}

.service-card a {
    display: inline-block;
    margin-top: 10px;
    color: #E95D2C;
    text-decoration: none;
    font-weight: bold;
}

.service-card h3 {
    color: #E95D2C;
}

.service-card p {
	color: #000000;
	padding: 5px;
}

.service {
	text-align: center;
	color: #F2EEEF;
}

.service h2 {
	color: #E95D2C;
}

.service-btn {
	display: block;
	width: 100%;
    padding: 12px 20px;
    background-color: #424049;
    color: #F2EEEF;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: 0.2s;
	border-radius: 0px 0px 8px 8px;
}

.service-btn:hover{
	background-color: #E95D2C;
	color: #F2EEEF;
}

/* Finance Page */

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.finance-page {
    padding: 60px 30px;
    background-color: #1A2730;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.finance-hero {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.finance-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
	color: #E95D2C;
}

.finance-hero p {
    color: #F2EEEF;
}

.finance-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 0;
}

.finance-info h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #E95D2C;
}

.finance-info p {
    color: #F2EEEF;
    line-height: 1.6;
}

.finance-card {
	
	width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #ffffff;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.finance-card h2 {
	color: #E95D2C;
}

.finance-card:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   border-color: #A63E1B;
}

.finance-card.center {
    text-align: center;
}

.finance-card.center h2 {
	color: #E95D2C;
}

.finance-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #E95D2C;
    color: #F2EEEF;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s ease;
}

.finance-btn:hover {
    background-color: #A63E1B;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
	color: #45586C;
}

.appointment-form input, .appointment-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.appointment-form textarea {
    resize: none;
    height: 100px;
}

.finance-guide {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.finance-guide h2 {
    text-align: center;
    margin-bottom: 10px;
	color: #E95D2C;
}

.guide-intro {
    text-align: center;
    margin-bottom: 30px;
    color: #1A2730;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.guide-item {
	width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #45586C;
    padding: 20px;
}

.guide-item:hover {
	transform: scale(1.05);
   	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   	border-color: #A63E1B;
	color: #A63E1B;
}

.guide-item h3 {
	color: #E95D2C;
}

.guide-item p {
	color: #F2EEEF;
}

.small-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #1A2730;
}

.finance-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.appointment-image img {
    height: auto;
    border-radius: 10px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.appointment-image img:hover {
	transform: scale(1.05);
   	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   	border-color: #A63E1B;
}

/* Warranty Page */

.warranty-page {
    padding: 60px 30px;
    background-color: #1A2730;
    color: #fff;
}

.warranty-hero {
    text-align: center;
    margin-bottom: 40px;
}

.warranty-hero h1 {
    font-size: 2.5rem;
	color: #E95D2C;
}

.warranty-benefits {
    max-width: 900px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.warranty-benefits h2 {
    margin-bottom: 15px;
	color: #E95D2C;
}

.warranty-benefits p {
    line-height: 1.6;
    font-size: 1.1rem;
}

.warranty-options {
    max-width: 1200px;
    margin: 0 auto;
}

.warranty-options h2 {
    text-align: center;
    margin-bottom: 30px;
	color: #E95D2C;
}

.warranty-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.warranty-item {
	width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #F2EEEF;
    padding: 20px;
}

.warranty-item:hover {
	transform: scale(1.05);
  	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   	border-color: #A63E1B;
}

.warranty-item h3 {
    margin-bottom: 10px;
	color: #E95D2C;
}

.warranty-item p {
    margin-bottom: 10px;
	color: #1A2730;
}

.sub-options {
    padding-left: 20px;
}

.sub-options li {
    margin-bottom: 5px;
	color: #000000;
}

/* Maintenance Page */

.maintenance-page {
    padding: 60px 30px;
    background-color: #1A2730;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.maintenance-page h1 {
    text-align: center;
    font-size: 2.5rem;
	color: #E95D2C;
}

.maintenance-services {
    max-width: 900px;
    margin: 0 auto;
	color: #F2EEEF;
}

.maintenance-services h2 {
    margin-bottom: 10px;
	color: #E95D2C;
}

.maintenance-services p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.maintenance-services ul {
    padding-left: 20px;
    line-height: 1.8;
}

.maintenance-services, .maintenance-services p, .maintenance-services li {
    color: #F2EEEF !important;
}

/* Form Section */
.maintenance-contact {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
	color: #45586C;
}

.maintenance-contact h2 {
    color: #E95D2C;
}

.maintenance-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
	color: #1A2730;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.btn-primary {
    padding: 12px;
    background-color: #E95D2C;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #A63E1B;
}

.form-card {
	width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #ffffff;
    padding: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 20px auto 0 auto;
}

.form-card:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   border-color: #A63E1B;
}

.parallax-services {
    background-image: url('../images/mechanic.jpg');
    height: 380px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin: 60px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.parallax-services::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.parallax-services .parallax-content {
    position: relative;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
}

.parallax-content h2 {
	color: #E95D2C;
}

.parallax-services .parallax-content h2 {
    font-size: 48px;
}

.parallax-services .parallax-content p {
    font-size: 1.2rem;
}

/* Trade-In Page */

.tradein-hero {
    padding: 60px 20px;
    background-color: #1A2730;
    color: #E95D2C;
}

.tradein-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tradein-hero p {
    max-width: 700px;
    margin: 0 auto;
   	font-size: 1.1rem;
	color: #F2EEEF;
}

.tradein-form-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    background-color: #1A2730;
}

.form-card {
	width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    max-width: 700px;
    background-color: #4586C;
    padding: 30px;
}

.form-card:hover {
	transform: scale(1.05);
   	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   	border-color: #A63E1B;
}

.form-card h2 {
    margin-bottom: 20px;
    text-align: center;
	color: #E95D2C;
}

.form-group {
    margin-bottom: 15px;
	color: #1A2730;
}

.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #5bc0be;
    box-shadow: 0 0 5px rgba(91, 192, 190, 0.5);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #E95D2C;
    border: none;
    color: #F2EEEF;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background-color: #A63E1B;
}

.tradein-process {
    padding: 60px 20px;
    background-color: #1A2730;
    color: #fff;
    text-align: center;
}

.tradein-process h2 {
    margin-bottom: 40px;
	color: #E95D2C;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.step {
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #fff;
    color: #000;
    padding: 25px;
}

.step:hover {
    transform: scale(1.05);
   	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   	border-color: #A63E1B;
}

.step h3 {
    margin-bottom: 10px;
	color: #E95D2C;
}

.step li {
	color: #1A2730;
}

.tradein-benefits {
    padding: 60px 20px;
    background-color: #1A2730;
    text-align: center;
}

.tradein-benefits h2 {
    margin-bottom: 20px;
	color: #E95D2C;
}

.tradein-benefits ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
	color: #F2EEEF;
}

.tradein-benefits li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.tradein-cta {
    padding: 60px 20px;
    background-color: #1A2730;
    color: #F2EEEF;
}

.tradein-cta h2 {
    margin-bottom: 10px;
	color: #E95D2C;
}

.tradein-benefits {
    padding: 60px 20px;
    background-color: #1A2730;
    text-align: center;
}

.tradein-benefits h2 {
    margin-bottom: 40px;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.benefit-card {
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #F2EEEF;
    color: #1A2730;
    padding: 25px;
    width: 280px;
}

.benefit-card:hover {
    transform: scale(1.05);
   	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   	border-color: #A63E1B;
}

.benefit-card h3 {
    margin-bottom: 10px;
	color: #E95D2C;
}

.benefit-card p {
	color: #000000;
}

/* FAQ Page */
.faq-hero {
    padding: 80px 20px;
    background: #1A2730;
}

.faq-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
	color: #E95D2C;
}

/* FAQ SECTION */
.faq-section {
    padding: 60px 20px;
    background-color: #1A2730;
}

/* GRID LAYOUT */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.faq-card {
	width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #F2EEEF;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
    text-align: center;
	color: #45586C;
}

.faq-card:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   border-color: #A63E1B;
}

.faq-card a {
    display: inline-block;
    margin-top: 10px;
    color: #E95D2C;
    text-decoration: none;
    font-weight: bold;
}

.faq-card h3 {
    color: #E95D2C;
}

.faq-section .faq-card p {
    color: #1A2730;
}

/* Vehicle Sourcing Page */

.sourcing-page {
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    background-color: #1A2730;
	text-align: center;
}

.sourcing-hero {
    text-align: center;
    color: white;
}

.sourcing-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
	color: #E95D2C;
}

.sourcing-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
	color: #F2EEEF;
}

.sourcing-section {
    max-width: 1000px;
    margin: 0 auto;
    color: white;
}

.sourcing-section h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
	color: #E95D2C;
}

.sourcing-section p {
    margin-bottom: 10px;
    line-height: 1.6;
	color: #F2EEEF;
}

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

.source-card {
    width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #F2EEEF;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
    text-align: center;
	color: #45586C;
}

.source-card:hover {
   	transform: scale(1.05);
   	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   	border-color: #A63E1B;
}

.source-card h3 {
    margin-bottom: 10px;
	color: #E95D2C;
}

.source-card p {
	color: #000000;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.step-card {
    width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #F2EEEF;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
    text-align: center;
	color: #45586C;
}

.step-card:hover {
    transform: scale(1.05);
   	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   	border-color: #A63E1B;
}

.step-card h3 {
    margin-bottom: 10px;
	color: #E95D2C;
}

.step-card p {
	color: #000000;
}

.cta-section {
    display: flex;
    justify-content: center;
}

.cta-card {
    width: 100%;
    height: auto;
    border-radius: 12px;
	border: 2px solid #E95D2C;
    transition: all 0.25s ease;
    background-color: #F2EEEF;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
    text-align: center;
	color: #45586C;
}

.cta-card:hover {
	transform: scale(1.05);
   	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
   	border-color: #A63E1B;
}

.cta-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #2e3b4e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.cta-btn:hover {
    background-color: #1f2a38;
}

/* Terms of Use and Privacy Policy*/

.legal-body {
	background-color: #1A2730;
}

.legal-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
    line-height: 1.6;
}

.legal-page h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
	color: #E95D2C;
}

.legal-page h2 {
	color: #E95D2C;
}

.legal-page p {
	color: #F2EEEF;
}

.legal-section {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #45586C;
    border-radius: 6px;
}

.legal-section h2 {
    margin-bottom: 10px;
    font-size: 1.3rem;
	color: #E95D2C;
}

.legal-section p {
    margin: 0;
    color: #333;
}

/* Thank You */

.container py-5 text-center p {
	color: #1A2730;
}

body {
    background: #F2EEEF;
}

.container.py-5 {
    max-width: 900px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #E95D2C;
}

h4 {
    color: #E95D2C;
}

.lead {
    font-size: 1.25rem;
    color: #1A2730;
}

.container p {
    color: #F2EEEF;
    line-height: 1.6;
}

.alert-success {
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    padding: 15px;
    background: #E95D2C;
    color: #F2EEEF;
}

.d-flex.flex-column.flex-md-row {
    gap: 15px;
    justify-content: center;
    align-items: stretch;
    margin-top: 20px;
}

.d-flex.flex-column.flex-md-row a.btn {
    flex: 1;          
    min-width: 200px;        
    padding: 14px 18px;
    font-weight: 600;
    border-radius: 10px;
    text-align: center;
    transition: all 0.25s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: #E95D2C !important;
    border: none !important;
    color: #F2EEEF !important;
}

.btn-primary:hover {
    background-color: #A63E1B !important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background-color: #E95D2C !important;
    border: none !important;
    color: #F2EEEF !important;
}

.btn-outline-primary:hover {
    background-color: #A63E1B !important;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    background-color: #E95D2C !important;
    border: none !important;
    color: #F2EEEF !important;
}

.btn-outline-secondary:hover {
    background-color: #A63E1B !important;
    transform: translateY(-2px);
}
.container.py-5 p {
    color: #1A2730 !important;
}

/* Mobile stacking fix */
@media (max-width: 768px) {
    .d-flex.flex-column.flex-md-row a.btn {
        width: 100%;
        min-width: unset;
    }
}

/* Footer */

.footer {
    background-color: #45586C;
    color: #F2EEEF;
    padding: 40px 30px 20px;
}

.footer-container {
    display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    margin-bottom: 15px;
	color: #E95D2C;
}

.footer-column p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #45586C;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 15px;
	color: #E95D2C;
}

.footer-links a {
    color: #B0CCE2;
    text-decoration: none;
    font-size: 14px;
	color: #F2EEEF;
}

.footer-links a:hover {
	color: #A63E1B;
}

.backToTop {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 1000;

	background-color: #1A2730;
	color: #fff;
	border: none;
	border-radius: 50%;

	width: 45px;
	height: 45px;
	font-size: 20px;
	cursor: pointer;

	display: none; /* hidden by default */

	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
	transition: all 0.3s ease;
}

.backToTop:hover {
	background-color: #45586C;
	transform: translateY(-3px);
}

@media (max-width: 1024px) {

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .summary-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inventory-content {
        flex-direction: column;
    }

    .filters {
        width: 100%;
    }

    .car-details-container {
        grid-template-columns: 1fr;
    }

    .finance-split {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .warranty-grid {
        grid-template-columns: 1fr;
    }
	
	* {
		max-width: 100%;
	}

}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    .car-details-container {
        display: flex;
        flex-direction: column;
        padding: 0 10px;
        gap: 0;
    }
	
    .left-side, .right-side {
        display: contents;
    }

    .main-image {
        order: 1;
    }

    .top-gallery {
        order: 2;
    }

    .left-details {
        order: 3;
    }

    .details {
        order: 4;
    }

    .finance-box {
        order: 5;
    }
	
    .main-image img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
        display: block;
		margin-top: 10px;
    }

    .top-gallery {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
		margin-bottom: 10px;
		margin-top: -180px;
    }

    .top-gallery img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        display: block;
    }

    .left-details {
		margin-bottom: 10px;
		
    }

    .left-details h1 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 5px;
    }

    .price {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .spec-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        font-size: 13px;
    }

    .details {
		margin-bottom: 10px;
    }

    .details h3 {
        font-size: 16px;
        margin-top: 10px;
    }

    .details p {
        font-size: 13px;
        line-height: 1.4;
    }

    .features {
        columns: 1;
        padding-left: 18px;
    }

    .features li {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 14px;
    }

    .finance-box h3 {
        font-size: 20px;
    }

    .finance-box p {
        font-size: 12px;
    }

    .nav-inner {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .nav-center {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-left img {
        height: 45px;
        margin: 0 auto;
        display: block;
    }

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

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

    .featured-grid, .cta-container, .services-grid, .faq-grid, .contact-cards, .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .summary-section, .featured-inventory, .cta-section {
        padding: 40px 15px;
    }
	
	.parallax-content h2, .parallax-services .parallax-content h2 {
    font-size: 28px;
	}

    .parallax-home, .parallax-services {
        background-attachment: scroll;
        height: 250px;
    }

    .form-row {
        flex-direction: column;
    }
	
	.footer-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 25px;
	}

	.footer-column {
		width: 100%;
		max-width: 300px;
	}

     .footer {
        justify-content: center;
        text-align: center;
		align-content: center;
    }

    .footer-section {
        flex: 1 1 100%;
        max-width: 400px;
    }
	
	.footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}
	
	.backToTop {
		right: 15px;
		bottom: 15px;
	}
	
    .backToTop {
		display: block;
		margin: 20px auto 0;
		position: relative;
	}
	
	.footer-column h3 {
		margin-top: 10px;
	}
	
	.deal-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 15px;
	}
		
	.car-card img {
		height: 180px;
		object-fit: cover;
	}	
	
	.deal-info {
		width: 100%;
		max-width: 400px;
	}
	
	.deal-section {
		padding: 40px 15px;
	}
	
	.deal-image {
        width: 100% !important;
        display: flex;
        justify-content: center;
    }

    .deal-image img {
        width: 100% !important;
        max-width: 400px !important;
        height: 180px !important;
        object-fit: cover;
        display: block;
    }
	
	
}



