/**
 * Inline Styles
 * CSS rules that were previously inline in the HTML
 */

/* Navigation Links Styling */
.otherLinks li {
    border: solid 1px black;
    border-radius: 5px;
    margin: 20px;
}

.otherLinks a {
    padding: 10px;
    text-align: center;
}

.mmLinks a {
    border: solid 1px black;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
    line-height: 5;
}

.mmLinks section {
    padding: 5px !important;
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    background: #fff;
    height: 30vh;
    min-height: 300px;
    max-height: 30vh;
}

/* Slides */
.mySlides {
    display: none;
    padding: 80px;
    text-align: center;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 60%;
    width: auto;
    margin-top: -30px;
    padding: 16px;
    color: #888;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    position: absolute;
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

/* The dot/bullet/indicator container */
.dot-container {
    text-align: center;
    padding: 1vh;
    background: #fff;
    height: 5vh;
    border-bottom: 1px solid black;
    display: none;
}

/* The dots/bullets/indicators */
.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;
}

/* Add a background color to the active dot/circle */
.active,
.dot:hover {
    background-color: #717171;
}

/* Add an italic font style to all quotes */
q {
    font-style: italic;
}

/* Add a blue color to the author */
.author {
    color: cornflowerblue;
}

b {
    font-weight: 700;
}

/* Accordion Styles */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 25px;
    transition: 0.4s;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
    margin-bottom: 20px;
}

.accordion.active,
.accordion:hover {
    background-color: #ccc;
}

.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.accordion.active:after {
    content: "\2212";
}

/* SEO-friendly hidden text for screen readers and search engines */
.seo-hidden {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

/* Loading Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #666;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2371e4;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

/* 3D Model Loading States */
.model-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-direction: column;
}

.model-loading .spinner {
    width: 40px;
    height: 40px;
    border-width: 4px;
}

/* Iframe Placeholder Styling */
.iframe-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #6c757d;
    font-size: 14px;
    height: 400px;
    min-height: 400px;
    transition: opacity 0.3s ease;
}

.lazy-iframe[data-loaded="true"] .iframe-placeholder {
    display: none;
}

