html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Arial, sans-serif;
    color: white;
}

/* BACKGROUND */
body {
    font-family: Arial, sans-serif;
    background: url("../images/background.png") center/cover no-repeat fixed;
    color: white;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.header-logo {
    text-decoration: none;
    color: white;
}

.header-logo h1 {
    cursor: pointer;
}

.header-logo:hover h1 {
    text-shadow: 0 0 25px #00ffff;
}


.menu-btn {
    position: absolute;
    left: 20px;
    font-size: 30px;
    cursor: pointer;
}

header h1 {
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 20px;
    margin: 0 auto;
    text-shadow: 0 0 0px #00ffff;
    text-align: center;
}

/* MENU */
#side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: black;
    padding-top: 60px;
    transition: 0.4s;
    z-index: 1000;
}

#side-menu a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
}

#side-menu a:hover {
    background: #00ffff;
}

.close-btn {
    color: white;
    font-size: 28px;
    text-align: right;
    padding: 15px 20px;
    cursor: pointer;
}

.close-btn:hover {
    color: #00ffff;
}

.header-right {
    position: absolute;
    right: 120px;
    display: flex;
    align-items: center;
    gap: 25px;
}

/* МАЛКО ЛОГО */
.mini-logo img {
    width: 150px;
    height: auto;
    cursor: pointer;
    transition: 0.3s;
}

.mini-logo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px #00ffff);
}

/* CONTENT */
.content {
    padding-top: 180px;
}

/* SECTIONS */
/* Цялата секция реагира при hover */
.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 55px 10%;
    max-width: 100%;
    margin-bottom: 20px;
    position: relative;
    border-radius: 80px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease; /* леко движение на цялата секция */
}

/* Когато hover върху секцията */
.section:hover {
    transform: translateY(-5px); /* леко “повдигане” на секцията */
}
/* Hover ефект за заглавието */
.section:hover .text h2 {
    color: #00ffff;
    transform: translateY(-5px);
    transition: transform 0.4s ease, color 0.4s ease;
}
/* Hover ефект за параграфа */
.section:hover .text p {
    transform: translateY(-3px);
    transition: transform 0.4s ease;
}


.section.right {
    flex-direction: row;
}

.section.left {
    flex-direction: row-reverse;
}

/* Изображения hover */
.section img {
    width: 400px;
    border-radius: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
}

/* Hover ефект за изображението */
.section:hover img {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

/* Hover ефект върху текста */
.section:hover .text h2 {
    transform: translateY(-5px); /* леко движение нагоре */
    color: #00ffff; /* подчертаване с циан цвят */
    transition: transform 0.4s ease, color 0.4s ease;
}

.section:hover .text p {
    transform: translateY(-3px);
    transition: transform 0.4s ease;
}

.text {
    max-width: 520px;
}

.text h2 {
    font-size: 32px;
    margin-bottom: 15px;
	text-align: center;
}

.text p {
    font-size: 18px;
    line-height: 1.5;
	text-align: justify;
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER */
.footer {
    background: rgba(0,0,0,0.7);
    padding: 4px 6% 2px;
    color: white;
	overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
}


.footer-col h3 {
    font-size: 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid #555;
    padding-bottom: 3px;
}

.footer-col a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 6px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #00ffff;
    transform: translateX(5px);
}

.footer-col p {
    font-size: 14px;
    color: #aaa;
}

.socials a {
    font-size: 22px;
    margin-right: 10px;
    color: white;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 25px;   /* беше 50px */
    padding-top: 12px;  /* беше 20px */
    border-top: 1px solid #333;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


.logo-scroll {
    width: 400px;        /* регулирай размера */
    cursor: pointer;
	 margin-top: -2px;
	  margin-left: -35px;
    transition: 0.4s;
}

.logo-scroll:hover {
   
    filter: drop-shadow(0 0 10px #00ffff);
}
.person-socials {
    margin: 5px 0 10px;
}

.person-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    font-size: 20px;
    color: #ccc;
    margin-right: 10px;
    transition: 0.3s;
}

.person-socials a:hover {
    color: #00ffff;
    background: rgba(0,255,255,0.15);
    transform: scale(1.15);
}

    .ttext {
        font-size: 15px;
		color: #00ffff;
    }




.separator {
    margin: 0 10px;
}
/* PAGE TITLE */
.page-title h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 80px;
    letter-spacing: 3px;
}

/* INTRO SECTION */
.intro-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 0 10%;
}

.intro-text {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.7;
    color: #ddd;
}

.intro-image img {
    width: 380px;
    border-radius: 20px;
}

/* OBJECTS */
.objects-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 120px 8%;
    text-align: center;
}

