.carousel {
    max-width: 500px; /* Set max-width for desktop */
    width: 100%;      /* Allow to shrink on mobile */
    margin: 0 auto;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
}
.slick-slide  {
    width: 100%; /* Slides should fill the carousel container */
    height: auto;
}

@font-face {
    font-family: 'Krungthep';
    src: url('/static/Krungthep.ttf') format('truetype');
    font-weight: normal;
    font-style: normal; 
}
/* --- General Body and Typography --- */
body {
    background-color: #1e171f; 
    color: #f0f0f0; 
    font-family: 'Krungthep', sans-serif;
    margin: 0;
    padding: 0;
}

/* --- Header --- */
header {
    text-align: center;
    padding: 2rem 1rem;
    border-top: 2px solid #5d35b1; /* A medium purple line */
    margin-bottom: 2rem;
    /* border-bottom:  1px solid #333; */
}

header h1 {
    color: #0000ff; /* A vibrant blue */
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 3px 3px 0px #9D38E1; /* Adds a subtle glow and a displaced purple shadow */
}
header h2 {
    color: #0000ff; /* A vibrant blue */
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 0px #9D38E1; /* Adds a subtle glow and a displaced purple shadow */
    border: none;
}

header p {
    font-size: 1.1rem;
    margin: 0.5rem 0 0 0;
    color: #b0b0b0; /* Lighter grey for subtitle */
}

#description {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

/* #hardware {
    padding-top: 2rem;
} */

/* --- Main Content Layout --- */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* This is the flex container for the two main columns */
main > div:first-of-type {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start; /* Align items to the top */
}

/* Each column */
main > div:first-of-type > div {
    flex: 1 1 50%; /* Each column takes up to 50% of the space */
}

/* --- Left Column (Image & Hardware) --- */
.carousel img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #333;
}

/* Styling for the slick carousel dots to match the theme */
/* .slick-dots li button:before {
    font-size: 10px;
    color: #e0e0e0;
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    color: #9D38E1;
    opacity: 1;
} */

/* General H2 style for "HARDWARE" and "FEATURES" */
h2 {
    color: #9D38E1; /* Vibrant purple from the image */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1.5rem;
    margin-top: 2rem; /* Spacing above the titles */
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

/* Hardware List */
ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
    line-height: 1.6;
}

ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

ul li::before {
    content: '•'; /* Custom bullet */
    color: #9D38E1; /* Purple bullet */
    font-weight: bold;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Right Column (Features) --- */
/* Each individual feature block */
main > div:first-of-type > div:last-child > div {
    display: flex;
    align-items: flex-start; /* Align icon with the top of the text */
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Using pseudo-elements to add the purple icons */
/* Note: Emojis are used as stand-ins for the actual icons in the image. */
main > div:first-of-type > div:last-child > div::before {
    display: inline-block;
    color: #9D38E1;
    font-weight: bold;
    line-height: 1.5; /* Align vertically with the heading */
    font-size: 1.2rem;
    min-width: 25px; /* Reserve space for the icon */
    text-align: center;
}

/* Assigning content for each pseudo-element "icon" */
main > div:first-of-type > div:last-child > div:nth-of-type(1)::before { content: '⌨️'; }
main > div:first-of-type > div:last-child > div:nth-of-type(2)::before { content: '📋'; }
main > div:first-of-type > div:last-child > div:nth-of-type(3)::before { content: '🎚️'; }
main > div:first-of-type > div:last-child > div:nth-of-type(4)::before { content: '🎧'; }
main > div:first-of-type > div:last-child > div:nth-of-type(5)::before { content: '👆'; }
main > div:first-of-type > div:last-child > div:nth-of-type(6)::before { content: '📖'; }
main > div:first-of-type > div:last-child > div:nth-of-type(7)::before { content: 'AB'; font-size: 1rem; } /* Special case for the text icon */


/* Feature headings */
h3 {
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    color: #ffffff;
}


.manual h3 {
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    color: #629ec1;
}

/* Feature descriptions */
main > div:first-of-type > div:last-child > div p {
    margin: 0;
    color: #b0b0b0; /* Lighter grey for descriptions */
    line-height: 1.4;
    font-size: 0.95rem;
}

/* --- Responsive Design for smaller screens --- */
@media (max-width: 900px) {
    main > div:first-of-type {
        flex-direction: column;
        gap: 1rem;
    }
    #description {
        text-align: center;
    }
    .carousel {
        width: 80vw;
    }
}

/* --- Contact Form --- */
#contact form {
    border: 2px solid #9D38E1; /* Purple border */
    padding: 2rem;
    border-radius: 8px;
    background-color: #1a1a1a; /* Dark background for the form */
}

#contact label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e0e0e0; /* Off-white for labels */
    font-family: 'Krungthep', sans-serif;
}

#contact input[type="email"],
#contact textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid #4a4a4a; /* Dark grey-purple border */
    background-color: #2a2a2a; /* Dark grey-purple background */
    color: #e0e0e0; /* Off-white text */
    border-radius: 4px;
    font-family: 'Krungthep', sans-serif;
}

#contact button[type="submit"] {
    background-color: #9D38E1; /* Purple background */
    color: #ffffff; /* White text */
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Krungthep', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#contact button[type="submit"]:hover {
    background-color: #7f2dbf; /* Darker purple on hover */
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-nav .nav-.video {
    width: 100px;
    height: 100px;
}

.slider-nav .nav-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    border-radius: 16px;
}