/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: white;
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.65) 45%,
            rgba(0, 0, 0, 0.45) 100%);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}


/* =========================
   GLOBAL
========================= */

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: auto;
}

section {
    padding: 120px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
    line-height: 1.2;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 34px;

    border-radius: 8px;

    font-weight: 700;

    transition: var(--transition);

    position: relative;

    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-yellow);
    color: var(--color-black);
}

.btn-primary:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 25px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.92);
    padding: 18px 0;
}


.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--color-white);
    font-size: 28px;
    font-weight: 900;
    font-family: var(--font-title);
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-yellow);
}

.menu-toggle {
    display: none;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-content span {
    display: inline-block;
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content h1 {
    /*font-size: 72px;*/
    font-size: 68px;
    line-height: 1.05;
    letter-spacing: -2px;

    color: var(--color-white);
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 620px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}


/* =========================
   DIFFERENCE
========================= 

.difference-section {

    background-color: #f8f8f8;

}*/

.difference-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

    margin-top: 50px;

}

.difference-card {

    background-color: var(--color-white);

    padding: 40px;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-soft);

    transition: var(--transition);

    color: var(--color-gray);

}

.difference-card:hover {

    transform: translateY(-5px);

}

.difference-card h3 {

    font-size: 28px;

    margin-bottom: 20px;

}

.difference-card p {

    color: var(--color-gray);

    line-height: 1.8;

}

/* =========================
   FOOTER
========================= */

.footer {
    /*background-color: var(--color-dark);*/
    color: var(--color-white);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.footer-column h3 {
    margin-bottom: 20px;
}

.footer-column p,
.footer-column a,
.footer-column li {
    color: rgba(255, 255, 255, 0.75);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.developer-credit, .developer-credit a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition);
}

.developer-credit {
    padding-right: 85px;
}

.developer-credit a {
    font-weight: 700;
}

.developer-credit a:hover {
    color: var(--color-yellow);
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .developer-credit {
        padding-right: 0;
    }
}

/* =========================
   FOOTER MAP
========================= */

.footer-map {

    margin-top: 20px;

    border-radius: var(--border-radius);

    overflow: hidden;

    box-shadow: var(--shadow-soft);

}

.footer-map iframe {

    width: 100%;

    height: 220px;

    border: none;

    /*filter: grayscale(100%) contrast(1.1);*/

}

/* =========================
   SECTION TITLE
========================= */

.section-title {
    margin-bottom: 30px;
}

.section-title span {
    display: inline-block;
    color: var(--color-yellow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.section-title p {
    max-width: 700px;
    color: rgba(255,255,255,.75);
}


/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    background-color: var(--color-white);
    color: var(--color-gray);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card img {
    height: 280px;
    object-fit: cover;
}

.service-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-content h3 {
    margin-bottom: 15px;
    font-size: 26px;
}

.service-card-content p {
    margin-bottom: 20px;
    color: var(--color-gray);
}

.service-card-content a {
    color: var(--color-yellow);
    font-weight: 700;
}

.service-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}


.service-block-content {

    color: var(--color-white);

}

.service-block-content p {

    color: rgba(255,255,255,.8);

}

.service-block-content li {

    color: rgba(255,255,255,.9);

}

.service-block {

    padding-bottom: 120px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    scroll-margin-top: 120px;

}

.service-block:last-child {

    border-bottom: none;
    padding-bottom: 0;

}

.service-block-content h2 {
    color: white;
}

.service-block-content p {
    color: rgba(255,255,255,.85);
}

.service-block-content li {
    color: white;
}


/* =========================
   PROJECTS
========================= */
/*
.projects-section {
    background-color: #f8f8f8;
}*/

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.project-card img {
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.2));

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 30px;
}

.project-overlay span {
    color: var(--color-yellow);
    margin-bottom: 10px;
    font-weight: 700;
}

.project-overlay h3 {
    color: var(--color-white);
    font-size: 28px;
}

