/*
Theme Name: Gric de Prat
Theme URI: https://exemple.com
Author: Damien Doumax
Author URI: https://exemple.com
Description: Un thème WordPress fait maison
Version: 1.0
License: GNU General Public License v2 or later
*/

@import url('https://fonts.cdnfonts.com/css/orewa');

html { font-size:100%; box-sizing: border-box;   margin:0;  padding:0; }

body { color:white; font-family: 'Open Sans', sans-serif; background : #2B3D75 url('/wp-content/themes/gricdeprat/assets/images/navy_blue.png') center fixed; }

p { color:white; }
a { color:white; }

h1, h2, h3, h4 { font-family: 'Spectral SC', serif;font-weight:normal; }


h2 { font-family: 'Spectral SC', serif;  font-size: 2em;
  color: #FFE89B;
  margin-bottom: 20px;
 }
 
h2.nospecfont { font-family: sans-serif; }

footer h2 { margin:0; }

.bgfront img { max-width:100%; } 


.floatleft { float:left;margin-right:25px;  }

.ken-title { font-size:4rem; }

.btn-orange { background-color:#fcbc00; color:black; }


.hero-section .hero-content { text-align: center;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
  font-size: 1rem;

}

.hero-section .hero-content .text {
    font-size: 1.4em;
}

.hero-section h2 { font-size:3em; }

.highlight {
background-color: rgba(0,0,0,0.5);
  padding: 25px;
}


.pg2 {
  color: #FFE89B;
  font-size: 2em;
  text-align:center;
  
}
.wp-block-pullquote 
 {
  padding:0;
  margin-bottom:25px;
  }

.wp-block-pullquote p { font-size: 1.7em;
  color: #f0eb8e;
}



.page-id-40 h2.wp-block-heading {
text-align:center;
font-size:3em; 

}  

.couppresse { width:95%; }



.wp-container-core-group-is-layout-9649a0d9 {

  display: grid;
  gap: 10px;
  margin-top:25px;
}







header span.pagesstitre1 { display:none; }
header span.pagesstitre2 { display:none; }


a[href^="https://www.facebook.com/"]::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url('/wp-content/themes/gricdeprat/assets/images/facebook.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px; /* Espace entre l'icône et le texte */
  vertical-align: middle;
}

header { text-align:center; }

header img {
  max-width: 100%;
}



@media only screen and (min-width: 50em) {
  header span.pagesstitre1 {
    display: block;
    font-family: 'Spectral SC', serif;
    font-size: 20px;
    color: #FFE89B;
    text-align: center;
  }
}



.photo-galerie-1 { display:flex;
flex-wrap:wrap; 
}


/* NAVIGATION
=============================================================*/
#mainNav {    font-family: 'Spectral SC', serif;  margin:0 auto; position:relative; margin-bottom:15px;    background: rgba(0,0,0,0.2); text-align:center; }

#burgerBtn { background: rgba(0,0,0,0.2); padding:15px; }


.nav,.nav * {  margin:0;padding:0;}

.nav { max-width:100%;   }
.nav a {  width:100%;	cursor:pointer; font-size:17px;	text-decoration:none;	display:block;	 padding:7px 10px; color: #fff; }
.nav a:hover,.nav a:focus {color:#fff; background-color: #8c99a4;text-decoration:none; }
.nav  a.active {color:#666; background:#fff; cursor:pointer; }


.regular-content {  max-width:100%; margin:0 auto; padding:20px;  }

@media only screen and (min-width: 30em)
	{
	a.togglemenu {  }
	.nav a { display:block;   }

	}


@media only screen and (min-width: 50em)
	{
	.nav { display:block; }
	.nav a { display:block; 	 vertical-align:top; width: auto; text-align: center;	border-right: 1px solid #576979;  padding:7px 9px;  }
	.nav a:last-child {	border-right: 0;}

	.regular-content {  max-width:1280px; margin:0 auto; padding:20px;  }

	header span.pagesstitre1 { display:block;  font-family: 'Spectral SC', serif; font-size:20px; color: #FFE89B;text-align:center;}
	header span.pagesstitre2 {display:block;   font-family: 'Spectral SC', serif; font-size:16px;   color: #FFE89B; text-align:center; }
	}



@media only screen and (min-width: 70em)
	{
	.nav a {   font-size:20px; width: auto;  padding:12px 14px;}
	header span.pagesstitre1 { font-size:30px;}
	header span.pagesstitre2 { font-size:22px;    }
	}

@media only screen and (min-width: 90em)
	{
	.nav a {   font-size:24px; width: auto;  padding:14px 18px;}
	header span.pagesstitre1 { font-size:30px;}
	header span.pagesstitre2 { font-size:22px;    }
	}








.img-fw { width:100%; height:auto; }

.container { max-width: 1320px;
  margin: 0 auto;
  padding: 20px;}


.sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	-webkit-clip-path: inset(50%) !important;
			clip-path: inset(50%) !important;
	height: 1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;
}







footer {

  background-repeat: no-repeat;
  background-size: cover; /* ou contain selon le rendu souhaité */
  background-position: center center;
  color: #ecf0f1;

  margin-top: 40px;
}






/* HEADER CSS 
====================================================== */

.header-bar {
  background: #000000; /* ou ta couleur */
  padding: 10px 0;
box-shadow: 0px 10px 20px rgba(0,0,0,0.5);
  z-index: 1000;
  position: relative;
  
  
}

.container.flex-header {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.main-nav .menu {
  display: flex;
  list-style: none;
  align-items: center;  
   justify-content: center; 
  margin: 0;
  padding: 0;
}

.main-nav .menu li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav .menu li a:hover {
  color: #fcbc00; /* couleur hover */
}


.main-nav .menu .current-menu-item  a { color: #fcbc00; }

/* Gestion mobile */
.burger-menu {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color:white; 
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background: #0f151eee;
    position: absolute;
    top: 0;
    left:0;
    right: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    padding: 10px;
    z-index:1000;
  }

  .main-nav.active {
    display: block;
  }
  
  .main-nav.active  .menu {
    display: block;
    text-align:center;
  }


  
  .main-nav.active  .menu li a  {
    padding:8px; 
    display: block;
  }
  
  
    .main-nav.active  .menu li a:hover  {
    padding:8px; 
    display: block;
        background: #1b2536;
  }
  
  
  
  
  

  .burger-menu {
    display: block;
  }
}





/* Footer principal 
================================================================== */
.site-footer {

}


.site-footer h2 { color:#FFE89B; }


/* Container du contenu */
.footer-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Colonnes du footer */
.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

/* Chaque colonne */
.footer-column {
    display: flex;
    flex-direction: column;
}


.footer-column-2 { text-align:center; }

.footer-column-3 { text-align: right; }

/* Widgets dans le footer */
.footer-widget {
    margin-bottom: 12px;
}

.footer-widget:last-child {
    margin-bottom: 0;
}

/* Titres des widgets */
.footer-widget-title {
    color: #fcbc00;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #fcbc00;
}

/* Texte dans les widgets */
.footer-widget p {
    line-height: 1.6;
    margin-bottom: 5px;
    color: #fff;
}

.footer-widget p:last-child {
    margin-bottom: 0;
}

/* Liens dans le footer */
.footer-widget a {
    color: #fcbc00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: #fcbc00;
    text-decoration: underline;
}

/* Listes dans les widgets */
.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    padding: 5px 0;
    border-bottom: 1px solid #fcbc00;
}

.footer-widget ul li:last-child {
    border-bottom: none;
}

.footer-widget ul li a {
    display: block;
    padding: 5px 0;
}

/* Section copyright */
.footer-bottom {
    padding: 20px;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    color: #95a5a6;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .footer-columns {
        gap: 30px;
    }
}

/* Styles pour les widgets spécifiques */

/* Widget de menu personnalisé */
.footer-widget .menu {
    list-style: none;
    padding: 0;
}

.footer-widget .menu li {
    padding: 8px 0;
    border-bottom: 1px solid #34495e;
}

.footer-widget .menu li:last-child {
    border-bottom: none;
}

/* Widget de texte avec images */
.footer-widget img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 4px;
}

/* Styles pour les réseaux sociaux */
.footer-social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social-links a {
    display: inline-block;
    padding: 8px;
    background-color: #34495e;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.footer-social-links a:hover {
    background-color: #3498db;
}









/* FRONT PAGE 
====================================================== */



/* Hero Section */
.hero-section {
    width: 100%;
    height: 95vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Overlay optionnel pour améliorer la lisibilité */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Ajustez l'opacité selon vos besoins */
    z-index: 1;
}

/* Contenu centré */
.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}





.last-actualite {
  background: #ffffff;
  border-left: 4px solid #e74c3c;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.last-actualite:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.last-actualite h3 {
  color: #2c3e50;
  font-size: 1.3em;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.event-date {
  display: inline-block;
  background: #e74c3c;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75em;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}

.last-actualite p {
  color: #555;
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
}

.flex-grow-1 {
  flex: 1;
}








/* Responsive */
@media (max-width: 768px) {
  
     

         
    
    
}

@media (max-width: 480px) {

    
}















