/* --- Загальні стилі --- */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

/* --- Общий стиль body + адаптивный отступ под шапку --- */
body {
margin: 0;
font-family: 'Poppins', sans-serif;
background: linear-gradient(to bottom, #f9e8ff, #f8d7ff);
color: #333;
line-height: 1.6;
padding-top: 60px; /* стандартный отступ для десктопа */
}

/* Планшеты */
@media (max-width: 1024px) {
body { padding-top: 160px; }
}

/* Телефоны */
@media (max-width: 768px) {
body { padding-top: 180px; }
}

/* Очень маленькие телефоны */
@media (max-width: 480px) {
body { padding-top: 200px; }
}

/* --- Отступы для разных страниц --- */
body.home main {
margin-top: 40px !important; /* Главная — под логотипом больше воздуха */
}

body.page-parents main,
body.page-kittens main {
margin-top: 30px !important; /* Раньше было -100px */
}

body.available-page main,
body.contact-page main {
margin-top: 30px !important; /* Раньше было -70px */
padding-top: 0 !important;
}

/* --- Липка шапка --- */
.sticky-header {
position: fixed;
top: 0;
width: 100%;
background-color: #fff;
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
z-index: 1000;
margin-bottom:  5pxpx;
}

.top-message {
background-color: #f8d7ff;
color: #6b006b;
text-align: center;
padding: 5px 0;
font-weight: bold;
font-size: 0.9rem;
}

.main-nav {
display: flex;
justify-content: center;
gap: 20px;
padding: 10px 0;
background-color: #fff;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}

.main-nav a {
text-decoration: none;
font-family: 'Great Vibes', cursive; /* як заголовки */
font-size: 1.6rem;
letter-spacing: 1px;
color: #6b006b;
padding: 8px 25px;
border-radius: 30px;
border: 2px solid #6b006b; /* чітка рамка */
background: #fff;
transition: all 0.3s ease;
}

.main-nav a:hover {
background: #f8d7ff;
color: #6b006b;
border-color: #a64ac9;
}
/* --- Логотип --- */
/* ---.logo-container {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 5px;
margin-top: 5px;
}

.logo-cat {
height: 200px;
display: inline-block;
margin-right: -30px;
}

.kennel-name {
font-family: 'Great Vibes', cursive;
font-size: 3rem;
color: #6b006b;
text-shadow: 2px 2px 5px rgba(0,0,0,0.2),
0 0 10px rgba(255,255,255,0.4);
white-space: nowrap;
}

.logo-flowers {
height: 200px;
display: inline-block;
margin-left: -70px;
}--- */

/* --- Блоки контенту --- */
main {
max-width: 1200px;
margin: 0 auto;
padding: 10px 20px;
}

.text-block {
max-width: 900px;
margin: 10px auto;
padding: 15px 20px;
background: rgba(255, 255, 255, 0.85);
border: 2px solid #d9d9d9;
border-radius: 12px;
box-shadow: 0 6px 15px rgba(0,0,0,0.1);
text-align: center;
}

.text-block p {
font-family: 'Cormorant Garamond', serif;
font-weight: 600;
font-size: 1.3rem;
line-height: 1.7;
color: #030001;

}

/* --- Заголовки --- */
h1, h2, h3 {
font-family: 'Great Vibes', cursive;
font-weight: 600;
letter-spacing: 1px;
color: #6b006b;
text-align: center;
margin-bottom: 0px;
text-shadow: 0 0 8px rgba(255,255,255,0.8),
0 0 15px rgba(200,200,200,0.6);
}

/* --- Кнопки --- */
.main-button, .book-btn, button {
display: inline-block;
background: #a64ac9;
color: #fff;
padding: 12px 30px;
border-radius: 30px;
border: 2px solid #6b006b;
box-shadow: 0 4px 6px rgba(0,0,0,0.2);
text-decoration: none;
font-weight: bold;
transition: all 0.3s ease;
}

.main-button:hover, .book-btn:hover, button:hover {
background: #fff;
color: #6b006b;
}

/* --- Галерея --- */
.graduates-gallery {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 10px;
padding: 10px;
justify-items: center;
margin:0 auto;
}

.graduates-gallery img {
width: 80%;
height: 180px;
object-fit: cover;
border-radius: 10px;
background: #fff;
box-shadow: 0 3px 6px rgba(0,0,0,0.15);
cursor: pointer;
transition: transform 0.3s ease, filter 0.3s ease;
}

.graduates-gallery img:hover {
transform: scale(1.05);
filter: brightness(95%);
}

/* --- Лайтбокс --- */
.lightbox {
display: none;
position: fixed;
z-index: 2000;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.9);
justify-content: center;
align-items: center;
}

.lightbox img {
max-width: 90%;
max-height: 90%;
border-radius: 10px;
}

.close-btn {
position: absolute;
top: 20px; right: 30px;
font-size: 2rem;
color: #fff;
cursor: pointer;
}

.prev-btn, .next-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 2.5rem;
background: none;
border: none;
color: #fff;
cursor: pointer;
padding: 10px;
user-select: none;
}

