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

/* =========================
   BODY
========================= */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f1ed;
    color: #2e2e2e;
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
    position: relative;
    width: 100%;
}

.hero-image {
    width: 100%;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    text-align: center;
    color: #ffffff;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 70px;
    letter-spacing: 2px;
}

.hero-content p {
    margin-top: 10px;
    font-size: 18px;
}

/* =========================
   BUTTONS
========================= */
.main-button {
    display: inline-block;

    margin-top: 25px;

    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 40px;
    padding-right: 40px;

    border-width: 1px;
    border-style: solid;
    border-color: #ffffff;

    color: #ffffff;
    text-decoration: none;

    font-size: 14px;

    background-color: transparent;
}

.main-button:hover {
    background-color: rgba(255,255,255,0.2);
}

.service-button {
    display: inline-block;

    margin-top: 15px;

    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 30px;
    padding-right: 30px;

    border-width: 1px;
    border-style: solid;
    border-color: #ffffff;

    color: #ffffff;
    text-decoration: none;

    font-size: 13px;

    background-color: transparent;
}

.service-button:hover {
    background-color: rgba(255,255,255,0.2);
}

/* =========================
   INTRO
========================= */
.intro-section {
    padding-top: 70px;
    padding-bottom: 70px;

    text-align: center;
}

.intro-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;

    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   SERVICES
========================= */
.services-container {
    display: flex;

    gap: 20px;

    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 40px;
}

.service-card {
    position: relative;

    flex: 1;

    height: 400px;
}

.service-background {
    position: absolute;

    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
}

.service-background-1 {
    background-image: url('https://images.unsplash.com/photo-1487412912498-0447578fcca8?q=80&w=1200');
}

.service-background-2 {
    background-image: url('https://images.unsplash.com/photo-1492724441997-5dc865305da7?q=80&w=1200');
}

.service-overlay {
    position: absolute;

    width: 100%;
    height: 100%;

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

.service-content {
    position: absolute;

    bottom: 30px;
    left: 30px;

    color: white;
}

.service-content p {
    font-size: 18px;
}

/* =========================
   BOOKING FORM
========================= */
.booking-section {
    display: flex;

    justify-content: center;

    padding-top: 100px;
    padding-bottom: 100px;
}

.booking-box {
    background-color: #ffffff;

    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 60px;
    padding-right: 60px;

    width: 400px;

    text-align: center;
}

.booking-box h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.booking-box p {
    margin-bottom: 20px;
    color: #777;
}

.booking-box input {
    width: 100%;

    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 10px;

    margin-bottom: 10px;

    border: 1px solid #ccc;
}

.booking-box button {
    width: 100%;

    padding-top: 14px;
    padding-bottom: 14px;

    background-color: #000000; /* ЧЁРНЫЙ ФОН */

    color: #ffffff; /* БЕЛЫЙ ТЕКСТ */

    border: none;

    font-size: 14px;

    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.3s;
}

/* =========================
   ABOUT
========================= */
.about-container {
    display: flex;

    gap: 40px;

    padding: 80px;
}

.about-image {
    flex: 1;

    height: 400px;

    background-image: url('https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?q=80&w=1200');
    background-size: cover;
    background-position: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-page {
    height: 100vh;
    position: relative;

    background: url('https://i.yapx.ru/dNYqy.jpg') center/cover;
}

.contact-overlay {
    position: absolute;

    width: 100%;
    height: 100%;

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

.contact-box {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%,-50%);

    background: rgba(255, 255, 255, 0.6);

    backdrop-filter: blur(10px);

    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 80px;
    padding-right: 80px;

    text-align: center;

    width: 415px;        /* ШИРИНА */
    max-width: 90%;      /* чтобы не ломалось на телефоне */
}

.contact-box h1 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.contact-box p {
    margin-bottom: 20px;
}

.contact-links a {
    display: block;

    margin-bottom: 15px;

    padding-top: 14px;
    padding-bottom: 14px;

    background-color: #000000; /* ЧЁРНЫЙ ФОН */

    color: #ffffff; /* БЕЛЫЙ ТЕКСТ */

    text-decoration: none;

    text-align: center;

    border-radius: 5px;

    font-size: 14px;

    letter-spacing: 1px;

    transition: 0.3s;
}

.back-home {
    display: block;

    margin-top: 20px;

    text-decoration: none;

    color: #333;
}

/* =========================
   PORTFOLIO
========================= */
.portfolio-section {
    padding: 60px;
}

.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.portfolio-grid img {
    width: 100%;

    height: 300px;

    object-fit: cover;
}
/* =========================
   PORTFOLIO FIX FULL
========================= */

.portfolio-page {
    padding: 60px 30px;

    background-color: #f4f1ed;

    text-align: center;
}

.portfolio-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
}

.portfolio-subtitle {
    margin-top: 10px;
    margin-bottom: 40px;
    color: #777;
}

/* GRID */
.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    max-width: 1200px;
    margin: auto;
}

