﻿/* Global Styles */
@font-face {
    font-family: 'Oswald-Medium';
    src: url('../fonts/Oswald-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Global Font */
body {
    font-family: 'Oswald-Medium', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#main-content {
    min-height: 100vh;
}
/* Headings */
h1, h5 {
    color: #649ccc;
    font-family: 'Oswald-Medium', Arial, sans-serif;
}

/* Buttons */
button, .btn {
    position: relative;
    z-index: 2;
    font-family: 'Oswald-Medium', Arial, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    background-color: #649ccc;
}

.stretched-link {
    z-index: 1; /* Ensure it overlaps other elements */
}

/* Cards */
.card {
    position: relative;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 175px;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    margin-top: 20px;
    padding: 0;
}

.breadcrumb-item a {
    color: #649ccc;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #333;
}

/*Descriptions */

#product-description {
    font-size: 1.2rem;       /* Increase readability */
    color: #555;             /* Subtle text color */
    line-height: 1.5;        /* Space between lines */
    margin-top: 20px;        /* Space from above elements */
    margin-bottom: 20px;
    padding: 0 15px;         /* Space around text */
    white-space: normal;     /* Allow normal text wrapping */
    word-wrap: break-word;   /* Break long words if needed */
    overflow-wrap: anywhere; /* Handle very long words without breaks */
    max-width: 100%;         /* Ensure it doesn't overflow */
}


/* Footer */
footer {
    background-color: #649ccc;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: white;
    text-decoration: none;
}

/* Product Page Specific Styles */
#model-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

model-viewer {
    width: 100%; 
    height: 800px; 
    max-width: 1000px; 
}

model-viewer::part(default-ar-button) {
    position: absolute;
    top:0;
    right: 0;
}

.render-buttons {
    display: flex;
    justify-content: center;
    gap: 10px; 
    margin-bottom: 20px;
}

.render-buttons button {
    padding: 10px 15px;
    font-size: 1rem;
    font-family: 'Oswald-Medium', Arial, sans-serif;
    background-color: #649ccc;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.render-buttons button:hover {
    background-color: #0056b3; 
}