.prev-btn { left: 30px; }
.next-btn { right: 30px; }

/* --- Метелики --- */
.butterflies {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
pointer-events: none;
z-index: 0;
}

.butterfly {
position: absolute;
width: 60px;
height: 60px;
opacity: 0.9;
}

.butterfly.big {
width: 120px;
height: 120px;
opacity: 0.6;
z-index: -1;
}

/* Траєкторії метеликів */
.b1 { animation: fly1 14s ease-in-out infinite; }
.b2 { animation: fly2 18s linear infinite; }
.b3 { animation: fly3 20s ease-in infinite; }
.b4 { animation: fly4 16s ease-in-out infinite; }
.b5 { animation: fly5 22s ease-out infinite; }
.b6 { animation: fly6 28s ease-in-out infinite; }
.b7 { animation: fly7 26s linear infinite; }
.b8 { animation: fly8 32s ease-in-out infinite; }
.b9 { animation: fly9 30s linear infinite; }

@keyframes fly1 {
0% { transform: translate(0,0); }
25% { transform: translate(80px,-100px); }
50% { transform: translate(150px,50px); }
75% { transform: translate(-30px,-60px); }
100% { transform: translate(0,0); }
}

@keyframes fly2 {
0% { transform: translate(0,0); }
30% { transform: translate(-100px,80px); }
60% { transform: translate(120px,-50px); }
100% { transform: translate(0,0); }
}

@keyframes fly3 {
0% { transform: translate(0,0); }
25% { transform: translate(60px,100px); }
50% { transform: translate(-100px,50px); }
75% { transform: translate(40px,-80px); }
100% { transform: translate(0,0); }
}

@keyframes fly4 {
0% { transform: translate(0,0); }
20% { transform: translate(-80px,-50px); }
40% { transform: translate(100px,80px); }
70% { transform: translate(-60px,50px); }
100% { transform: translate(0,0); }
}

@keyframes fly5 {
0% { transform: translate(0,0); }
30% { transform: translate(150px,-80px); }
60% { transform: translate(-120px,100px); }
100% { transform: translate(0,0); }
}

@keyframes fly6 {
0% { transform: translate(0,0); }
25% { transform: translate(200px,150px); }
50% { transform: translate(400px,-100px); }
75% { transform: translate(250px,50px); }
100% { transform: translate(0,0); }
}

@keyframes fly7 {
0% { transform: translate(0,0); }
30% { transform: translate(-300px,-200px); }
60% { transform: translate(-150px,100px); }
100% { transform: translate(0,0); }
}

@keyframes fly8 {
0% { transform: translate(0, 0); }
20% { transform: translate(100px, -150px); }
40% { transform: translate(0, -300px); }
60% { transform: translate(80px, -150px); }
100% { transform: translate(0, 0); }
}

@keyframes fly9 {
0% { transform: translate(0, 0); }
25% { transform: translate(-120px, -100px); }
50% { transform: translate(0, -250px); }
75% { transform: translate(-100px, -100px); }
100% { transform: translate(0, 0); }
}

/* --- Футер --- */
footer {
text-align: center;
background-color: #f2e6ff;
padding: 20px 10px;
margin-top: 40px;
color: #6b006b;
font-size: 0.9rem;
}

