:root {
    --nav-height: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    padding-top: var(--nav-height);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    position: fixed;
    width: 100%;
    height: var(--nav-height);
    top: 0;
    left: 0;
    z-index: 10010;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
    color: white;
}

.logo1 {
    width: 60px;
}

.logo2 {
    width: 100px;
    height: 100px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    z-index: 10012;
}

.nav-links a:hover {
    color: #c19a6b;
    text-shadow: 0 0 8px #c19a6b;
}

.phone {
    border: 1px solid #c19a6b;
    padding: 8px 14px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    z-index: 10012;
}

.phone:hover {
    background: #c19a6b;
    color: black;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 10020;
}

.hero {
    height: 90vh;
    width: 100%;
    background: url("tłog.png") center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: calc(-1 * var(--nav-height));
    padding-top: var(--nav-height);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10003;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10005;
    max-width: 700px;
    margin-left: 80px;
    animation: fadeIn 1.2s ease;
}

.hero-tag {
    display: inline-block;
    background: rgba(193, 154, 107, 0.8);
    color: black;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 62px;
    margin-bottom: 20px;
    line-height: 1.1;
    color: white;
}

.hero h1 span {
    color: #c19a6b;
}

.hero p {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.7;
    color: #ddd;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.primary {
    background: #c19a6b;
    color: black;
}

.primary:hover {
    box-shadow: 0 0 15px #c19a6b;
    transform: translateY(-2px);
}

.secondary {
    border: 1px solid white;
    color: white;
}

.secondary:hover {
    background: white;
    color: black;
}

.models-page-section {
    padding: 80px 0;
    background: #f5f2ef;
}

.section-heading h2 {
    font-size: 38px;
    margin-bottom: 40px;
}

.filters {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-box h4 {
    margin-bottom: 15px;
    font-size: 13px;
    color: #777;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-buttons button {
    border: none;
    background: white;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-buttons button:hover {
    background: #c19a6b;
    color: white;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.model-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    transition: 0.3s;
}

.model-card:hover {
    transform: translateY(-8px);
}

.model-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.model-content {
    padding: 25px;
}

.model-content h3 {
    font-size: 38px;
    margin-bottom: 15px;
}

.model-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.model-info span {
    background: #f2f2f2;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.model-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.price {
    margin-bottom: 20px;
    color: #555;
}

.price strong {
    font-size: 32px;
    color: black;
}

.model-link {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.note {
    margin-top: 35px;
    text-align: center;
    color: #666;
}

.why-section {
    padding: 90px 0;
    background: #efe9e4;
}

.why-section h2 {
    font-size: 38px;
    margin-bottom: 50px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-box {
    text-align: center;
}

.why-icon {
    width: 90px;
    height: 90px;
    background: #111;
    color: #c19a6b;
    margin: 0 auto 20px;
    border-radius: 50%;
    font-size: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-box h3 {
    margin-bottom: 15px;
}

.why-box p {
    color: #666;
    line-height: 1.6;
}

.compare-section {
    padding: 90px 0;
    background: white;
}

.compare-section h2 {
    font-size: 38px;
    margin-bottom: 40px;
}

.table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 18px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.compare-table th {
    background: #f5f5f5;
}

.gallery-section {
    padding: 90px 0;
}

.gallery-section h2 {
    font-size: 38px;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 14px;
    height: 240px;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.cta-section {
    position: relative;
    padding: 100px 0;
    background: url("tłog.png") center/cover no-repeat;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.cta-content {
    position: relative;
    z-index: 2;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    color: #ddd;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.footer {
    background: #111;
    color: #aaa;
    padding: 60px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
}

.footer-col a:hover {
    color: #c19a6b;
}

.socials {
    display: flex;
    gap: 10px;
}

.social-box {
    width: 40px;
    height: 40px;
    border: 1px solid #c19a6b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.social-box:hover {
    transform: translateY(-5px) scale(1.08);

    border-color: white;

    box-shadow:
        0 0 10px #c19a6b,
        0 0 20px rgba(193, 154, 107, 0.6);
}

.social-box img {
    margin-top: 12px;
    width: 30px;
    transition: 0.3s ease;
}

.social-box:hover img {
    transform: scale(1.15);
}

.copy {
    margin-top: 20px;
    text-align: center;
}

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.4);
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
        gap: 12px;
        z-index: 10030;
        pointer-events: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 18px;
        width: 100%;
        text-align: center;
        color: white;
        font-size: 16px;
    }

    .phone {
        display: none;
    }

    .hero {
        justify-content: center;
        text-align: center;
        height: auto;
        margin-top: calc(-1 * var(--nav-height));
        padding: calc(var(--nav-height) + 40px) 20px 40px;
    }

    .hero-content {
        margin-left: 0;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .models-grid,
    .why-grid,
    .gallery-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        text-align: center;
    }
}

a,
button {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.nav-links,
.navbar {
    -webkit-user-select: none;
    user-select: none;
}