* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    background: #000;
    overflow-x: hidden;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: videoFadeIn 1.5s ease-out forwards;
    filter: brightness(1.15) contrast(1.08) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

@keyframes videoFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-content {
    position: absolute;
    top: 40px;
    left: 80px;
    z-index: 2;
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.8s forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    font-size: 120px;
    font-weight: 700;
}

.hero span {
    color: #d56300;
}

.hero p {
    font-size: 40px;
    color: #ffffff;
}

.main-section {
    position: relative;
    min-height: 100vh;
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 25, 25, 0.25);
    backdrop-filter: blur(17px);
    z-index: 1;
}

.content {
    position: relative;
    width: 100%;
    padding: 80px 80px 0;
    z-index: 2;
    background: transparent;
}

.title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: #ffffff;
    opacity: 1;
    transform: none;
}

.catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(284px, 1fr));
    gap: 30px;
    justify-items: center;
    align-items: center;
}

.card {
    position: relative;
    width: 100%;
    max-width: 284px;
    height: 356px;
    transition: transform 0.3s ease;
    cursor: pointer;
    opacity: 1;
    transform: none;
}

.card:hover {
    transform: translateY(-5px);
}

.card-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(213, 99, 0, 0) 0%, rgba(213, 99, 0, 0) 100%);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.card:hover .card-gradient {
    background: linear-gradient(135deg, rgba(213, 99, 0, 0.3) 0%, rgba(213, 99, 0, 0.5) 100%);
}

.card:hover .card-bg {
    background: rgba(255,255,255,0.05);
    border-color: rgba(213, 99, 0, 0.6);
    box-shadow: 0 10px 30px rgba(213, 99, 0, 0.2);
}

.card img {
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    width: 196px;
    height: 196px;
    object-fit: contain;
    transition: transform 0.3s ease;
    z-index: 2;
    opacity: 1;
}

.card:hover img {
    transform: translateX(-50%) scale(1.05);
}

.card p {
    position: absolute;
    bottom: 48px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    padding: 0 10px;
    white-space: pre-line;
    z-index: 2;
    color: #ffffff;
}

.title.big {
    margin-top: 80px;
    margin-bottom: 50px;
    cursor: default;
    color: #ffffff;
}

.big-card {
    width: 100%;
    max-width: 100%;
    margin: 0 0 80px 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 80px;
    opacity: 1;
}

.big-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
}

.big-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    max-width: 100%;
}

.big-card:hover img {
    transform: scale(1.01);
}

.footer {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 60px 80px 40px;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
    box-sizing: border-box;
    opacity: 1;
}

.footer h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
}

.footer p {
    font-size: 18px;
    margin: 8px 0;
    color: #ffffff;
}

.footer span {
    display: block;
    margin-top: 30px;
    opacity: 0.7;
    font-size: 14px;
    color: #ffffff;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 30px 0 20px;
}

html {
    scroll-behavior: auto;
}

.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.card-link {
    text-decoration: none;
    display: block;
    width: 100%;
    max-width: 284px;
}

.card-link:hover {
    text-decoration: none;
}

.card-link .card {
    width: 100%;
    margin: 0;
}

@media (max-width: 1400px) {
    .content {
        padding: 60px 60px 0;
    }

    .title {
        font-size: 36px;
    }

    .big-card {
        padding: 40px 60px;
        margin-bottom: 60px;
    }

    .title.big {
        margin-top: 60px;
        margin-bottom: 40px;
    }

    .footer {
        padding: 50px 60px 35px;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 80px;
    }

    .hero p {
        font-size: 32px;
    }

    .hero-content {
        top: 30px;
        left: 50px;
    }

    .content {
        padding: 50px 40px 0;
    }

    .title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .catalog {
        gap: 25px;
    }

    .title.big {
        margin-top: 50px;
        margin-bottom: 35px;
        font-size: 28px;
    }

    .big-card {
        padding: 35px 50px;
        margin-bottom: 50px;
    }

    .footer {
        padding: 40px 40px 30px;
    }

    .footer h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 60px;
    }

    .hero p {
        font-size: 24px;
    }

    .hero-content {
        top: 20px;
        left: 30px;
    }

    .content {
        padding: 40px 25px 0;
    }

    .title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .catalog {
        gap: 20px;
    }

    .card {
        max-width: 280px;
        height: 360px;
    }

    .card img {
        width: 190px;
        height: 190px;
        top: 40px;
    }

    .card p {
        bottom: 45px;
        font-size: 20px;
    }

    .title.big {
        margin-top: 40px;
        margin-bottom: 30px;
        font-size: 24px;
    }

    .big-card {
        padding: 30px 40px;
        margin-bottom: 40px;
    }

    .footer {
        padding: 35px 25px 25px;
    }

    .footer h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .footer p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-content {
        top: 15px;
        left: 20px;
    }

    .content {
        padding: 30px 15px 0;
    }

    .title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .catalog {
        gap: 20px;
    }

    .card {
        max-width: 100%;
        width: 100%;
        height: auto;
        min-height: 380px;
    }

    .card-bg {
        border-radius: 15px;
    }

    .card img {
        width: 200px;
        height: 200px;
        top: 35px;
    }

    .card p {
        bottom: 35px;
        font-size: 18px;
    }

    .title.big {
        margin-top: 30px;
        margin-bottom: 25px;
        font-size: 20px;
    }

    .big-card {
        padding: 25px 20px;
        margin-bottom: 30px;
    }

    .footer {
        padding: 30px 15px 20px;
    }

    .footer h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .footer p {
        font-size: 14px;
        margin: 6px 0;
    }

    .footer span {
        margin-top: 20px;
        font-size: 12px;
    }

    .footer-divider {
        margin: 20px 0 15px;
    }
}

@media (max-width: 360px) {
    .card {
        min-height: 420px;
    }

    .card img {
        width: 220px;
        height: 220px;
        top: 30px;
    }

    .card p {
        bottom: 30px;
        font-size: 16px;
    }

    .big-card {
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .glass-overlay {
        backdrop-filter: blur(10px);
    }

    .card-bg {
        backdrop-filter: blur(5px);
    }

    .big-card {
        backdrop-filter: blur(5px);
    }

    .footer {
        backdrop-filter: blur(5px);
    }
}