footer a {
color: #a64ac9;
text-decoration: none;
margin: 0 10px;
}

footer a:hover {
text-decoration: underline;
}

/* --- Адаптивність --- */
@media (max-width: 768px) {
.main-nav {
flex-wrap: wrap;
gap: 10px;
}

.graduates-gallery {
display: grid;
grid-template-columns: repeat(5, 1fr); /* 5 фото в ряд */
gap: 10px;
padding: 20px;
margin: 0 auto;
justify-content: center; /* центрує всю сітку */
}
.gallery-section {
width:100% ;
display: flex;
flex-direction: column;
align-items: center; /* центрує весь блок */
justify-content: center;
}


.logo-cat, .logo-flowers {
height: 120px;
}

.kennel-name {
font-size: 2rem;
}
}
.graduates-gallery img {
width: 75%; /* було 100%, тепер менші */
height: 160px; /* було 180px, трохи менше */
object-fit: cover; /* залишаємо обрізку */
border-radius: 10px;
background: #fff;
box-shadow: 0 3px 6px rgba(0,0,0,0.15);
cursor: pointer;
transition: transform 0.3s ease, filter 0.3s ease;
}

.about-us {
max-width: 1100px;
margin: 20px auto;
padding: 20px;
background: rgba(255,255,255,0.85);
border: 2px solid #f2e6ff;
border-radius: 12px;
box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.about-content {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 20px;
}

.about-photo img {
width: 280px;
border-radius: 12px;
box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.about-text {
flex: 1;
text-align: left;
}

.about-text p {
margin-bottom: 10px;
color: #4b2b4b;
font-size: 1.1rem;
line-height: 1.6;
}

/* Адаптив для телефонів */
@media (max-width: 768px) {
.about-content {
flex-direction: column;
text-align: center;
}

.about-photo img {
width: 220px;
}
}

.cat-profile {
display: flex;
align-items: flex-start;
gap: 20px;
margin-bottom: 40px;
}

.cat-photos {
flex: 1;
text-align: center;
}

.cat-photos .main-photo {
width: 250px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
margin-bottom: 10px;
}

.gallery-mini {
display: flex;
justify-content: center;
gap: 8px;
}

.gallery-mini img {
width: 70px;
height: 70px;
object-fit: cover;
border-radius: 8px;
cursor: pointer;
box-shadow: 0 3px 6px rgba(0,0,0,0.15);
transition: transform 0.3s;
}

.gallery-mini img:hover {
transform: scale(1.05);
}

.cat-info {
flex: 1;
font-family: 'Poppins', sans-serif;
font-size: 1.1rem;
color: #4b2b4b;
line-height: 1.6;
}
.divider {
display: block;
margin: 0 auto; /* центр + відступи */
max-width: 200px; /* можна зменшити розмір */
height: auto;
margin-top: 0px;
margin-bottom: 0px;
}


/* Шапка */
.sticky-header {
position: fixed;
top: 0;
width: 100%;
background: #fff;
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
z-index: 1000;
text-align: center;
}

/* Верхній рядок */
.top-message {
background: #f8d7ff;
text-align: center;
padding: 6px 0;
font-weight: bold;
color: #6b006b;
font-size: 0.9rem;
}

/* Кнопки меню в ряд */
.main-nav {
display: flex;
justify-content: center;
gap: 25px;
padding: 12px 0;
background: #fff;
}

.main-nav a {
padding: 8px 22px;
border: 2px solid #a64ac9;
border-radius: 30px;
text-decoration: none;
font-family: 'Great Vibes', cursive;
font-size: 1.4rem;
color: #6b006b;
transition: all 0.3s ease;
font-weight: 600;
}

.main-nav a:hover {
background: #f8d7ff;
color: #a64ac9;
}

/* Логотип під меню */
.logo-container {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 10px 0 15px;
}

.logo-cat {
height: 100px;
margin-right: -10px;
}

.kennel-name {
font-family: 'Great Vibes', cursive;
font-size: 3rem;
color: #6b006b;
}

.logo-flowers {
height: 500px;
display: inline-block;
margin-left: -40px;
}
.logo-flowers {
transform: scale(1.4); /* збільшує на 30% */
transform-origin: center;
}
main {
max-width: 1200px;
margin: 70px auto 0; /* додали відступ зверху */
padding: 20px;
}
.sticky-header {
position: fixed;
top: 0;
width: 100%;
background-color: #fff;
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
z-index: 1000;
padding: 0; /* було більше – тепер менше */
}

.logo-container img {
height: 100px; /* зменшуємо висоту логотипа */
}

.main-nav {
margin-top: 5px; /* менший відступ */
}

.main-nav a {
padding: 5px 15px; /* менші кнопки */
font-size: 1rem;
}
/* Лайтбокс для сторінки Parents */
.lightbox {
display: none; /* прихований за замовчуванням */
position: fixed;
z-index: 2000;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.9);
justify-content: center;
align-items: center;
}

.lightbox img {
max-width: 90%;
max-height: 90%;
border-radius: 10px;
box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.close-btn {
position: absolute;
top: 20px;
right: 30px;
font-size: 2.5rem;
color: #fff;
cursor: pointer;
user-select: none;
transition: color 0.3s ease;
}

.close-btn:hover {
color: #ffcccc;
}

/* Стилі для картки кошеняти */
.kitten-card {
display: flex;
flex-wrap: wrap;
margin: 60px auto;
padding: 20px;
max-width: 1100px;
background: #fff9f9;
border-radius: 15px;
box-shadow: 0 0 15px rgba(204, 180, 255, 0.3);
gap: 30px;
}

/* Ліва частина: медіа */
.kitten-media {
flex: 1 1 500px;
display: flex;
flex-direction: column;
align-items: center;
}

.kitten-media .main-photo {
width: 100%;
max-width: 480px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(200, 150, 255, 0.3);
margin-bottom: 15px;
}

/* Карусель */
.carousel {
display: flex;
gap: 10px;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 20px;
}

.carousel img {
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 8px;
cursor: pointer;
transition: transform 0.2s;
}

.carousel img:hover {
transform: scale(1.05);
box-shadow: 0 0 6px rgba(100, 100, 100, 0.4);
}

/* Відео */
.video-wrapper {
width: 100%;
position: relative;
padding-top: 56.25%; /* 16:9 */
margin-bottom: 20px;
}

.video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 10px;
box-shadow: 0 0 10px rgba(150, 100, 200, 0.2);
}

/* Права частина: інфо */
.kitten-info {
flex: 1 1 350px;
font-family: "Poppins", sans-serif;
display: flex;
flex-direction: column;
gap: 10px;
justify-content: flex-start;
align-self: flex-start;
font-size: 16px;
}

.kitten-info button {
background-color: #cba5ff;
color: white;
border: none;
padding: 10px 20px;
font-weight: bold;
border-radius: 25px;
margin-top: 20px;
cursor: pointer;
box-shadow: 0 0 10px rgba(160, 120, 200, 0.3);
transition: background 0.3s;
}

.kitten-info button:hover {
background-color: #a97bff;
}

/* Модальне вікно */
.form-modal {
display: none;
position: fixed;
z-index: 999;
left: 0; top: 0;
width: 100%; height: 100%;
background-color: rgba(0, 0, 0, 0.6);
}

.form-content {
background: #fff;
max-width: 500px;
margin: 80px auto;
padding: 30px;
border-radius: 12px;
position: relative;
box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.form-content h3 {
font-family: "Poppins", sans-serif;
margin-bottom: 20px;
color: #5c3c9e;
}

.form-content input,
.form-content textarea {
width: 100%;
padding: 10px 14px;
margin-bottom: 15px;
border-radius: 8px;
border: 1px solid #ccc;
font-family: "Poppins", sans-serif;
}

.form-content button {
background-color: #a77bff;
color: white;
border: none;
padding: 10px 20px;
border-radius: 25px;
cursor: pointer;
font-weight: bold;
}

.close {
position: absolute;
top: 12px;
right: 20px;
font-size: 28px;
color: #999;
cursor: pointer;
font-weight: bold;
}

/* Адаптація під мобільні */
@media (max-width: 768px) {
.kitten-card {
flex-direction: column;
}

.carousel img {
width: 80px;
height: 80px;
}
}
.contact-form {
max-width: 600px;
margin: 40px auto;
padding: 30px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 15px;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.contact-form label {
display: block;
margin-top: 15px;
font-weight: bold;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
width: 100%;
padding: 10px 15px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 10px;
font-family: 'Poppins', sans-serif;
font-size: 16px;
}

.contact-form button {
margin-top: 20px;
background-color: transparent;
border: 2px solid #666;
color: #333;
padding: 10px 25px;
border-radius: 30px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s ease;
}

.contact-form button:hover {
background-color: #f2f2f2;
}


/* ==== Graduates Gallery FIX ==== */

/* Десктоп — как было */
.graduates-gallery {
display: flex;
flex-wrap: wrap;
gap: 14px;
justify-content: center;
}
.graduates-gallery img {
width: 140px;
height: 260px;
object-fit: cover;
border-radius: 40px;
display: block;
}

/* Телефон — ровно 4 в ряд */
@media (max-width: 768px) {
.graduates-gallery {
display: grid !important;
grid-template-columns: repeat(4, 1fr) !important;
gap: 8px !important;
justify-items: center;
}
.graduates-gallery img {
width: 100% !important;
height: auto !important;
aspect-ratio: 9 / 16; /* вытянутые, как на компе */
object-fit: cover !important;
border-radius: 24px !important;
}
}

/* ===== Parents mobile fix ===== */
@media (max-width: 768px) {
/* Робимо фото і опис вертикально */
.page-parents .cat-profile {
display: block !important;
margin-bottom: 24px;
}

/* Фото зверху */
.page-parents .cat-photos {
width: 100% !important;
margin-bottom: 12px;
}

.page-parents .cat-photos img.main-photo {
width: 100% !important;
height: auto !important;
border-radius: 16px;
display: block;
}

/* Текст під фото */
.page-parents .cat-info {
width: 100% !important;
margin: 0 auto;
font-size: 0.95rem;
line-height: 1.4;
}

/* Міні-фото у горизонтальну стрічку зі свайпом */
.page-parents .gallery-mini {
display: flex !important;
gap: 8px;
overflow-x: auto;
padding: 6px 0 2px;
-webkit-overflow-scrolling: touch;
}

.page-parents .gallery-mini img {
flex: 0 0 80px;
height: 80px;
object-fit: cover;
border-radius: 10px;
}
}


/* ===== Available Kittens: mobile fix ===== */
@media (max-width: 768px) {
/* Картка котеняти стає вертикальною */
.available-page .kitten-card {
display: block !important;
margin-bottom: 24px;
padding: 12px;
}

body.available-page h1.page-title {
margin-top: 200px !important;
color: #5a2d82 !important;
font-size: 32px !important;
display: block !important;
}


/* Блок із фото/відео */
.available-page .kitten-media {
width: 100% !important;
margin-bottom: 12px;
}

/* Головне фото */
.available-page .kitten-media img.main-photo {
width: 100% !important;
height: auto !important;
border-radius: 16px;
display: block;
}

/* Карусель фото — горизонтальна прокрутка */
.available-page .carousel {
display: flex !important;
gap: 8px;
overflow-x: auto;
padding: 6px 0;
-webkit-overflow-scrolling: touch;
}
.available-page .carousel img {
flex: 0 0 80px;
height: 80px;
object-fit: cover;
border-radius: 10px;
}

/* Відео адаптивне */
.available-page .video-wrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
overflow: hidden;
border-radius: 12px;
}
.available-page .video-wrapper iframe {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
}

/* Опис під фото */
.available-page .kitten-info {
width: 100% !important;
font-size: 0.95rem;
line-height: 1.4;
}

}.reserve-button {
display: inline-block;
margin-top: 20px;
padding: 12px 25px;
background: #d08ad9;
color: #fff;
border: none;
border-radius: 25px;
font-size: 1.1rem;
cursor: pointer;
transition: background 0.3s ease;
}
.reserve-button:hover {
background: #b46ac0;
}

/* knopka */
.modal { display: none; position: fixed; z-index: 1000;
left: 0; top: 0; width: 100%; height: 100%;
background: rgba(0,0,0,0.5);
}
.modal-content {
background: #fff; margin: 10% auto; padding: 20px;
border-radius: 12px; max-width: 400px; text-align: center;
position: relative;
}
.close { position: absolute; top: 10px; right: 15px;
font-size: 24px; cursor: pointer;
}

/* Contact form styles */
#contact-form {
max-width: 500px;
margin: 20px auto;
padding: 20px;
}

#contact-form input,
#contact-form textarea {
width: 100%;
padding: 10px;
margin: 8px 0;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 16px;
}

