:root {
    --primary: #ff4757;
    --secondary: #2f3542;
    --accent: #ffa502;
    --bg: #f1f2f6;
    --card-bg: #ffffff;
    --text: #2f3542;
    --white: #ffffff;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.moving-text-container {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-bottom: 20px;
}

.moving-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.company-info {
    color: white;
    margin-bottom: 20px;
    line-height: 1.6;
}

.company-name {
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.company-info p {
    margin: 5px 0;
    opacity: 0.9;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.download-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
    z-index: 20;
    text-decoration: none;
}

.card:hover .download-btn {
    opacity: 0.8;
}

.download-btn:hover {
    opacity: 1 !important;
    background: var(--primary);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-media {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover .card-media {
    transform: scale(1.05);
}

.card-info {
    padding: 20px;
    border-top: 1px solid #eee;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--secondary);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

/* Modal / Lightbox */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.modal-content video,
.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .moving-text {
        font-size: 1.5rem;
    }
}