* {
    ?
    box-sizing: border-box;
    font-family: 'Gilroy', 'Verdana', sans-serif;
}

body {
    background:linear-gradient(#f9f9f9, #fff);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.whocares {
    nobody;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #eeeaf9, #8b5cf6);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
}

.header nav {
    display: flex;       
    align-items: flex-end;
    flex-direction: column;

}

.header nav a {
    text-decoration: none;
    color: #666;
    font-size: 18px;        
    line-height: 1.2;       
    transition: 0.2s;
}

.header nav a:hover {
    color: #000;
}

.catalog-container {
    padding: 40px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    place-items: center;
    gap: 30px;
}

.card {
    width: 90%; 
    max-width: 500px;
    margin: 20px auto;
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card img {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.card-title {
    padding: 5px;
    font-size: 33px;
    text-align: center;
}

.masterpiece-container {
    padding: 40px 0;
}

.masterpiece-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.model-section {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.model-wrapper {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    height: 550px;
    width: 100%;
}

@media (min-width: 1024px) {
    .model-wrapper {
        resize: both; 
        overflow: auto;
        min-height: 400px;
        min-width: 400px;
        max-width: 940px;
    }
}

model-viewer {
    width: 100%;
    height: 100%;
    background: #111;
}

.controls {
    display: flex;
    gap: 15px;
}

.control-group {
    flex: 1;
    background: #f1f1f1;
    padding: 15px;
    border-radius: 8px;
}

.control-group b {
    display: block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.quick-dial {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.preset-thumb {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    cursor: pointer;
    object-fit: cover;
}

.info-wrapper {
    flex: 1 1 350px;
}

.info-wrapper h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.author {
    color: #777;
    font-style: italic;
    margin-bottom: 20px;
}

.description p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #444;
}

.footer {
    color: #111;
    padding: 15px 0;
    text-align: center;
    margin-top: auto;
}

.uni-logo{
     height: 75px; 
     opacity: 0.8; 
     transition: 0.3s; 
     cursor: pointer; 
     user-select: none; 
 }
.uni-logo:hover{
    opacity: 1; 
    transform: scale(1.05); 
}


@media (max-width: 500px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid { grid-template-columns: 1fr; }
    .model-wrapper { height: 400px; }
}
