/* Custom CSS for Idiot Drivers website */

/* Footer Styling */
.bg-image {
    background-image: url('../images/bg-images.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.bg-image .container {
    position: relative;
    z-index: 1;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}

.social-icons {
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #ff5252;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.newsletter {
    display: flex;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.mybtn {
    border-radius: 0 4px 4px 0;
    padding: 10px 15px;
}

.footer-bottom {
    background-color: #111;
    color: #fff;
}

.footer-bottom a {
    color: #ff5252;
    text-decoration: none;
}

.address {
    color: #ccc;
    font-size: 0.9rem;
}

/* Cards and Sections */
.sub-heading {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}
.sub-heading-home {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ff5252;
}

.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-card img {
    height: 200px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff5252;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* How It Works Section */
.step-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: #f8f9fa;
    height: 100%;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #ff5252;
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Idiot of the Week Section */
.idiot-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.idiot-card img {
    height: 300px;
    object-fit: cover;
}

.idiot-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.idiot-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.idiot-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #666;
}

.idiot-meta i {
    color: #ff5252;
}

/* Navigation Styling */
.nav-item .dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 10px 0;
    margin-top: 10px;
}

.nav-item .dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.nav-item .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #ff6900;
}

.nav-item .dropdown-divider {
    margin: 5px 0;
    border-top: 1px solid #eee;
}

.nav-item .badge {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 10px;
    margin-left: 5px;
    background-color: #ff6900;
    color: white;
}

.nav-item .dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 5px;
}

@media (max-width: 991px) {
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        margin: 5px 0;
        text-align: center;
    }
    
    .nav-item .dropdown-menu {
        position: static !important;
        width: 100%;
        margin-top: 5px;
        text-align: center;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .big-heading {
        font-size: 2.5rem;
    }
    
    .welcomtext {
        font-size: 2rem;
    }
    
    .step-card {
        margin-bottom: 1.5rem;
    }
}

.btn-primary {
    background-color: #ff5252;
    border-color: #ff5252;
}

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

.btn-outline-primary {
    color: #ff5252;
    border-color: #ff5252;
}

.btn-outline-primary:hover {
    background-color: #ff5252;
    border-color: #ff5252;
}
