/* =========================
   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;
}

