.tint-generator-container {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

/* Separate containers for Audi and Tesla */
.tint-audi-container {
    /* Audi specific styles can go here */
}

.tint-tesla-container {
    /* Tesla specific styles can go here */
}

.tint-generator-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tint-heading {
    background: #dc2626;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    display: inline-block;
}

.tint-buttons-wrapper {
    margin-bottom: 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.tint-btn {
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    min-width: 80px;
    transition: all 0.3s ease;
}

.tint-btn:hover {
    border:none!important;
    transform: translateY(-4px);
}

.tint-btn.active {
    background: #1f1f1f;
    transform: translateY(-2px);
}

.car-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.car-image {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.tint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.window-tint {
    position: absolute;
    background: rgba(0, 0, 0, 0);
    transition: 0.5s;
}

#windshield {
    top: 12%;
    left: 34%;
    width: 40%;
    height: 25%;
    clip-path: polygon(0% 100%, 35% 15%, 90% 20%, 95% 100%);
    z-index: 1;
}

/* Tesla windshield - adjust these values for your Tesla image */
#windshield-tesla {
  top: 12%;
  left: 34%;
  width: 57%;
  height: 25%;
  clip-path: polygon(-22% 100%, 35% 15%, 90% 44%, 120% 128%);
  z-index: 1;
}
/* Note: Adjust top, left, width, height, and clip-path values above 
   to match the windshield position in your Tesla image */

.percentage-display {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: block;
    z-index: 3;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tint-generator-title {
        font-size: 1.8rem;
    }
    
    .percentage-display {
        font-size: 2.5rem;
        left: 20px;
    }
    
    .tint-buttons-wrapper {
        gap: 10px;
    }
    
    .tint-btn {
        padding: 10px 20px;
        min-width: 70px;
    }
    
    .tint-heading {
        padding: 12px 20px;
        font-size: 14px;
    }
}