

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #212121; /* Metallic black background */
}

/* Header Styles */
.header {
    background-color: #1a1a1a !important; /* Darker metallic black */
    color: #fff !important; /* White text */
    padding: 20px 0 !important;
    text-align: center !important;
    background-image: url('images/img1.jpg'); /* Replace 'image.jpg' with your image file */
    background-size: cover ; /* Scale the image to cover the entire container */
    background-position: center; /* Center the image horizontally and vertically */
}

.logo {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px #fff; /* Add a subtle shine to the logo */
}

.nav {
    background-color: rgba(0, 0, 0, 0.5); /* Vibrant gradient: Red to Yellow */
    padding: 15px;
    text-align: center;
    border-radius: 20px; /* Keep the border radius to maintain the pill-like design */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Keep the subtle shadow for depth */
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Make the list items display as a flex container */
    justify-content: center; /* Center the list items */
}

.nav ul li {
    margin: 0 30px; /* Adjust the spacing between navigation items */
}

.nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 10px 20px;
    font-size: 18px;
}

.nav ul li a:hover {
    color: #e6aeae; /* Hover effect with black */
    font-size: 1.2em;
    transform: scale(1.1);
}

/* Popup effect on click */
.nav ul li a:active {
    position: relative;
    top: 2px;
    left: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: #1f1e1d; /* Yellow background */
    padding: 10px;
    border-radius: 10px;
    animation: popup 0.5s;
}


@keyframes popup {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logopic {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0;
    width: 40px;
    height: 40px;
}

.logopic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20%; /* Add a circular shape to the logo image */
}

.logopic {
    background-color: #50504e; /* Yellow bubble effect */
    border-radius: 90%;
    padding: 10px; /* Add some padding to create a bubble effect */
    animation: float 3s ease-in-out infinite; /* Add animation to make it float */
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}
.logopic {
    box-shadow: 0 0 10px rgba(219, 219, 215, 0.5); /* Add a yellow box shadow */
}

.heading {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 60px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff; /* White text */
    text-shadow: 0 0 10px #fff; /* Add a subtle shine to the heading */
}

.tagline {
    text-shadow: none !important;
}

.tagline .drifting {
    color: #ffd700; /* Golden yellow color */
    display: none;
}

.tagline .racing {
    display: inline;
}

.tagline:hover .racing {
    display: none;
}

.tagline:hover .drifting {
    display: inline;
}

/* Add animation classes */
.animate-up {
    animation: animate-up 1s infinite;
}

@keyframes animate-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

.animate-down {
    animation: animate-down 1s infinite;
}

@keyframes animate-down {
    0% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.book-ticket {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 30px; /* Increase the padding to make the button wider */
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px; /* Keep the border radius to make the button rounded */
    width: auto; /* Set the width to auto to make the button flexible */
    display: inline-block; /* Make the button an inline-block element to allow it to expand horizontally */
}

.book-ticket:hover {
    background-color: #0069d9;
}

/* Hero Section */
.hero {
    color: #fff; /* White text */
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.hero-text {
    position: relative; /* Add this */
    z-index: 1; /* Add this */
    text-align: center;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #fff; /* Add a subtle shine to the hero title */
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc; /* Light gray text for better contrast */
}

.btn {
    background-color: #fff; /* White button with a metallic sheen */
    color: #1a1a1a; /* Metallic black text */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;}
    .tagline .drifting {
        color: #ffd700; /* Golden yellow color */
        display: none;
    }
    
    .tagline .racing {
        display: inline;
    }
    
    .tagline:hover .racing {
        display: none;
    }
    
    .tagline:hover .drifting {
        display: inline;
    }
    
    /* Add animation classes */
    .animate-up {
        animation: animate-up 1s infinite;
    }
    
    @keyframes animate-up {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(-10px);
        }
    }
    
    .animate-down {
        animation: animate-down 1s infinite;
    }
    
    @keyframes animate-down {
        0% {
            transform: translateY(-10px);
        }
        100% {
            transform: translateY(0);
        }
    }
    .tagline .racing {
        transition: display 0.5s, transform 0.5s;
    }
    
    .tagline .drifting {
        transition: display 0.5s, transform 0.5s;
    }
    
/* About Section */
.about {
    padding: 50px 0;
    text-align: center;
    background-color: #1a1a1a; /* Darker metallic black */
}

.about h2 {
    font-size: 2.5rem;
    color: #fff; /* White text */
    text-shadow: 0 0 10px #fff; /* Add a subtle shine to the about title */
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #ccc; /* Light gray text for better contrast */
}

/* Footer Section */
.footer {
    background-color: #1a1a1a; /* Darker metallic black */
    color: #fff; /* White text */
    padding: 20px 0;
    text-align: center;
}

.heading-container {
    perspective: 1000px;
    perspective-origin: 50% 50%;
}

.letter {
    position: relative;
    display: inline-block;
    transform: translateZ(-100px);
    opacity: 1;
}

.letter.active {
    transform: translateZ(0);
    opacity: 1;
    transition: transform 0.5s, opacity 0.5s;
}
#back-to-top {
    position: fixed;
    bottom: 20px; /* changed from bottom: 20px */
    right: 20px; /* changed from right: 30px */
    z-index: 99;
    cursor: pointer;
    width: 60px;
    height: 100px;
    display : flex; 
    align-self: flex-start;
  }

  
  
  #back-to-top:hover {
    background-color: #555;
  }

 .book-ticket {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
}