/* =========================
   FEATURED PROJECT
========================= */

.featured-project-section {

    /*background-color: var(--color-dark);*/

    color: var(--color-white);

}

.featured-project-container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}

.featured-project-image img {

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-soft);

    height: 500px;

    object-fit: cover;

}

.featured-project-content span {

    display: inline-block;

    margin-bottom: 20px;

    color: var(--color-yellow);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;

}

.featured-project-content h2 {

    font-size: 42px;

    margin-bottom: 25px;

    line-height: 1.2;

}

.featured-project-content p {

    color: rgba(255,255,255,0.8);

    margin-bottom: 35px;

}

/* =========================
   CLIENTS SLIDER
========================= */

.clients-slider {

    overflow: hidden;

    position: relative;

    margin-top: 50px;

}

.clients-track {

    display: flex;

    align-items: center;

    gap: 80px;

    width: max-content;

    animation: scrollClients 35s linear infinite;

}

.clients-track img {

    height: 70px;

    width: auto;

    opacity: 0.7;

    transition: var(--transition);

    /*filter: grayscale(100%);*/

}

.clients-track img:hover {

    opacity: 1;

    filter: grayscale(0%);

}

@keyframes scrollClients {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

/* =========================
   CTA
========================= */
/*
.cta-section {
    background-color: var(--color-dark);
}*/

.cta-box {
    text-align: center;
    color: var(--color-white);
}

.cta-box h2 {
    font-size: 52px;
    margin-bottom: 20px;
}

.cta-box p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
}

/* =========================
   FADE IN
========================= */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   PAGE HERO
========================= */

.page-hero {

    position: relative;

    height: 420px;

    background-image:
        url('../img/page-hero/page-hero.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

}

.page-hero-overlay {

    position: absolute;
    inset: 0;

    background-color: rgba(0, 0, 0, 0.65);

}

.page-hero-content {

    position: relative;
    z-index: 2;

}

.page-hero-content span {

    color: var(--color-yellow);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;

}

.page-hero-content h1 {

    color: var(--color-white);

    font-size: 64px;

    margin-top: 15px;

}


/* =========================
   ABOUT
========================= */

.about-container {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 60px;

    align-items: center;

}

.about-image img {

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-soft);

}

.about-content p {

    margin-bottom: 20px;

    color: var(--color-white);

}


/* =========================
   VALUES
========================= */
/*
.values-section {

    background-color: #f8f8f8;

}*/

.values-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    align-items: stretch;

}

.value-card {

    background-color: var(--color-white);

    padding: 40px 35px;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-soft);

    height: 100%;

}

.value-card h3 {

    margin-bottom: 20px;
    font-size: 28px;
    color: var(--color-gray);

}

.value-card p {

    margin-bottom: 20px;
    color: var(--color-gray);

}

.value-card h4 {
    margin-top: 20px;

    margin-bottom: 10px;

    font-size: 20px;

    color: var(--color-gray);    
}


/* =========================
   STATS
========================= */

.stats-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

.stat-card {

    text-align: center;

}

.stat-card h3 {

    font-size: 56px;

    color: var(--color-yellow);

    margin-bottom: 10px;

}

/* =========================
   SERVICES DETAIL
========================= */

.services-detail-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

.service-detail-card {

    background-color: var(--color-white);

    border-radius: var(--border-radius);

    overflow: hidden;

    box-shadow: var(--shadow-soft);

}

.service-detail-card img {

    height: 280px;

    object-fit: cover;

}

.service-detail-content {

    padding: 30px;

}

.service-detail-content h3 {

    margin-bottom: 20px;

    font-size: 28px;

}

.service-detail-content p {

    color: var(--color-gray);

}


/* =========================
   PROCESS
========================= */
/*
.process-section {

    background-color: #f8f8f8;

}*/

.process-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

