/* Variables CSS */
:root {
    --border-light: rgba(209, 213, 219, 0.3);
    --border-dark: rgba(75, 85, 99, 0.3);
    --radius: 0.5rem;
}
/* Home page */
/* Global variables */

:root {
    --main-color: #020305;
    --secondary-color: linear-gradient(180deg, #595EC1 5%, #353983 45%, #25286C 100%);
    --background-color: #020305;
    --font-family: "Onest", sans-serif;
    --heading-size: 2rem;

    /* === Font Family === */
    --font-family-base: "Onest", sans-serif;

    /* === Desktop Typography === */
    --desktop-h1: 4rem;
    /* Main hero title */
    --desktop-h2: 3rem;
    /* Section title */
    --desktop-h3: 2rem;
    /* Subsection title */
    --desktop-h4: 1.5rem;
    /* Small heading */
    --desktop-h5: 1.25rem;
    /* Mini heading / label */
    --desktop-body: 1rem;
    /* Paragraphs */
    --desktop-small: 0.875rem;
    /* Small text / footer */

    /* === Mobile Typography === */
    --mobile-h1: 2.5rem;
    --mobile-h2: 2rem;
    --mobile-h3: 1.5rem;
    --mobile-h4: 1.25rem;
    --mobile-h5: 1.2rem;
    --mobile-body: 0.95rem;
    --mobile-small: 0.8rem;

    /* === Font Weights === */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
}

body {
    font-family: var(--font-family-base);
    overflow-x: hidden;
}

/* === BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* === NAVBAR === */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--background-color);
    position: fixed;
    height: 80px;
    top: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    position: absolute;
    left: 2rem;
}

.logo img {
    width: 60px;
    height: auto;
}

.nav-links {
    display: flex;
    width: 900 px;
    background-color: rgba(72, 72, 72, 0.3);
    border: 1px solid transparent;
    border-radius: 62px;
    background:
        linear-gradient(black, black) padding-box,
        /* inner background */
        linear-gradient(180deg, #595EC1 5%, #353983 45%, #25286C 100%) border-box;
    background-clip: padding-box, border-box;
    padding: 20px;
    border-radius: 62px;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: var(--font-medium);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #a9b3ff;
}

/* === HAMBURGER === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    z-index: 200;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* === SIDEBAR === */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 150;
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: var(--font-medium);
    margin: 1rem 0;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #a9b3ff;
}

/* === CLOSE BUTTON === */
.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #a9b3ff;
}

/* === HAMBURGER ANIMATION === */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hero-section {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-top: 100px;
    background-image: url('images/Catalogue/EAGLE\ NEBULA.jpeg');
    background-repeat: no-repeat;
    height: 100vh;
    color: white;
    border-radius: var(--radius);
    background-size: cover;

}

.hero-section h1 {
    font-family: "Onest", sans-serif;
    font-size: 90px;
    font-weight: var(--font-semibold);
    text-align: center;
    margin: 0;
    margin-top: 80px;
}

.hero-section p {
    font-family: "Onest", sans-serif;
    font-size: var(--desktop-h3);
    font-weight: var(--font-semibold);
    text-align: center;
    color: #FFFFFF;
}

.Community-btn{
    background-color: #020305;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid white;
    align-items: center;
    cursor: pointer;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-section h1 {
        font-size: var(--mobile-h1);
    }

    .hero-section p {
        font-size: var(--mobile-body);
    }
}
/* Reset et styles de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: white;
}


body {
    font-family: 'Space Grotesk', sans-serif;
    background-image: url('images/Home/Header/image.png');
    background-attachment: fixed;
    line-height: 1.5;
}

.page-container {
    background-color: rgba(0, 0, 0, 0.7);
}


.main-content {
    padding: 1rem;
}

.form-container {
    padding: 1rem;
    max-width: 100%;
    margin: 0 auto;
}

.text-center {
    margin-bottom: 2rem;
    text-align: center;
}

.main-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.subtitle {
    color: #9CA3AF;
    font-size: 1rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-span {
    font-size: 0.9rem;
    color: #aaa4a4;
}

.input-field {
    width: 100%;
    background-color: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 0.8rem;
    font-size: 1rem;
}

.input-field:focus {
    border-color:#3B82F6;
}

.input-field::placeholder {
    color: rgba(156, 163, 175, 1);
}

/* Grille mobile */
.grid-columns {
    display: grid;
   gap: 1rem;
}

