* {
    box-sizing: border-box;
}

html[dir="ltr"] .collections-content,
html[dir="ltr"] .collections-content h2,
html[dir="ltr"] .about h2 {
    text-align: left !important;
}

html[dir="ltr"] .hero-btn {
    left: 20px;
}

html[dir="ltr"] .contact-item i {
    margin-left: 0;
    margin-right: 10px;
}

html[lang="en"] body {
    font-family: "Inter", "Vazirmatn", sans-serif;
}

body {
    margin: 0;
    font-family: "Vazirmatn", sans-serif;
    background: #f6f6f6;
    color: #222;
    line-height: 1.8;
}

.body-container {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.language-switcher {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    background-color: #c50000d5;
    padding: 5px 10px 0px 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 5px;
}
.language-switcher i {
    margin-bottom: 4px;
}

.hero {
    position: relative;
    min-height: 70vh;
    background: url("/assets/background.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    color: #fff;
}

.hero-content img {
    width: 350px;
}

.hero-content h1 {
    margin-top: 5px;
    font-size: 20px;
    font-weight: 300;
    color: #fcf8f8;
    margin-bottom: 30px;
}

.hero-content h1 span {
    font-size: 24px;
    font-weight: 300;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #dfdfdf;
}

.contact-section {
    position: relative;
    padding-top: 50px;
    z-index: 0;
}
.contact-section::after {
    content: "";
    display: block;
    width: 700px;
    height: 700px;
    border-radius: 2px;
    background-image: url(./parquet-vector.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: -30%;
    z-index: -1;
    opacity: 0.8;
}

.why {
    padding-top: 30px;
}

.about {
    max-width: unset;
    background-color: #222222;
    position: relative;
}
.about-container {
    max-width: 1200px;
    padding: 50px 20px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.about h2 {
    text-align: right;
    color: white;
    margin: 0;
}
.about-container p {
    max-width: 1200px;
    text-align: justify !important;
    color: #d6d6d6;
    font-size: 18px;
    font-weight: 300;
    line-height: 40px;
}

.about::after {
    content: "";
    display: block;
    width: 30vw;
    height: 30vw;
    border-radius: 2px;
    background-image: url("./parquet-vector.png");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 60px;
    right: 5%;
    z-index: 1;
    opacity: 0.02;
}

.collections {
    position: relative;
    max-width: unset;
    background: #1b1a4a;
    background-image: linear-gradient(#c50000d5, #c50000d5, #b30d0dd5);
    color: #fff;
    z-index: 0;
}

.collections::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("./texture-flooring.png");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.03;
}

.collections-inner {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.collections-content {
    flex: 1;
    text-align: right;
    max-width: 700px;
}
.collections-content h2 {
    text-align: right;
    color: white;
}

.collections-inner img {
    position: relative;
    width: 420px;
    height: 420px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 40px;
    background: linear-gradient(135deg, #ff3b3b, #d10c0c);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 15px 35px rgba(209, 12, 12, 0.45);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.hero-btn.sticky {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;
    padding: 14px 24px;
    animation: floatBtn 3s ease-in-out infinite;
}

@keyframes floatBtn {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}

section {
    max-width: 1200px;
    margin: auto;
    padding: 90px 20px;
}

section h2 {
    text-align: center;
    font-size: 28px;
    color: #0e0e0e;
    margin-bottom: 40px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    text-align: center;
}

.feature {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature i {
    font-size: 36px;
    color: #ff3b3b;
    margin-bottom: 15px;
}

.contact {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-item .contact-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.contact-item .contact-container a {
    direction: ltr;
    padding-top: 2px;
}

.contact-item p {
    margin: 0;
}

.contact-item i {
    color: #ff3b3b;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.socials {
    text-align: center;
    margin-top: 20px;
}

.socials a {
    margin: 0 20px;
    font-size: 0;
    color: #444;
    transition: 0.3s;
}
.socials i {
    font-size: 24px;
}

.socials a:hover {
    color: #ff3b3b;
}

footer {
    text-align: center;
    padding: 25px;
    font-size: 14px;
    color: #777;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 20px;
    }
    .hero-content img {
        width: 250px;
        height: auto;
    }
    .slide img {
        height: 280px;
    }
    .hero-btn {
        font-size: 12px;
    }
    .hero-btn.sticky {
        left: 47%;
        transform: translateX(-50%);
    }
    .why {
        padding-bottom: 30px;
    }
    .collections-inner {
        flex-direction: column;
        padding: 20px 20px;
    }
    .collections-inner img {
        width: 100%;
        height: auto;
    }
    .contact-section {
        padding-top: 0;
    }
    .contact-item a,
    .contact-item p {
        font-size: 14px;
    }
    .contact-section::after {
        left: -60%;
        top: -20%;
        width: 100%;
        height: 100%;
    }
    .collections-content {
        max-width: 100%;
        text-align: center;
    }
    .collections-content h2 {
        font-size: 20px;
        text-align: center;
    }
    .collections-content p {
        font-size: 14px;
        font-weight: 200;
    }
    .about-container {
        padding: 0 20px;
    }
    .about-container h2 {
        font-size: 20px;
    }
    .about-container p {
        font-size: 14px !important;
        font-weight: 200;
        line-height: 24px;
    }
}