.process-card {

    background-color: var(--color-white);

    padding: 40px 35px;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-soft);

}

.process-card h3 {

    font-size: 56px;

    color: var(--color-yellow);

    margin-bottom: 20px;

}

.process-card h4 {

    margin-bottom: 15px;
    color: var(--color-gray);
    font-size: 24px;

}

.process-card p {

    color: var(--color-gray);

}

/* =========================
   PROJECT FILTERS
========================= */

.projects-filters {

    display: flex;

    gap: 20px;

    flex-wrap: wrap;

}

.filter-btn {

    border: none;

    background-color: #f1f1f1;

    padding: 14px 24px;

    border-radius: 6px;

    font-weight: 700;

    cursor: pointer;

    transition: var(--transition);

}

.filter-btn.active {

    background-color: var(--color-yellow);

    color: var(--color-black);

}


/* =========================
   PROJECTS GALLERY
========================= */

.projects-gallery-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

.gallery-project-card {

    position: relative;

    overflow: hidden;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-soft);

}

.gallery-project-card img {

    width: 100%;

    aspect-ratio: 3 / 2;

    display: block;

    object-fit: cover;

    transition: var(--transition);

}

.gallery-project-card:hover img {

    transform: scale(1.05);

}

.gallery-project-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.2));

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 30px;

}

.gallery-project-overlay span {

    color: var(--color-yellow);

    font-weight: 700;

    margin-bottom: 10px;

}

.gallery-project-overlay h3 {

    color: var(--color-white);

    font-size: 28px;

}

/* =========================
   FAQ
========================= */

.faq-section {

    padding-top: 0;

}

.faq-item {

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

}

.faq-question {

    width: 100%;

    background: none;

    border: none;

    padding: 30px 0;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 22px;

    font-weight: 700;

    color: var(--color-white);

    text-align: left;

    cursor: pointer;

}

.faq-question span {

    color: var(--color-yellow);

    font-size: 32px;

    transition: var(--transition);

}

.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition: max-height 0.4s ease;

}

.faq-answer p {

    padding-bottom: 30px;

    color: rgba(255, 255, 255, 0.85);

}

/* =========================
   CONTACT
========================= */

.contact-container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: start;

}

.contact-items {

    margin-top: 40px;

    display: flex;

    flex-direction: column;

    gap: 30px;

}

.contact-item h3 {

    margin-bottom: 10px;

    font-size: 22px;

}

.contact-item p {

    color: var(--color-yellow);

}


/* =========================
   FORM
========================= */

.contact-form-wrapper {

    background-color: var(--color-white);

    padding: 45px;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-soft);

}

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 25px;

}

.form-row {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

}

.form-group {

    display: flex;

    flex-direction: column;

}

.form-group label {

    margin-bottom: 10px;

    font-weight: 700;

}

.form-group input,
.form-group textarea,
.form-group select {

    border: 1px solid #dcdcdc;

    padding: 16px;

    border-radius: 6px;

    font-family: var(--font-text);

    font-size: 16px;

    outline: none;

    transition: var(--transition);

}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

    border-color: var(--color-yellow);

}

textarea {

    resize: vertical;

}

/* =========================
   THANKS
========================= */

.thanks-section {

    min-height: 80vh;

    display: flex;

    align-items: center;

    justify-content: center;

}

.thanks-box {

    background-color: var(--color-white);

    padding: 70px 50px;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-soft);

    text-align: center;

    max-width: 700px;

    margin: 0 auto;

}

.thanks-box span {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 90px;
    height: 90px;

    border-radius: 50%;

    background-color: var(--color-yellow);

    font-size: 42px;

    font-weight: 700;

    margin-bottom: 30px;

}

.thanks-box h1 {

    margin-bottom: 25px;

}

.thanks-box p {

    color: var(--color-gray);

    margin-bottom: 35px;

}

.hidden-field {

    display: none;

}