.object-card img {
    width: 100%;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.5s;
}

.object-card img:hover {
    transform: scale(1.05);
}

.object-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.6s;
}

.object-text.open {
    max-height: 400px;
    opacity: 1;
    margin-top: 15px;
}

/* VIDEO BOX */
.video-box {
    display: flex;
    gap: 80px;              /* повече въздух между текст и видео */
    padding: 50px;          /* по-дебела кутия */
    margin: 150px auto;     /* центрирана */
    max-width: 1400px;      /* 🔑 по-голяма кутия */
    background: rgba(0, 0, 0, 0.7);
    border-radius: 25px;
}

.video-box {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.15);
}


.video-text {
    flex: 1;                 /* 🔑 най-важното */
    font-size: 17px;
    line-height: 1.6;

    max-width: 100%;
    word-break: normal;
    white-space: normal;
	    color: white;

}


.video-content {
    flex: 1;
	align-items: center;
}

.video-content video {
    width: 100%;
    border-radius: 15px;
	align-items: center;
}

/* CARDS SECTION */
.cards-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 120px 8%;
    flex-wrap: wrap;
}

/* CARD */
.info-card {
    width: 300px;
    text-align: center;
}

/* IMAGE */
.info-card img {
    width: 100%;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

.info-card img:hover {
    transform: scale(1.05);
}

/* TEXT BOX */
.card-text {
    margin-top: 20px;
    padding: 25px;
    background: rgba(0,0,0,0.75);
    border-radius: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.info-card.active .card-text {
    max-height: 600px;
    opacity: 1;
}


.card-text h3 {
    margin-bottom: 10px;
}

.card-text p {
    font-size: 16px;
    line-height: 1.5;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.info-card.active .card-text {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
}

@media (max-width: 900px) {
    .cards-section {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        width: 90%;
    }
}

.info-card img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    background: white;
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #00ffff;
    transform: scale(1.05);
}

/* HERO ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.scroll-indicator {
    text-align: center;
    font-size: 30px;
    color: white;
    opacity: 0.6;
    animation: bounce 2s infinite;
   
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.section {
    transition: background 0.4s;
}

.section:hover {
    background: rgba(255,255,255,0.03);
    border-radius: 30px;
}





@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO SECTION – index */
.index-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)),
        url("../images/universe.png") center/cover no-repeat;

    padding: 140px 20px 80px;
}
.index-hero h2 {
    font-size: 56px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px black;
}




.hero-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 18px;
    color: white;
    text-decoration: none;

    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.4);

    background: linear-gradient(
        135deg,
        rgba(0,180,255,0.8),
        rgba(0,80,200,0.8)
    );

    box-shadow: 0 0 20px rgba(0,180,255,0.5);
    transition: 0.3s;
}

.hero-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(0,200,255,0.9);
}
/* HERO SECTION – future */
.future-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background:
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)),
        url("../images/future_space.png") center/cover no-repeat;

    padding: 140px 20px 80px;
}
.future-hero h2 {
    font-size: 56px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px black;
}
/* HERO SECTION – asteroids */
.asteroids-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
        url("../images/asteroids-hero.png") center/cover no-repeat;

    padding: 140px 20px 80px;
}
.asteroids-hero h2 {
    font-size: 56px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px black;
}
/* HERO SECTION – question */
.question-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
        url("../images/question-hero.png") center/cover no-repeat;

    padding: 140px 20px 80px;
}
.question-hero h2 {
    font-size: 56px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px black;
}

/* HERO SECTION – galaxies */
.galaxies-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
        url("../images/galaxies-hero.png") center/cover no-repeat;

    padding: 140px 20px 80px;
}
.galaxies-hero h2 {
    font-size: 56px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px black;
}


/* HERO SECTION – BLACK HOLES */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)),
        url("../images/blackhole-hero.png") center/cover no-repeat;

    padding: 140px 20px 80px;
}

.hero-content {
    max-width: 900px;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 0 60px ;
}

