/*
Shadow Grey - HEX code:#404241

Evening White - HEX code:#D7DBD8
*/

body {
    background: #D7DBD8;
    font-family: 'Oswald', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 10px;
}

header {
    background: white;
    width: 100%;
    height: 60px;
}

.footer {
    background: white;
    width: 100%;
    height: 60px;
}

.startpage {
    margin: 0;
    padding: 0;
    height: 100%;
}

.startpage-image {
    max-width: 90%;
    max-height: 90%;
    height: auto;
}

.startpage-container {
    height: 100vh;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-wrap {
    padding: 2rem 0;
}

.page-title {
    font-size: 27px;
    color: #404241;
}

.text-content {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #404241;
    font-weight: 300;
}

/* Circle Button Styles */
.circle-button {
    background: none;
    border: none;
    cursor: pointer;
    /* padding: 10px; */
    flex-shrink: 0;
}

.circles {
    display: flex;
    gap: 1px;
}

.circle {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #404241;
    transition: background-color 0.3s ease;
}

.circle-fill {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: #404241;
    border: 2px solid #404241;
}

.circle-button:hover .circle {
    background-color: #404241;
}

.logo {
    height: 40px; 
    width: 51px;
}

/* По подразбиране скриваме ховър логото */
.logo-link .logo-hover {
    display: none;
}

/* Когато мишката е върху линка: */
.logo-link:hover .logo-main {
    display: none; /* Скриваме основното лого */
}

.logo-link:hover .logo-hover {
    display: inline-block; /* Показваме ховър логото */
}

.picture-creators {
    height: 200px;
    width: 200px;
}

.faq-row {
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

/* По подразбиране: скрива преливащия текст и слага три точки на един ред */
/* .row.collapsed .faq-row {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
} */

/* Когато редът се отвори (класът .collapsed ИЗЧЕЗВА от .faq-row):
   позволяваме на текста да се пренася нормално на нови редове */
/* .row:not(.collapsed) .faq-row {
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
} */

/*CONTACT FORM*/
/* Style all text inputs and the textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100% !important;
    background-color: transparent !important; /* Matches your page background */
    border: 2px solid #8e908f !important;    /* Thin subtle border */
    border-radius: 12px !important;           /* Smooth rounded corners */
    padding: 14px 18px !important;            /* Inner spacing for text */
    margin-bottom: 10px !important;           /* Spacing between the fields */
    font-size: 20px !important;
    color: #707271 !important;
    box-sizing: border-box !important;
}

/* Style the placeholder text color to look faint */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #a6a8a7 !important;
    opacity: 1 !important;
}

/* Remove default focus outline and slightly darken border when clicked */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none !important;
    border-color: #5a5c5b !important;
}

/* Optional: Style the Submit button to match */
.wpcf7 input[type="submit"] {
    background-color: #8e908f;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #5a5c5b;
}

/* 1. Remove the green box outline and background */
.wpcf7-mail-sent-ok {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 15px 0 0 0 !important;
}

/* 2. Style the text font, size, and color */
.wpcf7-response-output {
    /* 1. Remove the green box outline and background */
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 15px 0 0 0 !important;
    /* 2. Style the text font, size, and color */
    font-family: 'Oswald'; /* Change to your preferred font */
    font-size: 20px;                                 /* Change to your preferred size */
    font-weight: 400;                                /* Adjust thickness (e.g., bold, normal) */
    color: #404241;                                  /* Change to your preferred hex color */
}

.contact-box {
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
}

.cutoff-text {
    --max-lines: 3;
    --line-height: 1.4;
    --bg-color: #D7DBD8;

    position: relative;
    max-height: calc(var(--max-lines) * 1em * var(--line-height));
    line-height: var(--line-height);

    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.cutoff-text::after {
    content: "... 🞃";
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 1.25em;
    /* Smoothly blends the ellipsis over the cut-off word */
    background: linear-gradient(to right, transparent, var(--bg-color) 25%);
    transition: opacity 0.2s ease-in-out;
}

.cutoff-text.is-expanded::after {
    opacity: 0;
    pointer-events: none;
}

.expand-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.clickable-row {
    cursor: pointer;
    user-select: none;
    padding-top: 0.5rem;
    transition: background-color 0.15s ease-in-out;
}

/* Show a focus ring when navigating with the Tab key */
.expand-checkbox:focus-visible + .clickable-row {
    outline: 2px solid #404241;
    outline-offset: 4px;
    border-radius: 4px;
}

.vertical-sidebar {
    position: fixed;
    left: 5px; /* Distance from the left edge of the screen */
    top: 50%; /* Centers it vertically on the screen */
    transform: translateY(-50%);
    writing-mode: sideways-lr;
    opacity: 0.4;
    /* color: #707271; */
}

.wpcf7-acceptance label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #707271;
    margin-bottom: 10px;
    cursor: pointer;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid #8e908f;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
}

.wpcf7-acceptance input[type="checkbox"]:focus {
    border-color: #8e908f !important;
}

.wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: #8e908f;
    
}

/* Pure CSS checkmark (zero layout shift) */
.wpcf7-acceptance input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}