/* ------------------------------ */
/* GENERAL SETTINGS */
/* ------------------------------ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    color: #20264f;
    background-color: #ffffff;
    line-height: 1.6;
}


section {
    scroll-margin-top: 80px;
}


:root {
    --navy: #20264f;
    --dark-navy: #151a38;
    --gold: #f4bd22;
    --red: #ff4c43;
    --white: #ffffff;
    --light-gray: #f3f4f7;
    --gray: #5f6474;
}


/* ------------------------------ */
/* NAVIGATION */
/* ------------------------------ */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--navy);
}


.navbar {
    width: 90%;
    max-width: 1250px;
    min-height: 75px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
}


.logo span {
    color: var(--gold);
}


.logo small {
    display: block;
    font-size: 0.5rem;
    letter-spacing: 2px;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}


.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}


.nav-links a:hover {
    color: var(--gold);
}


.menu-button {
    display: none;

    border: none;
    background: none;

    color: white;
    font-size: 2rem;

    cursor: pointer;
}


/* ------------------------------ */
/* HOME */
/* ------------------------------ */

.hero {
    min-height: 700px;

    display: flex;
    align-items: center;

    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(21, 26, 56, 0.95),
            rgba(32, 38, 79, 0.70)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;
}


.hero-content {
    width: 90%;
    max-width: 1200px;
    margin: auto;

    position: relative;
    z-index: 2;

    color: white;
}


.small-title {
    color: var(--gold);

    font-size: 1rem;
    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 20px;
}


.hero h1 {
    max-width: 800px;

    font-size: clamp(
        3rem,
        7vw,
        6rem
    );

    line-height: 1.05;

    margin-bottom: 25px;
}


.hero h1 span {
    display: block;
    color: var(--gold);
}


.hero-text {
    max-width: 650px;

    font-size: 1.25rem;

    margin-bottom: 35px;
}


.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* ------------------------------ */
/* BUTTONS */
/* ------------------------------ */

.button {
    display: inline-block;

    padding: 15px 25px;

    border-radius: 5px;

    text-decoration: none;

    font-weight: bold;

    cursor: pointer;

    transition: 0.25s;
}


.button-gold {
    border: 2px solid var(--gold);

    background-color: var(--gold);

    color: var(--navy);
}


.button-gold:hover {
    transform: translateY(-3px);

    background-color: white;
}


.button-outline {
    border: 2px solid white;

    color: white;
}


.button-outline:hover {
    background-color: white;

    color: var(--navy);
}


.button-dark {
    background-color: var(--navy);

    color: white;
}


.button-dark:hover {
    background-color: var(--gold);

    color: var(--navy);
}


/* ------------------------------ */
/* GENERAL SECTIONS */
/* ------------------------------ */

.section {
    padding: 100px 5%;
}


.section-heading {
    text-align: center;

    margin-bottom: 55px;
}


.section-heading p {
    color: var(--gold);

    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 8px;
}


.section-heading h2 {
    font-size: clamp(
        2.3rem,
        5vw,
        4rem
    );

    color: var(--navy);
}


.heading-line {
    display: block;

    width: 80px;
    height: 5px;

    margin: 20px auto 0;

    background-color: var(--gold);
}


/* ------------------------------ */
/* ABOUT */
/* ------------------------------ */

.about {
    background-color: white;
}


.about-content {
    width: 100%;
    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.3fr 0.7fr;

    gap: 70px;

    align-items: center;
}


.about-text h3 {
    font-size: 2rem;

    margin-bottom: 20px;
}


.about-text p {
    color: var(--gray);

    margin-bottom: 20px;
}


.about-box {
    background-color: var(--navy);

    padding: 45px;

    border-left:
        8px solid var(--gold);
}


.about-box div {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 25px;

    color: white;
}


.about-box div:last-child {
    margin-bottom: 0;
}


.about-box strong {
    color: var(--gold);

    font-size: 2rem;
}


/* ------------------------------ */
/* SERVICES */
/* ------------------------------ */

.services {
    background-color: var(--light-gray);
}


.services-grid {
    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 22px;
}


.service-card {
    background-color: white;

    padding: 30px;

    border-bottom:
        5px solid transparent;

    transition: 0.25s;
}


.service-card:hover {
    transform:
        translateY(-7px);

    border-bottom-color:
        var(--gold);
}


