@font-face {
    font-family: "Comic";
    src: url("./fonts/ComicHelvetic_Heavy.otf");
}

* {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.main {
    display: flex;
    height: 100vh;
    position: relative;
}
.pricing-card {
    background: linear-gradient(135deg, #ffffff, #fafafa);
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
        margin: 0 auto;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    font-family: system-ui;
}

.pricing-header {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-section {
    margin-bottom: 18px;
}

.section-title {
    margin-top: 15px;
    font-size: 13px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tags span {
    background: #f2f3f5;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.price-list div {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}

.price-list div:last-child {
    border-bottom: none;
}

.muted {
    font-size: 14px;
    color: #555;
}

.pricing-note {
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(135deg, #f3f6ff, #eef2ff);
    border-radius: 10px;
    font-size: 13px;
}
.main::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);

}

.main-photo {
    flex: 1;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-bg {
    flex: 1;
    background-color: #ebe3c8;

}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 200px;
    letter-spacing: 10px;
    color: white;
    z-index: 2;
    font-family: "Comic", sans-serif;
}

.logo-text {
    text-align: center;
    font-size: 40px;
    letter-spacing: 0;
}

.portfolio-title {
    font-family: "Comic", sans-serif;
    color: #172029;
    font-size: 30px;
    text-align: center;
    margin-top: 30px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрирует по горизонтали */
    align-items: center; /* Центрирует по вертикали */
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    /*transform: scale(1.05);*/
}

.gallery-item .overlay {
    position: relative;
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*background: rgba(0, 0, 0, 0.5);*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /*opacity: 0;*/
    transition: opacity 0.3s ease;
}
.gallery-item.active .overlay {
    /*opacity: 1;*/
}
.gallery-item .overlay button {
    background: #e7e6e6;
    border: none;
    color: black;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
.gallery-item .overlay a {
    background: #efded0;
    border-radius: 30px;
    text-decoration: none;
    border: none;
    font-size: 20px;
    color: black;
    padding: 10px 30px;
    margin: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
.gallery-item .overlay button:hover {
    background: #ddd;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen img {
  width: 500px;
}

.fullscreen .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.media-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.video-container {
    max-width: 70%;
    max-height: 70%;
}
.faq {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: sans-serif;
}

.faq h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    cursor: pointer;
}

.question {
    font-weight: bold;
    position: relative;
}

.answer {
    margin-top: 5px;
    display: none;
    color: #555;
}
.footer {
    background-color: #f7f7f7;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
    font-family: sans-serif;
    border-top: 1px solid #ddd;
}

.footer-content p {
    margin: 0;
    font-size: 23px;
    color: #333;
    font-family: "Book Antiqua", sans-serif;

}

.footer-content a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    margin-top: 5px;
    display: inline-block;
}
.footer a i {
    margin-top: 10px;
    color: black;
}
.footer-content a:hover {
    text-decoration: underline;
}
