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

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f5f5f5;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-primary: #1a1a1a;
    --color-accent: #000000;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-width: 1200px;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-bg);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: block;
    height: 50px;
}

.logo__img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg);
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.nav--open {
    transform: translateX(0);
}

.nav__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.nav__link {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: color 0.2s ease;
}

.nav__link:hover {
    color: var(--color-text-light);
}

.hero {
    padding: calc(var(--header-height) + 60px) 0 60px;
    text-align: center;
    background-color: var(--color-primary);
    color: var(--color-bg);
}

.hero__title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero__subtitle {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
}

.section {
    padding: 60px 0;
}

.section--alt {
    background-color: var(--color-bg-alt);
}

.section__title {
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 15px;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

.section__text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    max-width: 800px;
}

.offers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.offer-card {
    background-color: var(--color-bg);
    border: 1px solid #e0e0e0;
    padding: 25px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.offer-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.offer-card__image {
    width: 100%;
    height: 150px;
    background-color: #e8e8e8;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-card__image::before {
    content: '🛍️';
    font-size: 3rem;
}

.offer-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.offer-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact__label {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact__link,
.contact__text {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 1rem;
}

.contact__link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer {
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 40px 0;
}

.footer__nav {
    margin-bottom: 30px;
}

.footer .nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 0;
}

.footer .nav__link {
    color: var(--color-bg);
    border-bottom: none;
    font-size: 0.9rem;
    padding: 5px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer .nav__link:hover {
    opacity: 1;
}

.footer__copy {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

.construction {
    min-height: calc(100vh - var(--header-height) - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 40px) 0 40px;
}

.construction__content {
    text-align: center;
}

.construction__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.construction__text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.construction__back {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: var(--color-bg);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.construction__back:hover {
    background-color: #333333;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .offers {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 40px;
    }

    .contact__item {
        min-width: 200px;
    }

    .footer .nav__list {
        gap: 30px;
    }

    .footer .nav__link {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }

    .nav {
        position: static;
        transform: none;
        background: none;
        padding: 0;
        width: auto;
    }

    .nav__list {
        flex-direction: row;
        margin-top: 0;
        gap: 30px;
    }

    .nav__link {
        font-size: 0.95rem;
        padding: 5px 0;
        border-bottom: none;
        position: relative;
    }

    .nav__link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--color-primary);
        transition: width 0.3s ease;
    }

    .nav__link:hover::after {
        width: 100%;
    }

    .hero__title {
        font-size: 3.5rem;
    }

    .offers {
        gap: 40px;
    }

    .offer-card {
        padding: 35px;
    }

    .offer-card__image {
        height: 180px;
    }
}

.offers-page {
    padding: calc(var(--header-height) + 40px) 0 60px;
    min-height: calc(100vh - var(--header-height) - 100px);
}

.offers-header {
    margin-bottom: 30px;
}

.offers-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.offers-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.offers-table-wrapper {
    overflow-x: auto;
    border: 1px solid #e0e0e0;
}

.offers-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.offers-table th,
.offers-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.offers-table th {
    background-color: var(--color-primary);
    color: var(--color-bg);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offers-table tr:last-child td {
    border-bottom: none;
}

.offers-table tr:hover {
    background-color: var(--color-bg-alt);
}

.offer-image {
    width: 60px;
    height: 60px;
    background-color: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.offer-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e8e8e8;
}

.offer-name {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.offer-name:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.offer-price {
    font-weight: 600;
    color: var(--color-primary);
}

.offer-status {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-ended {
    background-color: #ffebee;
    color: #c62828;
}

.offers-loading,
.offers-empty,
.offers-error {
    text-align: center;
    padding: 40px 15px;
    color: var(--color-text-light);
}

@media (min-width: 768px) {
    .offers-title {
        font-size: 2rem;
    }

    .offers-table {
        min-width: auto;
    }

    .offers-table th,
    .offers-table td {
        padding: 18px 20px;
    }
}