.service-number {
    color: var(--gold);

    font-size: 1.2rem;

    font-weight: bold;

    margin-bottom: 25px;
}


.service-card h3 {
    font-size: 1.5rem;

    margin-bottom: 10px;
}


.service-card p {
    color: var(--gray);
}


/* ------------------------------ */
/* GALLERY */
/* ------------------------------ */

.gallery {
    background-color: white;
}

.gallery-introduction {
    text-align: center;
    color: var(--gray);
    margin-top: -30px;
    margin-bottom: 35px;
}

.gallery-grid {
    max-width: 1250px;
    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.gallery-item {
    position: relative;

    height: 320px;

    overflow: hidden;

    border-radius: 6px;

    background-color: var(--navy);

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-label {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;

    padding: 20px;

    background:
        linear-gradient(
            transparent,
            rgba(21, 26, 56, 0.95)
        );

    color: white;
}

.gallery-label h3 {
    font-size: 1.4rem;

    margin: 0;
}


/* ------------------------------ */
/* REVIEWS */
/* ------------------------------ */

.reviews {
    background-color: var(--light-gray);
}


.review-layout {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 40px;
}


.review-list {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.review-card {
    background-color: white;

    padding: 35px;

    border-left:
        6px solid var(--gold);

    box-shadow:
        0 8px 25px
        rgba(
            0,
            0,
            0,
            0.06
        );
}


.stars {
    color: var(--gold);

    font-size: 1.4rem;

    letter-spacing: 3px;

    margin-bottom: 15px;
}


.review-card p {
    color: var(--gray);

    font-style: italic;

    margin-bottom: 18px;
}


.review-card h4 {
    color: var(--navy);
}


.review-form {
    background-color: var(--navy);

    padding: 40px;

    color: white;
}


.review-form h3 {
    font-size: 2rem;

    margin-bottom: 5px;
}


.review-form > p {
    color: #d7d9e5;

    margin-bottom: 25px;
}


.review-form label {
    display: block;

    margin-top: 18px;

    margin-bottom: 7px;

    font-weight: bold;
}


.review-form label span {
    color: #c9cbd7;

    font-weight: normal;
}


.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 3px;

    font-family: inherit;

    font-size: 1rem;
}


.review-form textarea {
    resize: vertical;
}


.review-form button {
    width: 100%;

    margin-top: 22px;
}


.form-message {
    min-height: 25px;

    margin-top: 15px;

    color: var(--gold);

    font-weight: bold;
}


/* ------------------------------ */
/* CONTACT */
/* ------------------------------ */

.contact {
    padding: 100px 5%;

    background:
        linear-gradient(
            135deg,
            var(--dark-navy),
            var(--navy)
        );

    color: white;

    text-align: center;
}


.contact-content {
    max-width: 1000px;

    margin: auto;
}


.contact-content > p {
    color: var(--gold);

    font-weight: bold;

    letter-spacing: 3px;
}


.contact h2 {
    font-size: clamp(
        2.7rem,
        6vw,
        5rem
    );

    line-height: 1.1;

    margin:
        15px
        0
        40px;
}


.contact h2 span {
    display: block;

    color: var(--red);
}


.contact-buttons {
    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}


.contact-link {
    padding: 17px 25px;

    background-color: white;

    color: var(--navy);

    text-decoration: none;

    font-size: 1.15rem;

    font-weight: bold;

    border-radius: 5px;
}


.contact-link:hover {
    background-color: var(--gold);
}


/* ------------------------------ */
/* FOOTER */
/* ------------------------------ */

footer {
    padding: 50px 5%;

    background-color: #0d1025;

    color: white;

    text-align: center;
}


footer h3 {
    font-size: 1.7rem;

    margin-bottom: 10px;
}


footer > p {
    color: #c5c8d5;
}


.copyright {
    margin-top: 30px;

    font-size: 0.85rem;
}


/* ------------------------------ */
/* TABLET */
/* ------------------------------ */

@media (
    max-width: 950px
) {

    .services-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .about-content,
    .review-layout {
        grid-template-columns:
            1fr;
    }


    .gallery-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }

}


/* ------------------------------ */
/* PHONE */
/* ------------------------------ */

@media (
    max-width: 700px
) {

    .menu-button {
        display: block;
    }


    .nav-links {
        display: none;

        position: absolute;

        top: 75px;
        left: 0;

        width: 100%;

        padding: 25px;

        background-color:
            var(--navy);

        flex-direction:
            column;

        text-align: center;
    }


    .nav-links.show {
        display: flex;
    }


    .hero {
        min-height: 650px;
    }


    .section {
        padding:
            75px
            5%;
    }


    .services-grid,
    .gallery-grid {
        grid-template-columns:
            1fr;
    }


    .contact-buttons {
        flex-direction:
            column;
    }


    .contact-link {
        width: 100%;
    }

}
/* ------------------------------ */
/* GALLERY LIGHTBOX */
/* ------------------------------ */

.gallery-item img {
    cursor: pointer;
}

.lightbox {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.9);

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px;

    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;

    object-fit: contain;

    border-radius: 6px;

    box-shadow:
        0 10px 40px
        rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;

    top: 20px;
    right: 30px;

    width: 50px;
    height: 50px;

    border: none;

    border-radius: 50%;

    background: white;

    color: #151a38;

    font-size: 35px;

    line-height: 1;

    cursor: pointer;
}