#contact-form button {
background: #a84caf; /* лавандовий */
color: white;
border: none;
padding: 12px 20px;
border-radius: 25px;
font-size: 16px;
cursor: pointer;
transition: background 0.3s;
}

#contact-form button:hover {
background: #7b3680; /* темніший відтінок */
}

.page-contact h2 {
margin-top: 0 !important; /* прибираємо верхній відступ */
padding-top: 15px; /* залишаємо трохи повітря */
}

.page-contact main {
margin-top: 0 !important;
padding-top: 80px; /* невеликий відступ для краси */
}



/* Для мобильных корректируем отступ */
@media (max-width: 768px) {
body {
padding-top: 120px; /* подгони под реальную высоту шапки на телефоне */
}
}




/* === Gallery Grid === */
.owners-gallery {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 15px;
margin: 40px auto;
max-width: 1200px;
padding: 0 20px;
margin-top: 100px;
}

.owners-gallery img {
width: 100%;
height: auto;
border-radius: 10px;
object-fit: cover;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.owners-gallery img:hover {
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Responsive Grid */
@media (max-width: 1024px) {
.owners-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
.owners-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
.owners-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* === Lightbox === */
.lightbox {
display: none;
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.9);
align-items: center;
justify-content: center;
}

.lightbox img {
max-width: 90%;
max-height: 80%;
border-radius: 10px;
box-shadow: 0 0 20px rgba(255,255,255,0.3);
animation: fadeIn 0.5s ease;
}

/* Controls */
.close, .prev, .next {
position: absolute;
color: white;
font-size: 40px;
cursor: pointer;
user-select: none;
font-weight: bold;
transition: color 0.3s;
}

.close:hover, .prev:hover, .next:hover {
color: #f39cff; /* лавандовый акцент */
}

.close { top: 20px; right: 30px; }
.prev { top: 50%; left: 30px; transform: translateY(-50%); }
.next { top: 50%; right: 30px; transform: translateY(-50%); }

/* Fade animation */
@keyframes fadeIn {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
}

/* === Text Section === */
.export-text {
max-width: 900px;
margin: 60px auto;
padding: 0 20px;
line-height: 1.7;
}

.export-text h2,
.export-text h3 {
color: #5a2d82;
margin-top: 30px;
margin-bottom: 15px;
text-align: center;
}

.export-text ul {
margin: 15px 0;
padding-left: 20px;
}

.export-text li {
margin-bottom: 8px;
}

/* Кнопка */
.contract-btn {
padding: 10px 20px;
border: none;
background: #c59de6;
color: white;
font-size: 16px;
border-radius: 8px;
cursor: pointer;
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
transition: 0.3s;
}
.contract-btn:hover {
background: #a372d1;
}

/* Модальное окно */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0; top: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.6);
}

/* Контент */
.modal-content {
background: #fff;
margin: 5% auto;
padding: 20px;
width: 80%;
max-width: 800px;
max-height: 80vh;
overflow-y: auto;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
line-height: 1.6;
font-size: 15px;
}

/* Крестик */
.close {
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
color: #666;
}
.close:hover {
color: #000;
}

.available-page h1.page-title {
margin-top: 100px; /* або 120px — якщо потрібно більше простору */
}

/* Lightbox overlay */
.lightbox {
display: none;
position: fixed;
z-index: 999;
left: 0; top: 0;
width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.9);
align-items: center;
justify-content: center;
}
.lightbox img {
max-width: 90%;
max-height: 90%;
border-radius: 10px;
box-shadow: 0 0 20px #fff;
}
.lightbox-close {
position: absolute;
top: 30px;
right: 40px;
color: #fff;
font-size: 30px;
cursor: pointer;
}
