/* ===========================
   FRAMEWORK STUDIO
   style.css
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins',sans-serif;
    background: #0b0b0b;
    color: #ffffff;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

section {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title span {
        color: #caa85c;
        letter-spacing: 2px;
        font-size: .9rem;
        text-transform: uppercase;
    }

    .section-title h2 {
        margin-top: 10px;
        font-size: 2.7rem;
    }

/* ===========================
   HEADER
=========================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,.90);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo img {
    width: 180px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

    nav ul li a {
        color: #fff;
        transition: .3s;
        font-weight: 500;
    }

        nav ul li a:hover {
            color: #caa85c;
        }

/* ===========================
   BUTTONS
=========================== */

.btn,
.primary,
.secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    transition: .35s;
    font-weight: 600;
}

.btn,
.primary {
    background: #caa85c;
    color: #000;
}

.secondary {
    border: 2px solid #caa85c;
    color: #caa85c;
}

.btn:hover,
.primary:hover {
    transform: translateY(-4px);
}

.secondary:hover {
    background: #caa85c;
    color: #000;
}

/* ===========================
   HERO
=========================== */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content span {
    color: #caa85c;
    letter-spacing: 3px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.15;
    margin: 25px 0;
}

.hero-content p {
    color: #bdbdbd;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

    .hero-image img {
        width: 100%;
        max-width: 520px;
    }

/* ===========================
   ABOUT
=========================== */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
}

.about-content h5 {
    color: #caa85c;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: 2.7rem;
    margin-bottom: 25px;
}

.about-content p {
    color: #bdbdbd;
    margin-bottom: 20px;
}

/* ===========================
   SERVICES
=========================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
}

.service-card {
    background: #161616;
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    transition: .35s;
    border: 1px solid #242424;
}

    .service-card:hover {
        transform: translateY(-10px);
        border-color: #caa85c;
    }

    .service-card i {
        font-size: 3rem;
        color: #caa85c;
        margin-bottom: 20px;
    }

    .service-card h3 {
        margin-bottom: 15px;
    }

    .service-card p {
        color: #bdbdbd;
    }


/* ===========================
   WHY US
=========================== */

.why-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
}

.why-card {
    background: #141414;
    border-radius: 20px;
    padding: 35px;
    transition: .3s;
}

    .why-card:hover {
        transform: translateY(-8px);
    }

    .why-card i {
        font-size: 3rem;
        color: #caa85c;
        margin-bottom: 20px;
    }

    .why-card h3 {
        margin-bottom: 15px;
    }

    .why-card p {
        color: #bdbdbd;
    }


/* ===========================
   PROJECTS
=========================== */

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(330px,1fr));
    gap: 35px;
}

.project-card {
    background: #141414;
    overflow: hidden;
    border-radius: 20px;
    transition: .35s;
}

    .project-card:hover {
        transform: translateY(-8px);
    }

    .project-card img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

.project-info {
    padding: 30px;
}

    .project-info h3 {
        margin-bottom: 15px;
    }

    .project-info p {
        color: #bdbdbd;
        margin-bottom: 25px;
    }

    .project-info a {
        color: #caa85c;
        font-weight: 600;
    }


/* ===========================
   PROCESS
=========================== */

.process-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 25px;
    text-align: center;
}

.step {
    background: #151515;
    padding: 35px;
    border-radius: 18px;
    transition: .3s;
}

    .step:hover {
        transform: translateY(-6px);
    }

    .step span {
        display: inline-flex;
        width: 70px;
        height: 70px;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background: #caa85c;
        color: #000;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .step p {
        color: #bdbdbd;
    }


/* ===========================
   CTA
=========================== */

.cta {
    text-align: center;
    background: #111;
}

    .cta h2 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .cta p {
        color: #bdbdbd;
        margin-bottom: 35px;
    }


/* ===========================
   CONTACT
=========================== */

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 30px;
}

.contact-card {
    background: #151515;
    padding: 35px;
    text-align: center;
    border-radius: 18px;
    transition: .3s;
}

    .contact-card:hover {
        transform: translateY(-8px);
    }

    .contact-card i {
        font-size: 2.8rem;
        color: #caa85c;
        margin-bottom: 20px;
    }

    .contact-card h3 {
        margin-bottom: 10px;
    }

    .contact-card p,
    .contact-card a {
        color: #bdbdbd;
    }


/* ===========================
   FOOTER
=========================== */

footer {
    padding: 60px 10%;
    text-align: center;
    border-top: 1px solid #1d1d1d;
}

    footer img {
        width: 170px;
        margin: auto;
        margin-bottom: 25px;
    }

    footer p {
        color: #777;
    }


/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px) {

    header {
        padding: 20px 6%;
    }

    section {
        padding: 80px 6%;
    }

    .hero,
    .about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    nav {
        display: none;
    }
}

@media(max-width:768px) {

    .hero h1 {
        font-size: 2.4rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* ===========================
   JAVASCRIPT CLASSES
=========================== */

.hero-content,
.hero-image {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

    .hero-content.show,
    .hero-image.show {
        opacity: 1;
        transform: translateY(0);
    }

.service-card,
.why-card,
.project-card,
.step,
.contact-card {
    opacity: 0;
    transform: translateY(40px);
    transition: .8s;
}

    .service-card.show,
    .why-card.show,
    .project-card.show,
    .step.show,
    .contact-card.show {
        opacity: 1;
        transform: translateY(0);
    }

nav ul li a.active {
    color: #caa85c;
}

#topBtn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #caa85c;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
}

    #topBtn.showTop {
        opacity: 1;
        pointer-events: auto;
    }

    #topBtn:hover {
        transform: translateY(-5px);
    }