/*
Theme Name: Opus Autos
Theme URI: http://example.com/
Author: Your Name
Author URI: http://example.com/
Description: A theme for Opus Autos website.
Version: 1.0
*/

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* Add the rest of your CSS code here */
/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body .text-primary {
    color: #A8864C!important;
}
body .btn-primary{
    background: #A8864C!important;
    border-color: #A8864C!important;
}
p{
    color: #ffffff; 
}
/* Custom Secondary Color */
.text-secondary {
    color: #ffffff; /* Custom grey */
}
body {
    font-family: Arial, sans-serif;
    background-color: #464646!important;
    color: #fff;
    line-height: 1.6;
}
body h2{
   font-size: 1.4rem;
}
.page-title,label,h1,h2,h3{
    color: #ffffff;
}
a {
    color: #fff;
    text-decoration: none;
}
.not-found a{
    color: #A8864C;
    text-decoration: none;
}
.not-found a:hover{
    color: #A8864C;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Header */
.main-header {
    background-color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 233px;
    position: relative;
    padding: 0 20px;
    background: linear-gradient(to bottom, #020202, #020202, #252525);
}

.header-left {
    position: absolute;
    top: 16px;
    left: 20px;
    text-transform: uppercase;
    font-size: 14px; /* Set the font size to 14px */
    display: flex;
}

.header-left ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.header-left ul li a,.header-right a{
    color:#fff!important;
}
.header-left ul li a:hover,.header-right a:hover{
    color:#A8864C!important;
}

.header-left ul li {
    position: relative;
    padding-right: 15px;
}

.header-left ul li::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
    margin-left: 10px;
}

.header-left ul li:last-child::after {
    content: "";
}

.header-right {
    position: absolute;
    top: 16px;
    right: 20px;
    display: flex;
    gap: 20px;
    font-size: 14px; /* Set the font size to 14px */
    align-items: flex-start;
    text-transform: uppercase;
}

.header-right a {
    position: relative;
    padding-right: 15px;
}

.header-right a::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
    margin-left: 10px;
}

/*
.header-right a:last-child(-n+2)::after {
    content: "";
}
*/
.header-right a:last-child::after,
.header-right a:nth-last-child(2)::after {
    content: "";
}

.header-right a i {
    margin-right: 5px; /* Adds some space between the icon and text */
    vertical-align: middle; /* Aligns the icon vertically with the text */
}
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.logo img {
    width: 561px;
    height: 107px;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Main Navigation Menu */
.main-nav {
    background-color: #1a1a1a;
    padding: 10px 0;
    text-align: center;
    font-size: 14px; /* Set the font size to 14px */
}

.main-nav ul {
    list-style: none;
    display: inline-block;
    margin: 0;
}

.main-nav ul li {
    display: inline-block;
    margin-right: 20px;
}

.main-nav ul li a {
    color: #fff;
    padding: 10px 10px;
    text-transform: uppercase;
    position: relative;
}

.main-nav ul li a::after {
    content: "|";
    position: absolute;
    right: -14px;
    top: 6px;
    color: #fff;
    margin-left: 10px;
}

.main-nav ul li:last-child a::after {
    content: ""; /* Remove pipe for the last item */
}

.main-nav ul li a:hover {
    background-color: #A8864C;
    color: #000;
    text-decoration: none;
}
.header-left ul li a:hover{
    color: #A8864C;
    text-decoration: none;
}
.header-right a:hover{
    color: #A8864C;
    text-decoration: none;
}

/* Layout */
.full-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
}

/* Main Content (Hero and Brands) */
.full-main {
    flex-grow: 1;
    width: calc(75% - 20px); /* Take 75% of available space */
}

.hero img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
/*

.brands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.brand-card {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    width: calc(33.33% - 20px);
    text-align: center;
}

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

.brand-card span {
    color: #fff;
    font-size: 18px;
    padding: 20px;
}
*/
/* Styling for the brand cards */
/* Styling for the brand cards */
.brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
    padding: 0;
}

.brand-card {
    margin: 15px;
    position: relative;
/*    width: calc(33.33% - 20px); */
    width:327px;
    height: 200px;
    margin-bottom: 20px;
    background-color: #32312e; /* Set background color */
    border-radius: 8px; /* Optional: for rounded corners */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px; /* Set a fixed height for consistency */
}

/* Golden border image */
.brand-card .brand-image {
    position: relative;
    width: 100%;
    height: 100%;
/*     padding: 30px; */
    box-sizing: border-box;
    background: url('https://millionaireschoice.com/wp-content/themes/millionaireschoice/images/golden-border.png') no-repeat center center;
    background-size: contain;
}

