/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.5;
}

/* Custom Font Face - Futura Now Text approximation */
@font-face {
    font-family: 'Futura Now Text';
    src: local('Futura'), local('Helvetica Neue'), local('Arial');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Now Text';
    src: local('Futura Bold'), local('Helvetica Neue Bold'), local('Arial Bold');
    font-weight: 700;
    font-style: normal;
}

/* Layout */
.taste-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1920px;
}

/* Info Section */
.info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 8px 0;
    width: 100%;
    max-width: 1260px;
    background-color: #ffffff;
}

/* Title Area */
.title-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 0 56px;
    width: 100%;
    max-width: 1042px;
    overflow: hidden;
}

/* Main Title */
.main-title {
    font-family: 'Futura Now Text', 'Helvetica Neue', Arial, sans-serif;
    font-size: 45px;
    font-weight: 700;
    line-height: 52px;
    letter-spacing: -1.25px;
    text-align: center;
    color: #333333;
    width: 100%;
}

/* Description */
.description {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 1042px;
}

.description-text {
    font-family: 'Futura Now Text', 'Helvetica Neue', Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -1.25px;
    text-align: center;
    color: #3a3d3f;
}

.description-text strong {
    font-weight: 700;
}

/* Link Cards */
.link-cards {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 280px;
    min-width: 280px;
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    padding: 12px 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.link-card:hover {
    background-color: #ebebeb;
}

.link-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.icon-placeholder {
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.link-card-text {
    font-family: 'Futura Now Text', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #5c5c5c;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 3D Model Viewer Section */
.model-viewer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
    position: relative;
}

.model-viewer-container {
    position: relative;
    width: 100%;
    max-width: 1260px;
    height: 827px;
    background-color: #e6e6e2;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.model-placeholder-image {
    max-width: 70%;
    max-height: 80%;
    object-fit: contain;
}


/* Responsive Design */
@media (max-width: 1300px) {
    .info-section {
        padding: 8px 20px;
    }
    
    .model-viewer-container {
        max-width: 100%;
        height: auto;
        aspect-ratio: 1260 / 827;
    }
}

@media (max-width: 1080px) {
    .title-area {
        max-width: 100%;
        padding: 30px 20px 40px;
    }
    
    .main-title {
        font-size: 36px;
        line-height: 44px;
    }
    
    .description-text {
        font-size: 20px;
        line-height: 32px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .description-text {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: -0.5px;
    }
    
    .link-cards {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        padding: 0 20px;
    }
    
    .link-card {
        width: 100%;
        max-width: 320px;
    }
    
    .model-viewer-container {
        border-radius: 0;
    }
    
    .fullscreen-btn {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
    
    .fullscreen-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    .description-text {
        font-size: 14px;
        line-height: 22px;
    }
    
    .info-section {
        gap: 24px;
    }
    
    .title-area {
        padding: 20px 16px 30px;
        gap: 16px;
    }
}
.model-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.Hotspot {
    background: rgb(255, 255, 255);
    border-radius: 32px;
    border: 0px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px;
    box-sizing: border-box;
    cursor: pointer;
    height: 24px;
    padding: 8px;
    position: relative;
    transition: opacity 0.3s;
    width: 24px;
}
.HotspotAnnotation {
    background: rgb(255, 255, 255);
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 4px;
    color: rgba(0, 0, 0, 0.8);
    display: block;
    font-family: Futura, "Helvetica Neue", sans-serif;
    font-size: 18px;
    font-weight: 700;
    left: calc(100% + 1em);
    max-width: 128px;
    overflow-wrap: break-word;
    padding: 0.5em 1em;
    position: absolute;
    top: 50%;
    width: max-content;
}
.Hotspot > * {
    opacity: 1;
    transform: translateY(-50%);
}
/* kontener przycisków pod modelem */
.viewer-controls-bottom {
    margin-top: 16px;
    margin-bottom: 1rem;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* styl przycisków */
.viewer-controls-bottom button {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #ffffff;
    color: #2b2b2b;

    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;

    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
    transition: transform 0.06s ease, box-shadow 0.2s ease;
}

.viewer-controls-bottom button:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.14);
}

.viewer-controls-bottom button:active {
    transform: translateY(1px);
}

.viewer-controls-bottom button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}