@font-face 
{
    font-family: Samsung;
    src: url('fonts/SamsungSharpSans-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face 
{
    font-family: SamsungLight;
    src: url('fonts/SamsungOne-400.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face 
{
    font-family: SamsungLight700;
    src: url('fonts/SamsungOne-700.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body 
{
    margin: 0;
    font-family: Samsung;
}


header 
{
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.headerName 
{
    font-size: 20px;
    font-weight: bold;
    font-family: Samsung;
    background-color: rgb(0, 0, 0);
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    margin: 0;
}

.nav-container 
{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links 
{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.nav-links li 
{
    position: relative;
    display: inline-block;
    margin-right: 30px;
}

.nav-links li:hover 
{
    border-top: 3px solid black;
}

.nav-links .dropdown 
{
    position: relative;
    display: inline-block;
}

.nav-links a 
{
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 18px;
    transition: color 0.3s;
}

.profile-login-container {
    display: flex;
    gap: 10px;
}

.profile-button,
.login-button 
{
    font-family: Samsung;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.profile-button a,
.login-button a 
{
    text-decoration: none;
    color: inherit;
}

.profile-button:hover,
.login-button:hover 
{
    background-color: #555;
}

.center-image 
{
    display: block;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.6s ease forwards;
}

.nav-welcome
{
    text-align: center;
    font-size: 76px;
    font-family: Samsung;
    animation: fadeIn 0.6s ease forwards;
}

.nav-welcome-bot
{
    text-align: center;
    font-size: 24px;
    font-family: Samsung;
    animation: fadeIn 0.6s ease forwards;
}

.nav-section
{
    text-align: center;
    font-size: 50px;
    font-family: Samsung;
    background-color:#1c1c1e;
    color: white;
}

.nav-section-01
{
    text-align: center;
    font-size: 28px;
    font-family: Samsung;
}

.car-table
{
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.car-table td
{
    padding: 10px;
    vertical-align: middle;
}

.stars 
{
    color: #ffd700;
}

.nav-section-02
{
    text-align: center;
    font-size: 18px;
    font-family: SamsungLight;
}

.book-now-button 
{
    font-family: Samsung;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.book-now-button:hover 
{
    background-color: #555;
}

.nav-section-03
{
    text-align: center;
    font-size: 50px;
    font-family: Samsung;
    color: rgb(0, 0, 0);
}

.fade-to-black 
{
    transition: background-color 0.5s ease-in;
    background-color: #ffffff;
}
.fade-to-black.fade 
{
    background-color: #1c1c1e;
}

.team-section 
{
    padding: 20px;
    text-align: center;
}

.team-container
 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.team-box 
{
    border: 1px solid #000000;
    padding: 10px;
    width: 200px;
    text-align: center;
    opacity: 1;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn 
{
    from 
    {
        opacity: 0;
        transform: translateY(20px);
    }

    to 
    {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-box.show 
{
    opacity: 1;
    transform: translateY(0);
}

.team-box img 
{
    width: 100%;
    height: 250px;
}

.team-box h3 
{
    margin: 10px 0 5px 0;
}

.team-box p 
{
    margin: 0;
    font-style: italic;
}

.logo-uitm
{
    max-width: 10px;
    height: 10px;
    filter: blur(25px);
}

.review-box 
{
    display: flex;
    border: 1px solid #ccc;
    border-radius: 15px;
    margin: 20px auto;
    padding: 10px;
    max-width: 600px;
}

.reviewer-img
 {
    flex: 0 0 auto;
    margin-right: 10px;
}

.reviewer-img img 
{
    width: 100px;
    height: 100px;
    border-radius: 25%;
}

.review-content 
{
    flex: 1 1 auto;
}

.review-content p 
{
    margin: 0;
    padding: 0;
}

#scrollToTopButton 
{
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-family: Samsung;
    background-color: #333;
    color: #fff;
    padding: 20px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: medium;
}

#scrollToTopButton:hover 
{
    background-color: #555;
}
.car-table 
{
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.car-table td 
{
    padding: 10px;
    vertical-align: top;
    text-align: center;
}

.car-details 
{
    font-size: 24px;
    padding: 15px;
    text-align: center;
}

.filter-button 
{
    font-family: Samsung;
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.filter-button a
{
    color: white;
    text-decoration: none;
}

.filter-button:hover 
{
    background-color: #0056b3;
}

.center-container 
{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.book-now-button a
{
    color: #000000;
    text-decoration: none;
    display: block;
}


.slideshow-container 
{
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.slides 
{
    display: none;
    width: 100%;
    
}

.slides img 
{
    width: 100%;
    flex: 1;
    transition: opacity 3s ease-in-out;
}

.dot-container 
{
    text-align: center;
}

.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: #717171;
}

.active-slide 
{
    display: block !important;
    opacity: 1 !important;
}

.prev, .next 
{
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next 
{
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover 
{
    background-color: rgba(0,0,0,0.8);
}

.content-about
{
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.highlight-about 
{
    font-weight: bold;
    color: #333;
}

.review-about
{
    margin-top: 20px;
}

.car-details-price
{
    color: #4CAF50;
}

/* <----- Style in Form ----->*/

.form-login
{
    font-family: Samsung;
    width: 300px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"],
select[name="gender"],
input[type="number"],
select[name="state"] {
    font-family: Samsung;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}


input[type="submit"] 
{
    font-family: Samsung;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover 
{
    background-color: #45a049;
}

.greeting-text 
{
    font-size: 20px;
}

.greeting-subtext 
{
    font-size: 16px;
}

center-container 
{
    text-align: center;
    margin-top: 20px;
}

.admin-login-button 
{
    font-family: Samsung;
    background-color: #007BFF; 
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.admin-login-button:hover 
{
    background-color: #0056b3;
}

.admin-login-button a 
{
    color: white;
    text-decoration: none;
}

fieldset 
{
    border: 2px solid #ccc;
    border-radius: 8px; 
    padding: 20px;
    margin-top: 20px; 
}


.legend-about
{
    font-size: 24px; 
    color: #ffffff;
    font-weight: bold; 
    margin-bottom: 10px; 
}

.form-container 
{
    width: 400px;
    margin: 0 auto;
}

.form-container input[type="text"]
{
    width: 100%;
    padding: 10px;
    margin-bottom: 10px; 
    box-sizing: border-box;
}

.form-container div {
    font-size: 18px;
    text-align: left;
}

.form-container input[type="datetime-local"] 
{
    width: calc(50% - 10px);
    display: inline-block;
}

.form-container input[type="datetime-local"]:first-child 
{
    margin-right: 20px;
}
