* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #c69a57;
    --gold-light: #e0b66e;
    --black: #050505;
    --border: #4a361c;
    --text: #f4f0e8;
    --muted: #aaa39a;
}

body {
   background-image: url("pon.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    font-family: "Playfair Display", serif;
}


/* HEADER */

header {
    min-height: 100px;

    display: flex;
    align-items: center;

    padding: 20px 50px;

    border-bottom: 1px solid var(--border);
}


/* LOGO */

.foto {
    width: 200px;
    height: auto;
    object-fit: contain;
}


/* MENU */

.mark_text {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: auto;
    margin-right: 35px;
}

.link {
    position: relative;

    color: white;
    text-decoration: none;

    font-size: 12px;

    transition: 0.3s;

    cursor: pointer;
}

.link:hover {
    color: var(--gold);
}

.link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.3s;
}

.link:hover::after {
    width: 100%;
}


/* LANGUAGES */

.languages {
    display: flex;

    gap: 12px;

    margin-right: 25px;
}

.lang {
    position: relative;

    color: var(--gold);

    text-decoration: none;

    font-size: 14px;

    background-color: black;
    
    border: none;

    cursor: pointer;
}

.lang::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: 0.3s;
}

.lang:hover::after {
    width: 100%;
}


/* BUTTON */

.request {
    width: 190px;

    padding: 14px 10px;

    border: 1px solid var(--gold);

    background: transparent;

    color: var(--gold);

    text-align: center;

    text-decoration: none;

    font-size: 11px;

    transition: 0.3s;
}

.request:hover {
    background: var(--gold);
    color: var(--black);
}


/* HERO */
.hero {
    min-height: 500px;
    background-image: url("baner.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

.container {
    max-width: 550px;
    padding: 60px;
}

.hero p {
    color: white;

    font-size: 55px;

    line-height: 1.1;
}

.hero p:last-child {
    color: var(--gold);
}

/* MOBILE */

@media (max-width: 1000px) {

    header {
        padding: 15px 25px;
    }

    .mark_text {
        gap: 15px;
    }

    .link {
        font-size: 10px;
    }

    .request {
        width: 150px;
    }
}


@media (max-width: 750px) {

    header {
        flex-wrap: wrap;
        gap: 20px;
    }

    .mark_text {
        order: 3;

        width: 100%;

        justify-content: center;

        margin: 0;

        flex-wrap: wrap;
    }

    .languages {
        margin-left: auto;
    }

    .hero p {
        font-size: 40px;
    }
}


@media (max-width: 768px) {
    .hero {
        min-height: 650px;
        background-position: 65% center;
    }

    .container {
        max-width: 100%;
        padding: 40px 25px;
    }
}


/*КНОПКА БРОНИ ВИЗИТА*/

.btn_visit {
    position: relative;

    color: black;
    background-color: var(--gold-light);
    border-radius: 5px;
    border: var(--gold-light) solid 3px;
    padding: 10px;
    margin-top: 30px;
    cursor: pointer;

    transition: color 0.3s, background-color 0.3s;
}



.btn_visit::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.3s;
}

.btn_visit:hover::after {
    width: 100%;
}


.advantages{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}



.advantage{
    color: white;
    text-align: center;
    padding: 30px;
    border-right: 1px solid var(--gold);
}

.advantage:last-child{
    border-right: none;
}

.advantage img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}



.services {
    display: grid;
    grid-template-columns: repeat(4, 270px);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    transform: translateY(20px);
}

.service {
    color: white;
    text-align: center;

    padding: 30px;
    padding-bottom: 65px;

    border: 3px solid var(--border);
    border-radius: 8px;

    width: 270px;
    height: 300px;

    line-height: 30px;
    position: relative;
}

.service h4 {
    white-space: nowrap;
    font-size: 14px;
    margin-bottom: 15px;
}

.service ul {
    margin: 0;
    padding-left: 20px;
    padding-bottom: 25px;
    text-align: left;
}

.service li {
    margin-bottom: 5px;
}

.service ul a {
    position: absolute;
    bottom: 15px;
    left: 0;

    width: 100%;

    text-align: center;
    color: var(--gold);
    text-decoration: none;
}

.service img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin: 0 auto 15px;
    display: block;
}

ul li::marker {
    color: var(--gold);
    font-size: 15px;
}



.b4:hover{
    color: var(--gold);

}

.b4::after{
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}

.b4:hover::after{
    width: 100%;
}