.radio-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.radio-option {
    display: flex;
    gap: 0.7rem;
    padding: 0.7rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color:#3B82F6;
}

.radio-input {
    margin-top: 0.2rem;
    accent-color:#3B82F6;
}

.option-title {
    font-weight: 500;
    color: #ffffff;
}

.option-description {
    font-size: 0.9rem;
    color: #9CA3AF;
    margin-top: 0.2rem;
}

/* Options checkbox - Mobile */
.astronomy-description {
    font-size: 0.875rem;
    color: #9CA3AF;
    margin-bottom: 1rem;
}

.astronomy-grid {
    display: grid;
    gap: 0.7rem;
    color: #F9FAFB;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    padding: 0.5rem 0;
}

.checkbox-input {
    accent-color: #3B82F6;
    width: 1.2rem;
    height: 1.2rem;
}

/* Bouton de soumission - Mobile */
.submit-button {
    width: 100%;
    background-color: #3B82F6;
    color: white;
    font-weight: bold;
    padding: 1rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #2563EB;
    transform: translateY(-1px);
}

/* ========================================================================== */
/* MEDIA QUERY DESKTOP (1024px and up) */
/* ========================================================================== */
@media screen and (min-width: 1024px) {
    /* Header - Desktop */
    .header {
        padding: 1rem 3rem;
    }
    
    .mobile-menu-button {
        display: none;
    }
    
    .navigation {
        display: flex;
        align-items: center;
        gap: 2rem;
        color: white;
    }
    
    .nav-link {
        color: white;
        text-decoration: none;
        transition: color 0.3s;
        font-weight: 500;
    }
    
    .nav-link:hover {
        color: #3B82F6;
    }
    
    /* Contenu principal - Desktop */
    .main-content {
        padding: 3rem;
    }
    
    .form-container {
        max-width: 40rem;
    }
    
    /* Typographie - Desktop */
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    /* Formulaire - Desktop */
    .form-section {
        background-color: rgba(31, 41, 55, 0.2);
        padding: 2rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    /* Grille desktop */
    .grid-columns {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    /* Options checkbox - Desktop */
    .astronomy-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    /* Bouton de soumission - Desktop */
    .submit-button {
        padding: 1.2rem;
        font-size: 1.25rem;
        max-width: 20rem;
        margin: 0 auto;
        display: block;
    }
    
    /* Améliorations desktop */
    .input-field {
        padding: 0.875rem;
    }
    
    .radio-option {
        padding: 1rem;
    }
    
    .form-fields {
        gap: 1.25rem;
    }
}

/* États de focus accessibles */
.input-field:focus-visible,
.radio-input:focus-visible,
.checkbox-input:focus-visible,
.submit-button:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* Animation subtile pour les transitions */
.form-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*footer */

footer {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  background: #111;
  font-size: 0.8rem;
  color: #aaa;
}

.main-footer {
  background-color: #000000;
  color: #cfd3e0;
  padding: 50px 20px 25px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col.brand h2 {
  color: #9ca8ff;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-col.brand p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #bfc4d9;
  max-width: 250px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 2rem;
}

.social-icons img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.social-icons img:hover {
  transform: scale(1.2);
}

#fb:hover {
    box-shadow: rgb(70, 127, 233) 4px -4px 20px ,rgb(70, 127, 233) -4px 4px 20px;
}

#X:hover {
    box-shadow: rgb(0, 0, 0) 4px -4px 20px ,rgb(0, 0, 0) -4px 4px 20px;
}

#inst:hover {
    box-shadow: rgb(216, 90, 174) 4px -4px 20px ,rgb(206, 39, 39) -4px 4px 20px;
}

#ytp:hover {
    box-shadow: rgb(221, 17, 17) 4px -4px 20px ,rgb(247, 16, 16) -4px 4px 20px;
}

#messg:hover {
    box-shadow: rgb(70, 127, 233) 4px -4px 20px ,rgb(70, 127, 233) -4px 4px 20px;
}

/* Footer Columns */

.logo-footer{
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.logo-footer img{
  width: 55px;
  height: 55px;
}
.footer-col h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin: 5px 0;
}

.footer-col ul li a {
  color: #cfd3e0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.7s ease;
}

.footer-col ul li a:hover {
  color: #9ca8ff;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #2a2d3a;
  padding-top: 15px;
  font-size: 0.85rem;
  color: #8a90a5;
}

@media (min-width: 768px) {

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
  }

  .footer-col {
    flex: 1;
  }

  .footer-col.brand {
    flex: 1.5;
  }

}
