*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}

body{
font-family:'Nunito',sans-serif;
 background: linear-gradient(180deg, #ffffff, #f3f8ff);
overflow-x:hidden;
}
.top-slider {
    position: relative;
    overflow: hidden;
	z-index:1;
}

/* ЛЕВОЕ ОБЛАКО */
.top-slider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background: url('images/cloud-left.png') no-repeat left center;
    background-size: contain;
    pointer-events: none;
    z-index:1;
	
}

/* ПРАВОЕ ОБЛАКО */
.top-slider::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background: url('images/cloud-right.png') no-repeat right center;
    background-size: contain;
    pointer-events: none;
    z-index:1;
}
/* NAV */
nav{
position:fixed;
top:0;
width:100%;
display:flex;
justify-content:center;
padding:15px;
backdrop-filter:blur(15px);
z-index:1000;
}

.contact-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:20px;
    flex-wrap:wrap;
}

.btn-contact{
    display:flex;
    align-items:center;
    gap:8px;

    padding:12px 22px;
    border-radius:30px;

    font-weight:700;
    text-decoration:none;
    color:#333;

    transition:0.3s;
z-index:2;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

/* телефон */
.btn-contact.phone{
    background:linear-gradient(135deg,#ffd166,#ff8fb1);
}

/* инстаграм */
.btn-contact.insta{
    background:linear-gradient(135deg,#7bdff2,#cdb4db);
}

/* ховер */
.btn-contact:hover{
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.rainbow-bg{
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;

    background: radial-gradient(circle at 50% 30%,
        rgba(255,143,177,0.25),
        rgba(255,209,102,0.25),
        rgba(123,223,242,0.25),
        rgba(186,255,201,0.25),
        rgba(205,180,219,0.25),
        transparent 70%
    );

    filter: blur(120px);
    animation: rainbowMove 20s ease infinite;
}

/* движение как “живой свет” */
@keyframes rainbowMove{
    0%{
        transform: scale(1) translate(0,0);
    }
    50%{
        transform: scale(1.2) translate(40px,-30px);
    }
    100%{
        transform: scale(1) translate(0,0);
    }
}
#about{
	z-index:3;
}

.clouds{
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

/* ОСНОВА ОБЛАКА */
.cloud{
    position: absolute;
    width: 320px;
    height: 140px;

    background: radial-gradient(circle at 30% 40%, #ffffff 60%, #e0f7ff 100%);
    border-radius: 100px;

    filter: blur(2px);
    opacity: 0.9;

    box-shadow:
        0 10px 40px rgba(123,223,242,0.3),
        0 5px 20px rgba(255,143,177,0.2);
}

/* ДОБАВЛЯЕМ "ПУХЛОСТЬ" */
.cloud::before,
.cloud::after{
    content:'';
    position:absolute;
    background: inherit;
    border-radius:50%;
}

/* верхние шарики */
.cloud::before{
    width:140px;
    height:140px;
    top:-50px;
    left:50px;
}

.cloud::after{
    width:120px;
    height:120px;
    top:-40px;
    left:140px;
}

/* ЛЕВО */
.cloud-left{
    left: -80px;
    top: 35%;
    transform: scale(1.1);
    animation: floatCloud 12s ease-in-out infinite;
}

/* ПРАВО */
.cloud-right{
    right: -80px;
    top: 45%;
    transform: scale(1.2);
    animation: floatCloud 14s ease-in-out infinite reverse;
}

/* АНИМАЦИЯ */
@keyframes floatCloud{
    0%{ transform: translateY(0) scale(1); }
    50%{ transform: translateY(-20px) scale(1.05); }
    100%{ transform: translateY(0) scale(1); }
}
/* ФОН */
.magic-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    
    z-index: -2;
    overflow: hidden;
}

/* ЗВЕЗДЫ */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
	
}

/* цвета из логотипа */
.star:nth-child(3n){background:#feff46;}
.star:nth-child(4n){background:#f7c2d2;}
.star:nth-child(5n){background:#d4eff3;}

@keyframes twinkle {
    0%,100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(2); }
}

.shooting-stars {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
pointer-events: none;
}

.shooting-star {
position: absolute;
width: 24px;
height: 24px;
background: #ffd700;
opacity: 0;
animation: shoot linear infinite;
z-index:3;

/* форма звезды */
clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
);

box-shadow:
    0 0 8px #ffd700,
    0 0 16px #ffe066;

}

.shooting-star::before {
content: '';
position: absolute;
inset: -8px;
border-radius: 50%;
background: radial-gradient(circle, rgba(255,215,0,0.4), transparent);
z-index: -1;
}

@keyframes shoot {
0% {
transform: translate(0, 0) scale(0.6) rotate(0deg);
opacity: 0;
}
20% {
opacity: 1;
}
100% {
transform: translate(400px, 400px) scale(1) rotate(180deg);
opacity: 0;
}
}
/* яркая "голова" звезды */

.shooting-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shooting-star {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffd700 40%, #ffec8b 70%, transparent 100%);
    border-radius: 50%;
    opacity: 0;
    animation: shoot linear infinite;
}

.shooting-star::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,0,0.5), transparent);
}

.shooting-star::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffcc00;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    box-shadow:
        -10px -5px #ffd700,
        10px 5px #ffcc00,
        -6px 8px #ffe066,
        6px -8px #ffd700;
    transform: translate(-50%, -50%);
}

@keyframes shoot {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }
    10% { opacity: 1; }
    100% {
        transform: translate(300px, 300px) scale(1);
        opacity: 0;
    }
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    line-height: 1.3; 
}

