/* css/styles.css */
/* ============================================================
   HERO (Main page)
   ============================================================ */
.hero {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    height: 70vh;
    background: transparent;

    position: relative;
}


.hero__title,
.hero span {
    position: fixed;
    left: 50%;
    top: 40vh;
    transform: translateX(-50%);

    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--header-color);
    text-shadow: 1px 1px 5px #111111;
    text-transform: uppercase;
    line-height: 1;

    z-index: 1;
}


.hero span {
    top: 50vh;

    font-size: 22px;
    font-weight: 500;
    text-align: center;
}

/* ============================================================
   about SECTIONS (Main page — text + image pairs)
   ============================================================ */
.about-us {
    padding: 80px 40px;
}

.about-us__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-content: center;
    justify-content: center;
    gap: 80px;

    margin: 0 auto;
    max-width: var(--container-width);
    background: #cecdcd4d;
}

.about-us__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    flex: 1;
}

.about-us__content h2 {
    color: var(--accent-light);
}

.about-us__title {
    font-size: 35px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.about-us__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    max-width: 100%;
}

.about-us__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;

    margin-bottom: 15px;
}

.about-us__item {
    display: flex;
    align-items: center;
    gap: 2px;
}

.about-us__item svg {
    color: var(--accent-light);
    width: 14px;
    height: 14px;
}

.about-us__item span {
    display: block;
    color: var(--text-muted);
}

.about-us__item-wrapper {
    height: 100%;
    width: fit-content;
}

.about-us__btn {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about-us__image {
    flex: 0 0 300px;
    width: 100%;
    height: 100%;

    position: relative;
}

.about-us__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.about-us__text-image {
    position: absolute;
    top: 20px;
    right: -40px;

    color: var(--white);
    backdrop-filter: blur(10px);
    background: rgb(0, 0, 0, 0.2);

    width: fit-content;
    height: fit-content;
    padding: 20px;
    border-radius: 5px;
}

.about-us__second-image {
    position: absolute;
    bottom: -40px;
    left: -40px;

    width: 200px;
    height: 200px;
}

.about-us__second-image img {
    width: 100%;
    height: 100%;
}

/* =================SERVICE SECTION==================== */
.service__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.service__description {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.service__title-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;

    height: 100%;
}

.service__title {
    font-size: 35px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.service__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.service__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 10px;
    width: 260px;
    height: 280px;
    background: #cecdcd4d;

    position: relative;
}


.service__item iconify-icon {
    position: absolute;
    top: 10px;

    width: 40px;
    height: 40px;
    color: var(--accent-light);
    margin-bottom: 10px;
}

.service__item h3 {
    position: absolute;
    top: 60px;

    text-align: center;
}

.service__item p {
    position: absolute;
    top: 95px;

    line-height: 1.6;
    text-align: center;
}

.service__options-btn {
    position: absolute;
    bottom: 15px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.service__options-btn>svg {
    width: 15px;
}

.service__btn {
    min-width: 270px;
}

/* =================BLOG SECTION==================== */
.blog {
    width: 100%;
}

.blog__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

    width: 100%;
    background: #cecdcd4d;
}

.blog__title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
}

.blog__subtitle {}

.blog__title {
    font-size: 35px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.blog__list {
    display: flex;
    justify-content: space-around;
    gap: 10px;

    width: 100%;
}

ul,
ol {
    list-style: none;
}

.blog__item {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    background: var(--white);
    transition: var(--transition);
}

.blog__item:hover {
    transform: translateY(-10px);
}

.blog__item-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blog__item-image {
    width: 450px;
    height: 450px;
    overflow: hidden;

    position: relative;
}

.blog__item-image img {
    display: block;
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.blog__item-title-wrapper {
    padding: 20px;
}

.blog__item-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.blog__item-date {
    color: var(--text-muted);
    font-size: 14px;
}

/* ================CONTACT SECTION============================= */
.contact-section {
    padding: 80px 40px;
    background-color: var(--contact-bg);
    width: 100%;
    height: 100%;
}


.contact-section__inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;

    height: 100%;
    width: 100%;
    position: relative;
}

.contact-section__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 100%;
    width: 100%;
    max-width: 500px;
}

.contact-section__right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 100%;
    height: 100%;
    max-width: 500px;
}

.contact-section__title {
    position: absolute;
    top: 0;
    transform: translateY(-50px);

    font-size: 30px;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--text-color);
    letter-spacing: 0.3px;
}

.contact-section__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
}

.contact-section__info a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-section__map {
    overflow: hidden;
    height: 437px;
    width: 100%;
}

.contact-section__map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ============================================================
   FORM
   ============================================================ */
.form {
    display: flex;
    flex-direction: column;
    gap: 5px;

    width: 100%;
    height: 100%;
    background-color: var(--contact-bg);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 5px;

    width: 100%;
    height: 100%;
}

.form__label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.form__label span {
    color: #cc0000;
    margin-left: 2px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--text-color);
    background: var(--white);
    transition: border-color 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--accent-light);
}

.form__textarea {
    resize: vertical;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
    cursor: pointer;
}

.form__checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-light);
    cursor: pointer;
}

.form__error {
    font-size: 16px;
    color: #cc0000;
    display: block;
}

.form__error[hidden] {
    display: none;
}

.form__required-note {
    font-size: 16px;
    color: var(--text-color);
}