.book-ticket:hover {
    background-color: #0069d9;
}

.book-ticket.vibrate-1 {
    -webkit-animation: vibrate-1 1s linear infinite both;
    animation: vibrate-1 1s linear infinite both;
}

@-webkit-keyframes vibrate-1 {
    0% {
        -webkit-transform: translate(0);
        transform: translate(0);
    }
    20% {
        -webkit-transform: translate(-2px, 2px);
        transform: translate(-2px, 2px);
    }
    40% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px);
    }
    60% {
        -webkit-transform: translate(2px, 2px);
        transform: translate(2px, 2px);
    }
    80% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px);
    }
    100% {
        -webkit-transform: translate(0);
        transform: translate(0);
    }
}

@keyframes vibrate-1 {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

/* Hero Section */
.hero {
    color: #fff; /* White text */
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.hero-text {
    width: 50%;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #fff; /* Add a subtle shine to the hero title */
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc; /* Light gray text for better contrast */
}

/* About Section */
.about {
    padding: 50px 0;
    text-align: center;
    background-color: #1a1a1a; /* Darker metallic black */
}

.about h2 {
    font-size: 2.5rem;
    color: #fff; /* White text */
    text-shadow: 0 0 10px #fff; /* Add a subtle shine to the about title */
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #ccc; /* Light gray text for better contrast */
}

/* Footer Section */
.footer {
    background-color: #1a1a1a; /* Darker metallic black */
    color: #fff; /* White text */
    padding: 20px 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
}

.back-to-top img {
    width: 40px;
}

.typing-text {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    overflow: hidden;
    white-space: nowrap;
}

.racing-car {
    position: relative;
    width: 100px;
    height: 50px;
    margin-top: 20px;
}

.racing-car img {
    width: 100%;
    height: 100%;
}

.smoke {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0;
}

.smoke.show {
    opacity: 1;
    animation: smoke 1s ease-out;
}

@keyframes smoke {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(5);
    }
}

/* Style for the image container */
.hero-3d {
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 50px;
    padding-right: 20%;
}

.thumbnail {
    width: 300px;
}


/* Card Flip Animation */
.card-container {
    display: flex;
    justify-content: space-evenly;
    gap: 20px; /* Space between cards */
    padding: 20px;
}

.card {
    width: 500px;
    height: 600px;
    perspective: 1000px; /* Give the container perspective for the 3D effect */
}

.card .text-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-weight: normal;
    padding: 15px;
}
.card .text{
    color:#000;
}
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d; /* Ensure 3D transformation for the card */
    transition: transform 0.8s ease-in-out; /* Smooth transition when flipping */
}

.card:hover .card-inner {
    transform: rotateY(180deg); /* Flip the card when hovered */
}

.card-front, .card-back {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hide the back of the card when not flipped */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}

.card-front {
    background-color: #ffffff; /* Yellow front */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000; /* Black text */
}

.card-back {
    position: relative;
    background-color: #1a1a1a; /* Dark metallic black for the back */
    transform: rotateY(180deg); /* Rotate the back so it's hidden initially */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff; /* White text */
    padding: 20px;
    text-align: center;
}

a.cover-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav ul li {
        margin: 0 10px; /* Adjust the spacing between navigation items on smaller screens */
    }

    .hero {
        flex-direction: column;
        padding: 0 20px;
    }

    .hero-text h2 {
        font-size: 2.5rem; /* Smaller font size for hero title */
    }

    .hero-text p {
        font-size: 1rem;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%; /* Full width cards on smaller screens */
        max-width: 300px; /* Limit the maximum width of the cards */
    }
}

