:root {
    --primary-color: rgb(254, 84, 0);
    --primary-hover: rgb(224, 74, 0);
    --primary-light: rgb(255, 235, 225);
    --text-on-primary: white;
    --background-color: #f8f9fa;
    --card-background: white;
    --primary-text: #333;
    --secondary-text: #666;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-text);
}

header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nike-logo {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-right: 1rem;
    transition: transform 0.2s;
}

.nike-logo:hover {
    transform: scale(1.1);
    background-color: transparent;
}

.nike-logo img {
    height: 24px;
    width: auto;
}

.nav-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-right {
    flex: 0 0 auto;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input[type="text"] {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 300px;
    font-size: 1rem;
}

.search-form button {
    padding: 0.5rem 1rem;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-form button:hover {
    background-color: #333;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

nav a:hover {
    background-color: #e9ecef;
}

nav a.active {
    background-color: #000;
    color: white;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.search-bar {
    margin-left: 20px;
    flex: 1;
}

.search-bar input {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 24px;
    width: 300px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-text);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.featured-section {
    margin-bottom: 3rem;
}

.featured-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-type {
    color: var(--primary-color);
    font-weight: 500;
    margin: 0.5rem 0;
}

.product-description {
    color: var(--secondary-text);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.price {
    font-weight: bold;
    color: var(--primary-text);
}

.get-button {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
    font-size: 16px;
}

.get-button:hover {
    background-color: var(--primary-hover);
}

.create-button {
    background-color: var(--primary-color);
    color: var(--text-on-primary) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 24px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.create-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.product-detail {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-detail .product-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.product-detail .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.product-detail .product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-detail h1 {
    font-size: 2rem;
    color: #333;
    margin: 0;
}

.product-detail h2 {
    font-size: 1.5rem;
    color: #444;
    margin: 0;
}

.product-detail .product-type {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
}

.product-detail .product-description {
    line-height: 1.6;
}

.product-detail .product-contact {
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.product-metadata {
    margin: 0.5rem 0;
    color: var(--secondary-text);
    font-size: 0.85rem;
}

.created-date {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.created-date::before {
    content: "🕒";
    font-size: 0.9em;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    margin: 0;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.spotlight-section {
    margin-bottom: 2rem;
}

.spotlight {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.spotlight-container {
    position: relative;
    width: 100%;
}

.spotlight-items {
    position: relative;
    width: 100%;
    height: 400px;
}

.spotlight-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.spotlight-item.active {
    opacity: 1;
    display: block;
}

.spotlight-content {
    display: flex;
    height: 100%;
    background: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
}

.spotlight-image {
    flex: 1;
    overflow: hidden;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-details {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-type {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.spotlight-description {
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.view-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev {
    left: 1rem;
}

.next {
    right: 1rem;
}

.indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background: white;
}

@media (max-width: 768px) {
    .spotlight-content {
        flex-direction: column;
    }

    .spotlight-items {
        height: 600px;
    }

    .spotlight-image, .spotlight-details {
        flex: none;
    }

    .spotlight-image {
        height: 250px;
    }

    .spotlight-details {
        padding: 1rem;
    }
}

.carousel-section {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
}

.carousel-section h2 {
    margin-bottom: 1rem;
    color: var(--primary-text);
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-container {
    display: flex;
    gap: 1rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 300px;
    max-width: 300px;
}

.carousel-item .product-card {
    height: 100%;
    margin: 0;
}

.carousel-button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.2s;
    z-index: 2;
}

.carousel-button:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

.product-detail-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-container {
    display: flex;
    gap: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.product-detail-image {
    flex: 0 0 40%;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.product-detail-info {
    flex: 1;
}

.product-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-text);
}

.product-detail-info .product-type {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-detail-info .product-description {
    margin: 1.5rem 0;
    line-height: 1.6;
    color: var(--primary-text);
    white-space: pre-wrap;
}

.product-detail-info .product-contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.product-detail-info .product-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

@media screen and (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .product-detail-image {
        flex: 0 0 auto;
    }

    .product-detail-info h1 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-container {
        grid-template-columns: 1fr;
    }

    .product-detail .product-image {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .search-bar {
        width: 100%;
        margin: 0;
        order: 3;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
    }

    .nav-links {
        order: 2;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .nav-links::-webkit-scrollbar {
        height: 3px;
    }

    .nav-links::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
    }

    .products-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .product-detail {
        padding: 1rem;
    }

    .product-detail-container {
        padding: 1rem;
    }

    .product-detail .product-image {
        height: 250px;
    }

    main {
        padding: 1rem;
    }

    .featured-section {
        margin-top: 1rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .create-button {
        width: 100%;
        justify-content: center;
    }

    .carousel-button {
        display: none;
    }
    
    .carousel-container {
        overflow-x: auto;
        padding: 1rem 0;
    }
}

@media screen and (max-width: 480px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .product-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .get-button {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .product-detail h1 {
        font-size: 1.5rem;
    }

    .product-detail h2 {
        font-size: 1.2rem;
    }

    .product-detail .product-image {
        height: 200px;
    }
}

.product-details {
    padding: 1rem;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-card {
        display: flex;
        align-items: center;
        padding: 0.5rem;
    }

    .product-image {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
        margin-right: 1rem;
    }

    .product-details {
        flex: 1;
        padding: 0;
    }

    .product-details h3 {
        margin-top: 0;
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
}

.product-detail-info h1 {
    font-size: 2rem;
    color: #333;
    margin: 0;
}

.product-detail-info .product-type {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0.5rem 0;
    display: inline-block;
    background: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 16px;
}

.collibra-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.collibra-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

.collibra-icon {
    font-size: 1.1em;
}

.data-metrics {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.data-badge {
    background: var(--primary-light);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    display: inline-block;
}

.data-badge-row {
    display: flex;
    align-items: center;
}

.data-badge-row:not(:last-child) {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.badge-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 0.5rem;
    min-width: 5rem;
}

.badge-value {
    color: var(--secondary-text);
    font-weight: 500;
}

.badge-value.not-present {
    color: #999;
    font-style: italic;
}

.product-metadata {
    margin: 1rem 0;
    color: var(--secondary-text);
    font-size: 0.9rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.created-date {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.created-date::before {
    content: "🕒";
    font-size: 0.9em;
}
