:root {
    --black: #0d0d0d;
    --dark-gray: #1a1a1a;
    --primary: #ce6c2d;
    --primary-hover: #b95f25;
    --white: #ffffff;
    --gray: #bfbfbf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: -webkit-fill-available;
}

body {
    font-family: Arial, sans-serif;
    background: var(--black);
    color: var(--white);
    min-height: 100dvh;
}

html, body {
    overflow-x: hidden;
}

.service,
.gallery-item {
    max-width: 100%;
}

.service h3,
.gallery-title,
.gallery-text {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    padding: 10px 20px;
    text-decoration: none;
    color: var(--white);
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-left {
    flex: 1;
    margin-left: 500px;
}

.hero-logo {
    width: 120px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 35px;
    background: #ce6c2d;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 500;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: var(--primary-hover);
}

.hero-right {
    flex: 1;
    position: relative;
    height: 600px;
}

.hero-img {
    position: absolute;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.hero-img {
    width: 380px;
    border-radius: 12px;
}

.hero-img-main {
    position: absolute;
    left: 100px;
    top: 300px;
    z-index: 2;
    
}


.hero-img-second {
    position: absolute;
    left: -100px;
    top: -50px;
    z-index: 1;
    width: 500px;
}

.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service {
    background: var(--dark-gray);
    padding: 40px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.service:hover {
    border: 1px solid var(--primary);
    transform: translateY(-5px);
}

.dark {
    background: var(--dark-gray);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    background: #232323;
    border-top: 3px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.gallery-item .hero-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    z-index: 2;
}

.gallery-item:hover .hero-btn {
    opacity: 1;
}

.hero-btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #000;
    transform: translateY(-3px);
}

.gallery-content {
    padding: 20px;
}

.gallery-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.gallery-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    background: #ce6c2d;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
}

.gallery-btn-d {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 40px;
    background: #ce6c2d;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.gallery-btn-d:hover {
    background: #000;
    transform: translateY(-3px);
}

.gallery-btn:hover {
    background: #000;
    transform: translateY(-3px);
}

.gallery-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.realization {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.8s ease;
}

.gallery-heading {
    flex: 1;
}

.realization-hr {
    width: 50%;
    height: 2px;
    background-color: #ce6c2d;
    border: none;
    margin: 8px 0 0 0;
}

.gallery-item:hover .realization {
    transform: rotate(360deg);
}

.cta {
    text-align: center;
    padding: 5px 20px;
    background: var(--primary);
    color: var(--white);
}

footer {
    background: #000;
    padding: 30px 0 10px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

footer iframe {
    width: 100%;
    height: 150px;
    border: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    font-size: 14px;
    color: #aaa;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
}

.section {
    padding: 30px 0;
}

.realization {
    width: 60px;
    height: 60px;
}

.realization-hr {
    width: 75%;
    height: 2px;
    background-color: #ce6c2d;
    border: none;
    margin: 15px 0;
}

.map-section {
    width: 100%;
    background: #111;
    padding: 60px 0 0 0;
}

.map-container iframe {
    width: 100%;
    height: 120px;
    border-radius: 8px;
}


.gallery-item .hero-btn:hover {
    background: #000;
    color: #fff;
    transform: translate(-50%, calc(-50% - 3px));
}

.send1
{
    width: 40px;
    margin-left: auto;
}

.send2
{
    width: 50px;
    margin-left: auto;
}

.contact-icons {
    display: flex;
    align-items: center;
    gap: 50px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    padding: 40px;
    z-index: 9999;
}

.modal-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1100px;
}

.modal-content img {
    max-width: 300px;
    max-height: 300px;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.fullscreen-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.fullscreen-modal img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 10px;
}

.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 45px;
    color: #fff;
    cursor: pointer;
}

.info-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.info-box {
    background: #000;
    border: 3px solid #ce6c2d;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    color: #fff;
    border-radius: 12px;
    position: relative;
    text-align: center;
}

.info-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #ce6c2d;
}

a,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

a[href^="tel"],
a[href^="mailto"] {
    color: inherit !important;
    text-decoration: none !important;
}

a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: inherit !important;
}

[data-detectors],
[data-detectors] * {
    color: inherit !important;
    text-decoration: none !important;
}

.footer,
.footer p,
.footer span {
    color: #fff;
}

@media (max-width: 1400px) {

    .container {
        width: 95%;
    }

    .hero-left {
        margin-left: 0 !important;
    }

    .hero-title {
        font-size: 42px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-content {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 1200px) {

    .slider {
        min-height: 100svh;
    }

    .slide {
        position: absolute;
        min-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 20px;
        text-align: center;
    }

    .hero-left {
        margin-top: 50%;
        margin-left: 0;
        width: 100%;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-right {
        display: none;
    }

    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .logo-img {
        height: 70px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 8px 0;
    }

    .contact-icons {
        display: flex;
        gap: 25px;
        justify-content: center;
    }

    .service {
        padding: 20px;
    }

    .gallery-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 12px;
        width: 100%;
    }

    .gallery-heading {
        width: 100%;
    }

    .realization {
        width: 40px;
        height: 40px;
        display: block;
        margin-bottom: 10px;
    }

    .gallery-title {
        font-size: 17px;
        line-height: 1.3;
        width: 100%;
        white-space: normal;
    }

    .realization-hr {
        width: 60%;
        margin: 10px auto;
    }

    .gallery-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .modal {
        padding: 20px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .modal-content {
        gap: 15px;
    }

    .modal-content img {
        width: 100%;
        max-width: 220px;
        height: auto;
    }
}

@media (max-width: 480px) { 
    .hero-title { 
    font-size: 22px; 
    } 

    .logo-img { 
        height: 70px; 
    } 
}