.gallery-section {
    max-width: 1100px;
    margin: 60px auto 0;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.gallery-section h2 {
    color: var(--gold);
    font-size: 26px;
    margin-bottom: 25px;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.gallery img {
    width: 200px;
    height: 130px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.gallery-button {
    display: inline-block;

    margin-top: 20px;
    padding: 10px 25px;

    color: var(--gold);
    border: 1px solid var(--gold);

    text-decoration: none;
    font-size: 11px;

    transition: 0.3s;
}

.gallery-button:hover {
    background: var(--gold);
    color: var(--black);
}

/* =========================
   O NAS
========================= */

.about-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 35px 80px;

    display: grid;
    grid-template-columns: 1fr 2fr;

    align-items: center;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: rgba(0, 0, 0, 0.25);
}

.about-text h2 {
    color: var(--gold);
    font-size: 25px;
    margin-bottom: 15px;
}

.about-text p {
    color: white;
    font-size: 13px;
    line-height: 1.7;
    max-width: 330px;
    margin-bottom: 20px;
}

.about-button {
    display: inline-block;

    padding: 10px 20px;

    background: var(--gold);
    color: var(--black);

    text-decoration: none;
    font-size: 10px;

    transition: 0.3s;
}

.about-button:hover {
    background: var(--gold-light);
}


/* =========================
   STATYSTYKI
========================= */

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat {
    padding: 10px 15px;
    border-left: 1px solid var(--border);
}

.stat-icon {
    display: block;
    color: var(--gold);
    font-size: 28px;
    margin-bottom: 8px;
}

.stat strong {
    display: block;
    color: var(--gold);
    font-size: 22px;
    font-weight: normal;
}

.stat p {
    color: white;
    font-size: 10px;
    line-height: 1.4;
    margin-top: 5px;
}


/* =========================
   OPINIE + ZAPIS
========================= */

.bottom-section {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    border-bottom: 1px solid var(--border);
}

.reviews {
    padding: 35px 80px;
    border-right: 1px solid var(--border);
}

.booking {
    padding: 35px 80px;
    text-align: center;
}

.reviews h2,
.booking h2 {
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 20px;
}


/* =========================
   KARTA OPINII
========================= */

.review-card {
    border: 1px solid var(--border);
    padding: 20px;
    position: relative;
}

.quote {
    color: var(--gold);
    font-size: 35px;
    line-height: 20px;
}

.review-card p {
    color: white;
    font-size: 12px;
    line-height: 1.6;
    margin: 10px 0;
}

.review-card span {
    color: var(--gold);
    font-size: 11px;
}


/* =========================
   BOOKING
========================= */

.booking p {
    color: white;
    font-size: 12px;
    margin-bottom: 20px;
}

.booking-button {
    display: inline-block;

    padding: 12px 25px;

    background: var(--gold);
    color: var(--black);

    text-decoration: none;
    font-size: 11px;

    transition: 0.3s;
}

.booking-button:hover {
    background: var(--gold-light);
}

.booking small {
    display: block;
    color: #aaa;
    margin-top: 15px;
    font-size: 10px;
}


/* =========================
   FOOTER
========================= */

.footer {
    max-width: 1100px;
    margin: 0 auto;

    padding: 40px 70px;

    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;

    gap: 40px;
}

.footer h2 {
    color: var(--gold);
    font-size: 25px;
    margin-bottom: 0;
}

.footer-brand > p {
    color: white;
    font-size: 8px;
    letter-spacing: 2px;
}

.footer h3 {
    color: var(--gold);
    font-size: 11px;
    margin-bottom: 15px;
}

.footer p {
    color: #aaa;
    font-size: 10px;
    line-height: 1.8;
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.socials a {
    color: var(--gold);
    text-decoration: none;
    font-size: 10px;
}

.footer-images {
    display: grid;
    grid-template-columns: repeat(2, 60px);
    gap: 5px;
}

.footer-images img {
    width: 60px;
    height: 45px;
    object-fit: cover;
}

.tg{
    text-decoration: none;
    color: grey;
   
}


/* =========================
   COPYRIGHT
========================= */

.copyright {
    text-align: center;

    padding: 15px;

    border-top: 1px solid var(--border);

    color: #777;
    font-size: 9px;
}
/* ========================================
   АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНА
======================================== */

@media (max-width: 768px) {

    /* ---------- HEADER ---------- */

    header {
        min-height: auto;
        padding: 15px 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .foto {
        width: 150px;
    }

    .mark_text {
        width: 100%;
        margin: 0;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
        order: 3;
    }

    .link {
        font-size: 9px;
    }

    .languages {
        margin: 0;
        gap: 10px;
    }

    .request {
        width: 150px;
        padding: 11px 8px;
        font-size: 9px;
    }


    /* ---------- HERO ---------- */

    .hero {
        min-height: 550px;
        background-position: 65% center;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 40px 25px;
    }

    .hero p {
        font-size: 38px;
        line-height: 1.1;
    }

    .hero small {
        font-size: 11px;
    }

    .btn_visit {
        margin-top: 25px;
    }


    /* ---------- ADVANTAGES ---------- */

    .advantages {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

    .advantage {
        padding: 20px 10px;
        border-right: 1px solid var(--gold);
        border-bottom: 1px solid var(--gold);
    }

    .advantage:nth-child(2) {
        border-right: none;
    }

    .advantage:nth-child(3) {
        border-bottom: none;
    }

    .advantage:nth-child(4) {
        border-right: none;
        border-bottom: none;
    }

    .advantage img {
        width: 50px;
        height: 50px;
    }

    .advantage h5 {
        font-size: 10px;
        line-height: 1.4;
    }

    .advantage p {
        font-size: 9px;
    }


    /* ---------- SERVICES ---------- */

    .services-section {
        display: block;
        width: 100%;
        margin: 40px auto 0;
    }

    .services-left {
        width: 100%;
    }

    .services-left h1 {
        font-size: 24px;
        padding: 0 20px;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;

        width: 100%;
        padding: 0 15px;

        transform: none;
    }

    .service {
        width: 100%;
        height: 280px;

        padding: 20px 15px;
        padding-bottom: 55px;
    }

    .service img {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }

    .service h4 {
        font-size: 11px;
    }

    .service ul {
        padding-left: 18px;
        font-size: 10px;
        line-height: 24px;
    }

    .service ul a {
        font-size: 9px;
        bottom: 12px;
    }


    /* ---------- PHOTO BESIDE SERVICES ---------- */

    .services-image {
        width: calc(100% - 30px);
        height: 300px;
        margin: 25px 15px 0;
    }


    /* ---------- O NAS ---------- */

    .about-section {
        width: 100%;
        margin: 40px 0 0;

        padding: 30px 20px;

        display: block;
    }

    .about-text {
        text-align: center;
    }

    .about-text h2 {
        font-size: 24px;
    }

    .about-text p {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.6;
        margin: 0 auto 20px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 30px;
    }

    .stat {
        padding: 15px 5px;
    }

    .stat:nth-child(3),
    .stat:nth-child(4) {
        border-top: 1px solid var(--border);
    }

    .stat:nth-child(3) {
        border-left: none;
    }


    /* ---------- GALLERY ---------- */

    .gallery-section {
        width: 100%;
        padding: 25px 15px;
        overflow: hidden;
    }

    .gallery-section h2 {
        font-size: 23px;
    }

    .gallery {
        gap: 10px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .gallery img {
        width: 150px;
        height: 110px;
        flex-shrink: 0;
    }


    /* ---------- OPINIE + ZAPIS ---------- */

    .bottom-section {
        display: block;
        width: 100%;
    }

    .reviews {
        padding: 30px 20px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .booking {
        padding: 30px 20px;
    }

    .reviews h2,
    .booking h2 {
        font-size: 20px;
    }

    .review-card {
        padding: 18px;
    }


    /* ---------- FOOTER ---------- */

    .footer {
        width: 100%;

        padding: 35px 25px;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .socials {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-gallery {
        text-align: center;
    }

    .footer-images {
        justify-content: center;
        margin: 0 auto;
    }

    .copyright {
        padding: 15px 10px;
        font-size: 8px;
    }
}


/* ========================================
   ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ
======================================== */

@media (max-width: 500px) {

    .foto {
        width: 130px;
    }

    .mark_text {
        gap: 10px;
    }

    .link {
        font-size: 8px;
    }

    .request {
        width: 140px;
    }

    .hero {
        min-height: 500px;
    }

    .hero p {
        font-size: 32px;
    }

    .container {
        padding: 35px 20px;
    }

    .advantages {
        grid-template-columns: 1fr 1fr;
    }

    .services {
        gap: 10px;
        padding: 0 10px;
    }

    .service {
        height: 270px;
        padding: 18px 10px;
    }

    .service h4 {
        font-size: 10px;
    }

    .service ul {
        font-size: 9px;
        padding-left: 15px;
    }

    .service ul a {
        font-size: 8px;
    }

    .services-image {
        height: 250px;
        width: calc(100% - 20px);
        margin-left: 10px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .gallery img {
        width: 140px;
        height: 100px;
    }

    .footer {
        grid-template-columns: 1fr;
    }

    .footer-column,
    .footer-gallery {
        text-align: center;
    }
}
