﻿/* LandingStyles.css */

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

div {
    display: block;
    unicode-bidi: isolate;
}

.hero {
    background-color: #003366; /* dark blue / GM style */
    color: white;
    padding: 60px 20px;
    text-align: center;
}

    .hero h1 {
        font-size: 2.5em;
        margin-bottom: 0.5em;
    }

    .hero p {
        font-size: 1.2em;
        margin-bottom: 1em;
    }


.lower {
    margin: 0;
    border: 0;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
}

    .lower > div {
        height: 45vh;
    }


.title2 {
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
    color: #fff;
    margin: 0;
    border: 0;
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif;
    /*  height: 25px;*/
    background-color: #003366;
}

    .title2:before {
        margin-left: -22vw;
    }

    .title2:after {
        margin-left: 2vw;
    }

    .title2:before, .title2:after {
        position: absolute;
        top: 51%;
        overflow: hidden;
        width: 20vw;
        height: 2px;
        content: '\a0';
        background-color: #fff;
    }


.middle {
    margin: -20px 0 20px 0;
    display: block;
    unicode-bidi: isolate;
}


.chevy {
    background-image: url('img/2025-CHEV-LINEUP.jpg?v=2025-2');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    position: relative;
    cursor: pointer;
    flex: 1;
    box-sizing: border-box;
}

.buick {
    background-image: url('img/2025-BUICK-LINEUP.jpg?v=2025-2');
    background-size: cover;
    background-position: 50% 50%;
    background-position-y: 70%;
    background-repeat: no-repeat;
    position: relative;
    cursor: pointer;
    flex: 1;
    box-sizing: border-box;
}

.gmc {
    background-image: url('img/2025-GMC-LINEUP.jpg?v=2025-2');
    background-size: cover;
    background-position: 50% 50%;
    background-position-y: 70%;
    background-repeat: no-repeat;
    position: relative;
    cursor: pointer;
    flex: 1;
    box-sizing: border-box;
}

.cadillac {
    background-image: url('img/2025-CAD-LINEUP.jpg?v=2025-2');
    background-size: cover;
    background-position: 50% 50%;
    background-position-y: 70%;
    background-repeat: no-repeat;
    position: relative;
    cursor: pointer;
    flex: 1;
    box-sizing: border-box;
}

.car-logo {
    bottom: 11%;
    width: 40%;
    position: absolute;
    left: 30%;
}


.play-now, .play-now-fr {
    position: absolute;
    display: none;
    width: 180px;
    height: 40px;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #555;
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}


.play-now {
    top: 35%;
}

.play-now-fr {
    top: 50%;
}


.form-container {
    background: white;
    max-width: 400px;
    margin: -40px auto 20px auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

    .form-container label {
        display: block;
        margin-bottom: 5px;
        font-weight: 600;
    }

    .form-container .btn-primary {
        background-color: #0071ce;
        border-color: #0059a4;
        width: 100%;
        padding: 10px;
        font-size: 1em;
    }

.footer {
    text-align: center;
    font-size: 0.9em;
    padding: 20px;
    color: #666;
}

/* --- Unified Button Styling for ASP.NET Buttons --- */
asp\:button, 
button, 
input[type="submit"], 
input[type="button"] {
    background-color: #003366;        /* match hero */
    border: 2px solid #00284d;        /* slightly darker border */
    color: #fff;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color .2s ease, transform .15s ease;
}

/* Hover */
asp\:button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #004080;      /* lighter GM blue */
    transform: translateY(-2px);
}

/* Active */
asp\:button:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active {
    background-color: #00264d;      /* darker on click */
    transform: translateY(0);
}

/* Disabled */
asp\:button:disabled,
button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled {
    background-color: #a0aab8;
    border-color: #8892a0;
    cursor: not-allowed;
    transform: none;
}

#btnValidateAuthCode {
	margin-bottom: 1em; 
}

@media (max-width: 768px) {
/* Styles for small screens */
	html, body {
		overflow-x: hidden;
	}
	.title2:before, .title2:after {
		display: none;
	}
	.lower > div {
		height: 50vh;
		width: 100%;
	}
	.lower {
		margin: 0;
		border: 0;
		font-family: Arial, Helvetica, sans-serif;
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		align-content: center;
		justify-content: center;
		align-items: center;
		width: 100vw;
		min-height: 200vh;
	}
}