/* =========================
   SERVICES BLOCKS
========================= */
/*
.services-blocks-section {

    background-color: var(--color-white);

}*/

.service-block {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

    margin-bottom: 120px;

}

.service-block:last-child {

    margin-bottom: 0;

}

.service-block.reverse .service-block-image {

    order: 2;

}

.service-block.reverse .service-block-content {

    order: 1;

}

.service-block-image img {

    height: 520px;

    object-fit: cover;

    border-radius: var(--border-radius);

    box-shadow: var(--shadow-soft);

}

.service-block-content span {

    display: inline-block;

    margin-bottom: 20px;

    color: var(--color-yellow);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;

}

.service-block-content h2 {

    font-size: 46px;

    margin-bottom: 25px;

    line-height: 1.15;

}

.service-block-content p {

    color: var(--color-white);

    margin-bottom: 30px;

    line-height: 1.8;

}

.service-block-content ul {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.service-block-content li {

    position: relative;

    padding-left: 30px;

    font-weight: 600;

}

.service-block-content li::before {

    content: "•";

    position: absolute center;

    left: 0;

    top: 0;

    color: var(--color-yellow);

    font-size: 22px;

}

/* =========================
   WHATSAPP
========================= */

.whatsapp-float {

    position: fixed;

    bottom: 25px;

    right: 25px;

    width: 65px;

    height: 65px;

    border-radius: 50%;

    background: #25D366;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 8px 25px rgba(0,0,0,.25);

    z-index: 9999;

    transition: .3s;
}

.whatsapp-float i {

    font-size: 36px;

}

.whatsapp-float:hover {

    transform: scale(1.1);

}

/* =========================
   PROJECTS GALLERY
========================= */

.gallery-project-card {

    cursor: pointer;

}

.gallery-project-overlay {

    transition: var(--transition);

}

.gallery-project-card:hover .gallery-project-overlay {

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.95),
            rgba(0,0,0,.35)
        );

}

.project-details {

    max-height: 0;

    overflow: hidden;

    padding: 0 30px;

    background: white;

    color: var(--color-gray);

    transition:
        max-height .5s ease,
        padding .3s ease;

}

.gallery-project-card.active .project-details {

    max-height: 400px;

    padding: 30px;

}

.project-details ul {

    margin-top: 20px;

}

.project-details li {

    margin-bottom: 10px;

    padding-left: 20px;

    position: relative;

}

.project-details li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: var(--color-yellow);

    font-weight: bold;

}

/* =========================
   PROJECT MODAL
========================= */

.project-modal {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.85);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    opacity: 0;

    visibility: hidden;

    transition: .3s;

    z-index: 9999;

}

.project-modal.active {

    opacity: 1;

    visibility: visible;

}

.project-modal-content {

    background: #fff;

    color: #222;

    max-width: 800px;

    width: 100%;

    border-radius: 16px;

    overflow: hidden;

    position: relative;

    max-height: 90vh;

    overflow-y: auto;

}

.project-modal-content img {

    width: 100%;

    aspect-ratio: 3 / 2;

    object-fit: cover;

}

.project-modal-body {

    padding: 40px;

}

.project-modal-body span {

    color: var(--color-yellow);

    font-weight: 700;

    text-transform: uppercase;

}

.project-modal-body h2 {

    margin: 15px 0 20px;

    font-size: 42px;

}

.project-modal-body p {

    color: #555;

    margin-bottom: 25px;

}

.project-modal-body ul {

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.project-modal-body li {

    color: #444;

    position: relative;

    padding-left: 20px;

}

.project-modal-body li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: var(--color-yellow);

    font-weight: bold;

}

.project-modal-close {

    position: absolute;

    top: 15px;

    right: 20px;

    width: 45px;

    height: 45px;

    border: none;

    border-radius: 50%;

    background: rgba(0,0,0,.7);

    color: white;

    font-size: 28px;

    cursor: pointer;

    z-index: 2;

}