/* Ensure the images fit within the card, with padding and object-fit */
.brand-card img {
    width: 100%; /* Full width of the card */
    height: 100%; /* Full height of the card */
    object-fit: contain; /* Ensures image is contained within the card */
    padding: 12px; /* Add padding around the image */
    box-sizing: border-box; /* Include padding in the width/height */
    z-index: 1; /* Ensure image is above the border */
}
.brand-card:hover {
    transform: translateY(-3px); /* Moves the card up slightly */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Adds a shadow for depth */
}
/* Sidebar (Find Car Section) */
/*
.find-car {
    background-color: #32312e;
    padding: 20px;
    margin-top: 30px;
    width: 25%;  Take 25% of the available space 
    border-radius: 10px;
}

.find-car-box button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #A8864C;
    border: none;
    cursor: pointer;
}

.find-car-box button:hover {
    background-color: #f0c30d;
}

.find-car-box select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

.partners {
    margin-top: 20px;
}

.partners select {
    width: 100%;
    padding: 10px;
}
*/
/* Sidebar (Find Car Section) */
.find-car {
    background-color: #32312e;
    padding: 20px;
    margin-top: 30px;
    width: 25%; /* Take 25% of the available space */
    border-radius: 10px;
}

.car-tabs {
    display: flex;
    margin-bottom: 10px;
}

.car-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    background-color: #A8864C;
    border: none;
    cursor: pointer;
}

.car-tab.active {
    background-color: #f0c30d;
}

.car-tab:not(:last-child) {
    margin-right: 5px;
}

.car-tab:hover {
    background-color: #f0c30d;
}

.find-car-box select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

.partners {
    margin-top: 20px;
}

.partners select {
    width: 100%;
    padding: 10px;
}





/* Footer */
/*
footer {
    background-color: #000;
    padding: 20px;
    text-align: center;
    color: #fff;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    padding: 0 10px;
}

.footer-contact {
    margin-top: 10px;
}

.footer-contact p {
    margin: 0;
}
*/

.footer {
    background-color: #020202;
    padding: 40px 0;
    color: #fff;
    text-align: center;
    font-family: 'Arial', sans-serif;
    margin-top: 40px;
    border-top: 1px solid #252525;
}

/* Footer Links */
.footer__links {
    margin-bottom: 30px;
}

.footer__link {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;  /* Makes the links uppercase */
    margin: 0 20px;
    font-size: 14px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer__link::after {
    content: "|";  /* Adds the vertical separator */
    color: #fff;
    margin-left: 20px;
    position: absolute;
    right: -20px; /* Adjust position of the separator */
}

.footer__link:last-child::after {
    content: ""; /* Remove the separator from the last link */
}

.footer__link:hover {
    color: #ffda44;
    text-decoration: none;
}

.footer__link:hover::after {
    color: #ffda44;  /* Changes the separator color on hover */
}

/* Footer Contact Section */
.footer__contact {
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.8;
}

.footer__contact-info {
    margin: 0;
    padding: 0;
}

.footer__email {
    color: #ffda44;
    text-decoration: none;
}

.footer__email:hover {
    text-decoration: underline;
}

.footer__phone {
    color: #ffda44;
    text-decoration: none;
}

.footer__phone:hover {
    text-decoration: underline;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .footer__links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .footer__link {
        margin: 5px 15px;
    }

    .footer__contact-info {
        font-size: 12px;
        text-align: center;
        line-height: 1.6;
    }
}


/* Responsive Styling */
@media (max-width: 768px) {
    .footer__links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }

    .footer__link {
        margin: 5px;
    }

    .footer__contact-info {
        font-size: 12px;
        text-align: center;
    }
}



/* Main Navigation Menu */

.main-nav-mobile {
    background-color: #1a1a1a;
    padding: 10px 20px;
    position: relative;
    display: none;
    justify-content: space-between;
    align-items: center;
}



/* Hamburger Icon */
.nav-toggle {
    display: none; /* Hide by default */
    cursor: pointer;
    position: relative;
    width: 35px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    padding: 5px;
}

/* Styling for the bars */
.nav-toggle .bar {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #fff; /* Change color to suit your design */
    border-radius: 5px;
    transition: 0.3s;
}

/* Mobile styles */
/* Mobile styles */
@media screen and (max-width: 768px) {
    .main-nav-mobile {
    background-color: #1a1a1a;
    padding: 10px 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    .main-nav{
        display: none;
    }
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        display: none; /* Hidden by default */
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        background-color: #1a1a1a;
        padding: 10px 20px;
        border-radius: 10px;
        text-transform: uppercase;
    }

    .nav-list li {
        display: block;
        margin: 10px 0;
    }

    /* Only display the menu when the .active class is added */
    .nav-list.active {
        display: flex;
        z-index: 5;
    }

    .nav-list li a {
        color: #fff;
        text-align: center;
        padding: 10px;
    }

    .nav-list li a:hover {
        background-color: #A8864C;
        color: #000;
    }
}



/* Responsive Styles */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .find-car {
        max-width: 100%;
        width: 100%; /* Full width for smaller screens */
    }

    .full-main {
        width: 100%; /* Full width for main content */
    }

    .brands{
       justify-content: center;
    }
