/* Tinting Section Styles */

.tint-section {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    background-image: url('https://raw.githubusercontent.com/Prado-Design/FiveStarWindowTinting/refs/heads/main/images/Sun%20Glare.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.3fr 0.4fr 0.3fr;
    gap: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    /* Full viewport width - no container constraints */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.tint-section .container {
    /* Override container styles for this section */
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
    display: contents; /* Make container transparent to grid layout */
}

.tint-section .header {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    font-family: 'Orbitron', sans-serif;
    font-weight: normal;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    color: #ffffff;
    font-size: clamp(24px, 4vw, 48px);
    text-align: center;
    line-height: normal;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    max-height: 30vh;
}

.tint-section .vehicle {
    grid-area: 2 / 1;
    background-image: url('https://raw.githubusercontent.com/Prado-Design/FiveStarWindowTinting/refs/heads/main/images/Vehicle.png');
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    height: 100%;
    width: 100%;
    overflow: visible;
    max-height: 40vh;
    position: relative;
    padding: 0;
    margin: 0;
}

.tint-svg {
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: none;
    object-position: center;
    padding: 0;
    margin: 0;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.tint-path {
    transition: fill-opacity 0.3s ease;
}

.tint-section .controls {
    grid-area: 3 / 1;
    position: relative;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    max-height: 35vh;
    min-height: 200px;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.controls-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    position: relative;
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 0;
    margin: 0;
}

.controls-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
    height: 100%;
    max-height: none;
}

.tint-adjuster {
    height: 140px;
    position: relative;
    flex-shrink: 0;
    width: 318px;
    max-height: none;
    padding: 0;
    margin: 0;
}

.tint-adjuster-content {
    display: flex;
    flex-direction: column;
    height: 140px;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 0;
    margin: 0;
    position: relative;
    width: 318px;
    max-height: 100%;
}

.frame3 {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    padding: 0;
    margin: 0;
}

.frame3-content {
    display: flex;
    flex-direction: row;
    font-weight: normal;
    gap: 6px;
    align-items: center;
    justify-content: flex-start;
    line-height: 0;
    padding: 0;
    margin: 0;
    position: relative;
    color: #ffffff;
    text-align: left;
    width: 100%;
}

.tint-label {
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans', sans-serif;
    height: 100%;
    font-style: italic;
    justify-content: flex-end;
    position: relative;
    flex-shrink: 0;
    font-size: 20px;
    width: 209px;
    white-space: nowrap;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.tint-label p {
    display: block;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 0;
}

.tint-value {
    flex-basis: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans', sans-serif;
    flex-grow: 1;
    height: 100%;
    justify-content: flex-end;
    min-height: 1px;
    min-width: 1px;
    position: relative;
    flex-shrink: 0;
    font-size: 48px;
    white-space: nowrap;
    text-align: left;
    padding: 0;
    margin: 0;
}

.tint-value p {
    display: block;
    line-height: 1.1;
    white-space: nowrap;
    text-align: left;
    margin: 0;
    padding: 0;
}

.tint-disclaimer {
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    flex-shrink: 0;
}

.tint-disclaimer p {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
    margin: 0;
    padding: 0;
    max-width: 280px;
    margin: 0 auto;
}

.level-adjuster {
    height: 80px;
    position: relative;
    flex-shrink: 0;
    width: 100%;
    padding: 0;
    margin: 0;
}

.minus-button {
    position: absolute;
    bottom: 24.419%;
    left: 0;
    right: 86.163%;
    top: 24.419%;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 0;
    margin: 0;
}

.minus-button:hover {
    opacity: 0.8;
}

.plus-button {
    position: absolute;
    bottom: 24.419%;
    left: 86.163%;
    right: 0;
    top: 24.419%;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 0;
    margin: 0;
}

.plus-button:hover {
    opacity: 0.8;
}

.tint-bars {
    position: absolute;
    bottom: 0;
    left: 13.836%;
    right: 13.836%;
    top: 0;
    padding: 0;
    margin: 0;
}

.tint-bars-inner {
    position: absolute;
    bottom: -1.163%;
    left: -0.681%;
    right: -0.681%;
    top: -1.163%;
    padding: 0;
    margin: 0;
}

.svg-container {
    display: block;
    width: 100%;
    height: 70%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .tint-section .header {
        font-size: clamp(20px, 6vw, 60px);
        padding: 0;
        margin: 0;
    }
    
    .tint-section .controls {
        max-height: 40vh;
        min-height: 180px;
    }
    
    .controls-content {
        gap: 2px;
    }
    
    .tint-disclaimer p {
        font-size: 10px;
        max-width: 260px;
    }
    
    .frame3-content {
        gap: 4px;
    }
    
    .tint-adjuster {
        width: 300px;
        height: 120px;
        max-height: none;
    }
    
    .tint-adjuster-content {
        width: 300px;
        height: 120px;
        max-height: none;
    }
    
    .level-adjuster {
        height: 70px;
        width: 100%;
    }
    
    .tint-label {
        width: 190px;
        font-size: 16px;
    }
    
    .tint-value {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .tint-section .header {
        font-size: clamp(16px, 5vw, 40px);
        padding: 0;
        margin: 0;
    }
    
    .tint-section .controls {
        max-height: 45vh;
        min-height: 160px;
    }
    
    .controls-content {
        gap: 1px;
    }
    
    .tint-disclaimer p {
        font-size: 9px;
        max-width: 240px;
    }
    
    .frame3-content {
        gap: 3px;
    }
    
    .tint-adjuster {
        width: 280px;
        height: 110px;
        max-height: none;
    }
    
    .tint-adjuster-content {
        width: 280px;
        height: 110px;
        max-height: none;
    }
    
    .level-adjuster {
        height: 65px;
        width: 100%;
    }
    
    .tint-label {
        width: 170px;
        font-size: 14px;
    }
    
    .tint-value {
        font-size: 28px;
    }
}

@media (max-width: 360px) {
    .tint-section .header {
        font-size: clamp(14px, 4vw, 32px);
        padding: 0;
        margin: 0;
    }
    
    .tint-section .controls {
        max-height: 50vh;
        min-height: 140px;
    }
    
    .tint-disclaimer p {
        font-size: 9px;
        max-width: 220px;
    }
    
    .frame3-content {
        gap: 2px;
    }
    
    .tint-adjuster {
        width: 260px;
        height: 100px;
        max-height: none;
    }
    
    .tint-adjuster-content {
        width: 260px;
        height: 100px;
        max-height: none;
    }
    
    .level-adjuster {
        height: 60px;
        width: 100%;
    }
    
    .tint-label {
        width: 150px;
        font-size: 12px;
    }
    
    .tint-value {
        font-size: 24px;
    }
}