/* ВАЖНО — НЕ ОБРЕЗАЕТ ФОТО */
.portfolio-grid img {
    width: 100%;

    height: 350px;

    object-fit: cover;

    border-radius: 10px;

    cursor: pointer;

    transition: 0.3s;
}

.portfolio-grid img:hover {
    transform: scale(1.05);
}

/* КНОПКИ */
.portfolio-buttons {
    margin-top: 50px;
}

.portfolio-buttons a {
    display: inline-block;

    margin: 10px;

    padding: 14px 30px;

    background-color: #020202;

    color: white;

    text-decoration: none;

    font-size: 14px;

    border-radius: 5px;
}

.portfolio-buttons a:hover {
    background-color: #030303;
}

/* FULLSCREEN */
.image-modal {
    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.9);

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

    z-index: 999;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
}
/* =========================
   PREMIUM PORTFOLIO STYLE
========================= */

.portfolio-page {
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;

    background: linear-gradient(to bottom, #f4f1ed, #ffffff);

    text-align: center;
}

/* TITLE */
.portfolio-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    letter-spacing: 2px;

    margin-bottom: 10px;
}

.portfolio-subtitle {
    font-size: 16px;
    color: #888;

    margin-bottom: 50px;
}

/* GRID */
.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* IMAGE CARD */
.portfolio-grid img {
    width: 100%;
    height: 350px;

    object-fit: cover;

    border-radius: 12px;

    cursor: pointer;

    transition: all 0.4s ease;

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* HOVER EFFECT */
.portfolio-grid img:hover {
    transform: scale(1.05);

    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* BUTTONS BLOCK */
.portfolio-buttons {
    margin-top: 60px;
}

/* BUTTON STYLE */
.portfolio-buttons a {
    display: inline-block;

    margin-left: 10px;
    margin-right: 10px;

    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 35px;
    padding-right: 35px;

    background-color: #c8a27a;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    letter-spacing: 1px;

    border-radius: 6px;

    transition: all 0.3s ease;
}

/* HOVER BUTTON */
.portfolio-buttons a:hover {
    background-color: #a8835f;

    transform: translateY(-2px);
}

/* BACK BUTTON */
.portfolio-buttons a:last-child {
    background-color: transparent;

    color: #555;

    border: 1px solid #ccc;
}

.portfolio-buttons a:last-child:hover {
    background-color: #eee;
}

/* FULLSCREEN MODAL UPGRADE */
.image-modal {
    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.95);

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

    z-index: 999;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;

    border-radius: 10px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* =========================
   SERVICES PREMIUM BLOCK
========================= */

.services-section {
    background-color: #1f1f1f;

    padding-top: 120px;
    padding-bottom: 120px;

    text-align: center;
}

/* TITLE */
.services-title {
    font-family: 'Playfair Display', serif;

    font-size: 100px;

    color: #ffffff;

    letter-spacing: 6px;

    margin-bottom: 80px;
}

/* GALLERY */
.services-gallery {
    display: flex;

    justify-content: center;

    gap: 30px;

    margin-bottom: 70px;

    flex-wrap: wrap;
}

/* ITEM */
.service-item {
    position: relative;

    width: 300px;
    height: 420px;

    overflow: hidden;

    border-radius: 12px;
}

/* IMAGE */
.service-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

/* HOVER ZOOM */
.service-item:hover img {
    transform: scale(1.1);
}

/* TEXT OVERLAY */
.service-overlay-text {
    position: absolute;

    bottom: 25px;
    left: 25px;

    color: #ffffff;

    font-size: 14px;

    letter-spacing: 2px;

    background: transparent; /* УБРАЛИ ФОН */

    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;

    border: 1px solid #ffffff; /* БЕЛАЯ РАМКА */

    border-radius: 3px;

    text-transform: uppercase;
}

/* BUTTON */
.services-btn {
    display: inline-block;

    padding: 15px 60px;

    background-color: #fafafa;

    color: rgb(2, 2, 2);

    text-decoration: none;

    font-size: 14px;

    letter-spacing: 2px;

    border-radius: 6px;

    transition: 0.3s;
}

.services-btn:hover {
    background-color: #a8835f;

    transform: translateY(-2px);
}

/* BOOK BUTTON (A TAG FIX) */

.book-btn {
    display: inline-block;

    background-color: #000000 !important;

    color: #ffffff !important;

    text-decoration: none;

    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 35px;
    padding-right: 35px;

    border-radius: 5px;

    font-size: 14px;

    letter-spacing: 1px;

    transition: 0.3s;
}

/* HOVER */
.book-btn:hover {
    background-color: #333333 !important;
}

/* =========================
   SERVICES TEXT BLOCK
========================= */

.services-text-section {
    background-color: #1f1f1f;

    padding-top: 120px;
    padding-bottom: 120px;

    padding-left: 20px;
    padding-right: 20px;

    text-align: center;
}

/* TITLE */
.services-title {
    font-family: 'Playfair Display', serif;

    font-size: 90px;

    color: #ffffff;

    margin-bottom: 60px;

    letter-spacing: 5px;
}

/* TEXT BLOCK */
.services-text {
    max-width: 800px;

    margin-left: auto;
    margin-right: auto;

    color: #ffffff;

    text-align: left;

    font-size: 16px;

    line-height: 1.8;
}

/* HEADINGS */
.services-text h3 {
    margin-top: 40px;

    margin-bottom: 15px;

    font-size: 20px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

/* PARAGRAPH */
.services-text p {
    margin-bottom: 15px;
}

/* LIST */
.services-text ul {
    margin-bottom: 20px;

    padding-left: 20px;
}

.services-text li {
    margin-bottom: 8px;
}

/* =========================
   MOBILE ADAPTIVE
========================= */

@media (max-width: 768px) {

    /* HERO */
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 14px;
    }

    /* SERVICES TITLE */
    .services-title {
        font-size: 40px;
    }

    /* SERVICES GRID */
    .services-gallery {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 90%;
        height: 300px;
    }

    /* PORTFOLIO */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid img {
        height: 250px;
    }

    /* BOOKING */
    .booking-box {
    background-color: #ffffff;

    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 60px;
    padding-right: 60px;

    width: 400px;

    text-align: center;

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

    /* CONTACT PAGE */
    .contact-box {
        width: 90%;
        padding: 30px;
    }

    /* TEXT BLOCK */
    .services-text {
        font-size: 19px;
    }
    @media (max-width: 768px) {
    .booking-box {
        width: 90%;
        padding: 30px;
    }
}
.arrow {
    text-align: center;

    font-size: 20px !important;   /* МЕНЬШЕ в 2–2.5 раза */
    color: #ffffff !important;    /* ЧИСТО БЕЛАЯ */

    opacity: 1 !important;        /* убираем серость */

    margin-top: 15px;

    animation: bounce 1.5s infinite;
}
.contact-address {
    text-align: center;
    font-size: 14px;
    color: #666;   /* красивый серый */

    margin-top: 15px;
    line-height: 1.5;
}
/* ===== ABOUT SECTION FIX FULL ===== */

.about-me {
    text-align: center;
    padding: 80px 20px;
    color: #ffffff !important;
    opacity: 1 !important;
}

.about-me * {
    color: #ffffff !important;
    opacity: 1 !important;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-text-block {
    max-width: 500px;
}

.about-text-block h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 22px;
    margin-bottom: 20px;
}

.about-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-image-block {
    display: flex;
    justify-content: center;
}

.about-image-block img {
    width: 350px;
    max-width: 100%;
    border-radius: 16px;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image-block img {
        width: 260px;
    }
}
/* ===== DESKTOP FIX ===== */

@media (min-width: 769px) {

    .about-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        max-width: 1100px !important;
        margin: 0 auto !important;
        gap: 80px !important;
    }

    .about-text-block {
        width: 50% !important;
        text-align: left !important; /* ВАЖНО */
    }

    .about-text {
        font-size: 18px !important;
        line-height: 1.7 !important;
        max-width: 500px !important; /* ЧТОБЫ НЕ РАСТЯГИВАЛО */
    }

    .about-image-block {
        width: 50% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .about-image-block img {
        width: 350px !important;
        border-radius: 16px !important;
    }
}
/* ===== FORCE ABOUT FIX ===== */

.about-me {
    background: #1f1f1f !important;
    padding: 120px 20px !important;
}

.about-text-block {
    width: 50% !important;
    text-align: left !important;
    color: #fff !important;
}

.about-text-block h2 {
    font-size: 48px !important;
    margin-bottom: 10px !important;
}

.about-subtitle {
    font-size: 22px !important;
    margin-bottom: 20px !important;
}

.about-text {
    font-size: 18px !important;
    line-height: 1.7 !important;
}

.about-image-block {
    width: 50% !important;
    display: flex !important;
    justify-content: center !important;
}

.about-image-block img {
    width: 350px !important;
    max-width: 100% !important;
    border-radius: 16px !important;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column !important;
        text-align: center !important;
    }

    .about-text-block {
        width: 100% !important;
        text-align: center !important;
    }

    .about-image-block {
        width: 100% !important;
    }

    .about-image-block img {
        width: 260px !important;
    }
}
.about-me {
    padding: 100px 20px;
    text-align: center;
}

.about-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.about-text-block h2 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 15px;
}

.about-subtitle {
    font-size: 22px;
    color: #fff;
    margin-bottom: 25px;
}

.about-text {
    font-size: 18px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-image-block {
    display: flex;
    justify-content: center;
}

.about-image-block img {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
}
}
@media (min-width: 1024px) {

  .about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center !important;
  }

  .about-me {
    text-align: center !important;
  }

  .about-me h2 {
    font-size: 56px;
  }

  .about-subtitle {
    font-size: 24px;
  }

  .about-text {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
  }

  .about-me img {
    display: block;
    margin: 0 auto;
    width: 320px;
  }
@media (min-width: 1024px) {

  .about-container {
    display: block !important;
  }
}
}
@media (max-width: 768px) {

  .about-container {
    max-width: 95%;
    padding: 0 10px;
  }

  .about-text {
    font-size: 17px;
    line-height: 1.6;
  }

}

