/*!
Theme Name: Slowup
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: slowup
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/



html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
    --wp-admin--admin-bar--height: 32px;
    scroll-padding-top: var(--wp-admin--admin-bar--height);
}


main {
	display: block;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* Reset rapide */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
}

/* HEADER */
.site-header {
    position: absolute;
    /*top: 0;*/
    width: 100%;
    z-index: 10;
    color: #0000009e;

    background: rgba(255, 255, 255, 0.7); /* gris/blanc transparent */
    backdrop-filter: grayscale(100%);
    -webkit-backdrop-filter: grayscale(100%); /* Safari */
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15%;
    gap: 40px;
    height: 25vh;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-direction: column;
}

.main-nav a {
    text-decoration: none;
    color: #0000009e;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 2px;
}

.header-logo {
    position: relative;
    display: flex;
}

.logo_date {
    position: absolute;
    top: 25vh;
}

.header-logo img {
    width: auto;
    height: 25vh;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.socials ul {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-direction: column;
    text-align: center;
}

.socials span {
    font-size: 28px;
}

.socials a {
    text-decoration: none;
    color: #0000009e;
    font-size: 20px;
}

.socials i {
    display: flex;
    justify-content: center;
    font-size: 28px;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("http://preprod.slowup-sundgau.fr/wp-content/uploads/2026/02/hero_bg2.jpg") center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.countdown {
    position: absolute;
    top: 200px;
    color: white;
}

/* COUNTDOWN */
.countdown h1 {
    font-size: 4rem;
    font-weight: 800;
    color :#ffffffcf
}

.countdown p {
    margin-top: 10px;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* HERO CARD */
.hero-card {
    width: 260px;
}

.card-top {
    background: #9bc43c;
    padding: 30px;
    text-align: center;
}

.card-top img {
    max-width: 100%;
}

.card-bottom {
    background: #e31c23;
    color: white;
    text-align: center;
    padding: 25px;
}

.card-bottom span {
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.card-bottom h2 {
    font-size: 2.2rem;
    margin: 10px 0;
}

.card-bottom h3 {
    font-size: 2rem;
}

.home-intro {
  padding: clamp(40px, 6vw, 80px) 0;
  background: #fff;
}

.container {
  width: min(1200px, 80%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

.intro-illu img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 720px;
}

.intro-title {
  margin-top: 18px;
  color: #d50000;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  font-weight: 800;
}

.intro-text {
  margin-top: 20px;
  max-width: 760px;
  color: #444;
  font-size: 0.98rem;
  line-height: 1.6;
}

.intro-text p + p {
  margin-top: 14px;
}

.poster {
  /*border: 1px solid #e9e9e9;
  padding: 18px;
  background: #fff;*/
}

.poster img {
  width: 100%;
  height: auto;
  display: block;
}


.home-banner {
  position: relative;
  height: min(80vh, 750px);
  width: 100%;
  overflow: hidden;
  background: #eee;
}

.banner-bg {
  position: absolute;
  inset: 0;
  background: url("http://preprod.slowup-sundgau.fr/wp-content/uploads/2026/02/banniere-scaled.jpeg") center/cover no-repeat;
  transform: scale(1.01);
}

/* Footer */
.site-footer {
  background: #e00000;
  color: #fff;
  padding: clamp(28px, 4vw, 44px) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 320px 1fr 240px;
  gap: clamp(20px, 4vw, 50px);
  align-items: center;
}

/* Colonne gauche */
.footer-left {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 40px;
  align-items: start;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-socials a {
    color: white;
    font-size: 36px;
}

.footer-socials a span {
    font-size: 36px;
}

.footer-nav {
    border-right: 1px solid;
}

.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* Colonne centre : texte */
.footer-center {
  /*border-left: 2px solid rgba(255,255,255,0.45);*/ /* la petite séparation verticale */
  /*padding-left: clamp(16px, 2vw, 28px);*/
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.95;
}

/* Colonne droite : logo */
.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-logo {
  max-width: 170px;
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop par défaut */
.mobile-nav-bar,
.mobile-menu {
  display: none;
}

/* Responsive */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-center {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid rgba(255,255,255,0.35);
    padding-top: 18px;
  }

  .footer-right {
    justify-content: flex-start;
  }
}

/* responsive */
@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    margin-inline: auto;
    width: 100%;
  }

  .section-text {
    width: 90%;
    margin-inline: auto;
  }

  .intro-side {
    order: 2;
    max-width: 90% !important;
  }

  .intro-main {
    order: 1;
    
  }

  .poster {
    max-width: 400px;
  }
}

@media (max-width: 768px) {

  .socials ul {
    position: absolute;
    top: -50px;
  }

  .site-header {
    color: white;
    background: none;
    backdrop-filter: none;
  }

  .countdown {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .mobile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 14px 20px;
    background: #f2f2f2;
    border-bottom: 1px solid #999;

    /* Temporaire */
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #555;
  }

  .mobile-langs {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-langs a {
    text-decoration: none;
    color: #222;
    font-weight: 700;
  }

  .mobile-menu {
    display: none;
    background: #f2f2f2;
    padding: 0 20px 20px;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu li + li {
    margin-top: 12px;
  }

  .mobile-menu a {
    text-decoration: none;
    color: #111;
    font-size: 1.1rem;
    font-weight: 700;
  }

  .hero {
    height: 70vh;
  }

  .countdown_div {
    display: none;
  }

  .header-inner {
    justify-content: center;
  }

  .header-right {
    position: absolute;
    right: 20%;
  }

  .lang {
    display: none;
  }

  .socials a {
    color: white;
  }

}

@media (max-width: 500px) {

  .header-right {
    right: 12%;
  }
  
}