html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: #f5f5f5;
    color: #1f2933;
    line-height: 1.6;
}

section {
    padding: 80px 8%;
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 60px;
    color: #111827;
}

header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    padding: 18px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 20, 20, .9);
    backdrop-filter: blur(10px);
    z-index: 9999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 30px;
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: contain;
}

.logo-text {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-art {
    color: #005b9f;
    text-shadow: 0 0 10px rgba(0, 91, 159, .25);
}

.logo-fix {
    color: #f97316;
    text-shadow: 0 0 10px rgba(249, 115, 22, .25);
}

nav a {
    position: relative;
    margin-left: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #f4b400;
    transition: .2s;
}

nav a:hover,
nav a.active {
    color: #f4b400;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    padding: 120px 8% 60px;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80') center/cover;
    box-shadow: 0 0 100px rgba(0, 0, 0, .95);
}

.hero-content {
    max-width: 700px;
}

.hero h1,
.hero p,
.hero .btn {
    opacity: 0;
    transform: translateX(-80px);
    animation: fadeLeft .8s ease forwards;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 30px;
    color: #e5e7eb;
    animation-delay: .3s;
}

.hero .btn {
    animation-delay: .6s;
}

.btn {
    display: inline-block;
    margin-right: 12px;
    padding: 15px 28px;
    border-radius: 8px;
    background: #f4b400;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}

.btn:hover {
    background: #ffcc33;
    transform: translateY(-3px);
}

.btn-dark {
    background: #111827;
    color: #fff;
}

.services,
.works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.services {
    margin-bottom: 100px;
}

.card,
.work-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.card {
    padding: 28px;
    opacity: 0;
    transform: translateY(60px);
    transition: .6s ease;
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.card h3 {
    margin-bottom: 15px;
    color: #111827;
}

.work-card {
    overflow: hidden;
    cursor: pointer;
    box-shadow: 10px 10px 50px rgba(0, 0, 0, .4);
    opacity: 0;
    transform: translateY(60px) scale(.95);
    transition: .7s ease;
}

.work-card.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.work-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: .3s;
}

.work-card:hover img {
    transform: scale(1.05);
}

.work-card div {
    padding: 20px;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, .3);
}

.about h2 {
    font-size: 40px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.about h2::after {
    content: "";
    display: block;
    width: 180px;
    height: 4px;
    margin-top: 15px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f4b400, #ffcc33);
    box-shadow: 0 0 20px rgba(244, 180, 0, 1);
}

.about-benefits {
    list-style: none;
    margin-top: 25px;
}

.about-benefits li {
    font-size: 22px;
    color: #111418;
    margin-bottom: 18px;
    transition: .25s;
}

.about-benefits li::before {
    content: "✓";
    margin-right: 12px;
    color: #f4b400;
    font-weight: bold;
    text-shadow: 0 0 12px rgba(244, 180, 0, .5);
}

.about-benefits li:hover {
    transform: translateX(8px);
    color: #111827;
}

.about-gallery {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.about-gallery img {
    width: 600px;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
    transition: .3s;
}

.about-gallery img:hover {
    transform: scale(1.02);
}

.about-text,
.about-gallery {
    opacity: 0;
    transition: .8s ease;
}

.about-text {
    transform: translateX(-70px);
}

.about-gallery {
    transform: translateX(70px);
}

.about-text.show,
.about-gallery.show {
    opacity: 1;
    transform: translateX(0);
}

.before-after {
    position: relative;
    padding: 130px 8%;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(244, 180, 0, .12), transparent 35%), linear-gradient(135deg, #0f172a, #111827 55%, #020617);
    box-shadow: 0 0 150px rgba(17, 24, 39, 1);
}

.before-after::before {
    content: "🔨";
    position: absolute;
    left: 8%;
    top: 50%;
    font-size: 140px;
    opacity: .05;
    transform: translateY(-50%);
}

.before-after::after {
    content: "🛠️";
    position: absolute;
    right: 8%;
    top: 50%;
    font-size: 140px;
    opacity: .05;
    transform: translateY(-50%);
}

.before-after .section-title {
    font-size: 54px;
    color: #fff;
    margin-bottom: 18px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .6);
}

.before-after .section-title::after {
    content: "";
    display: block;
    width: 130px;
    height: 5px;
    margin: 20px auto 70px;
    border-radius: 20px;
    background: linear-gradient(90deg, #f4b400, #ffcc33);
    box-shadow: 0 0 35px rgba(244, 180, 0, .8);
}

.before-after {
    opacity: 0;
    transform: translateY(80px);
    transition:
        opacity 1s ease,
        transform 1s ease;
}

.before-after.show {
    opacity: 1;
    transform: translateY(0);
}

.before-after .section-title {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease;
}

.before-after.show .section-title {
    opacity: 1;
    transform: translateY(0);
}

.cover-slider {
    opacity: 0;
    overflow: visible;
    transform: scale(0.92);
    transition:
        opacity 1s ease 0.3s,
        transform 1s ease 0.3s;
}

.before-after.show .cover-slider {
    opacity: 1;
    transform: scale(1);
}

.slider-dots {
    opacity: 0;
    transition: opacity 1s ease 0.6s;
}

.before-after.show .slider-dots {
    opacity: 1;
}

.cover-slider {
    overflow: visible;
    position: relative;
    max-width: 1300px;
    height: 470px;
    margin: 0 auto;
    border-radius: 35px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(18px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-slide {
    position: absolute;
    width: 600px;
    height: 360px;
    border-radius: 28px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(.7);
    transition: .6s ease;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .55);
}

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

.cover-slide.active {
    pointer-events: auto;
    opacity: 1;
    transform: translateX(0) scale(1.08);
    z-index: 5;
}

.cover-slide.prev {
    opacity: .35;
    transform: translateX(-390px) scale(.78);
    z-index: 3;
    filter: brightness(.55);
}

.cover-slide.next {
    opacity: .35;
    transform: translateX(390px) scale(.78);
    z-index: 3;
    filter: brightness(.55);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    width: 66px;
    height: 66px;
    padding: 0;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .12);
    color: #f4b400;
    backdrop-filter: blur(16px);
    cursor: pointer;
    pointer-events: auto;
    z-index: 20;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
    transition: .3s ease;
    transform: translateY(-50%);
}

.slider-arrow svg {
    width: 26px;
    height: 26px;
    display: block;
}

.slider-arrow:hover {
    background: #f4b400;
    color: #111827;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 0 45px rgba(244, 180, 0, .7);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
    z-index: 99999;
}

.slider-dots {
    margin-top: 45px;
}

.slider-dots span {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin: 0 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    transition: .25s;
}

.slider-dots span.active {
    background: #f4b400;
    transform: scale(1.6);
    box-shadow: 0 0 18px rgba(244, 180, 0, .9);
}

#reviews h2 {
    margin-bottom: 25px;
}

.contact {
    padding: 100px 8%;
    text-align: center;
    color: #e5e7eb;
    background: radial-gradient(circle at top, rgba(244, 180, 0, .12), transparent 35%), linear-gradient(135deg, #0f172a, #111827 55%, #020617);
    box-shadow: 0 -10px 70px rgba(17, 24, 39, 1);
}

.contact .section-title {
    color: #fff;
    margin-bottom: 25px;
}

.contact>p {
    max-width: 700px;
    margin: 0 auto 55px;
    color: #cbd5e1;
    font-size: 19px;
    line-height: 1.7;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: .8fr 2fr;
    gap: 60px;
    align-items: flex-start;
    margin-top: 50px;
    text-align: left;
}

.contact-info,
.contact-form {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .25);
}

.contact-info {
    padding: 40px 35px;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 34px;
    color: #fff;
}

.contact-info a {
    display: block;
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 17px;
    text-decoration: none;
    transition: .2s;
}

.contact-info a:hover {
    color: #f4b400;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.contact-buttons a,
.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #f4b400;
    border: 1px solid rgba(244, 180, 0, .35);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    transition: .25s;
    font-size: 12px;
    font-weight: bold;
}

.contact-buttons a:hover,
.social-btn:hover {
    background: #f4b400;
    color: #111827;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(244, 180, 0, .35);
}

.social-btn svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.social-btn.facebook-btn,
.social-btn.facebook-btn:hover {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    color: #fff;
    border-color: #1877f2;
}

.social-btn.facebook-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 25px rgba(24, 119, 242, .45);
}

.contact-form {
    padding: 40px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    color: #f4b400;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    margin: 10px 0 25px;
    background: rgba(255, 255, 255, .95);
    color: #111827;
    border: 1px solid transparent;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    transition: .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f4b400;
    box-shadow: 0 0 0 3px rgba(244, 180, 0, .25);
}

.contact-form textarea {
    height: 170px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-form label.file-btn {
    padding: 14px 24px;
    margin: 0;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: .25s;
}

.file-btn:hover {
    transform: translateY(-3px);
}

#file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 280px;
    padding: 5px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #c8f1b8;
}

.file-item span {
    overflow: hidden;
}

.remove-file {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
}

.remove-file:hover {
    background: #dc2626;
}

.contact-form button[type=submit] {
    margin-top: 45px;
    padding: 18px 42px;
    border: 0;
    border-radius: 10px;
    background: #f4b400;
    color: #111827;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(244, 180, 0, .25);
    transition: .25s;
}

.contact-form button[type=submit]:hover {
    background: #ffcc33;
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(244, 180, 0, .35);
}

footer {
    position: relative;
    min-height: 70px;
    padding: 25px 40px;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.developer-link {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
    transition: .2s;
}

.developer-link:hover {
    color: #f4b400;
}

.copyright {
    text-align: center;
    color: #fff;
    margin: 0;
}

#lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .9);
    opacity: 0;
    visibility: hidden;
    transition: .5s;
    z-index: 10000;
}

#lightbox.active {
    opacity: 1;
    visibility: visible;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@media (max-width: 1024px) and (min-width: 769px) {

    .hero-content {
        margin-left: -40px;
    }

    .prev-btn {
        left: -50px;
    }

    .next-btn {
        right: -50px;
    }

    .contact {
        padding: 90px 4%;
    }

    .contact-wrapper {
        gap: 30px;
        grid-template-columns: 0.9fr 1.4fr;
    }

    .contact-info,
    .contact-form {
        padding: 35px 25px;
    }

    .contact-info h3,
    .contact-form .section-title {
        font-size: 28px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 16px;
    }

}


@media (max-width:768px) {
    header {
        position: fixed;
        flex-direction: column;
        gap: 12px;
        padding: 12px 20px;
    }

    .logo-text {
        font-size: 28px;
    }

    .logo img {
        width: 42px;
        height: 42px;
    }

    nav a {
        margin: 0 8px;
        font-size: 14px;
    }

    
    .hero-content {
        margin-left: -25px;
    }

    .hero-content .btn {
        display: block;
        width: fit-content;
        margin-bottom: 15px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .about,
    .contact-wrapper,
    .form-row {
        grid-template-columns: 1fr;
    }

    .about-gallery {
        justify-content: center;
    }

    .contact {
        padding: 70px 20px;
    }

    .contact-form,
    .contact-info {
        padding: 28px 22px;
    }

    .cover-slider {
        height: 300px;
        overflow: visible;
    }

    .cover-slide {
        width: 280px;
        height: 190px;
    }

    .cover-slide.prev {
        transform: translateX(-150px) scale(.75);
    }

    .cover-slide.next {
        transform: translateX(150px) scale(.75);
    }

    .slider-arrow {
        width: 46px;
        height: 46px;
        z-index: 100;
    }

    .prev-btn {
        left: -30px;
    }

    .next-btn {
        right: -30px;
    }

    .cover-slide.next {
        pointer-events: none !important;
    }

    .cover-slide.prev {
        pointer-events: none !important;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .developer-link {
        position: static;
        transform: none;
    }

    .copyright {
        text-align: center;
    }

    .hero {
        overflow: hidden;
    }

    .hero-content {
        margin-left: -20px;
        max-width: 100%;
    }

    .about-gallery img {
        width: 100%;
        max-width: 100%;
    }

    .cover-slider {
        max-width: 100%;
        overflow: visible;
    }

    .cover-slide {
        max-width: 90vw;
    }

    header {
        overflow: hidden;
    }
    
}