.hero h2 {
    font-size: 56px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px black;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 40px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.btn.primary {
    background: #00ffff;
    color: black;
}

.btn.primary:hover {
    background: white;
}

.btn.secondary {
    border: 2px solid #00ffff;
    color: #00ffff;
}

.btn.secondary:hover {
    background: #00ffff;
    color: black;
}

/* FACTS BAR */
.hero-facts {
    margin-top: 60px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.fact-box {
    background: rgba(0,0,0,0.7);
    padding: 20px 25px;
    border-radius: 20px;
    max-width: 260px;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.fact-box span {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

html {
    scroll-behavior: smooth;
}


/*  MODAL */

.modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.85);

}

.modal-content{
background:#111;
color:white;
max-width:600px;
margin:10% auto;
padding:30px;
border-radius:12px;
text-align:center;
box-shadow:0 0 25px #00ffff;
animation:fadeIn .4s ease;
}

.modal h2{
font-size:28px;
text-align:center;
margin-bottom:20px;
color:#00ffff;
text-shadow:0 0 8px #00ffff;
}
.modal p{
font-size:18px;
line-height:1.5;
text-align:justify;
color:white;
}

.close-modal{
position:center;
font-size:40px;
cursor:pointer;

}


@keyframes fadeIn{
from{
opacity:0;
transform:scale(.8);
}
to{
opacity:1;
transform:scale(1);
}
}

/* VIDEO MODAL */
.video-modal {
    display: none;          /* важно */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 3000;

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


.video-box {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: black;
    border-radius: 20px;
    padding: 20px;
}

.video-box video {
    width: 100%;
    border-radius: 15px;
}

.close-video {
    position: absolute;
    top: -30px;
    right: -30px;

    font-size: 42px;
    color: white;
    cursor: pointer;

    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
}

.close-video:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.2);
}

.hero-facts {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.fact-box {
    flex: 1;
    min-width: 180px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
	cursor:pointer;
    transition:all 0.3s ease;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.fact-box:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.1);
}

.fact-number {
    font-size: 28px;
    font-weight: bold;
    color: #00d4ff;
    margin-bottom: 10px;
}

.fact-text {
    font-size: 16px;
    color: #ccc;
}


.galaxy-grid {
    display: flex;
    gap: 80px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0 80px 0;
}

.galaxy-card {
    width: 260px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.galaxy-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.galaxy-card h3 {
    margin: 15px 0 5px 0;
}

.galaxy-card p {
    padding: 0 15px 20px 15px;
    font-size: 14px;
    color: #ccc;
}

.galaxy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0,212,255,0.3);
}

.section.center-text .text {
    margin: 0 auto;      /* центрира блока */
    text-align: center;  /* центрира текста вътре */
}

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

    background:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
        url("../images/milkyway.png") center/cover no-repeat;

    padding: 140px 20px 80px;
}
.milkyway-hero h2 {
    font-size: 56px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px black;
}



/* ГАЛЕРИЯ */
.milky-gallery {
    padding: 80px 10%;
    text-align: center;
}

.gallery-grid {
    display: flex;
    gap: 80px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.gallery-grid img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.4s;
}

.gallery-grid img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(0,212,255,0.4);
}

/* АНИМАЦИЯ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
        url("../images/alien-hero.png") center/cover no-repeat;

    padding: 140px 20px 80px;
}
.aliens-hero h2 {
    font-size: 56px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px black;
}

/* ГАЛЕРИЯ */
.alien-gallery {
    padding: 80px 10%;
    text-align: center;
	gap: 80px;
}

.alien-grid {
    display: flex;
    gap: 80px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.alien-grid img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.4s;
}

.alien-grid img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(0,255,150,0.4);
}

@media (max-width: 1024px) {

    .section {
        flex-direction: column;
        text-align: center;
    }

    .section img {
        width: 80%;
        margin-bottom: 20px;
    }

    .hero-content h2 {
        font-size: 40px;
    }

    .milky-stats {
        flex-direction: column;
        gap: 30px;
    }

}

@media (max-width: 768px) {

    /* HERO */
    .hero-content h2,
    .milkyway-hero h2,
    .aliens-hero h2 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }

    /* Секции */
    .section {
        padding: 50px 5%;
    }

    .section img {
        width: 100%;
    }

    .text {
        width: 100%;
    }

    /* Галерии */
    .gallery-grid,
    .alien-grid {
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid img,
    .alien-grid img {
        width: 90%;
        height: auto;
    }

    /* Статистики */
    .milky-stats {
        padding: 50px 5%;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

}



/* TIMELINE */
.future-timeline {
    padding: 100px 10%;
    background: rgba(0,0,0,0.4);
    color: white;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin: 60px 0;
    align-items: center;
}

.timeline-item img {
    width: 280px;
}

/* GRID */
.future-grid-section {
    padding: 100px 10%;
    text-align: center;
}

.future-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: nowrap;
}

.future-card {
    width: 300px;
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.future-card img {
    width: 280px;
    height: 280px;      /* фиксирана височина */
    object-fit: contain; /* не ги разтяга */
    margin-bottom: 20px;
}
.future-card h3 {
    min-height: 50px;  /* еднаква височина за заглавията */
}

.future-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0,150,255,0.4);
}