.lightbox-close:hover {
    background: #fbbd17;
}
/* -------------------------------- */
/* REVIEWS & TESTIMONIALS */
/* -------------------------------- */

.reviews_section {
    background: #f4f5f9;
}

.review-layout {
    max-width: 1100px;
    margin: 40px auto 0;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 35px;

    align-items: start;
}

/* Review cards */

.review-card {
    background: white;

    padding: 28px;

    border-radius: 10px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);

    border-top: 4px solid #fbbd17;
}

.review-card h3 {
    color: #151a38;

    margin: 0 0 8px;

    font-size: 1.2rem;
}

.review-stars {
    color: #fbbd17;

    font-size: 1.3rem;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.review-card p {
    color: #555;

    line-height: 1.7;

    margin: 0;
}

/* Review form */

.review-form {
    background: white;

    padding: 30px;

    border-radius: 10px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);
}

.review-form h3 {
    color: #151a38;

    margin-top: 0;

    font-size: 1.5rem;
}

.review-form label {
    display: block;

    margin-top: 18px;
    margin-bottom: 7px;

    font-weight: 600;

    color: #151a38;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid #d5d7df;

    border-radius: 6px;

    font-family: inherit;

    font-size: 1rem;

    box-sizing: border-box;

    background: white;
}

.review-form textarea {
    min-height: 130px;

    resize: vertical;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    outline: none;

    border-color: #fbbd17;

    box-shadow:
        0 0 0 3px rgba(251, 189, 23, 0.15);
}

.review-form button {
    margin-top: 22px;

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 6px;

    background: #fbbd17;

    color: #151a38;

    font-size: 1rem;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s ease;
}

.review-form button:hover {
    background: #151a38;

    color: white;
}

/* Mobile */

@media (max-width: 768px) {

    .review-layout {
        grid-template-columns: 1fr;

        gap: 25px;
    }

}
/* Empty Reviews Message */

.review-empty {
    background: white;

    padding: 40px 30px;

    border-radius: 10px;

    border-top: 4px solid #fbbd17;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.review-empty-stars {
    color: #fbbd17;

    font-size: 1.5rem;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.review-empty h3 {
    color: #151a38;

    font-size: 1.4rem;

    margin: 0 0 10px;
}

.review-empty p {
    color: #666;

    line-height: 1.6;

    margin: 0;
}

/* ------------------------------ */
/* ESTIMATE REQUEST FORM */
/* ------------------------------ */

.estimate-form {
    max-width: 850px;
    margin: 55px auto 0;
    padding: 40px;
    background-color: white;
    color: var(--navy);
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.estimate-form h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.estimate-form > p {
    color: var(--gray);
    margin-bottom: 25px;
}

.estimate-form label {
    display: block;
    margin: 18px 0 7px;
    font-weight: bold;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d7d9e0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.estimate-form textarea {
    resize: vertical;
}

.estimate-form button {
    width: 100%;
    margin-top: 22px;
}

.estimate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-message.success {
    color: #16803c;
}

.form-message.error {
    color: #c62828;
}

@media (max-width: 700px) {
    .estimate-form {
        padding: 25px 20px;
    }

    .estimate-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