/*
    .brand-card {
       
        width:327px;
    height: 200px;
    }
*/
    
     .brand-card {
        width: 100vw; /* Adjust size based on viewport width */
        height: calc(80vw * (200 / 327)); /* Maintain the aspect ratio */
    }
    
    .logo{
        width: 70%;
        margin-top: 40px;
    }
    .main-header {
    height: 170px;
    }

}


.container {
    width: 100%;
    max-width: 1200px; /* Set the maximum width of the container */
    margin: 0 auto; /* Center the container horizontally */
    padding: 0 15px; /* Add padding to the left and right */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    padding: 40px 20px;
    min-height: 500px;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%; /* Allow full width on smaller screens */
        padding: 40px 20px;
        min-height: 500px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 960px; /* Set a max-width for medium devices */
        padding: 40px 20px;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px; /* Set a max-width for tablets */
        padding: 40px 20px;
        min-height: 500px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%; /* Full width for mobile devices */
        padding: 40px 20px;
        min-height: 500px;
    }
    .header-left{
        font-size: 10px;
        display: block;
    }
    .header-right{
        font-size: 10px; 
    }
    .footer__social-links a{
    font-size: 16px;
}
    .only-for-web {
        display: none;
    }
    .mobile-social-hide{
    display: none;
}
    .web-social-hide{
    display: block!important;
}
    body h1{
        font-size: 1.7rem;
    }
	body{
        font-size:.9rem!important;
    }
    
}



@media (min-width: 1032px) and (max-width: 1500px) {
      .brand-card {
        width: 20vw; /* Adjust size based on viewport width */
        height: calc(20vw * (200 / 327)); /* Maintain the aspect ratio */
    }
    .brand-card img{
        padding: 5px;
    }
}


body.modal-open {
    padding-right: 0px !important; /* Removes the right padding */
}
body.modal-close {
    padding-right: 0px !important; /* Removes the right padding */
}

.icon-label,.icon-value{
    text-transform: uppercase;
}
.web-social-hide{
    display: none;
}
.footer__social-links a{
    font-size: 18px;
    color: #A8864C;
    margin-left: 6px;
}
.footer__social-links a:hover{color: #fff;}
.modal-body,.modal-header{ background-color: #464646;}
.modal-title{color: #fff;}
.modal-header {
    border-bottom: 3px solid #A8864C!important;
}






/* Style for search input */
#search-container {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

#search-container input[type="text"] {
    padding: 8px;
    width: 140px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#search-container button {
    padding: 8px 10px;
    background-color: #32312e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#search-container button:hover {
    background-color: #555;
}




/* Slider Wrapper */
.product-slider-wrapper {
    margin-top: 20px;
}

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

.thumbnail-slider {
    margin-top: 10px;
}

.thumbnail-slide {
    padding: 5px;
}

.thumbnail-slide img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border: 2px solid #ddd;
}

.thumbnail-slide.slick-current img {
    border-color: #A8864C; /* Highlight the active thumbnail */
}

.footer__link:last-of-type::after {
    content: "";
}
.slick-prev {
    left: 10px!important;
    z-index: 1;
}
.slick-next {
    right: 10px!important;
    z-index: 1;
}
/*
.only-for-web{
    display: block;
}*/


@media (max-width: 768px) {
    .footer-buttons a, 
    .footer-buttons button {
        display: block; /* Make buttons block-level on mobile */
        margin-bottom: 10px; /* Add space between buttons */
    }
    .footer__link::after {
    right: -10px;
    }
    .icon-label, .icon-value {
    width: 160px;
    }
}

/* For tablets and larger screens, keep them inline */

.btn{
    text-transform: uppercase;
}
.modal-header .close{
    margin-top: -31px!important;
    color: #fff!important;
}


.subcategory-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px; /* Adjust based on the desired height for the text area */
   background-color: rgb(0 0 0 / 38%);
}

.subcategory-name a {
    font-size: 16px; /* Adjust the font size */
    font-weight: bold; /* Make it bold */
    color: #fff; /* Text color */
    text-decoration: none;
}

.subcategory-name a:hover {
    color: #A8864C; /* Change color on hover */
    text-decoration: underline;
}
.wp-block-list{margin-left: 30px;}


.input-group-text {
    background-color: transparent; /* Make background transparent */
    border: none; /* Remove border */
}
.input-group {
    position: relative; /* Make the input group relative */
}

.input-group-text {
    position: absolute; /* Position the icon absolutely */
    right: 10px; /* Position it to the right */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust vertical position */
    border: none; /* Remove the border */
    background: transparent; /* Make background transparent */
    cursor: pointer; /* Change cursor to pointer */
    z-index: 10; /* Bring icon above the input */
}

.buy-online-button {
    background-color: #A8864C;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.buy-online-button:hover {
    background-color: #7c6337;
}