/* VIDEO */
.future-video {
    padding: 100px 10%;
    text-align: center;
    background: rgba(0,0,0,0.6);
    color: white;
}

.future-video h2 {
    font-size:24px;
    color: #00ffff;
}
.future-video p {
    font-size:20px;
    color: white;
}



.future-video video {
    width: 70%;
    max-width: 700px;
    margin-top: 30px;
    border-radius: 15px;
}

/* LANGUAGE SWITCHER */

.language-switcher {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.lang-btn:hover {
    border-color: #00ffff;
    color: #00ffff;
}

.lang-dropdown {
    position: absolute;
    top: 35px;
    right: 0;
    background: rgba(0,0,0,0.95);
    border: 1px solid #333;
    display: none;
    min-width: 160px;
}

.lang-dropdown a {
    display: block;
    padding: 10px;
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.lang-dropdown a:hover {
    background: rgba(0,255,255,0.15);
    color: #00ffff;
}

/* SHOW DROPDOWN */
.language-switcher:hover .lang-dropdown {
    display: block;
}
/* =========================
   LANGUAGE DROPDOWN
========================= */

.language-dropdown {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

/* selected button */
.selected-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.3s;
}

.selected-lang:hover {
    background: rgba(0,255,255,0.15);
}

.selected-lang img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

/* dropdown menu */
.lang-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(0,0,0,0.95);
    border-radius: 8px;
    overflow: hidden;
    display: none;
    min-width: 160px;
    box-shadow: 0 0 15px rgba(0,255,255,0.2);
}

/* links */
.lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.lang-menu a img {
    width: 22px;
    height: 15px;
}

.lang-menu a:hover {
    background: rgba(0,255,255,0.15);
}

/* show menu */
.language-dropdown.active .lang-menu {
    display: block;
}
.selected-lang i.fa-globe {
    font-size: 18px;
    color: #00ffff;
}

.selected-lang span {
    font-weight: 600;
    letter-spacing: 1px;
}











/* =======================================
   GLOBAL RESPONSIVE SYSTEM
======================================= */

@media (max-width: 900px) {

    /* HEADER */
    header h1 {
        font-size: 28px;
        letter-spacing: 8px;
    }

    /* SECTIONS STACK */
    .section {
        flex-direction: column !important;
        text-align: center;
        gap: 25px;
        padding: 40px 6%;
        border-radius: 25px;
    }

    .section img {
        width: 100%;
        max-width: 420px;
    }

    .text {
        max-width: 100%;
    }

    /* HERO */
    .hero-content {
        padding: 30px 20px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* FACT BOXES */
    .hero-facts {
        flex-direction: column;
        align-items: center;
    }

    .fact-box {
        width: 90%;
        max-width: 400px;
    }

    /* VIDEO BOX */
    .video-box {
        flex-direction: column;
        gap: 25px;
        padding: 25px;
        margin: 60px 5%;
    }

    /* INTRO SECTION */
    .intro-section {
        flex-direction: column;
        text-align: center;
    }

    .intro-image img {
        width: 100%;
        max-width: 400px;
    }

    /* OBJECT CARDS */
    .objects-section {
        grid-template-columns: 1fr;
        padding: 60px 6%;
    }

    /* GALAXY CARDS */
    .galaxy-grid {
        gap: 30px;
    }

    .galaxy-card {
        width: 90%;
        max-width: 350px;
    }

    /* FUTURE HERO */
    .future-hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .future-left,
    .future-right {
        width: 100%;
    }

    /* FUTURE GRID */
    .future-grid {
        flex-wrap: wrap;
    }

    .future-card {
        width: 90%;
        max-width: 340px;
    }

    /* TIMELINE */
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-item img {
        width: 100%;
        max-width: 400px;
    }

    /* GALLERIES */
    .gallery-grid,
    .alien-grid {
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid img,
    .alien-grid img {
        width: 95%;
        height: auto;
    }

    /* FOOTER (МНОГО ВАЖНО) */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }

    .logo-scroll {
        width: 220px;
        margin: 0 auto;
    }
  .mini-logo {
            position: absolute;
    right: -25px;
    display: flex;
    align-items: center;
    gap: 25px;
    }
	.mini-logo img {
    width: 100px;
    height: auto;
    cursor: pointer;
    transition: 0.3s;
}
    .person-socials {
        justify-content: center;
    }

}


/* EXTRA SMALL PHONES */
@media (max-width: 580px) {

    header h1 {
        font-size: 22px;
        letter-spacing: 4px;
    }
	  .mini-logo {
        display: none;
    }

    .hero h2 {
        font-size: 26px;
    }

    .text p {
        font-size: 16px;
    }
}