.hero-title span {
    display: block; 

      background: linear-gradient(90deg, #ec62ca, #e0c4d9, #8cfd3f);
		filter: drop-shadow(0 0 2px #fff)
            drop-shadow(0 0 4px #fff)
            drop-shadow(0 0 6px #fff)
            drop-shadow(2px 2px 0 #fff)
            drop-shadow(-2px 2px 0 #fff)
            drop-shadow(2px -2px 0 #fff)
            drop-shadow(-2px -2px 0 #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
 
    font-size: 32px;
}

.texto{
	color: #000;
    -webkit-text-stroke: 3px #fff;
}

.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle 2s infinite ease-in-out;
}

@keyframes twinkle {
    0%,100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.8); }
}

.menu{
display:flex;
gap:12px;
justify-content: center;   /* по центру */
    align-items: center;
}

.menu a{font-family:'Nunito',sans-serif;
padding:10px 18px;
border-radius:30px;
font-weight:700;
text-decoration:none;
color:#333;
transition:.3s;
}

.menu a:nth-child(1){background:#ff8fb1}
.menu a:nth-child(2){background:#ffd166}
.menu a:nth-child(3){background:#7bdff2}
.menu a:nth-child(4){background:#baffc9}
.menu a:nth-child(5){background:#cdb4db}

.menu a:hover{
transform:scale(1.1);
}

/* HERO */
.hero{
height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
}

.logo{
width:460px;
margin-top:100px;
animation:pulse 4s ease-in-out infinite;
z-index:0;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.hero h1{
margin-top:-20px;
font-size:32px;
z-index:2;
}

/* SECTIONS */
section{
padding:100px 20px;
max-width:1100px;
margin:auto;
text-align:center;
opacity:0;
transform:translateY(60px);
transition:1s;
}

section.show{
opacity:1;
transform:translateY(0);
}

/* CARDS */
.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
}

.card {
	margin: 10px;
    padding: 25px;
    border-radius: 20px;
	text-align:center;
    background: linear-gradient(
        270deg,
        #f5638f,
        #cdb4db,
        #b1b6f7 
    );

    background-size: 400% 400%;

    animation: gradientMove 12s ease infinite;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: .3s;
}

/* АНИМАЦИЯ */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.card:hover{
transform:translateY(-10px) scale(1.03);
}

/* GALLERY */
.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:15px;
}

.gallery img{
width:100%;
border-radius:20px;
transition:.4s;
}

.gallery img:hover{
transform:scale(1.08);
}

/* BUTTON */
.btn{
display:inline-block;
margin-top:20px;
padding:14px 24px;
border-radius:25px;
background:#ff8fb1;
color:white;
text-decoration:none;
font-weight:700;
transition:.3s;
}

.btn:hover{
transform:scale(1.05);
}

/* WHATSAPP */
.whatsapp{
position:fixed;
bottom:20px;
right:20px;
background:#25d366;
color:white;
padding:16px;
border-radius:50%;
font-size:22px;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
  text-decoration: none;
  z-index:4;

}

/* MOBILE */
@media(max-width:768px){
.logo{width:260px}
.menu{flex-wrap:wrap}
}

.container{ max-width:900px; margin:auto; text-align:left;} 
h1{ font-size:36px; margin-bottom:20px; text-align:center; }
 h2{ margin-top:40px; margin-bottom:20px; font-size:26px; color:#ff8fb1; } 
 p{ margin-bottom:15px; } ul{ padding-left:20px; } 
 li{ margin-bottom:8px; }
 .block{ background:#fff; padding:25px; border-radius:20px; box-shadow:0 10px 30px rgba(0,0,0,0.08); margin-bottom:20px; } 
.list li::marker{ color:#ff8fb1; } 
 @media(max-width:600px){ h1{font-size:28px} h2{font-size:22px} }
 .block {
    text-align: left;
}

.block h2 {
    text-align: center; /* заголовки остаются по центру */
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: 0.4s;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

/* МОДАЛКА */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);

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

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.director {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.director-card {
    max-width: 800px;
    background: white;
    padding: 40px;
    border-radius: 25px;

    /* мягкий градиент + стекло */
    background: linear-gradient(
        135deg,
        rgba(255,143,177,0.1),
        rgba(123,223,242,0.1),
        rgba(255,209,102,0.1)
    );

    backdrop-filter: blur(10px);

    box-shadow: 0 15px 40px rgba(0,0,0,0.08);

    text-align: left;
}

.director h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #ff8fb1;
}

.director p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
}

.intro {
    font-size: 18px;
}

.signature {
    margin-top: 30px;
}
.footer {
    position: relative;
    background: linear-gradient(180deg, #ffffff, #f3f8ff);
    padding: 40px 20px 20px;
    margin-top: 60px;
    overflow: hidden;
}

/* облака */
.footer::before,
.footer::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}


.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.footer-logo img {
    width: 120px;
}

.footer-logo p {
    font-weight: 600;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
    
    border-radius: 20px;
    color: #333;
    transition: 0.3s;
}

.footer-links a:hover {
   
    transform: translateY(-2px);
}

.footer-contact p {
    margin: 5px 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}
.footer-bottom a {
    text-decoration: none;
    
    border-radius: 20px;
    color: #00c6eb;
    transition: 0.3s;
}
.footer-contact a {
    text-decoration: none;
    
    border-radius: 20px;
    color: #00c6eb;
    transition: 0.3s;
}
