body{
    margin: 0px;
    min-height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: center;
}
/* Homepage Slideshow */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    background-color: rgb(0, 0, 0);
}
.mySlides {
    display: none;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-container iframe {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}
.overlay-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
    color: white;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    font-family: Orbitron;
}
.prev, 
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    z-index: 2;
}
.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover {
    background-color: #898080;
}
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

main{
    margin-left: 20px;
    margin-right: 20px;
}
h1{
    text-align: center;
    font-family: Orbitron;
}
img {
    width: 100%;
    max-width: 500px;
    object-fit: cover;
    vertical-align: middle;
}
.wrapper {
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 5rem;
}
.intro {
    flex: 1;
}

/* Navigation Bar */
.navbar ul{
    list-style-type: none;
    background-color: grey;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
    text-align: center;
    font-family: Orbitron;
}
.navbar a{
    color: white;
    text-decoration: none;
    padding: 15px;
    display: block;
    text-align: center;
}
.navbar a:hover{
    background-color: hsl(0, 0%, 10%);
}
.navbar li{
    display: inline-block;
}
h3 {
    text-align: center;
    font-family: Orbitron;
}
center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}
iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}
u1 {
    text-align: center;
}
h4 {
    text-align: center;
    font-family: Orbitron;
}
p {
    text-align: center;
    font-family: Raleway;
}

/* Contact Page */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
}
:root{
    --primary-color: #ede5e5;
    --primary-dark: #e6d5d5;
    --bg-dark: #a9baaf;
    --text-light: #f3f3f3;
    --text-gray: #f3f4f6;
    --card-bg: #252525;
    --input-bg: #333;
    --border-radius: 10px;
}
.container {
    width: 100%;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}
.form-container {
    background-color: #f3f3f3;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.btn-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.input-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}
.input-field {
    position: relative;
}
.message-field {
    position: relative;
}
.input-field i,
.message-field i{
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 1.1rem;
}
input,textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
}
text {
    height: 150px;
    resize: none;
    margin-bottom: 25px;
}
input:focus,
textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.3);
}
button {
    background-color: rgba(0,0,0,0.3);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--border-radius);
    padding: 16px 30px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}
.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: solid rgb(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}
footer {
    font-family: 'Courier New', Courier, monospace;
}

/* Hero/Image Header */
.hero-header {
 position: relative;
 height: 100vh; /* full screen height */
 background-size: cover;
 background-position: center;
 background-attachment: fixed;
 display: flex;
 align-items: center;
 justify-content: flex-start;
 color: white;
 overflow: hidden;
}

.hero-porsche {
    background-image: url("images/porsche-icon.jpg"); 
}

.hero-ferrari {
    background-image: url("images/ferrari-icon.jpeg"); 
}

.hero-lamborghini {
    background-image: url("images/lamborghini-icon.jpg"); 
}

.hero-header::after {
 content: "";
 position: absolute;
 inset: 0;
 background: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
 z-index: 0;
}

.hero-content {
 position: relative;
 z-index: 1;
 margin-left: 60px;
 max-width: 600px;
}

.hero-title {
 font-family: "Orbitron", sans-serif;
 font-size: 4rem;
 letter-spacing: 4px;
 text-transform: uppercase;
 margin-bottom: 10px;
}

.hero-subtitle {
 font-family: "Raleway", sans-serif;
 font-size: 1.3rem;
 margin-bottom: 25px;
}

.visit-button {
 display: inline-block;
 background-color: #f7c600; /* Lamborghini gold */
 color: #000;
 font-family: "Orbitron", sans-serif;
 font-weight: 700;
 text-decoration: none;
 padding: 14px 32px;
 border-radius: 8px;
 transition: all 0.3s ease;
}

.visit-button:hover {
 background-color: #000;
 color: #f7c600;
 box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-socials {
 position: absolute;
 bottom: 25px;
 left: 60px;
 z-index: 1;
}

.hero-socials a {
 color: #fff;
 margin-right: 15px;
 font-size: 1.4rem;
 transition: color 0.3s ease;
}

.hero-socials a:hover {
 color: #f7c600;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
 .hero-title {
   font-size: 2.5rem;
 }
 .hero-content {
   margin-left: 30px;
 }
 .hero-button {
   font-size: 0.9rem;
   padding: 10px 20px;
 }
}

/* Brand Model Card Grid */
.card-grid {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 40px;
 margin-top: 40px;
}

.card {
 background-color: #fff;
 border-radius: 15px;
 box-shadow: 0 6px 20px rgba(0,0,0,0.2);
 overflow: hidden;
 width: 300px;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
 transform: translateY(-8px);
 box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
}

.card-content {
 padding: 20px;
 text-align: center;
}

.card-content h4 {
 font-family: "Orbitron", sans-serif;
 font-size: 1.2em;
 margin-bottom: 5px;
}

.card-subtitle {
 color: #777;
 font-size: 0.9em;
 margin-bottom: 10px;
}

.card-content p {
 font-size: 0.95em;
 color: #333;
 line-height: 1.4;
}

/* Explore Button */
.explore-btn {
 display: inline-block;
 margin-top: 15px;
 padding: 10px 25px;
 background-color: #f7c600; /* Lamborghini gold */
 color: #000;
 font-family: "Orbitron", sans-serif;
 font-weight: 600;
 text-transform: uppercase;
 text-decoration: none;
 border-radius: 8px;
 transition: all 0.3s ease;
}

.explore-btn:hover {
 background-color: #000;
 color: #f7c600;
 box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
