@font-face {
    font-family: 'HyundaiSansHead';
    src: url('../fonts/HyundaiSansHead-Regular.eot');
    src: url('../fonts/HyundaiSansHead-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/HyundaiSansHead-Regular.woff2') format('woff2'),
         url('../fonts/HyundaiSansHead-Regular.woff') format('woff'),
         url('../fonts/HyundaiSansHead-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HyundaiSansHead';
    src: url('../fonts/HyundaiSansHead-Bold.eot');
    src: url('../fonts/HyundaiSansHead-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/HyundaiSansHead-Bold.woff2') format('woff2'),
         url('../fonts/HyundaiSansHead-Bold.woff') format('woff'),
         url('../fonts/HyundaiSansHead-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'HyundaiSansHead';
    src: url('../fonts/HyundaiSansHead-Medium.eot');
    src: url('../fonts/HyundaiSansHead-Medium.eot?#iefix') format('embedded-opentype'),
         url('../fonts/HyundaiSansHead-Medium.woff2') format('woff2'),
         url('../fonts/HyundaiSansHead-Medium.woff') format('woff'),
         url('../fonts/HyundaiSansHead-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'HyundaiSansHead';
    src: url('../fonts/HyundaiSansHead-Light.eot');
    src: url('../fonts/HyundaiSansHead-Light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/HyundaiSansHead-Light.woff2') format('woff2'),
         url('../fonts/HyundaiSansHead-Light.woff') format('woff'),
         url('../fonts/HyundaiSansHead-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'HyundaiSansText';
    src: url('../fonts/HyundaiSansText-Regular.eot');
    src: url('../fonts/HyundaiSansText-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/HyundaiSansText-Regular.woff2') format('woff2'),
         url('../fonts/HyundaiSansText-Regular.woff') format('woff'),
         url('../fonts/HyundaiSansText-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HyundaiSansText';
    src: url('../fonts/HyundaiSansText-Medium.eot');
    src: url('../fonts/HyundaiSansText-Medium.eot?#iefix') format('embedded-opentype'),
         url('../fonts/HyundaiSansText-Medium.woff2') format('woff2'),
         url('../fonts/HyundaiSansText-Medium.woff') format('woff'),
         url('../fonts/HyundaiSansText-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'HyundaiSansText';
    src: url('../fonts/HyundaiSansText-Bold.eot');
    src: url('../fonts/HyundaiSansText-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/HyundaiSansText-Bold.woff2') format('woff2'),
         url('../fonts/HyundaiSansText-Bold.woff') format('woff'),
         url('../fonts/HyundaiSansText-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --hyundai-blue: #002c5f;
    --hyundai-black: #000000;
    --hyundai-white: #ffffff;
    --hyundai-sand: #e4dcd3;
    --hyundai-silver: #f6f3f2;
}

body {
    font-family: 'HyundaiSansText', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--hyundai-black);
    background-color: var(--hyundai-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'HyundaiSansHead', sans-serif;
}

/* Layout Styles */
.navbar-hyundai {
    background-color: var(--hyundai-white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--hyundai-silver);
}

.navbar-brand {
    color: var(--hyundai-blue) !important;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 1.5rem;
    text-decoration: none;
}

.section-title {
    color: var(--hyundai-blue);
    font-weight: bold;
    margin-bottom: 2rem;
}

.btn-hyundai {
    font-family: 'HyundaiSansHead', sans-serif;
    background-color: var(--hyundai-blue);
    color: var(--hyundai-white);
    border-radius: 0;
    padding: 0.8rem 2rem;
    font-weight: bold;
    border: none;
    transition: background-color 0.2s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-hyundai:hover {
    background-color: #001a3a;
    color: var(--hyundai-white);
}

.footer {
    background-color: #121416;
    color: white;
    padding: 3rem 0;
    margin-top: 5rem;
}

.alert-hyundai-success {
    background-color: var(--hyundai-silver);
    border: 1px solid var(--hyundai-sand);
    color: var(--hyundai-blue);
    border-radius: 0;
    padding: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Landing Page Styles */
.event-header {
    background-color: var(--hyundai-blue);
    color: var(--hyundai-white);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.event-title {
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.event-info {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.card-vehicle {
    position: relative;
    border: 1px solid var(--hyundai-silver);
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 2rem;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-vehicle:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 44, 95, 0.15);
    border-color: var(--hyundai-blue);
}

.card-vehicle .vehicle-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f6f3f2;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-vehicle:hover .vehicle-img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--hyundai-blue);
    font-weight: bold;
    font-size: 1.25rem;
}

.btn-card-vehicle {
    width: 100%;
}

/* Reservation Page Styles */
.vehicle-info-box {
    background-color: var(--hyundai-silver);
    padding: 2rem;
    border-radius: 0;
    margin-bottom: 2rem;
}

.form-control {
    border-radius: 0;
    border: 1px solid var(--hyundai-sand);
    padding: 0.75rem;
}

.form-control:focus {
    border-color: var(--hyundai-blue);
    box-shadow: none;
}

.time-slot {
    border: 1px solid var(--hyundai-sand);
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.time-slot:hover {
    background-color: var(--hyundai-sand);
}

.time-slot.selected {
    background-color: var(--hyundai-blue);
    color: white;
    border-color: var(--hyundai-blue);
}

.time-slot.disabled {
    background-color: #eee;
    color: #ccc;
    cursor: not-allowed;
}

.btn-hyundai-secondary {
    font-family: 'HyundaiSansHead', sans-serif;
    background-color: var(--hyundai-silver);
    color: var(--hyundai-blue);
    border: 1px solid var(--hyundai-silver);
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    transition: all 0.2s;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-block;
}

.btn-hyundai-secondary:hover {
    background-color: #d1d1d1 !important;
    border-color: #d1d1d1 !important;
    color: var(--hyundai-blue) !important;
}

/* Global button styles */
button,
.btn,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 14px;
    line-height: 2rem;
    font-weight: 500;
}

button:hover,
.btn:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: #607097;
}