.form__submit {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background-color: transparent;
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.form__submit:hover {
    background-color: var(--text-color);
    color: var(--white);
}

.form__message {
    display: none;
    padding: 10px 14px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
}

.form__message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form__message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form__message--visible {
    display: block;
}

.wpcf7-form {
    background-color: var(--contact-bg);
}

.wpcf7,
.js {
    background-color: var(--contact-bg);
}

.form__group br {
    display: none;
}

.form__group p {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wpcf7-response-output {
    border-radius: var(--border-radius);
}

.wpcf7-not-valid-tip {
    color: #952d2d;
}

.wpcf7 form .wpcf7-response-output {
    text-align: center;
    color: #952d2d;
    margin: 0;
    padding: 0;
    border: none;
}

.wpcf7-spinner {
    display: none;
}

/* =============GOOGLE REVIEWS============================== */
.gr-header {
    text-align: center;
    margin-bottom: 40px;
}

.gr-title {
    font-size: 30px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.gr-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gr-google-logo {
    display: block;
    max-width: none;
    height: 20px;
}

.gr-rating-num {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
}

.gr-stars {
    display: flex;
    gap: 2px;
}

.gr-star {
    font-size: 20px;
    color: #ddd;
}

.gr-star--on {
    color: #f5a623;
}

.gr-total {
    font-size: 14px;
    color: var(--text-muted);
}

.gr-carousel {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gr-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex: 1;
}

.gr-card {
    display: flex;
    flex-direction: column;
    gap: 12px;

    background: #cecdcd4d;
    border-radius: var(--border-radius);
    padding: 24px;
}

.gr-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gr-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    max-width: none;
    flex-shrink: 0;
}

.gr-card__name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
}

.gr-card__date {
    font-size: 13px;
    color: var(--text-muted);
}

.gr-card__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.gr-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.gr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.gr-dot--on {
    background: var(--accent-light);
}

.gr-more {
    text-align: center;
    margin-top: 28px;
}

.gr-more__link {
    font-size: 13px;
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.gr-more__link:hover {
    color: var(--accent-dark);
}

/*=====================404==================*/
.main_404 {
    display: grid;
    grid-template-rows: repeat(3, 1fr);

    width: 100%;
    height: 100%;
}

.content-404 {
    grid-row-start: 2;
    grid-row-end: 3;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 250px;
    padding: 20px;
}

/*==================RESPONSIVE=========================*/
@media (max-width: 1200px) {
    .about-us__title {
        font-size: 25px;
    }

    .service__title {
        font-size: 25px;
    }

    .about-us__image {
        display: flex;
        align-self: center;
        width: 450px;
        height: 450px;
    }

    /*-------BLOG-----------*/
    .blog__title {
        font-size: 25px;
    }

    .blog__item-image {
        width: 390px;
        height: 390px;
    }

    /*---------CONTACT---------*/
    .contact-section {
        padding: 80px 0px;
    }

    .contact-section .container {
        padding: 20px;
    }
}

@media (max-width: 1125px) {
    .about-us .container {
        padding: 20px;
    }

    .about-us {
        padding: 80px 20px;
    }

    .about-us__inner {
        gap: 20px;
    }

    .about-us__content {
        position: relative;
    }

    .about-us__second-image {
        position: absolute;
        left: unset;
        right: -20px;
        bottom: -25px;
    }

    .about-us__btn {
        position: absolute;
        left: 0;
        transform: translateX(-40px);
        bottom: 0;
        transform: translateY(+45px);
    }

    /*------------blog----------------*/
    .blog .container {
        padding: 40px 10px;
    }
}

@media (max-width: 1000px) {
    .about-us__image {
        width: 400px;
        height: 400px;
    }

    /*---------contact----------*/
    .contact-section__inner {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 25px;
    }

    .contact-section__left,
    .contact-section__right {
        width: 100%;
        max-width: unset;
    }
}

@media (max-width: 900px) {
    .about-us__inner {
        display: flex;
        flex-direction: column;
    }

    .about-us__content {
        order: 2;
    }

    .about-us__image {
        width: 500px;
        height: 500px;
    }

    /*--------SERVICE-------*/
    .service__description {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .service__list {
        justify-content: center;
        flex-wrap: wrap;
    }

    /*-------BLOG-----------*/
    .blog__item-image {
        width: 330px;
        height: 330px;
    }

    /*----Google Maps-------*/
    .gr-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {

    /*-------BLOG-----------*/
    .blog__item-image {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 650px) {
    /*---------about--------*/

    .about-us__content .btn {
        max-width: unset;
    }

    .about-us__btn {
        position: absolute;
        left: unset;
        width: 100%;
    }

    /*---------service--------*/
    .service__item {
        max-width: 500px;
    }

    .service__item .btn {
        max-width: unset;
        width: 100%;
    }


    /*-------BLOG-----------*/
    .blog__list {
        flex-wrap: wrap;
    }


    .blog__item {
        max-width: unset;
        padding: 10px;
    }

    .blog__item-image {
        width: 400px;
    }

    .blog__item-title-wrapper {
        padding: 5px;
    }

    .blog__item-title {
        margin-bottom: 5px;
    }

    /*----Google Maps-------*/
    .gr-cards {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 550px) {
    .hero__title {
        font-size: 50px;
    }

    .about-us__image {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 450px) {
    .about-us {
        padding: 0 0 25px 0;
    }

    .about-us__inner {
        gap: 35px;
    }

    .about-us__text-image {
        position: absolute;
        top: 20px;
        right: -20px;
        width: fit-content;
        height: fit-content;
        padding: 0 10px;
    }

    .about-us__second-image {
        width: 155px;
        height: 155px;
    }

    /*------------blog----------*/
    .blog__title {
        text-align: center;
    }

    .blog__item-image {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 400px) {
    .hero__title {
        font-size: 40px;
    }
}