@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

:root {
    --bg-primary: #000;
    --bg-secondary: #f5f5f7;
    --text-light: #fff;
    --text-dark: #000;
    --text-secondary: #6e6e73;
    --title-primary-color: #f5f5f7;
    --subtitle-color: #6e6e73;
    --action-color: #2997ff;
    --hover-color: #6db4f7;
    --border-color: #d5d5d7;
}

body {
    background-color: var(--bg-primary);
    color: var(--title-primary-color);
    min-height: 100vh;
}

.main-header {
    background-color: var(--bg-primary);
    color: var(--text-light);
    height: fit-content;
    opacity: 0.95;
    position: sticky;
    padding: 10px 0;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header nav {
    position: relative;
}

.main-header nav ul {
    margin: 0 auto;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}

.hamburger-btn {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
    z-index: 1001;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    margin: 5px 0;
    border-radius: 1px;
    transition: transform .3s ease, opacity .2s ease;
}

.main-header nav ul li {
    min-width: fit-content;
    height: fit-content;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    transition: color .25s ease;
    color: var(--title-primary-color);
}

.main-header nav ul li a {
    text-decoration: none;
    color: inherit;
}

.main-header nav ul li:hover {
    color: var(--text-secondary);
}

main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 4rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    min-height: 600px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--text-light);
}

.hero-section p {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--subtitle-color);
    line-height: 1.6;
}

.hero-section img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.carousel-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    padding: 3rem 0;
    margin: 2rem 0;
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
    padding: 0 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--action-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    background: var(--action-color);
    transform: scale(1.3);
}

.indicator:hover {
    background: var(--action-color);
}

.featured-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 4rem;
    background: #f5f5f7;
    min-height: 500px;
}

.featured-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 2;
}

.featured-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.featured-section p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

.featured-section img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    order: 1;
}

.products-section {
    padding: 2rem;
    background-color: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

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

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: -0.2px;
}

.product-card p {
    font-size: 1rem;
    color: var(--subtitle-color);
    line-height: 1.5;
    font-weight: 400;
}

.product-info .button-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.95rem 1.6rem;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all .2s ease;
    border: none;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.btn-primary {
    background-color: var(--action-color);
    color: var(--text-light);
    box-shadow: 0 12px 24px rgba(41, 151, 255, 0.25);
}

.btn-primary:hover {
    background-color: #1c82e6;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(41, 151, 255, 0.35);
}

.btn-secondary {
    background-color: var(--action-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #1c82e6;
    transform: translateY(-1px);
}

.btn-link {
    background: transparent;
    color: var(--action-color);
    padding: 0.5rem 1rem;
}

.btn-link:hover {
    color: var(--hover-color);
}

.main-footer {
    background-color: #f5f5f7;
    color: var(--text-dark);
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-section a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .2s ease;
    line-height: 1.5;
}

.footer-section a:hover {
    color: var(--text-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--text-dark);
}

@media (max-width: 1200px) {
    .main-header nav ul {
        gap: 1.5rem;
        padding: 0 1.5rem;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        min-height: auto;
        gap: 1.5rem;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .featured-section {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        min-height: auto;
    }

    .featured-section h2 {
        font-size: 2.3rem;
    }

    .featured-content {
        order: 1;
    }

    .featured-section img {
        order: 2;
    }
}

@media (max-width: 1024px) {
    .main-header nav ul {
        gap: 1.2rem;
        padding: 0 1rem;
    }

    .main-header nav ul li {
        font-size: 0.9rem;
    }

    .hero-section h1 {
        font-size: 2.3rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .carousel-slide {
        height: 420px;
    }

    .featured-section h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-header nav ul {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 0;
        background-color: var(--bg-primary);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
        z-index: 999;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-header nav.nav-open ul {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .main-header nav.nav-open .hamburger-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .main-header nav.nav-open .hamburger-btn span:nth-child(2) {
        opacity: 0;
    }

    .main-header nav.nav-open .hamburger-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-header nav ul li {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hero-section {
        padding: 2rem 1.5rem;
        gap: 1rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
    }

    .carousel-slide {
        height: 350px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .featured-section {
        padding: 2rem 1.5rem;
        gap: 1rem;
    }

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

    .featured-section p {
        font-size: 1rem;
    }

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

    .products-section {
        padding: 1.5rem;
    }

    .product-card img {
        height: 200px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-card h3 {
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-header nav ul li {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .carousel-container {
        padding: 0 1rem;
    }

    .carousel-slide {
        height: 280px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-indicators {
        gap: 8px;
        margin-top: 1.5rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }

    .featured-section h2 {
        font-size: 1.3rem;
    }

    .featured-section p {
        font-size: 0.95rem;
    }

    .product-card h3 {
        font-size: 1rem;
    }

    .product-card p {
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .main-header nav ul {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }

    .main-header nav ul li {
        font-size: x-small;
        padding: 0 0.35rem;
    }

    .main-section h1 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .main-section h2 {
        font-size: 0.95rem;
        line-height: 1.4rem;
    }

    .main-section a {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }

    .publi-section .publi-container h3 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .publi-description p {
        font-size: 1.2rem;
    }

    .publi-description span {
        font-size: 0.95rem;
    }
}